* {
    font-family: "Roboto", sans-serif;
}
body {
    background-color: #FFF6EB;
    margin: 0px;
}
header {
    height: 30%;
    position: relative;
    box-shadow: 0px 0.5px 10px rgb(0, 0, 0, 0.6);
}
#logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    width: 15%;
}
#logo > img {
    height: 8em;
    width: auto;
}
#logo > h1 {
    font-size: x-large;
    font-family: "Cormorant SC", serif;
    color: #6B9A83;
    margin-bottom: 10px;
    margin-top: -30px;
    text-align: center;
}
#extraNav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    right: 0px;
    bottom: 10px;
    width: 30%;
}
#modeSwitch {
    background-color: white;
    border: 1px solid black;
    height: 25px;
    width: 45px;
    border-radius: 20px;
    position: relative;
    margin-right: 10px;
}
#toggle {
    position: absolute;
    height: 20px;
    width: 38px;
    padding: 0px;
    appearance: none;
    z-index: 1000;
}
#slider {
    position: absolute;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 25px;
    width: 45px;
    border-radius: 20px;
    left: 50%;
    transform: translateX(-50%);
}
#slider::before {
    width: 23px;
    height: 23px;
    border-radius: 15px;
    content: "";
    position: absolute;
    background-color: black;
    right: 1px;
    transition: 0.3s;
}
#slider > .fa-solid.fa-sun {
    float: left;
}
#slider > .fa-solid.fa-moon {
    float: right;
}
#toggle:checked + #slider::before {
    transform: translateX(-87%);
    transition: 0.3s;
}
#searchBar {
    display: flex;
    align-items: center;
    width: 250px;
}
#searchQuery {
    height: 30px;
    width: 200px;
    margin-right: 5px;
    border-radius: 10px;
    border: none;
    box-shadow: inset 0px 0px 5px rgb(0, 0, 0, 0.5);
}
.fa-solid.fa-magnifying-glass {
    font-size: 25px;
    margin-right: 5px;
}
.fa-solid.fa-cart-shopping {
    font-size: 25px;
}
hr {
    height: 1em;
    width: 100%;
    background-color: #BA7D67;
    border: none;
    padding: 0px;
    margin: 0px;
}
#middleContent {
    display: flex;
    flex-direction: row;
    height: 100vh;
    margin-bottom: 0px;
}
nav {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    text-align: center;
    background-color: #C7D8D0;
    float: left;
    width: 13%;
    overflow: hidden;
    box-shadow: 3px 3px 5px rgb(0, 0, 0, 0.3);
    margin-bottom: 0px;
}
nav > hr {
    background-color: #6B9A83;
    box-shadow: 1px 3px 5px rgb(0, 0, 0, 0.7);
}
nav > a {
    color: black;
    font-weight: bold;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
#extraNav > a {
    color: black;
}
#centeredMain {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 87%;
}
main img {
    height: 190px;
    width: auto;
}
h2 {
    font-size: larger;
}
#recommended {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 70%;
}
#popular {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 70%;
}
#popOne {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
}
#popTwo {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
}
footer {
    height: 70px;
    background-color: #ba7d67;
    width: 100%;
}
#copyright {
    position: relative;
    color: #FFF6EB;
    text-align: right;
    margin-right: 5px;
    top: 99%;
    transform: translateY(-100%);
}
#aboutUs {
    display: inline-block;
    width: 60%;
    margin-left: 10%;
    margin-top: 5%;
}
#aboutUs > img {
    float: right;
    padding: 7px;
}
@media only screen and (max-width: 510px) {
    #logo {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 55%
    }
    #logo > img {
        height: 5em;
    }
    #logo > h1 {
        font-size: large;
        margin: 0;
    }
    #middleContent {
        flex-direction: column;
    }
    nav {
        width: 100%;
        flex-direction: row;
    }
    nav > hr {
        display: none;
    }
}
