*{
    margin: 0px;
    padding: 0px;
}
.nav{
    background:#504e4e ;
    position: sticky;
    top: 0;
    z-index: 900;
    width: 100%;
}
#name{
    color: white;
    display: inline-block;
    font-family:sans-serif;
    font-size:24px;
    font-weight:bolder;
    padding-left: 10px;
}
nav{
    position: relative;
    background: #504e4e;
    height: 50px;
    width: 800px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    justify-content: space-evenly; 
    margin-left: 480px;
}
nav a{
    text-decoration: none;
    color: white;
    font-size: 17px;
    z-index: 1000;
    font-family: sans-serif;
}
nav span{
    position: absolute;
    top: 0;
    left: 0;
    width: 110px;
    height: 100%;
    background: linear-gradient(45deg,#4f1919,#ff3333);
    border-radius: 10px;
    transition: .5s;
}
nav a:nth-child(1):hover~span
{
    left: 0;
}
nav a:nth-child(2):hover~span{
    left: 110px;
}
nav a:nth-child(3):hover~span
{
    left: 219px;
    width: 95px;
}
nav a:nth-child(4):hover~span
{
    left: 329px;
    width: 110px;
}
nav a:nth-child(4):hover~span
{
    left: 329px;
    width: 110px;
}
nav a:nth-child(5):hover~span
{
    left: 455px;
    width: 125px;
}
nav a:nth-child(6):hover~span
{
    left: 580px;
    width: 110px;
}
nav a:nth-child(7):hover~span
{
    left: 685px;
    width: 110px;
}

.slider-contain{
    width: 100%;
    height: 100%;
    background: #504e4e;
    padding-top:1px;
    padding-bottom: 100px;    
    margin-bottom: 0px;
}
.slider{
    margin: auto;
    margin-top: 150px;
    position: relative;
    width: 200px;
    height: 250px;
    transform-style: preserve-3d;
    animation: rotate 50s linear infinite;
}
@keyframes rotate {
    0%{
        transform: perspective(1000px)rotateY(0deg);
    }
    100%
    {
        transform: perspective(1000px)rotateY(360deg);
    }
}
.slider span{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateY(calc(var(--i)*45deg))translateZ(350px);
}
.slider span img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    transition: 2s;
    object-fit: cover;
}
.slider span:hover img{
    transform: translateY(-20px)scale(1.1);
}
.about-contain{
    border: 2px solid white;
    height: 750px;
}
.about{
    position: relative;
}
.about #wc{
    margin-left: 510px;
    padding-top: 50px;
    font-family: "lucida handwriting";
    font-size: 35px;
    font-weight: 500;
    position: relative;
    transition: 7s;
    animation: textanim 8s ;
}
@keyframes textanim{
    from{
        opacity: 0;
        position: relative;
        margin-top: -80px;
        
    }
    to{
        opacity: 1;
        position: relative;
        margin-top: 0px;       
    }
}
.aboutimg{
    width: 400px;
    height: 540px;
    display: inline-block;
    /* background-color: #ff3333; */
    margin: 50px 0px 0px 250px;
    overflow: hidden; 
    position:relative;
    border-radius: 30px;
    transition: 15s;
    animation: divanim 8s ;
}
.aboutimg img{
    width: 400px;
    height: 540px;
}
.aboutimg img:hover{
    transition: 3s;
    transform: scale(1.2);
}
.info{
    width: 700px;
    height: 500px;
    /* border: 2px solid red; */
    display: inline-block;
    margin: 50px 0px 0px 80px;  
    position: absolute; 
    transition: 15s;
    animation: divanim 8s ;
}
@keyframes divanim{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;   
    }
}
#a1{
display: block;
color: rgb(243, 85, 32);
font-size: 20px;
font-family: sans-serif;
font-weight: 600;
margin-top: 70px;
text-decoration: underline;
}
#a2{
display: block;
margin-top: 25px;
font-family: sans-serif;
font-size: 45px;
font-weight: 800;
line-height: 2.5rem;
}
#a3{
display: block;
margin-top: 8px;
font-family: sans-serif;
font-weight: 550;
}
#a4{
display:inline-flex;
width: 300px;
margin: 25px 40px 0px 0px;
font-family: sans-serif;
}
#a5{
display: inline-flex;
width: 300px;
font-family: sans-serif;
}
#a6 img{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-top: 50px;
    position: absolute;
    display: block;
}
#a7{
    display: inline-block;
    margin: 75px 0px 0px 100px;
    font-family: sans-serif;
    font-weight: 600;
    font-size: 20px;
}
#a7 p{
    font-size: 15px;
    font-weight: 550;
}
a{
    text-decoration: none;
}
input{
    display: none;
}
.popular{
    width: 100%;
    height: 650px;
    background-color: #504e4e;
    padding-bottom: 50px;
    }
