@media (prefers-color-scheme: light) {
    .reckonerInvertable {
        max-height: 150px;
        /* max-width: 100%; */
    }

    nav {
        background-color: white;
    }

    code {
        color: black;
        font-family: 'Courier New', Courier, monospace;
    }

    .scale {
        height: 1em;
        width: 1em;
    }
}

@media (prefers-color-scheme: dark) {
    .reckonerInvertable {
        max-height: 150px;
        /* max-width: 100%; */
        filter: invert();
    }

    nav {
        background-color: 11191f;
    }

    code {
        color: white;
        font-family: 'Courier New', Courier, monospace;
    }

    .scale {
        height: 1em;
        width: 1em;
        filter: invert();
    }
}

html {
    scroll-behavior: smooth;
}

.section1 {
    background-color: darkblue;
}

.section2 {
    background-color: midnightblue;
}

.sectionLink {
    color: violet;
}

.sectionText {
    color: white;
    text-align: center;
}


.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.badge {
    max-height: 60px;
    display: block;
    margin: auto;
}

.fixed-top {
    position: fixed;
    top: 0;
    width: 100%;
    overflow: hidden;
    z-index: 1030;
}

figcaption {
    text-align: center;
}

a {
    text-decoration: underline;
}

.reckonerCoverImg {
    min-height: 30rem;
    background-size: cover;
}

.reckonerBeforeImg {
    order: 1;
    margin: 10px;
}

.reckonerAfterText {
    order: 2;
}

.reckonerHeroDiv {
    height: fit-content;
}

/* 992 is the magic number used in picocss for the grid class */
@media (max-width: 992px) {
    .reckonerAfterText {
        order: 1;
    }

    .reckonerBeforeImg {
        order: 2;
    }
}

article {
    max-width: 90%;
    margin: auto;
}