.nav-cont {
    height: auto;
    background-color: var(--wp--preset--color--ap-bg);
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}
.nav-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #DEE1DC;
    -webkit-transition: 0.5s ease-in-out;
        -o-transition: 0.5s ease-in-out;
        transition: 0.5s ease-in-out;
}
.nav-top-inner {
    max-width: 1160px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    box-sizing: border-box;
    margin: 0 16px;
    height: 72px;
    position: relative;
}
.nav-logo img {
    width: auto;
    height: 20px;
    cursor: pointer;
    justify-self:center;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
}
.request-quote {
    background-color: var(--wp--preset--color--ap-medium-green);
    padding: 8px 16px;
    font-family: 'Baskerville', serif;
    color: var(--wp--preset--color--ap-off-white);
    text-decoration: none;
}
.request-quote:hover {
    background-color: var(--wp--preset--color--ap-black-green);
}
.request-quote-mobile {
    background-color: var(--wp--preset--color--ap-medium-green);
    padding: 12px 20px;
    font-family: 'Baskerville', serif;
    color: var(--wp--preset--color--ap-off-white);
    text-decoration: none;
    font-size: clamp(20px, 2vw, 24px);
    max-width: fit-content;
    margin: 1.5rem auto 0 auto;
}
#burger-menu-button {
    height: 24px;
    width: 40px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}
#burger_top {
    width: 64px;
    height: 1px;
    background-color: #3F4639;;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transition: 0.2s ease-in-out;
        -o-transition: 0.2s ease-in-out;
        transition: 0.2s ease-in-out;
}
#burger_middle {
    width: 64px;
    height: 1px;
    background-color: #3F4639;;
    position: absolute;
    top: 11px;
    left: 0;
    -webkit-transition: 0.2s ease-in-out;
        -o-transition: 0.2s ease-in-out;
        transition: 0.2s ease-in-out;
}
#burger_bottom {
    width: 64px;
    height: 1px;
    background-color: #3F4639;;
    position: absolute;
    top: 22px;
    left: 0;
    -webkit-transition: 0.2s ease-in-out;
        -o-transition: 0.2s ease-in-out;
        transition: 0.2s ease-in-out;
}
.nav-spacer {
    height: 122px;
    position: relative;
    width: 100%;
}
#nav-mobile-cont {
    display: none;
    z-index: 99;
    width: 100%;
    height: calc(100vh - 73px);
    height: calc(100dvh - 73px);
    position: fixed;
    left: 0;
    overflow: hidden;
    background-color: var(--wp--preset--color--ap-bg);
    flex-direction: column;
    align-items: center;
    transform: translate(0, -100dvh);
    -webkit-transition: 0.5s ease-in-out;
        -o-transition: 0.5s ease-in-out;
        transition: 0.5s ease-in-out;
}
#mobile-nav {
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
    padding: 0;
    color: #fff;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.ap-desktop-nav {
    margin: auto;
}
.ap-desktop-nav ul {
    display: flex;
    list-style-type: none;
    gap: 16px;
    font-family: 'NeueHaas', sans-serif;
    text-transform: uppercase;
    align-items: center;
    height: 48px;
    margin: 0;
    padding: 0;
}
.ap-desktop-nav li a {
    text-decoration: none;
    color: #3F4639;
    letter-spacing: 0.05rem;
}
.ap-desktop-nav li a:hover {
    color: #000000;
}
.nav-rail-cont {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}
.nav-border-bottom {
    height: 1px;
    min-height: 1px;
    width: 100%;
    background-color: #DEE1DC;
    position: relative;
}
#rail-follower {
    width: 80px; /* Initial width, will be overridden by JS */
    background-color: #12170f;
    height: 1px;
    min-width: 80px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0; /* start hidden */
    transition: opacity 0.2s linear; /* only transition opacity */
    pointer-events: none;
}

/* mobile */
#mobile-nav ul {
    list-style-type: none;
    padding: 0;
    padding-top: 24px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    font-family: 'Calson Pro', serif;
    text-transform: uppercase;
    width: 100%;
}
#mobile-nav ul li {
    width: 100%;
    padding: 0;
    text-align: center;
    padding: 0;
}
#mobile-nav ul li a {
    text-align: center;
    padding: 0.5rem 0;
    text-decoration: none;
    font-size: 1.25rem;
    width: 100%;
    display: block;
    letter-spacing: 2px;
    color: var(--wp--preset--color--ap-medium-green);
    font-weight: 400;
    -webkit-font-smoothing: antialiased!important;
    -moz-osx-font-smoothing: grayscale!important;
}


/* Media Queries */
@media screen and (min-width: 651px) {

    #burger-menu-button {
        display: none;
    }
     
}
@media screen and (max-width: 651px) {
    .request-quote {
        display: none;
    }
    .nav-rail-cont {
        display: none;
    }
    .nav-logo img {
        height: 15px;
        left: calc(50% - 5px);
    }
    #burger-menu-button {
        transform: scale(0.75);
    }
    .nav-spacer {
        height: 73px;
    }
    #nav-mobile-cont {
        display: flex;
    }

}