@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

*, *::after, *::before{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html , body{
    height: 100%;
    width: 100%;
    font-size: 62.5%;
    font-family: "Poppins", sans-serif;
    scroll-behavior: smooth;
}

/* ######################## utility class ########################## */
.container{
    max-width: 1160px;
    width: 90%;
    margin: auto;
}

.bigsize{
    font-size: 3.5rem;
}

.middiesize{
    font-size: 2.5rem;
}

.smallsize{
    font-size: 1.6rem;
}

.btn{
    display: inline-block;
    text-decoration: none;
    background: #16a062;
    color: #fff;
    border-radius: 2em;
    padding: 0.5em 1.2em;
    font-weight: 500;
    margin-top: 1em;
    cursor: pointer;
    text-transform: uppercase;
}

.btn:hover{
    background: #148552;
}

/* ######################## navigation bar ########################## */
nav{
    box-shadow: 0px 6px 10px 0px #aaaaaa;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: fixed;
    width: 100%;
    background: #ffffffdb;
    color: #000;
    opacity: 0.85;
    z-index: 999;
}

.mainbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

ul li a{
    margin-left: 2em;
    text-decoration: none;
    color: #000;
    font-weight: 600;
    transition: all 0.5s ease;
}

.leftside {
    transform: translateX(55px);
}

.imgarea img{
    display: block;
    height: 60px;
    max-width: 100%;
    margin: auto;
    object-fit: cover;
    object-position: center;
}

.rightside ul{
    list-style: none;
    display: flex;
}

ul li a:hover{
    color: #16a062;
}

.rightside li a::after{
    content: '';
    display: block;
    background: #16a062;
    height: 3px;
    transform: translateX(15px);
    width: 0%;
    transition: all 0.5s ease;
}

.rightside li a:hover::after{
    width: 85%;
    transform: translateX(25px);
}

/* ######################## hamberger menu ########################## */

.hambar{
    bottom: 70px;
    display: none;
    position: relative;
}

.hambar{
    width: 400px;
}

.menu input[type="checkbox"]{
    position: absolute;
    top: 22px;
    left: 10px;
    width: 49px;
    height: 34px;
    z-index: 6;
    opacity: 0;
}

.menulines{
    position: absolute;
    top: 23px;
    left: 14px;
    width: 40px;
    height: 32px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menulines .lines{
    display: block;
    width: 100%;
    height: 15%;
    background: #232323;
    border-radius: 8px;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                /* background 0.5s cubic-bezier(0.77,0.2,0.05,1.0), */
                opacity 0.55s ease;
}

.menuitam{
    position: absolute;
    padding-left: 30px;
    padding-top: 100px;
    margin-top: -15px;
    margin-left: -14px;
    transform: translate(-110%);
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
    background: #d1d1d1;
    max-width: 280px;
    width: 90%;
    height: 110vmax;
}

.menuitam li{
    list-style: none;
    padding-bottom: 25px;
    font-size: 2.5rem;
}

.menu input[type="checkbox"]:checked ~ .menuitam{
    display: block;
    transform: translate(0%);
}

.menulines .line1{
    transform-origin: 0% 0%;
}

.menulines .line3{
    transform-origin: 0% 100%;
}

.menu input[type="checkbox"]:checked ~ .menulines .line1{
    transform: rotate(45deg);
}

.menu input[type="checkbox"]:checked ~ .menulines .line2{
    opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

.menu input[type="checkbox"]:checked ~ .menulines .line3{
    transform: rotate(-45deg);
}

.menuitam li a::after{
    content: '';
    display: block;
    background: #16a062;
    height: 3px;
    transform: translateX(-10px);
    width: 0%;
    transition: all 0.4s ease;
}

.menuitam li a:hover::after{
    width: 40%;
    transform: translateX(45px);
}

/* ######################## about section  ########################## */
.showcase{
    height: 80vh;
    background: linear-gradient(rgba(255, 255, 255, 0.33), rgba(255, 255, 255, 0.33)),url(./image/pexels-ella-olsson-1640773.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.showcasetitle{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    transform: translateY(3rem);
}

.showcasetitle p{
    font-weight: 500;
}

/* ######################## section 2 ########################## */
.about{
    background: #F5F5F5;
}

.aboutwarp{
    display: flex;
    padding: 10em 0;
    flex-wrap: wrap;
    justify-content: center;
}

.aboutleft{
    margin: auto;
    flex: 1 1 400px; 
    padding: 30px;
    transform: translateX(-30%);
    opacity: 0;
    animation: anime 1s ease 0.5s forwards;
}

.aboutleft .tt{
    font-weight: 500;
    text-transform: capitalize;
}

.aboutright{
    flex: 1 1 400px; 
    padding: 30px;
    transform: translateX(30%);
    opacity: 0;
    animation: anime 1s ease 0.5s forwards;
}

.aboutright img{
    display: block;
    height: 400px;
    max-width: 100%;
    margin: auto;
    object-fit: cover;
    object-position: right;
}

@keyframes anime {
    100%{
        transform: translateX(0px);
        opacity: 1;
    }
}

/* ######################## types of food section ########################## */

.tof h1{
    text-align: center;
    padding: 2rem 0;
    text-transform: uppercase;
    color: #555;
    font-weight: 500;
}

.imgwap{
    position: relative;
    overflow: hidden;
}

.img-container{
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 10em;
}

.imgcontainer::after{
    content: "";
    display: block;
    position: absolute;    
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.375);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: all 0.5s ease;
}

.imgcontainer img{
    display: block;
    width: 350px;
    object-fit: cover;
    object-position: center;
    transition: all 0.5s ease;
}

.imgcontend{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) scale(1.5);
    opacity: 0;
    z-index: 2;
    text-align: center;
    letter-spacing: 1rem;
    transition: all 0.5s ease;
    text-transform: capitalize;
    color: #fff;
}

.imgwap:hover .imgcontend{
    transform: translate(-50%,-50%) scale(1);
    opacity: 1;
    letter-spacing: normal;
}

.imgwap:hover ::after{
    opacity: 1;
}
.imgcontainer:hover img{
    transform: scale(1.1);
}

/* ######################## food menu section ########################## */
.menuheading h1{
    text-align: center;
    padding-bottom: 3rem;
    text-transform: uppercase;
    color: #555;
    font-weight: 500;
}

.menucontainer{
    display: flex;
    flex-wrap: wrap;
    padding: 50px 0 30px 0;
}

.menucontend{
    display: flex;
    align-items: center;
    flex: 1 1 400px;
    padding: 0 0 3rem 4rem;

}

.menuleftside img{
    display: block;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    transform:scale(1);
    transition: all 0.3s ease;
}

.menucontend:hover img{
    transform:scale(1.1);
}

.menurightside{
    padding-left: 3rem;
}

.menurightside h1{
    text-transform: capitalize;
}

.foodprice{
    display: inline-block;
    color: #16a062;
    font-weight: 700;
    cursor: pointer;
}

.foodprice:hover{
    color: #148552;
}

/* ######################## testimonial section ########################## */

.testimonial{
    background: #f0f0f0;
}

.reating .star{
    color: #ffc800;;
}

.testhead{
    text-align: center;
    padding: 3rem;
    text-transform: uppercase;
    color: #555;
    font-weight: 500;
}

.reviewcontainer{
    display: flex;
    justify-content: space-between;
}

.reviewcontend .details img{
    display: block;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    margin: auto;
} 

.star,.reating p{
    padding-bottom: 1.5rem;
}

.details p{
    padding-top: 1.5rem;
}

.reviewcontend{
    text-align: center;
}

.reviewsection{
    padding-bottom: 3rem;
}

/* ######################## contact section ########################## */

.contact{
    padding: 5rem 0;
    background: #e6e6e6;
}

.contactcontainer{
    display: flex;
    background: #fff;
}

.contactleftside{
    width: 100%;
}

.contactleftside img{
    display: block;
    width: 100%; 
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact .contactrightside{
    display: block;
    width: 100%;
    padding: 1rem;
}

.contactrightside input,.contactrightside textarea{
    display: block;
    width: 100%;
    border: none;
    border-bottom: 2px solid #ddd;
    padding: 1rem 0;
    box-shadow: none;
    outline: none;
    margin-bottom: 1rem;
    color: #444;
    font-weight: 500;

}

.contactrightside h1{
    text-transform: capitalize;
    padding-bottom: 1rem;
}

/* ######################## footer section ########################## */
footer p{
    background: #4b4b4b;
    color: #f0f0f0;
    padding: 2rem;
    text-align: center;
    font-weight: 500;
}





/* ######################## nav bar media section ########################## */

@media (max-width: 768px) {
    

    .mainbar .rightside{
        display: none;
    }
    
    .mainbar{
        justify-content: right;
    }
     
    .mainbar .leftside{
        transform: translateX(0px);
    }

    .hambar{
        display: block;
    }

/* ######################## showcase media section ########################## */

    .aboutwarp .aboutleft,.aboutwarp .aboutright{
        padding: 0px;
    }



/* ######################## food menu media section ########################## */

    .menucontend{
        padding: 0 0 3rem;
    }

    .menucontend{
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .menucontainer .menurightside{
        padding-top: 2rem;
    }

    .menucontainer .menurightside{
        padding-left: 1rem;
    }

/* ######################## testimonial media section ########################## */

    .reviewcontainer{
        flex-wrap: wrap;
    }

    .rca{
        padding-bottom: 3rem;
    }

/* ######################## contact media section ########################## */

    .contact .contactcontainer{
        display: block;
    }

    .contact .contactleftside{
        width: 100%;
        height: 300px;
    }

    .contact .bt{
        text-align: center;
    }

    
}

/* ######################## types of food media section ########################## */

@media (max-width: 1180px){

    .img-container{
        flex-wrap: wrap;
        align-items: stretch;
    }
    
    .imgcontainer img{
        width: 100%;
    }
    
    .imgwap{
        box-shadow: 5px 5px 10px 0px #aaaaaa, 5px 5px 10px 0px #aaaaaa;
    }

    .tof h1{
        transform: translateY(-5px);
    }
    
    .fruit1{
        transform: translateY(-10px);
    }
    
    .fruit2{
        transform: translateY(10px);
    }
    
    .fruit3{
        transform: translateY(30px);
    }
}

@media (max-width: 280px){
    .showcase h1,.showcase p{
        text-align: center;
    }
}

@media (max-width: 1180px) and (min-width: 600px){
    
    .imgwap:hover .imgcontend{
        transform: translate(-50%,-50%) scale(1.5);
        opacity: 1;
        letter-spacing: normal;
    }

    .imgcontend{
        letter-spacing: 1rem;
        transform: translate(-50%,-50%) scale(3);
    }
}