.popular h2,.menu h2{
    text-align: center;
    font-family:"lucida handwriting" ;
    font-size: 30px;
    color: rgb(243, 85, 32);
    word-spacing: 10px;
    padding: 40px 0px 10px 0px;
    
}
.container{
    width: 100%;
    height: 100%;
    max-width: 600px;
    max-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    flex-direction: column;
    margin-bottom: 100px;
}
.cards{
    position: relative;
    height: 500px;
    width: 430px;
    margin-bottom: 20px;
    margin-left: 900px;
    perspective: 1000px;
    transform-style: preserve-3d;
}
.cards label{
    position: absolute;
    width: 430px;
    left: 0;
    right: 0;
    margin: auto;
    cursor: pointer;
    transition: all 0.55s ease;
}
.cards .card{
    position: relative;
    height: 100%;
    background-color: #323444;
    border-radius: 10px;
    padding: 30px 35px;
}
.cards .image{
    display: flex;
    justify-content: space-between;
}
.cards .image img{
    border-radius: 5px;
    box-shadow: 15px 15px 40px rgba(0,0,0,50%);
    margin-top: 23px;
    width: 86%;
    height: 220px;
    object-fit: cover;
    transition: all .7s;
}
.cards .image img:hover{
    transform: scale(1.05);
}
.cards .image .dots{
    text-align: center;
}
.cards .image .dots{
    text-align: center;
}
.dots div{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-bottom: 10px;
}
.dots div:nth-child(1){
    background-color: var(--current-color1);
}
.dots div:nth-child(2){
    background-color: #5b85f9;
}
.dots div:nth-child(3){
    background-color: #000;
}
.card .infos{
    display: block;
    text-align: end;
    padding-top: 60px;
}
.card .infos span{
    display: block;
}
.infos .name{
    font-size: 30px;
    color: var(--current-color1);
    letter-spacing: 3px;
    margin-bottom: 8px;
    padding-right: 0%;
    transition: all .6s ease;
}
.card .lorem{
    font-size: 15.5px;
    color: #eceaed;
    letter-spacing: 3px;
    margin-bottom: 15px;
}
.card .btn-details{
    width: 100px;
    height: 60px;
    margin: 35px auto;
    font-family: sans-serif;
    border-radius: 5px;
    padding: 0px 15px 0px 15px;
    background-color: var(--current-color1);
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 25px;
    letter-spacing: 2px;
    font-weight: 700;
    transition: all .7s ease;
}
.btn-details:hover{
    background: white;
    color:#f7a610;
}
#s1:checked~.cards #slide4,
#s2:checked~.cards #slide5,
#s3:checked~.cards #slide1,
#s4:checked~.cards #slide2,
#s5:checked~.cards #slide3{
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 45%);
    transform: translate3d(-70%,0,-220px);
    --current-color1:#eceaed;
    --current-color2:#404457;
}
#s1:checked~.cards #slide5,
#s2:checked~.cards #slide1,
#s3:checked~.cards #slide2,
#s4:checked~.cards #slide3,
#s5:checked~.cards #slide4{
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 45%);
    transform: translate3d(-35%,0,-120px);
    --current-color1:#eceaed;
    --current-color2:#404457;
}
#s1:checked~.cards #slide1,
#s2:checked~.cards #slide2,
#s3:checked~.cards #slide3,
#s4:checked~.cards #slide4,
#s5:checked~.cards #slide5{
    box-shadow: 0px 25px 50px rgba(0, 0, 0, 50%);
    transform: translate3d(0,0,0);
    --current-color1:#f7a610;
    --current-color2:#eceaed;
}
#s1:checked~.cards #slide2,
#s2:checked~.cards #slide3,
#s3:checked~.cards #slide4,
#s4:checked~.cards #slide5,
#s5:checked~.cards #slide1{
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 45%);
    transform: translate3d(35%,0,-120px);
    --current-color1:#eceaed;
    --current-color2:#404457;
}
#s1:checked~.cards #slide3,
#s2:checked~.cards #slide4,
#s3:checked~.cards #slide5,
#s4:checked~.cards #slide1,
#s5:checked~.cards #slide2{
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 45%);
    transform: translate3d(70%,0,-220px);
    --current-color1:#eceaed;
    --current-color2:#404457;
}
.menu{
    width: 100%;
    height: 80vh; 
    }
