@font-face{
    font-family: source-serif-pro-bold;
    src: url(/fonts/SourceSerifPro-Bold.ttf);
    font-style: normal;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
}
@font-face{
    font-family: source-serif-pro-semibold;
    src: url(/fonts/SourceSerifPro-SemiBold.ttf);
    font-style: normal;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
}
@font-face{
    font-family: futura-light;
    src: url(/fonts/futura-light-bt.ttf);
    font-style: normal;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
}
@font-face{
    font-family: futura-medium;
    src: url(/fonts/futurabq-medium.otf);
    font-style: normal;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
}
:root{
    --background: #fff4ed;
    --primary: #E17817;
    --font-color: #3a3a3a;
    /* --font-color: #4A4A4A; */

    --navbar-height: 160px;
    --navbar-margin: 7vw;
    --navbar-link-space: 30px;
    --navbar-link-hover: #b96618;
    --navbar-link-font: 1.6rem;
    --navbar-link-font-mobile: 2.5rem;
    --nav-search-background: #f1eeea;
    --nav-search-placeholder: #B2B2B2;
    --nav-dropdown-background: #f5f2ee;

    --track-color: rgb(206, 206, 206);
    --track-handle-color: rgb(139, 139, 139);
    --track-hover-color: rgb(167, 167, 167);

    --scroll-width: 12px;
    --scroll-height: 12px;
}
::selection{
    color: var(--background);
    background: var(--font-color);
}
::-moz-selection{
    color: var(--background);
    background: var(--font-color);
}
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html{
    scroll-behavior: smooth;
    font-size: 62.50%;
}
body{
    background-color: var(--background);
}
h1,h2,h3,h4,h5,h6,p,span,li,ul,a,button,input,textarea{
    font-family: 'futura-medium', sans-serif;
}

/* NAVBAR */
#desktop-nav{
    display: flex;
    height: var(--navbar-height);
    align-items: center;
    justify-content: space-between;
}
#navbar-logo{
    font-size: 3.3rem;
    margin-left: var(--navbar-margin);  
}
#navbar-logo a{
    text-decoration: none;
    color: var(--primary);
    font-family: 'source-serif-pro-bold', serif;
}
#nav-content{
    display: flex;
    margin-right: var(--navbar-margin);
}
#navbar-links{
    display: flex;
    align-items: center;
    font-size: var(--navbar-link-font);
}
#navbar-links li{
    list-style: none;
    margin: 0 var(--navbar-link-space);
}
#navbar-links li a{
    text-decoration: none;
    color: var(--primary);
    transition: color 400ms;
}
#navbar-links li a:hover{
    color: var(--navbar-link-hover);
}
.navbar-selected{
    border-bottom: 2px solid var(--primary);
    padding-bottom: 5px;
}
#recipe-dropdown, #account-dropdown{
    position: relative;
    z-index: 100;
}
#recipe-dropdown ul, #account-dropdown ul{
    position: absolute;
    background-color: rgba(247, 242, 236, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-top: 15px;
    border-radius: 15px;
    box-shadow: 0 0 20px 5px rgba(53, 53, 53, 0.09);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    left: -10px;
    transition: opacity 250ms ease-in-out;
    z-index: 100;
    display: none;
    text-align: center;
}
#account-dropdown ul{
    width: max-content;
}
#recipe-dropdown ul li, #account-dropdown ul li{
    padding: 18px 5px;
    z-index: 100;
}
#recipe-dropdown-btn, #account-dropdown-btn{
    font-size: var(--navbar-link-font);
    background: none;
    border: none;
    cursor: pointer;
    text-align: center;
    z-index: 100;
}
#recipe-dropdown-btn:focus, #account-dropdown-btn:focus{
    outline: 0;
}

