* {
    margin: 0px;
    padding: 0px;
}
.header {
    background-color: orange;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
    position: fixed;
    z-index: 1000;
}
/* login page start*/
#loginDiv {
    color: black;
    background-color: gold;
    padding-top: 3%;
    padding-bottom: 3%;
    height: fit-content;
    width: 100%;
}
#logintable {
    height: 400px;
    width: 80%;
}
#tableol,
.Gender,
#tablelabel {
    display: inline-block;
}
#logintable #tableol .Gender #tablelabel input[type="radio"] {
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
    top: 4px;
}
#loginDiv #loginform #logintable tr input[type="text"],
input[type="date"],input[type="text"],
input[type="email"],input[type="tel"]{
    display: inline-block;
    font-size: large;
    padding: 5px;
}

#loginDiv form #logintable input[type="reset"],
button{
    display: inline-block;
    font-size: large;
    padding: 10px;
    width: 140px;
    background-color: orange;
    color: white;
}
#loginDiv form #logintable tr td {
    font-size: larger;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

#otp-btn{
    background-color:black;
    color: white;
    border-radius: 5px;
}
#otp_inp{
    width: 40%;
    margin-bottom: 20px;
    border-radius: 5px;
}
#verifyrow{
   display: none;
}

#loginsuccess{
    color: green;
    margin:20px;
    font-size: large;
    font-weight: bold;
}
/* login page End*/
main {
    position: absolute;
    top: 90px;
    width: 100%;
}
.name {
    display: inline-block;
    color: black;
    border-width: 5px;
    border-color: white;
    border-style: solid;
    margin-left: 10px;
    padding: 2px;
}
/*.logo {
    display: inline-block;
    margin-bottom: -13.5px;
    margin-left: -4.2px;
    width: 90px;
    height: 49.8px;
}*/
  .logo {
    display: inline-block;
    margin-bottom: -15.2px;
    margin-left: -4.2px;
    width: 90px;
    height: 51.8px;
}
/*search engine*/
.search {
    padding: 10px;
    text-align: center;
}
.search .ser_ip {
    width: 50%;
    height: 20px;
    font-size: 20px;
    padding-left: 10px;
    border-radius: 25px;
}
.ser_img{
    width: 35px;
    height: 35px;
    position: relative;
    top: 10.5px;
    right: 45px;
    display: inline-block;
    z-index: 1;
}
.NoItemFound{
    font-size: x-large;
    color: red;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}
/*search engine*/
/*Products*/
.prod {
    display: flex;
    justify-content: space-between;
    margin-left: 2%;
    margin-right: 2%;
    flex-wrap: wrap;
}
.ser_item{
    position: absolute;
}

.box {
    flex-basis: 20%;
    color: white;
    background-color: black;
    height: 300px;
    margin: 10px;
    padding: 5px;
    text-align: center;
    flex-grow: 1;
    overflow: hidden;
}
img {
    width: 100%;
    height: 75%;
}
.prod .box div button {
    background-color: gold;
    color: black;
    padding: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}
.prod .box div button:hover {
    background-color: goldenrod;
    color: black;
}
.box:hover {
    border: 2px;
    border-color: orange;
    border-style: double;
    color: yellow;
    background-color: black;
    transition: 0.2s;
}
.box small h4{
    display: inline;
}
ul {
    top: 45%;
    right: 40px;
    position: absolute;
    display: inline-block;
}
ul li {
    display: inline;
}
ul li a {
    display: inline;
    color: black;
    padding-right: 18px;
    padding-left: 18px;
    text-decoration: none;
    padding: 10px;
}
ul li a:hover {
    display: inline;
    color: white;
    cursor: pointer;
    background-color: rgb(174, 124, 30);
}
/* Cart items start*/
#cartContainer {
    display: none;
    flex-direction: column;
    align-items: center;
    position: fixed;
    right: 0%;
    top: 120px;
    height: 80%;
    width: 40%;
    background-color: gold;
    padding-top: 5px;
    overflow:scroll;
    scrollbar-width: none;
    z-index: 100;
}
#cartContainer nav{
    position: fixed;
    background-color: red;
    width:40% ;
    right: 0px;
    top: 90px;
    text-align: center;
    padding-top:5px ;
    padding-bottom: 5px;
    z-index: 100;
}