.menu img{
    height: 100px;
    width: 100px;
    position: relative;
    border-radius: 10px;
}
.item1,.item3,.item5{
    display: inline-block;
    width: 35%;
    height: 100px;
    margin: 50px 30px 0px 200px;
    border-radius: 10px;
    box-shadow: 10px 10px 20px black;
}
.item2,.item4,.item6{
    display: inline-block;
    margin-left: 20px;
    width: 35%;
    height: 100px;
    border-radius: 10px;
    box-shadow: 10px 10px 20px black;
}
.menu .name{
    font-family: sans-serif;
    position: absolute;
    margin: 10px 0px 0px 10px;
    font-size: 25px;
    font-weight: 550;
}
.menu .rs{
    font-family: sans-serif;
    position: absolute;
    margin: 50px 0px 0px 10px;
    font-size: 18px;
    font-weight: 550;
}
.menu button{
    width: 90px;
    height: 35px;
    background-color:  #f7df30;
    color: blue;
    font-family: sans-serif;
    font-size: 20px;
    border-radius: 20px;
    position: absolute;
    margin: 35px 0px 0px 330px;
    font-weight: 550;
    border: none;
}
.menu button:hover{
    background: orange;
    color: white;
    cursor: pointer;
}
.menu .name:hover{
    color: orange;
    cursor: pointer;
}
.reservation{
    background:#504e4e;;
    background-repeat: no-repeat;
    width: 43%;
    height: 100vh;
    margin-top: 50px;
    padding: 50px 430px 20px 430px;
    }
.reservation h3{
    text-align: center;
    font-family:"lucida handwriting" ;
    color: rgb(243, 85, 32);
}
.reservation h2{
    text-align: center;
    margin: 5px 0px 10px 0px;
    font-family:"lucida handwriting" ;
    color: black;
}
#f1,#f3,#f5{
    display: inline-block;
    width: 300px;
    height: 25px;
    margin-top: 40px;
    border-radius: 5px;
}
#f2,#f4,#f6{
    display: inline-block;
    width: 300px;
    height: 25px;
    margin-left:40px ;
    border-radius: 5px;
}
.reservation label{
    position: absolute;
    margin-left: 50px;
    margin-top: 20px;
    font-family: sans-serif;
    color: white;
}
#fl3,#fl5{
    margin-left: 10px;
}
#fl1{
    margin: 20px 0px 0px 10px;
}
input::placeholder{
    padding-left: 5px;
}

.reservation button{
    margin: 30px 0px 0px 250px;
    width: 150px;
    height: 25px;
    background:orange;
    color: #fff;
    border-radius: 5px;
    font-weight: 550;
    box-shadow: 5px 5px 10px black;
}
.reservation button:hover{
    background-color: rgb(230, 223, 44);
    cursor: pointer;
    color: #000;
}
.table{
    width: 400px;
    height: 350px;
    overflow: hidden;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 10px 10px 10px black;
}
.table img:hover{
    transition: 3s;
    transform: scale(1.1)
}
.footer{
    padding: 50px 0px 0px 0px;
    }

