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


/* ----- IMAGING ----- */
img#nav-site-title {
    max-width: 270px;
}
img.social-icon {
    height: 40px;
    width: auto;
}


/* 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;
}

/* 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;
    text-decoration-skip-ink: none;
    text-underline-offset: 5px;
    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;
    button {
        width: 100%;
    }
}
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 */
div#popup-overlay {
    /* display: none; */
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    pointer-events: auto; /* blocks clicks */
    visibility: hidden;
    opacity: 0;

    transition: opacity 0.5s ease;
}
div#popup-overlay.open {
    opacity: 1;
    visibility: visible;
}

aside#popup-menu {
    /* display: none; */
    position: fixed;
    top: 0;
    right: 0;
    min-height: 100vh;
    background-color: var(--white);
    max-width: fit-content;
    z-index: 1001;
    overflow-y: scroll;

    transform: translateX(100%);
    opacity: 0;
    transition: transform .75s ease .25s, opacity .25s ease;
    /* transition-delay: 0s; */
}
aside#popup-menu.open {
    transform: translateX(0);
    opacity: 1;
    /* transition-delay: .5s; */
}
div#menu-container {
    position: relative;
    top: 0;
    right: 0;
    /* min-height: 100vh; */
    padding: 25px 50px 40px 25px;
}
div#menu-container > i#menu-x {
    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(--heading-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);
    }
}