:root {
    --mrg-btm: 70px;
}

/* ----- TYPOGRAPHY ----- */


/* ----- IMAGING ----- */
img#nav-site-title {
    max-width: 270px;
}
img#header-img {
    max-width: 533px;
}
img#section2-img {
    max-width: 205px;
    position: absolute;
    right: -75px;
    top: -80px;
}
img.square-img {
    max-height: 145px;
    height: auto;
    /* width: 100%; */
    object-fit: contain;
}
img#section3-img {
    max-width: 580px;
}
img.section-img {
    height: auto;
    width: 100%;
    object-fit: contain;
}
img.social-icon {
    height: 40px;
    width: auto;
}


/* ----- FORMATTING & Visuals ----- */
div#body-container {
    max-width: 1440px;
    width: 100%;
    justify-self: center;
    background-color: var(--fd-white);
    margin: auto;
    /* min-height: 100vh; */
}

/* top nav */
nav#nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;

    background-color: var(--white);
    width: 100%;
    height: 175px;
    /* border: 2px solid black; */

    padding: 0 50px;
    margin-bottom: var(--mrg-btm);
}
div#nav-btns {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    column-gap: 50px;
}
button#nav-btn {
    width: 75px;
    height: 75px;
    background-color: var(--fd-white);
    > i#nav-icon {
        color: var(--fd-black);
    }
    &:hover {
        background-color: var(--lt-yellow);
        > i#nav-icon {
            color: var(--white);
        }
    }
}
button#cta-nav-btn {
    width: 401px;
    height: 75px;
    font-size: var(--lg-btn-txt);
    font-weight: bold;
}

/* sections */
header#header {
    background-color: var(--white);
}

section#section2 {
    margin: 0;
    padding: 0;
    border-top: 5px solid var(--orange);
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    margin-bottom: var(--mrg-btm);
}
div#section2-top-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    &::before {
        content: '';
        position: absolute;
        inset: -5px;
        filter: blur(5px);
        background-image: url(../images/flower\ banner.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}
div#section2-container {
    max-width: 800px;
    margin: 83px auto;
    padding: 30px 40px;
    position: relative;
}
div#section2-bottom-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    justify-items: center;
    align-items: stretch;
    width: 100%;
}
div.section2-square {
    padding: 5px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    row-gap: 50px;
    aspect-ratio: 1/1;
}
div.section2-square > p.square-text {
    text-transform: uppercase;
    color: var(--white);
    font-size: var(--heading-txt);
    text-align: center;
    font-weight: 600;
}
div#fed-square {
    background-color: var(--dk-orange);
}
div#local-square {
    background-color: var(--orange);
}
div#research-square {
    background-color: var(--fd-orange);
}
div#station-square {
    background-color: var(--dk-green);
}

section#section3 {
    background-color: var(--white);
    margin-bottom: var(--mrg-btm);
}


/* general section boxes */
.section-container {
    /* background-color: lightblue; */
    /* border: 2px solid black; */

    margin: 0 33px;
    padding: 20px 40px 0px 40px;
    /* padding: 20px 40px; */
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    column-gap: 20px;
    justify-content: space-between;
    align-items: flex-end;
    overflow: hidden;
}
div.section-content-container {
    display: flex;
    flex-direction: column;
    row-gap: 40px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: var(--white);
}

/* footer */
footer#footer {
    width: 100%;
    background-color: var(--dk-orange);
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 50px 30px;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    text-transform: capitalize;
    row-gap: 35px;
}
div#footer-links {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    column-gap: 20px;
}
a.footer-link {
    text-decoration: none;
    font-size: var(--footer-txt);
    font-weight: 500;
    &:hover {
        text-decoration: underline var(--lt-orange) 5px;
    }
}
div#footer-btns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 50px;
    justify-items: auto;
    align-items: center;
}
div#socials {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    column-gap: 30px;
    margin-bottom: 10px;
}
div#footer-bottom p {
    font-size: var(--footer-txt);
}

/* popup menu */
aside#popup-menu {
    position: fixed;
    top: 0;
    right: 0;
    min-height: 100vh;
    background-color: var(--white);
    max-width: fit-content;
    z-index: 9999;
    /* float: right; */
    overflow-y: scroll;
    border: 2px solid black;
}
div#menu-container {
    position: relative;
    top: 0;
    right: 0;
    /* min-height: 100vh; */
    padding: 25px 50px 40px 25px;
}
div#menu-container > i {
    position: relative;
    left: -10px;
    color: var(--orange);
    display: block;
    margin-bottom: 20px;
    cursor: pointer;
    &:hover {
        color: var(--dk-orange);
    }
}
div#menu-links {
    text-transform: capitalize;
    display: flex;
    flex-direction: column;
    row-gap: 15px;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 25px 0px;
    > a {
        display: block;
        color: var(--black);
        font-size: var(--main-txt);
        font-weight: 600;
        text-decoration: none;
        text-wrap: nowrap;
            &:hover {
                color: var(--orange);
            }
    }
}
div#menu-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    column-gap: 10px;
    width: fit-content;
    margin-top: 15px;
}
div#menu-socials > a {
    border-radius: 50%;
    padding: 5px;
    background-color: var(--dk-green);
    aspect-ratio: 1/1;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    &:hover {
        background-color: var(--fd-green);
    }
}