.first{
    display: inline-block;
    position: absolute;
    width: 330px;
    height: 430px;
    margin-left: 80px;
}
.second{
    display: inline-block;
    position: absolute;
    width: 400px;
    height: 430px;
    margin-left: 530px;
}
.third{
    position: absolute;
    display: inline-block;
    width: 450px;
    height: 430px;
    margin-left: 1060px;
}
.third span{
    display: block;
}
.third img{
    width: 90px;
    height: 90px;
    margin: 3px;
}
.footer span{
    font-weight: 550;
    font-size: 25px;
    display: block;
    margin: 20px 0px;
}
i{
    display: inline-block;
    margin-right: 10px;
    color: red  ;
}
i span{
    color: black;
    padding-left: 10px;
}
 .first .i{
    display: inline-block;
    font-family: sans-serif;
    font-size: 15px;
    margin-top: 5px;
}
p{
    font-family: sans-serif;
}
.time{
    font-weight: 550;
}
.second h3{
    color: red;
    margin: 15px 0px;;
}
/* responsive code */
 .open-menu,.close-menu{
     position: absolute; 
    font-size: 2rem;
    cursor: pointer;
    display: none; 
    right: 20px;
}
.open-menu{
    left: 600px;
}
.close-menu{
    top: 0;
    right: 20px;
}
#check{
    display: none;
}
@media (max-width:380px) {
    .nav #name{
        margin-top: 15px;
        font-size: 17px;
    }
    .nav{
        width: 100%;
        height: 50px;
    }
    nav{
        background-color: orange;
        text-align: center;
        justify-content: center;
        width: 80%;
        height: 400px;
        right: -100%;
        position: fixed;
        display: block;
        z-index: 999;
        transition: all 0.8s;
        border-radius: 25px;
    }
    #color{
        display: none;
    }
    nav a{
        display: block;
        font-size: 1.5rem;
        padding-top: 20px;
    } 
    nav a:hover{
        color: black;
    }
    .open-menu{
        position: absolute;
        display: block;
        z-index: 999;
        top: 10px;
        left: 330px;
    }
    .close-menu{
        position: absolute;
        top: 40px;
        left: 330px;
        display: none;
        z-index: 999;

    }
    .open-menu i,.close-menu i{
        color: white;
    }
    #check:checked ~.open-menu{
        display: none;
    }
    #check:checked~.close-menu{
        display: block;
    }
    #check:checked~nav{
        right: 0;
    }
    .slider-contain{
        width: 100%;
        padding-bottom: 70px;
        
    }
    .slider{
        width: 80px;
        height: 100px;
        margin-top: 70px;
    }
    .slider span{
        transform: rotateY(calc(var(--i)*45deg))translateZ(140px);
    }
    .about-contain{
        width: 100%;
        height: 870px;
        padding-bottom: 230px;
        padding-top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .about #wc{
        font-size: 15px;
        margin: 0px 0px 0px 70px;
        font-weight: 700;
        animation: textanim 8s ;
        padding-top: 10px;
    }
    .about .info #a2{
        font-size: 40px;
    }
    .aboutimg{
        width: 250px;
        height: 300px;
        margin-left: 55px;
    }
    .aboutimg img{
        width: 250px;
        height: 300px;
    }
    .info{
        width: 100%;
        height: 400px;
        margin: 0;
        padding: 0px 0px 30px 0px;
        display: block;
        position: relative;
    }
    #a4{
        width: 200px;
    }
    #a5{
        width: 200px;
    }
    #a1,#a2,#a3,#a4,#a5,#a6 img{
        margin: 15px;
    }
    #a7{
        margin: 40px 0px 0px 100px;
    }
    @keyframes textanim{
        from{
            opacity: 0;
            position: relative;
            margin-top: -80px;
            
        }
        to{
            opacity: 1;
            position: relative;
            margin-top: 0px;       
        }
    }
    .popular{
        width: 100%;
        height: 65vh;
    }
    .popular h2,.menu h2{
        font-size: 15px;
    }
    .container{
        margin-top: 150px;
        padding: 0;
        margin: 0;
    }
    .cards{
        margin-left: 2px;
        width: 100%;
        margin: 0;
    }
    .cards label{
        width: 170px;
    }
    .cards .card{
        padding: 15px;
    }
    .card .image{
        width: 120px;
        border-radius: 10px;
        
    }
    .card .image img{
        width: 120px;
        height:120px;
        margin-top: 0px;
    }
    .card .infos{
        padding-top: 15px;
    }
    .infos .name{
        font-size: 15px;
    }
    .card .lorem{
        font-size: 10px;
    }
    .menu{ 
      height: 140vh;
    }
    .menu .name{
        font-size: 15px;
    }
    .menu .rs{
        font-size: 13px;
        margin: 40px 0px 0px 10px;
    }
    .item1,.item2,.item3,.item4,.item5,.item6{
        display: block;
        width: 83%;
        padding: 0;
        margin: 30px 35px;
    }
    .menu button{
        margin:65px 8px;
        width: 60px;
        height: 25px;
        font-size: 15px;
    }
    .reservation{
        width: 100%;
        height: 120vh;
        margin: 0;
        padding: 10px 0 0 0;
    }
    .reservation h3{
        margin-top: 10px
    }
    #f1,#f2,#f3,#f4,#f5,#f6{
        display: block;
        width: 250px;
        margin: 0 60px;
    }
    #fl1,#fl2,#fl3,#fl4,#fl5,#fl6{
        display: block;
        position: relative;
        margin: 20px 0px 0px 60px;
    }
    .reservation button{
        margin-left: 110px;
    }
    .table{
        width: 200px;
        height: 150px;
    }
    .table img{
        width: 200px;
        height: 150px; 
    }
    .footer{
        width: 100%;
        height: 175vh;
        padding: 0;
       
    }
    .first,.second,.third{
        position: relative;
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .first{
        height: 350px;
    }
    .second{
        height: 400px;
    }
    .first .head,.second .head, .third .head, .first p, .second h3{
        text-align: center;
    }
    .first i{
        display: block;
        text-align: center;
    }
    .first i .i{
        font-size: 14px;
    }
    .second p{
        margin: 0px 80px;
    }
    .third{
        margin: 0;
        padding: 0;
        height: 50vh;
       
    }
    .third div{
        width: 80%;
        margin: 0;
        padding: 0;
    }
    .third div{
        margin: 0px 30px 0px 75px 
    }
    .third div img{
        width: 70px;
        height: 50px;
    }
    
} 
