/*************
mobile first
*************/

/* selectors */


body {
    margin: 0;
    padding: 0;
    background: #F8FFF8;
}

h1 {
    font-size: 4rem;
    margin: 0;
    padding: 0;
}

h2 {
    font-size: 2.67rem;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #0A0614;
}

p  {
    font-size: 1.5rem;
    opacity: 0.4;
    margin: 0;
    padding: 0;
}

header {
    position: sticky;
    z-index: 999;
    top: 0;
    left: 0;
    right: 0;
    padding: 5vh 0;
    padding: 5dvh 0;
    max-height: fit-content;
}

footer {
    display: flex;
    justify-content: center;
    text-align: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 1rem;
    text-align: center;
}

section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    justify-items: stretch;
    margin: 0 0 3rem 0;
    min-height: 70vh;
    min-height: 70dvh;
}

/* sub-selectors */
header a {
    font-size: 1.5rem; /* design: 24px */
    color: #0A0614;
}

footer p {
    font-size: 1rem;
    margin: 0;
}

nav a {
    margin: 0 0.5rem;
}

/* ids */
#nav-menu {
    display: none;
}

#hamburger-menu {
    display: block;
    cursor: pointer;
    width: 4rem;
    margin: auto;
    text-align: center;
    background-color: #b4edd0;
}

#hamburger-menu-icon {
    font-size: 3rem;
    color: #3f976a;
}

/* classes */
.arizonia {
    font-family: 'Arizonia', cursive;
}

.background-green {
    background-color: #C4EED4;
}

.background-purple {
    background-color: #A8B2FF;
}

.background-purple-dark {
    background-color: #2349FF;
}

/* these settings are separated from the body selector because e.g. loom extension adds a div to DOM and that throws off justofiy-content */
.body-wrapper {
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    font-family: Afacad, Arial, sans-serif;
    color: #0A0614;
    margin: 0;
    padding: 0 4vw 0 4vw;
    min-height: 100vh;
    min-height: 100dvh;
}

.box-shadow {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.external-logo {
    width: auto;
    height: 4rem;
}

.padded-nav-link {
    padding: 1rem 1.2rem;
}

.logo {
    font-size: 2rem;
}

.logos-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    align-items: center;
    flex: 1;
    padding: 2rem;
    gap: 2rem;
}

.text-box-container {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    text-align: center;
    flex: 1;
}

.text-white {
    color: white;
}

.round {
    border-radius: 50%;
}

.rounded-corners {
    border-radius: 2rem;
}


/* blended selectors */
#nav-menu.active, .nav-pages.active {
    display: flex;
    align-items: center;
}

.nav-pages.active {
    flex-direction: column;
    min-height: 30vh;
    min-height: 30dvh;
    justify-content: space-evenly;
}

#nav-menu.active {
    flex-flow: column nowrap;
    flex-direction: column-reverse;
    justify-content: space-around;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #b4edd0;
}

/*************
desktop
*************/


@media (min-width: 870px) {

    /* selectors */

    h1 {
        font-size: 6rem; /* design: 96px */
    }

    p  {
        font-size: 2.25rem; /* design: 36px */
    }


    h2 {
        font-size: 4rem; /* design: 64px */
    }

    footer p {
        font-size: 1.5rem;
    }

    /* classes */

    .external-logo {
        height: 6rem;
    }

    #hamburger-menu {
        display: none;
    }

    #nav-menu {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: center;
    }

}