/* =========================================================
   NAV CONTAINER
========================================================= */

.nav-container {
    display: grid;

    margin-top: 32px;

    width: min(100%, 1400px);

    background-color: #f4a8d6;

    justify-self: center;
    align-self: start;

    z-index: 3;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    max-width: 200px;
    /*border: 2px solid #000000;*/
}

.logo-container {
    display: grid;

    justify-self: center;
    align-self: center;

    max-width: 150px;
    max-width: 90vw;
}


/* =========================================================
   NAV LINKS
========================================================= */

.link-container {
    display: none;

    grid-gap: 8px;

    align-self: center;

    padding: 16px 0;

    box-sizing: border-box;

    justify-self: center;
}


/* =========================================================
   NAV TOGGLE / BURGER
========================================================= */

.nav-toggle {
    display: grid;

    align-self: center;

    justify-self: center;

    font-size: 24px;

    padding: 8px;

    box-sizing: border-box;

    margin-top: 32px;

    color: #fff;

    cursor: pointer;
}


/* =========================================================
   PAGE LINKS
========================================================= */

.page-link p {
    font-family: "etna-condensed", sans-serif;

    text-align: center;
}

.page-link {
    font-weight: 300;

    text-decoration: none;

    justify-self: center;

    color: white;

    text-transform: uppercase;
}


/* =========================================================
   ACTIVE LINK
========================================================= */

.active-link {
}


/* =========================================================
   BURGER ICON
========================================================= */

.hide-icon {
    display: none;
}


/* =========================================================
   MOBILE NAV
========================================================= */

@media (max-width: 1199px) {

    .nav-container {
        grid-template-columns: 1fr auto;

        align-items: center;

        width: 100%;

        padding: 0 20px;

        box-sizing: border-box;
    }


    /* -------------------------
       LOGO LEFT
    ------------------------- */

    .logo-container {
        grid-column: 1;
        grid-row: 1;

        justify-self: start;

        align-self: center;

        max-width: 90vw;
    }


    .logo {
        max-width: 150px;
    }


    /* -------------------------
       BURGER RIGHT
    ------------------------- */

    .nav-toggle {
        grid-column: 2;
        grid-row: 1;

        justify-self: end;

        align-self: center;

        margin-top: 0;

        padding: 8px;

        z-index: 30;
    }


    /* -------------------------
       OPEN MOBILE MENU
    ------------------------- */

    .link-container.show-nav {

        display: grid !important;

        grid-column: 1 / -1;

        grid-row: 2;

        width: max-content;

        min-width: 220px;

        justify-self: end;

        margin-left: auto;

        margin-right: -20px;

        box-sizing: border-box;

        padding: 25px 30px 30px;

        background-color: #F4A8D6;

        grid-template-columns: 1fr;

        gap: 18px;

        justify-items: end;

        align-items: center;

        text-align: right;

        z-index: 20;
    }


    .link-container.show-nav .page-link {
        width: auto;

        justify-self: end;

        text-align: right;
    }


    .link-container.show-nav .page-link p {
        margin: 0;

        text-align: right;
    }

}


/* =========================================================
   DESKTOP — KEEPING YOUR EXISTING NAV
========================================================= */

@media (min-width: 992px) {

    .nav-container {
        background-color: #f4a8d6;
    }

}


@media (min-width: 1200px) {

    .nav-container {
        background-color: #f4a8d6;
    }


    .logo-container {
        grid-row: 1;

        justify-self: start;

        align-self: center;
    }


    .link-container {
        display: grid;

        grid-row: 1;

        grid-gap: 16px;

        justify-self: end;
    }


    .nav-toggle {
        display: none;
    }


    .page-link {
        grid-row: 1;
    }


    .active-link {
        grid-row: 1;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 767px) {

    .nav-container {
        margin-top: 20px;

        padding: 0 15px;
    }


    .logo {
        max-width: 206px;
    }


    .nav-toggle {
        font-size: 22px;

        padding: 8px;

        margin-top: 0;
    }


    .link-container.show-nav {
        width: max-content;

        min-width: 220px;

        margin-right: -15px;

        padding: 25px 25px 30px;

        gap: 18px;
    }

}