/* SEARCH BAR */
.navbar-search{
    margin-left: var(--navbar-link-space);
}
.navbar-search-input{
    background-color: var(--nav-search-background);
    border: none;
    border-radius: 100px;
    height: 47px;
    width: 250px;
    padding: 0.4em 1.5em 0.5em 3em;
    font-size: var(--navbar-link-font);
    transition: box-shadow 400ms ease;
    color: var(--font-color);
    -webkit-appearance: inherit;
}
.navbar-search-input::placeholder{
    color: var(--nav-search-placeholder);
}
.navbar-search-input:hover{
    box-shadow: 0 0 0 1.5px rgba(128, 128, 128, 0.418);
}
.navbar-search-input:focus{
    box-shadow: 0 0 2px 1.5px #e26d009a;
    outline: none;
}
.search-mobile{
    margin: 0 !important;
}
.search-mobile-input{
    width: 95vw !important;
    box-shadow: 0 0 0 2px rgb(226, 226, 226) !important;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
    font-size: 0.7em !important;
}
.search-mobile-input:focus{
    box-shadow: 0 0 2px 1.5px #e26d009a !important;
}
.navbar-search-icon{
    background: none;
    border: none;
    position: relative;
    margin-left: -2rem;
    right: -3.8rem;
    top: 2px;
}
.navbar-search-icon i{
    font-size: 1.9rem;
    cursor: pointer;
    color: var(--primary);
}
.mobileSearchIcon{
    font-size: 1.7em !important;
    position: relative !important;
    left: 5px !important;
}
/* .navbar-search-input:-webkit-autofill{
    -webkit-text-fill-color: var(--font-color) !important;
}
.navbar-search-input:-webkit-autofill::first-line{
    font-family: 'futura-medium', sans-serif;
    font-size: 1.5rem;
}
.navbar-search-input:-webkit-autofill,
.navbar-search-input:-webkit-autofill:hover, 
.navbar-search-input:-webkit-autofill:focus, 
.navbar-search-input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px var(--nav-search-background) inset !important;
    box-shadow: 0 0 0 30px var(--nav-search-background) inset !important;
} */

/* HAMBURGER MENU */
#mobile-nav{
    display: none;
    min-height: var(--navbar-height);
    flex-direction: column;
    z-index: 100;
}
#nav-top{
    display: flex;
    justify-content: space-between;
    margin-left: var(--navbar-margin);
    margin-right: var(--navbar-margin);
    margin-top: calc((var(--navbar-height) / 2) - 3.3rem);
    z-index: 100;
}
#nav-bottom{
    margin-top: 20px;
}
.nav-blurred{
    background-color: var(--background) !important;
    z-index: 100;
}
.noScroll {
    overflow: hidden;
    height: 100%;
}
.bodyDisabled {
    position: absolute;
    top: 0;
    min-height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: -9;
}
#hamburger-button{
    background: none;
    border: none;
}
#hamburger-button i{
    font-size: 3rem;
    cursor: pointer;
    color: var(--primary);
}
#mobile-navbar-links{
    display: none;
    align-items: center;
    font-size: var(--navbar-link-font-mobile);
    flex-direction: row;
    /* background-color: #fff3ec3a; */
    background-color: var(--background);
    /* backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px); */
    text-align: center;
    position: absolute;
    z-index: 200;
    width: 100%;
    box-shadow: 0px 30px 50px -20px rgba(0, 0, 0, 0.1);
}
#mobile-navbar-links li{ 
    list-style: none;
    padding: 10px 0;
}
#mobile-navbar-links li a{
    text-decoration: none;
    color: var(--primary);
    transition: color 400ms;
}
#mobile-navbar-links li a:hover{
    color: var(--navbar-link-hover);
}
.nav-link-spacer{
    border:  1px solid rgba(32, 32, 32, 0.116);
}
.nav-link-spacer-light{
    border:  1px solid rgba(51, 51, 51, 0.055);
    width: 70vw;
    margin: 0 auto;
}

/* FOOTER */
footer{
    height: 50px;
    cursor: default;
}
footer p{
    font-family: 'futura-light', sans-serif;
    font-size: 1.5rem;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 20px;
}

/* SCROLLBAR */
::-webkit-scrollbar{
    width: var(--scroll-width);
    height: var(--scroll-height);
}
::-webkit-scrollbar-track{
    background-color: var(--track-color);
}
::-webkit-scrollbar-thumb{
    background-color: var(--track-handle-color);
}
::-webkit-scrollbar-thumb:hover{
    background-color: var(--track-hover-color);
}
::-webkit-scrollbar-corner{
    background-color: var(--track-color);
}
*{
    scrollbar-width: var(--scroll-width);
    scrollbar-color: var(--track-handle-color) var(--track-color);
    -ms-scrollbar-color: var(--track-handle-color) var(--track-color);
    -ms-scrollbar-width: var(--scroll-width);
}

@media (min-width: 2049px){
    html{
        font-size: 70%;
    }
    .navbar-search-input{
        width: 325px;
        height: 55px;
    }
}
@media (max-width: 1024px){
    :root{
        --navbar-margin: 4vw;
    }
}
@media (max-width: 900px){
    :root{
        --navbar-margin: 15vw;
    }
    #navbar{
        justify-content: space-between;
    }
    #desktop-nav{
        display: none;
    }
    #mobile-nav{
        display: flex;
    }
    #navbar-logo{
        margin-left: 0;
    }
}
@media (max-width: 640px){
    html{
        font-size: 55%;
    }
    .mobileSearchIcon{
        font-size: 1.6em !important;
        position: relative !important;
        left: 8px !important;
        top: 0px !important;
    }
    .search-mobile-input{
        font-size: 0.75em !important;
    }
}
@media (max-width: 320px){
    :root{
        --navbar-margin: 10vw;
    }
}