/* Desktop */
@media only screen and (min-width: 800px) {
    .mobile-nav-header-container {
        display: none;
    }

    .title {
        font-size: min(5vw, 58px);
        text-align: center;
        margin-top: 20px;
        margin-bottom: 30px;
        color: #525B28;
    }

    nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 95%;
        height: 50px;
        margin: 20px auto;
        position: relative;
        background-color: #A6B099;
        border-radius: 30px;
        font-size: 0;
        box-shadow: 0 0 15px -6px rgba(0, 0, 0, 0.6);
    }

    nav a {
        line-height: 50px;
        height: 100%;
        font-size: min(2vw, 24px);
        display: inline-block;
        position: relative;
        z-index: 1;
        text-decoration: none;
        text-align: center;
        color: #40441F;
        cursor: pointer;
    }

    nav a:hover {
        text-decoration: none;
        color: #40441F;
    }

    nav .animation {
        position: absolute;
        height: 100%;
        top: 0;
        z-index: 0;
        transition: all .5s ease 0s;
        border-radius: 30px;
    }

    nav .nav-bubble {
        background-color: #b4bbab;
        padding-left: 30px;
        height: 44px;
        margin-top: 3px;
    }

    .icon {
        width: 1.2em;
        height: 1.2em;
        vertical-align: -0.200em;
        filter: brightness(0) saturate(100%) invert(22%) sepia(59%) saturate(388%) hue-rotate(27deg) brightness(93%) contrast(91%);
    }
}

/* Mobile */
@media only screen and (max-width: 800px) {
    .title {
        display: none;
    }

    .mobile-nav-header-container {
        position: absolute;
        z-index: 3;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 30px;
        padding-left: 30px;
        padding-right: 30px;
        padding-bottom: 10px;
        background-color: #f5f5f7;
    }

    .mobile-nav-header-container a {
        font-size: min(7vw, 36px);
        text-decoration: none;
        color: #525B28;
    }

    .mobile-nav-button {
        width: 1.5em;
        height: 1.5em;
        margin-top: 0.125em;
        filter: invert(28%) sepia(64%) saturate(383%) hue-rotate(30deg) brightness(98%) contrast(86%);
    }

    nav {
        position: absolute;
        height: 100vh;
        width: 100vw;
        z-index: 2;
        left: -100vw;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        gap: 30px;
        padding-bottom: 5vh;
        padding-left: 36px;
        background-color: #f5f5f7;
        height: 100%;
        overflow: hidden;
    }

    nav a {
        font-size: max(4vh, 24px);
        display: inline-block;
        position: relative;
        z-index: 1;
        text-decoration: none;
        text-align: center;
        color: #525B28;
        cursor: pointer;
    }

    nav a:hover {
        text-decoration: none;
        color: #525B28;
    }

    .nav-bubble {
        display: none;
    }

    .icon {
        width: 1.2em;
        height: 1.2em;
        vertical-align: -0.200em;
        filter: invert(28%) sepia(64%) saturate(383%) hue-rotate(30deg) brightness(98%) contrast(86%);
    }
}