#cartContainer span {
    position: absolute;
    right: 4%;
    top: 9px;
    background-color: white;
    color: black;
    font-weight: 700;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 3px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    z-index: 200;
}
#cartContainer span:hover {
    background-color: black;
    color: white;
}
.cartBox {
    background-color: white;
    width: 95%;
    height: fit-content;
    border: 1px solid black;
    align-items: center;
    margin-top: 5px;
    margin-left: 5px;
    display: flex;
    padding: 10px;
    position: relative;
}
.deletecart{
    width: fit-content;
    padding: 2px;
    font-size: small;
    position: absolute;
    right: 5px;
    top: 15px;
}
.deletecart:hover{
    background-color: black;
    color: white;
}
.cartImg {
    width: 30%;
    height: 100%;
    object-fit: cover;
}
#cartContainer .cartBox .cartDetail {
    padding-left: 10px;
}
#cartContainer .cartBox .cartDetail h3 {
    display:block;
    color: red;
}
#cartContainer .cartBox .cartDetail h4 {
    display: inline-block;
    padding: 5px;
}
#cartContainer .cartBox .cartDetail small h4{
    display: inline;
}
.Cartcost{
    display: inline;
}
.quantityip {
    width: 35px;
    height: 4px;
    font-size: small;
}
.cartTotalCost{
    padding: 0px;
}
#cartTotal{
    position: fixed;
    background-color: red;
    width:40% ;
    right: 0px;
    bottom: 0px;
    padding-top:10px ;
    padding-bottom: 10px;
    z-index: 100;
}
#cartTotal #Order{
    display: inline-block;
    position: absolute;
    right: 4%;
    bottom: 5px;
    background-color: orange;
    color: black;
    border: 1px black solid;
    border-radius: 3px;
    font-weight: 700;
    padding: 4px;
    padding-left: 10px;
    padding-right: 10px;
    z-index: 200;
}
#cartTotal #Order:hover{
    background-color: black;
    color: white;
    border: 1px white solid;
}
#cartTotal h3{
    margin-left: 10px;
}
#cartcount1,#cartcount2{
    background-color: gold;
    border-radius: 60px;
    color: black;
    position: relative;
    bottom: 10px;
    right: 10px;
    padding: 5px;
}
.Orderdisplay{
    display: none;
    flex-direction: column;
    position: fixed;
    width: fit-content;
    height: fit-content;
    padding:20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color:yellow;
    align-items: center;
    border: 2px red solid;
    font-size: 100%;
    z-index:150;
}
.Orderdisplay h1{
    color:darkblue;
    font-family:Georgia, 'Times New Roman', Times, serif;
}
.Orderdisplay h2{
    padding-top:5px;
    color: red;
}
.Orderdisplay h3{
    padding: 5px;
}
.Orderdisplay h4{
padding: 5px;
}
.Orderdisplay h4 a{
    color:green;
    text-decoration: none;
}
/*cart end*/
/*Category*/
.category {
    display: none;
    position: absolute;
    top: 28px;
    right: 45.2%;
    background-color: black;
    padding-top: 28px;
    padding-left: 5px;
    padding-right: 5px;
}
.category li {
    display: block;
}
.category li .a2 {
    text-decoration: none;
    padding-top: 5px;
    padding-bottom: 5px;
    display: block;
    color: white;
}
.category li .a2:hover {
    display: block;
    color: black;
    background-color: yellow;
}
ul li:nth-child(3):hover .category {
    display: block;
}
.button1 {
    display: none;
}
.footer {
    padding: 20px;
    justify-content: center;
    background-color: orange;
    display: block;
    text-align: center;
}
#CART{
    display: none;
}

