* {
    margin:0;
    padding:0;
    box-sizing:border-box;
    list-style:none;
    text-decoration:none;
    color:black;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    
}

body{
    overflow-x:hidden;
}

.headerbar{
    display:none;
}

.searchicon{
    display:block;
}

.logo img{
    width:100px;
    height:60px;
    border-radius:15px
}

.bar{
    display:none;
}

.header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:60px;
    padding:0 7vw;
    background-color:#7DF9FF;
    border-bottom:2px solid #990000;
    box-shadow: 0 2px 20px rgba(255, 0, 0, 0.6)
}

.header ul{
    display:flex;
    align-items:center;
}

.header ul li:hover{
    color:#990000;
}

.header ul li i:hover{
    color:#990000;
}

.nav ul li{
    padding:0 15px;
    font-size:14px;
    font-weight:bold;
}

.account{
    flex:0.1;
}

.account ul{
    display:flex;
    justify-content:end;
}

.account ul li{
    padding: 0 15px;
    font-size:18px;
}
.bar i:hover{
    color:#990000;
}

.search{
    display:none;
    width:200px;
    justify-content:center;
}

.search input{
    width:100%;
    outline:none;
    border:none;
    padding:5px;
}

.srchicon{
    background-color:#CC3333;
    display:block;
    padding:4px 5px;
    cursor:pointer;
}

/* Home Page */
.home,.about,.menu{
    background-color:#a1aabc;
    padding:0 7vw;
}


/* Section 1 */
.main_slide{
    display:flex;
    align-items:center;
    flex-wrap:wrap-reverse;
}

.main_slide div:nth-child(2){
    flex:1;
    display:flex;
    justify-content:center;
    padding-top:40px;
}

.main_slide div:nth-child(1){
    padding-top:20px;
    flex:1;
    font-size:30px;
}

.main_slide div:nth-child(1) p{
    font-size:14px;
    padding:20px 0;
}

.main_slide div:nth-child(1) span{
    color:#CC3333;
    text-decoration:underline;
    text-underline-offset:10px;
    text-decoration-color:#7DF9FF;
}

.main_slide img{
    width:600px;
    height:600px;
    border-radius:360px;
    display:flex;
    justify-content:center;
}


/* Button css */
.red_btn{
    cursor:pointer;
    margin-top:20px;
    width:160px;
    font-weight:bold;
    color:#7DF9FF;
    line-height:50px;
    background-color:#990000;
    border-radius:5px;
    border:1px solid #990000;
    box-shadow:0 2px 15px #CC3333;
    transition:all 0.2s;
}

.red_btn i{
    color:#7DF9FF;
    transition:all 0.2s;
}

.red_btn:hover{
    background-color:#7DF9FF;
    box-shadow:0 2px 15px #4acccd;
    border:1px solid #7DF9FF;
    color:#990000;
}

.red_btn:hover i{
    color:#990000;
}

.white_btn{
    cursor:pointer;
    margin-top:20px;
    width:160px;
    font-weight:bold;
    color:#990000;
    line-height:50px;
    border:1px solid #7DF9FF;
    background-color:#7DF9FF;
    border-radius:5px;
    box-shadow:0 2px 15px #4acccd;
    transition:all 0.2s;
}

.white_btn:hover{
    color:#7DF9FF;
    border:1px solid #990000;
    background-color:#990000;
    box-shadow:0 2px 15px #CC3333;
}


/* Section 2 */
.food-items{
    margin:70px;
    padding:20px 0;
    border-radius:30px;
    display:flex;
    justify-content:space-around;
    flex-wrap:wrap;
    align-items:stretch;
    background-color:darkslategray;
}

.item{
    width:250px;
    padding:30px;
    text-align:center;
    justify-content:space-between;
    flex-direction:column;
    display:flex;
    align-items:center;
    background-color:lightslategray;
    border-radius:30px;
    margin-bottom:20px;
}

.item div{
    height:160px;
}

.item img{
    width:160px;
    margin-bottom:15px;
    border-radius:30px
}

.item h3{
    margin-top:10px;
    margin-bottom:5px
}

.item p{
    font-size:12px;
    margin-top:15px;
    margin-bottom:20px;
    flex-grow:1;
    min-height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:6px;
}

.item .white_btn,.item .red_btn{
    width:120px;
    line-height:35px;
    margin-top:auto;
}


/* Section 3 */
.main_slide2{
    margin:80px 0;
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    align-items:center;
}

.foodimg img{
    max-width:500px;
    width:45vw;
    border-radius:360px;
}

.foodimg{
    flex:0.5;
}

.question{
    flex:0.5;
    flex-direction:column;
    margin-left:40px;
}

.question h2{
    font-size:35px;
    margin-bottom:15px;
}

