@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;700&family=Licorice&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,900;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

.nav__desktop {
    display: none;
}

@media (min-width: 980px) {
    .nav__desktop {
        display: block;
        width: 100%;
    }
}

.nav__desktop_menu {
    display: flex;
    justify-content: center;
    max-width: 1180px;
    width: 100%;
    padding: 1rem;
    margin: 0 auto;
}

.nav__desktop_container {
    display: none;
}

@media (min-width: 980px) {
    .nav__desktop_container {
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        width: 90%; /* Reduce to float buttons more right */
        padding: 1rem;
        list-style: none;
    }
}

.nav__logo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    width: 5rem;
    height: 4rem;
    padding: 1rem;
}

@media (min-width: 980px) {
    .nav__logo {
        width: 6rem;
        height: 5rem;
    }
}

.nav__logo a {
    width: 100%;
}

.nav__logo img {
    max-width: 280px;
    width: 100%;
}

.nav__desktop_item, .nav__desktop_item-share {
    margin-left: 1rem;
    font-family: niveau-grotesk, sans-serif;
    line-height: 1.2;
    text-transform: uppercase;
}

.nav__desktop_item a {
    font-family: 'Josefin Sans', sans-serif;
    color: #FFF;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.nav__desktop_item-share {
    font-family: 'Josefin Sans', sans-serif;
    color: #FFF;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.nav__mobile__menu {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 99;
    display: block;
    width: 100%;
    height: 100%;
    padding-top: 6rem;
    background: #F185A4;
    transition: all .4s ease-in-out;
}

.nav__mobile {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    z-index: 999;
    width: 100%;
    height: 4rem;
}

@media (min-width: 980px) {
    .nav__mobile {
        display: none;
    }
}

.nav__mobile_hamburger {
    align-self: center;
    margin-top: 2rem;
    margin-right: 1.5rem;
    background: #FCD9E2;
    padding: 0.8rem 0.8rem;
    border-radius: 0.5rem;
    box-shadow:
    0 2.8px 2.2px rgba(0, 0, 0, 0.034),
    0 6.7px 5.3px rgba(0, 0, 0, 0.048),
    0 12.5px 10px rgba(0, 0, 0, 0.06),
    0 22.3px 17.9px rgba(0, 0, 0, 0.072)
}

.hamburger--top,
.hamburger--middle,
.hamburger--bottom {
    width: 2rem;
    height: 0.2rem;
    margin: 0.3rem 0;
    background: var(--accent);
    transition: all .4s ease-in-out;
}

.hamburger--swap .hamburger--top {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px);
}

.hamburger--swap .hamburger--middle {
    opacity: 0;
}

.hamburger--swap .hamburger--bottom {
    -webkit-transform: rotate(45deg) translate(-5px, -3px);
    transform: rotate(45deg) translate(-5px, -3px);
}

.nav__mobile_toggle {
    transform: translateX(-100%);
}

.nav__mobile__container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    list-style: none;
}

.nav__mobile__item, .nav__mobile__item-share {
    margin: 1rem;
    font-size: 1.2rem;
}

.nav__mobile__item  a {
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
}

.nav__mobile__item-share {
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
}

.nav__desktop_item-share:hover, .nav__mobile__item-share:hover {
    cursor: pointer;
}
