body{
    background-color:#FFF8E7;
    text-align: center; 
    margin: 0;
    padding-top: 60px;
    overflow-x: hidden;
}

nav {
    background-color: #9f6e49;
    padding: 5px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    margin-top: -20px;
    position: absolute;
    left: 5%;
    top: 50%;
}

li{
    display: inline;
    margin-right: 50px;
} 


ul{
    display: block;          
    text-align: center;
    position: relative;     
}

a{
    text-decoration: none;
    color: white;
}

footer{
    background-color: #9f6e49;
    color: white;
    padding: 10px;
    width: 100%;
    overflow: hidden;
    font-size: small;
    margin-top: 50px;
}

div{
    align-items: center;
    margin: 20px;
    padding-right: 80px;
    padding-left: 80px;
    padding-top: 20px;
    }

h2{
    text-align: center;
    color: rgb(61, 40, 21);
}

.searchbox{
    width: 60%;
    padding: 10px;
}

p
{
    text-align: center;
}

table, th, td {
    border-collapse: collapse;
    padding: 10px;
    text-align: center;
}

.content{
    text-align: justify;
    padding: 50px;
}

.box{
    border: white;
    border-width: 2px;
    border-style: solid;
    display: inline-block;
    width:170px;
    height: 200px;
    background-color:white;
    padding-bottom: 80px;
}

.addtocart{
    background-color: #9f6e49;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    display: inline;
}

.addtocart:hover{
    background-color: rgba(193, 137, 91, 0.749);
    color: #000;
}

.tagline {
    position: absolute;
    top: 100px;
    width: 80%;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    
}

.container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.container div{
    background-color: white;
    width: 200px;
    height: 250px;
    padding-left: 40px;
    padding-right: 40px;
    margin: 10px;
    flex-basis: 23%;
}
    
.aboutus{
    background-color: white;
    padding: 30px;
    margin-left: 80px;
    margin-right: 80px;
    margin-top: 50px;
    display: inline-block;
    flex-basis: 23%;
}

.aboutimg{
    float: left;
    margin-right: 40px;
    margin-bottom: 20px;
    margin-top: -50px;
    width: 30%;
    height: auto;
}

.aboutusheading{
    margin-left: 350px;
}
form{
    background-color:white ;
    padding:30px;
    margin-left: 400px;
    margin-right: 400px;
    margin-top: 50px;
    display: inline-block;
    flex-basis: 23%;
    border-radius: 10px;
    justify-content: justify;
    border-color: gainsboro;
    border-width: 1px;
    border-style: solid;
}

.inputname,.inputemail,.inputmessage{
    padding: 8px;
    width: 100%;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.submit{
    cursor: pointer;
    margin-left: 170%;
    padding: 5px 20px;
}

.movemessage {
    display: block;
    margin-top: 10px;
    margin-left: 20px;
}
.ordernow {
    color: #765431;
    border-radius: 10px;
    border: 1px solid;
    padding: 8px 10px;
    background-color: white;
    display: inline-block;
    position: absolute;
    font-family: 'Poppins', sans-serif;
    top: 300px;
    left: 550px;
    margin: right 50px;
    text-decoration: none;
    cursor: pointer;
    z-index: 999;
}

.bgimage {
    width:102%;
    height:650px;
}
.menu{
    color: rgb(61, 40, 21);
}

@media screen and (max-width: 500px) {
    .bgimage{
        width: 120%;
        height: 280px;
        padding: 0;
        margin: 0 auto;
        position: relative;
        top: -10px;
        z-index: -1;
    }

    nav{
        font-size: smaller;
        overflow: hidden;
    }

    .logo{
        width: 50px;
        height: 35px;
    }

    li{
    display: inline;
    margin-right: 30px;
}

.tagline {
    position: absolute;
    top: 80px;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

.ordernow {
    font-size: smaller;
    top: 180px;
    left: 200px;
}

.aboutus{
    margin-left:20px;
    margin-right: 20px;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;

}
.aboutimg{
    width: 50%;
    margin-top: -35px;

}

 .aboutusheading {
        font-size: 1.5rem;     /* slightly smaller so it fits */
        white-space: nowrap;   /* keep it in one line */
        margin: 10px;
        position: relative;
        right:-30%;    /* no left/right shifting */
    }

    .container{
    flex-direction: column;
    margin: 0 auto;


}

.container div{
    font-size: small;
    margin: 10px auto;
    margin-right: auto;
}

footer{
    font-size: x-small;
    width: 200%;
    position:relative;
    right: 50%;
    overflow: hidden;
}

.box{
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
    padding-bottom: -80px;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 20px;
    margin-right: 20px;
    justify-content: center;
}

.menu{
    font-size: large;
    margin-bottom: -10px;
}

.searchbox{
    width: 100%;
    padding: 8px;
    margin: -50px;
}

.addtocart{
    padding: 5px 10px;
    font-size: small;
    position: relative;
    bottom: 5px;
}

form{
    margin-left: 20px;
    margin-right: 20px;
    padding: 20px;
    font-size: smaller;
}

}