.q-ans{
    display:flex;
    justify-content:flex-start;
    align-items:center;
    /* background-color:lightslategray;
    margin-right:20px; */
    padding:15px 0;
    cursor:pointer;
}

.q-ans img{
    width:45px;
    height:45px;
    border-radius:360px;
    /* margin-left:10px;
    margin-right:10px; */
    display:flex;
    justify-content:center;
}

.q-ans div:first-child{
    padding:10px;
    border-radius:50%;
    height:65px;
    width:65px;
    text-align:center;
    background-color:white;
    margin-right:20px;
}

.q-ans div:nth-child(2){
    display:flex;
    flex-direction:column;
} 

.q-ans div:nth-child(2) p{
    margin-top:10px;
    font-size:12px;
}


/* Section 4 */
.main_slide3{
    display:flex;
    flex-direction:column;
    align-items:center;
    width:100%;
    position:relative;
    z-index:1;
}

.main_slide3 .fav-head{
    text-align:center;
    width:450px;
    margin-bottom:30px;
}

.main_slide3 .fav-head h3{
    font-size:30px;
    padding:20px 0;
}

.main_slide3 .fav-head p{
    font-size:12px;
    text-align:center;
}

.main_slide3 .fav-food{
    margin:30px 0;
    display:flex;
    flex-wrap:wrap;
    justify-content:space-around;
    width:90%;
    align-items:stretch;
}

.main_slide3 .fav-food .item{
    background-color:lightslategray;
    border-radius:30px;
    margin-bottom:30px;
    box-shadow: 0 2px 10px #990000;
    width:275px;
    padding:15px;
    padding-top:20px;
    
    text-align:center;
    cursor:pointer;
    justify-content:space-between;
    display:flex;
    flex-direction:column;
    align-items:center;
    min-height:450px;
    position:relative;
}

.main_slide3 .fav-food .item div{
    height:160px;
    margin-bottom:15px;
}

.main_slide3 .fav-food .item img{
    width:160px;
    margin-bottom:15px;
}

.main_slide3 .fav-price{
    color: #990000;
    font-weight: bold;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto; /* Pushes it to the bottom */
    width: 100%; /* Makes sure it spans the width */
    padding-bottom: 15px;
}

.main_slide3 .fav-price:hover{
    color:#7DF9FF;
}

.main_slide3 .dsgn{
    background-color:darkslategray;
    height:50%;
    width:100%;
    position:absolute;
    z-index:-1;
    bottom:0;
    border-radius:10px;
}

.main_slide3 .fav-food .item p{
    flex-grow: 1; 
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6px;
    
}


/* Section 5 */
.main_slide4{
    margin-top:270px;
    margin-bottom:200px;
    display:flex;
    flex-wrap:wrap-reverse;
}

.main_slide4 .chef-feed{
    flex:0.5;
    margin-top:30px;
}

.main_slide4 .chef{
    flex:0.5;
    text-align:right;
}

.main_slide4 .chef img{
    max-width:575px;
    max-height:700px;
    margin-top:-130px;
    width:50vw;
    border-radius:30px;
}

.main_slide4 .chef-feed h2{
    font-size:32px;
    margin-bottom:25px;
}

.main_slide4 .chef-feed p{
    font-size:14px;
    line-height:20px;
    margin-bottom:10px;
}

.main_slide4 .chef-detail{
    margin-top:20px;
    display:flex;
    margin-right:25px 0;
    align-items:center;
}

.main_slide4 .chef-detail img{
    width:50px;
    border-radius:360px;
    margin-right:15px;
    border:4px solid white;
}

.main_slide4 .chef-detail h6{
    font-size:14px;
}

.main_slide4 .chef-detail p{
    font-size:10px;
    color:#990000;
}

.main_slide4 .chef-vic{
    display:flex;
    align-items:center;
    padding:30px 25px;
    background-color:lightslategray;
    border-radius:0 100px 0 0;
    margin-top:40px;
    width:100%;
    height:100px;
    
}

.main_slide4 .chef-vic div{
    display:flex;
    align-items:center;
    margin-right:20px;
    flex:0.5;
    height:28px;
    /* overflow:hidden; */
}

.main_slide4 .chef-vic div i,.main_side4 .chef-vic div h4{
    font-size:26px;
    margin-right:8px;
}

.main_slide4 .chef-vic div h4{
    color:#CC3333;
}

.main_slide4 .chef-vic div p{
    font-size:10px;
    padding-top:12px;
    margin-left:8px;
    line-height:10px;
    color:#990000;
}


/* Section 6 */
.letter{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    align-items:center;
    padding:100px 0;
}

.letter-head{
    flex:0.5;
}