@media screen and (max-width:769px) {
    .button1 {
        background-color: black;
        border: 1px white solid;
        position: absolute;
        right: 8%;
        top: 35%;
        height: 25px;
        width: 30px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .button1 span {
        width: 75%;
        display: block;
        height: 4px;
        margin: 0.7px;
        background-color: white;
    }
    .button1:hover {
        background-color: gray;
    }
   
    .box {
        flex-basis: 40%;
    }
    ul {
        top: 90px;
        left: 0px;
        position: absolute;
        display: block;
        width: 100%;
        background-color: grey;
        padding-bottom: 5px;
    }
    ul li {
        display: block;
        width: 100%;
        margin: 0px;
    }
    ul li a {
        width: 100%;
        display: block;
        color: black;
        border-top: 1px black solid;
        padding: 5px;
        text-decoration: none;
        font-size: 20px;
    }
    ul li a:hover {
        display: block;
        color: white;
        cursor: pointer;
        background-color: black;
    }
    .hide {
        display: none;
    }
    /*cart items*/
    #CART{
        display: inline-block;
        position: absolute;
        top: 43%;
        left: 185px; 
    }
    #CART a{
        display: inline;
        color: black;
        padding-right: 18px;
        padding-left: 18px;
        text-decoration: none;
        padding: 10px;
        border-radius: 25px;
    }
    #CART a:hover{
        color: white;
        cursor: pointer;
        background-color: rgb(174, 124, 30);
    }
    #cartContainer {
        width: 60%;
    }
    #cartContainer nav{
        width: 60%;
    }
    #cartContainer #cartTotal{
        width :60%
    }
    #CART li{
        display: inline;
        text-decoration: none;
    }
    #cartcount2{
        display: none;
    }
    /*category list*/
    .category {
        display: none;
        background-color: black;
        margin-top: 0%;
        top: 1px;
        padding: 0px;
        position: relative;
    }

    .category li {
        display: inline-block;
    }

    .category li .a2 {
        text-decoration: none;
        padding-top: 5px;
        padding-bottom: 5px;
        display: inline-block;
        color: white;
    }
    .category li .a2:hover {
        display: block;
        color: black;
        background-color: yellow;
    }

    ul li:nth-child(2):hover .category {
        display: block;
    }

}

@media screen and (max-width:426px) {    
    .box {
        flex-basis: 80%;
    }
    /*cart item*/
    #cartContainer {
        width: 85%;
    }
    #cartContainer nav{
        width: 85%;
    }
    #cartContainer #cartTotal{
        width :85%
    }
    #cartTotal h3{
        font-size: medium;
    }
    .Orderdisplay{
        width: 70%;
    }
    .Orderdisplay h1{
        font-size: 35px;
    }
}
@media screen and (max-width:400px){
    #loginDiv #loginform #logintable
    input[type="text"],
    input[type="date"],
    input[type="text"],
    input[type="email"],input[type="tel"]{
        font-size: medium;
        padding: 4px;
        width: 120px;
    }
    #loginForm #loginDiv h1{
        font-size: larger;
    }
    #FAQs #qns span{
        display: none;
    }
}

/*About the FoodShop*/
.FoodShopAbout {
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.h1about {
    padding: 15px;
    padding-bottom: 0px;
    font-family: serif;
    font-size: 35px;
}
.h2about {

    padding: 15px;
    font-family: serif;
}

.headerabout {
    padding: 10px;
    font-family: serif;
}

.about-img {
    display: inline-block;
    text-align: center;
    width: 50%;
    height: 40%;
    padding-top: 10px;
    padding-bottom: 10px;
}

.img2about {
    border-radius: 25px;
}
/*FoodShop contact*/
.FoodShop-contact {
    text-align: center;
    padding: 20px;
}

.btn-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 40px;
}

.contact-btns {
    flex-basis: 40%;
    width: 20%;
    background-color: green;
    border: none;
    margin: 10px;
    max-height: 100%;
}

.btn-container .contact-btns a {
    text-decoration: none;
    color: white;
    font-size: large;
    display: block;
    padding: 10px;
}

.btn-container .contact-btns:hover {
    background-color: rgb(97, 180, 13);
}

.faqs-container,
.h2ol {
    display: inline-block;
    background-color: black;
    width: 95%;
    color: orange;
    padding: 10px;
    text-align: center;
}

#FAQs {
    display: inline-block;
    color: black;
    padding: 10px;
    text-align: center;
    width: 95%;
}

#FAQs #qns {
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: rgb(244, 215, 162);
}

#FAQs #qns label:hover {
    background-color: rgb(219, 170, 78);
}
#FAQs #qns label,
input {
    width: 100%;
    text-align: left;
    border: black 1px solid;
    padding-top: 10px;
    padding-bottom: 10px;
}
#FAQs label+input[type="radio"] {
    display: none;
}
#FAQs label p{
    padding-left: 10px;
}
label span {
    top: 10px;
    right: 15px;
    position: absolute;
    display: inline-block;
    transform: rotate(90deg);
    padding: 10px;
}
.content {
    width: 100%;
    margin-top: 1%;
    text-align: left;
    line-height: 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s;
}
.content p {
    padding: 10px;
}
#FAQs label+input[type="radio"]:checked+.content {
    max-height: 400px;
    border: 1px rgb(123, 95, 44) solid;
}
.bottom-li{
    padding-bottom: 10px;
}