.letter-head h2{
    font-size:30px;
}

.letter-head span{
    color:#990000;
}

.letter-input{
    width:100%;
    margin-top:20px;
    display:flex;
    flex:0.5;
}

.letter-input div{
    width:70%;
    display:flex;
    align-items:center;
    background-color:lightslategray;
}

.letter-input input{
    font-size:15px;
    color:#CC3333;
    padding:10px;
    outline:none;
    width:100%;
    border:none;
    background-color:lightslategray
}

.letter-input .red_btn{
    margin:0;
    font-size:18px;
    box-shadow:none;
    border-radius:0 10px 10px 0;
}


/* Sign in/Sign up form */
.sign {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(8px);
    display: none;
    justify-content: space-around;
    align-items: center;
}

.sign-box {
    transition: all 0.4s;
    background-color: white;
    max-width: 500px;
    width: 500px;
    border-radius: 20px;
    padding: 35px;
    transform: scale(0);
}

.sign-box h3 {
    text-align: center;
    font-size: 28px;
    color:#990000;
    padding-bottom: 20px;
}

.sign-box form input {
    padding: 5px;
    margin-top: 5px;
    margin-bottom: 15px;
    width: 100%;
    font-size: 14px;
    outline: none;
}

.sign-box .signin form input {
    margin-bottom: 20px;
}

.sign-box .signin form input:last-of-type {
    margin-top: 20px;
}

.sign-box form input:last-of-type {
    background-color:#CC3333;
    color:#7DF9FF;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    line-height: 30px;
    outline: none;
    margin-bottom: 30px;
}

.sign-box form input:last-of-type:hover {
    background-color:#7DF9FF;
    color:#990000;
    font-weight:bold;
}

.sign-box form label {
    font-size: 16px;
    font-weight: bold;
    color: rgb(46, 46, 46);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.sign-box p {
    font-size: 13px;
    color: rgb(252, 30, 30);
    cursor: pointer;
    margin-bottom: 5px;
    text-align: center;
}

.sign-box p:hover {
    text-decoration: underline;
}

.sign .bar {
    display: block;
    position: fixed;
    top: 30px;
    right: 50px;
    font-size: 30px;
    cursor: pointer;
    
}

.signin {
    display: none;
}



/*Book table page CSS*/
.table {
    width: 100%;
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background: url(pictures/background-red.webp);
}

.table .sign {
    height: 100%;
    width: 100%;
    position: relative;
    display: block;
    backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.table .sign-box {
    background-color: lightslategrey;
    max-width: 500px;
    width: 500px;
    border-radius: 20px;
    padding: 35px;
    padding-bottom: 10px;
    transform: scale(1);
    box-shadow: 0 0 10px rgba(32, 32, 32, 0.384);
}

.table .signup h3 {
    text-align: left;
}




/* Food menu page CSS*/

.menu1 {
    padding: 100px 0;
    padding-top: 50px;
}

.menu h1 {
    font-size: 3rem;
    font-family: cursive;
    text-align: center;
    padding: 30px;
    padding-top: 20px;
}

.menu .fav-food {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.menu .item {
    background-color: white;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    height: 350px;
    margin-top: 40px;
    margin-bottom: 20px;
    transition: all 0.5s;
    box-shadow: 0 2px 5px rgb(53, 0, 0);
    cursor: pointer;
}

.menu .item div {
    width: 100%;
}

.menu .item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 10px rgb(53, 0, 0);
}

.menu .item div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius:20px;
}

.menu .item h3 {
    padding: 15px;
    padding-bottom: 0px;
}

.menu .item p {
    font-size: 12px;
    padding: 0 15px;
    margin-top: 10px;
    margin-bottom: 5px;
    text-align: left;
}

.menu .item .fav-price {
    font-size: 17px;
    color: red;
    padding-bottom: 10px;
    text-align: right;
    margin: 5px 0;
    font-weight: bold;
}

.menu .fav-head .menu-titles{
    text-align:center;
    justify-content: center;
    color:#990000;
    text-decoration-line:underline;
}
.menu .fav-head .menu-titles:hover{
    color:#7DF9FF;
}


@media only screen and (max-width:768px){
    .header .nav,.header .account{
        display:none;
    }
    .bar{
        display:block;
        cursor:pointer;
    }
    .headerbar{
        overflow:hidden;
        display:flex;
        flex-direction:column;
        position:fixed;
        top:0;
        bottom:0;
        width:100%;
        right:-100%;
        background-color:#990000;
        transition: all 0.75s;
    }
    .headerbar .account, .headerbar .nav{
        display:block;
        font-size:18px;
    }
    .header ul li:hover{
        color:#7DF9FF;
    }
    .header ul li i:hover{
        color:#7DF9FF;
    }
    .bar .fa-xmark{
        display:none;
        top:20px;
        right:5w;
        position:absolute;
        font-size:25px;
    }
    .headerbar .nav ul{
        flex-direction:column;
        margin-top:10px;
        text-align:center;
    }
    .headerbar .nav li{
        width:96vw;
        margin:10px 0;
        padding:15px 30px;
        box-shadow:0 2px 15px #CC3333;
        font-size:15px;
        margin-top:5px;
    }
    .headerbar .account{
        line-height:40px;
        margin-top:60px;
        background-color:#CC3333;
        padding:15px;
    }
    .headerbar .account ul{
        justify-content:space-between;
    }
    .srchicon{
        background-color:#7DF9FF;
        display:block;
        padding:4px 5px;
        cursor:pointer;
    }
    .bar i:hover{
        color:#990000;
    }
    .bar #hdcross:hover{
        color:#7DF9FF
    }
    .foodimg{
        flex:1;
        text-align:center;
        margin-bottom:20px;
    }
    .foodimg img{
        width:70vw;
    }
    .question{
        flex:1;
        margin-top:30px;
    }
    .question h2{
        font-size:25px;
    }
    .q-ans div:nth-child(2) p{
        font-size:10px;
    }
    .main_slide3 .dsgn{
        background-color:darkslategray;
        height:100%;
        width:100%;
        position:absolute;
        z-index:-1;
        bottom:0;
        border-radius:10px;
        width:370px
    }
    .main_slide3 .fav-head h3, .main_slide3 .fav-head p{
        width:80%;
        margin-left:50px;
    }
    .main_slide4{
        margin-top:150px;
    }
    .main_slide4 .chef-feed{
        flex:1;
    }
    .main_slide4 .chef{
        flex:1;
        text-align:center;
        margin-bottom:40px;
    }
    .main_slide4 .chef img{
        width:80vw;
    }
    .letter-head h2{
        font-size:20px;
    }
    .letter-input input{
        font-size:12px;
        padding:15px;
        width:50vw;
    }
    .letter-input .red_btn{
        line-height:40px;
        width:120px;
    }

    /* Signup/signin form  */
    .sign-box h3 {
        text-align: left;
        margin-bottom: 25px;
    }
    #x-sign-mb {
        display: block;
        position: absolute;
        top: 10px;
        right: 0;
    }
    .sign-box form input:last-of-type:active {
        background-color: rgb(253, 99, 38);
    }
    .food-items{
        background-color:#a1aabc;
        justify-content:center;
    }
}

@media only screen and (max-width: 550px){
    .main_slide div:nth-child(1){
        font-size:18px;
    }
    .main_slide div:nth-child(1) p{
        padding-top:5px;
        margin:10px 0;
        font-size:10px;
    }
    .main_slide img{
        display:flex;
        justify-content:center;
        width:300px;
        height:300px;
    }
    .red_btn{
        margin-top:10px;
        width:120px;
        line-height:30px;
        font-size:12px;
        padding:0px; 
    }
    .main_slide div:nth-child(1) span{
        text-underline-offset:5px;
    }
    .food-items{
        background-color:#a1aabc;
        justify-content:center;
    }
    .main_slide4 .chef-vic div p{
        display:none;
    }
    .letter{
        justify-content:center;
    }
    .letter-head{
        flex:1;
        text-align:center;
    }

    /* signup form  */
    .sign {
        padding: 5vw;
    }
    .sign-box {
        width: 80vw;
        border-radius: 20px;
        padding: 25px;
        padding-bottom: 30px;
    }
    .sign-box h3 {
        text-align: left;
        font-size: 24px;
        padding-top: 15px;
        padding-bottom: 10px;
    }
    .sign-box form input {
        font-size: 12px;
    }
    .sign-box .signin form input:last-of-type {
        margin-top: 15px;
    }
    .sign-box form label {
        font-size: 14px;
    }

    /*food menu page*/
    .menu1 {
        padding-top: 20px;
        padding-bottom: 30px;
    }
    .menu h1 {
        font-size: 2.5rem;
    }
    .menu .item {
        margin-top: 20px;
        margin-bottom: 20px;
        height: auto;
        width: 85%;
    }
    .menu .item div {
        width: 100%;
    }
    .menu .item h3 {
        padding: 15px;
        text-align: left;
        padding-bottom: 0px;
    }
    .menu .item p {
        font-size: 10px;
        padding: 0 15px;
        margin-top: 5px;
    }
    .menu .item .fav-price {
        font-size: 13px;
        color: red;
        padding-bottom: 15px;
    }
    .menu .item:hover {
        transform: scale(1);
        box-shadow: 0 2px 5px rgb(53, 0, 0);
    }
}