*{
    padding: 0;
    margin: 0;
    text-transform: capitalize;
}


body,html{
    overflow-x: hidden;
}


nav{
    height: 80px;
    background-color:#7a5252;
}
.logo{
    display: flex;
}
.logo img{
    height: 80px;
}
.logo h1{
    align-content: center;
}
.list .ul{
    display: flex;
    gap: 20px;
    list-style-type: none;
}
.topbar{
    padding:0px 50px;
    display: flex;
    justify-content: space-between;
}
.list .ul .li,.icons{
    position: relative;
    top: 30px;
}





/* main-section */
.main{
    background-repeat: repeat-x;
    background-image:linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.4)),url(image/bg.jpg);
    height: 90vh;
}
.main{
    padding: 0px 50px;
}
.left{
    position: relative;
    top: 160px;
}
.right{
    position: relative;
    top: 110px;
}
.left{
    line-height: 1.4;
    color: #fff;
}
.main{
    display: flex;
    justify-content: space-around;
}
.right img{
    width: 390px;
}
.left h1{
    font-size: 40px;
}
.yellow{
    color: #7a5252;
}
.oder{
    border-radius: 10px;
    margin-top: 20px;
    border: none;
    color: #fff;
    padding: 10px 18px;
    background-color:#7a5252;
}
/* .lst .unoder-list li{
    padding: 0;
    margin: 0;
    display: none;
} */
 .active{
    display: none;
 }

 /* second-section */
.second-section img{
    width: 320px;
    height: 230px;
    border-radius: 30px;
}
.second-section{
    gap: 60px;
    background-color:#7a5252;
    padding: 80px 120px;
    display: flex;
}
.second-section img:hover{
    transition: 0.3s;
    transform: translate(0px,-30px);
}



/* third-secttion */
.third-section{
    background-repeat: repeat-x;
    justify-content: space-evenly;
    display: flex;
    color: #7a5252;
    height: 70vh;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(image/bg.jpg);
}
.one{
    position: relative;
    top: 30%;
}
.two>img{
    position: relative;
    top: 20%;
}
.one{
    line-height: 1.6;
}
.one h1{
    font-size: 46px;
}
.two img{
    width: 320px;
}
.upto{
    border-radius: 10px;
    margin-top: 20px;
    padding: 10px 20px;
    color: #fff;
    border: none;
    background-color: #774545;
}






.one{
    color: #fff;
}


/* cake-section */
.cake-1{
    margin-right: 30px;
    background-color: #774545;
}
.four-section{
    padding: 20px 90px;
    background-color: #7a5252;
}
hr{
    position: relative;
    right: 12px;
    margin: 40px 10px;
    color: #7a5252;
}
.cakes{
    justify-content:center;
    flex-wrap: wrap;
    display: flex;
}
.cake-1{
    margin-bottom: 20px;
    width: 220px;
}
.upper{
    text-align: center;
}
.cream{
    color: #fff;
    font-size: 26px;
}
.cake-img img{
    width: 180px;
    height: 150px;
}
.yuan{
    display: flex;
    justify-content: space-between;
}
.cake-1{
    padding: 20px 20px;
}
.cart{
    color: #fff;
    background-color: transparent;
    border: 2px solid #7a5252;
    padding: 3px 7px;
}
.icon{
    gap: 10px;
    display: flex;
    flex-direction: column;
    margin-right:14px;
    margin-left:-10px;
    opacity: 0;
}
.cake-1:hover{
    .icon{
        opacity: 1;
        transition: 1s;
    }
}
.upper{
    display: flex;
}
.yuan{
    padding-top: 20px;
}
.cart:hover{
    transition: 0.5s;
    background-color: #7a5252;
}
.four-section>h1{
    font-size: 40px;
    text-align: center;
    color: #2b4740;
}






/* gallery */
.gallery{
    background-color: #774545;
    gap: 30px;
    padding: 20px 250px;
    display: flex;
    flex-wrap: wrap;
}
.g1{
    height: 200px;
    width: 250px;
    background-repeat: no-epeat;
    background-image: url(image/g1.png);
}
.g2{
    background-image: url(image/g2.jpg);
    height: 200px;
    width: 250px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.g3{
    background-image: url(image/g-3.jpg);
    height: 200px;
    width: 250px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.g4{
    background-image: url(image/g-4.jpg);
    height: 200px;
    width: 250px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.g5{
    background-image: url(image/g-5.jpg);
    height: 200px;
    width: 250px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.g6{
    background-image: url(image/g-6.webp);
    height: 200px;
    width: 250px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.gallery h4{
    color:transparent;
    text-align: center;
    margin-top: 80px;
    position: relative;
    bottom: 200px;
}
.g-2:hover{
    h4{
        transition: 0.2s;
        color: #ffffff;
        bottom: 0;
    }
}

.lorm{
    color: #fff;
}

/* about-section */
.about{
    padding: 10px 90px;
    background-color: #7a5252;
}
.about-img img{
    width: 450px;
}
.about-flex{
    gap: 90px;
    display: flex;
    justify-content: space-around;
}
.upto:hover{
    opacity: 0.6;
}
.contact-section{
    background-color: #774545;
    padding: 20px 130px;
}
input{
    margin-bottom: 30px;
    margin-right: 35px;
    width: 310px;
    background-color: #774545;
    border: none;
    height: 30px;
    padding-left: 10px;
    color: #fff;
}
textarea{
    margin-left: -25px;
    padding-left: 10px;
    background-color: #774545;
    border: none;
    color: #fff;
    border: 2px solid #7a5252;
}
.contact-section h1{
    color: #774545;
    text-align: center;
}
.contact-section>.input{
    text-align: center;
}
.upto-1{
    padding-top: 20px;
    justify-content: center;
    padding: 10px 50px;
    border-radius: 10%;
    border: 1px solid #927a7a;
}
.about h1{
    color: #2b4740;
    text-align: center;
}
input,textarea:focus{
    outline: none;
    border: 2px solid #7a5252;
}



@media (max-width:852px){
    .main{
        height: 130vh;
        flex-direction: column;
    }
    .main{
        text-align: center;
    }
    .right img{
        margin-bottom: 120px;
    }
}



@media (max-width:1292px){
        .second-section{
            justify-content: center;
            flex-wrap: wrap;
        }
}



@media (max-width:738px){
    .third-section{
        text-align: center;
        height: 160vh;
        justify-content: center;
        flex-direction: column;
    }
    .two>img{
        position: relative;
        top: 20%;
    }
    .one{
        position: relative;
        top: -1%;
    }
}


@media (max-width:766px){
    .gallery{
        justify-content:center;
        background-color: #774545;
        gap: 30px;
        padding: 20px 200px;
        display: flex;
        flex-wrap: wrap;
    }
}



@media (max-width:678px){
    .gallery{
        justify-content:center;
        background-color: #774545;
        gap: 30px;
        padding: 20px 150px;
        display: flex;
        flex-wrap: wrap;
    }
}



@media (max-width:575px){
    .gallery{
        justify-content:center;
        background-color: #774545;
        gap: 30px;
        padding: 20px 100px;
        display: flex;
        flex-wrap: wrap;
    }
}



@media (max-width:1177px){
    .about-flex{
        text-align: center;
        flex-direction: column;
    }
}



@media (max-width:788px){
    .about-flex{
        text-align: center;
        flex-direction: column;
    }
    .about-img img{
        width: 320px;
    }
}



@media (max-width:698px){
    .lorm>p{
        padding: 0px 5px;
    }
}


@media (max-width:612px){
    .input{
        margin-left: -20px;
    }
}


@media (max-width:581px){
    .input{
        margin-left: -25px;
    }
}



@media (max-width:566px){
    .input{
        margin-left: -30px;
    }
    .input>textarea{
        margin-left: 0px;
    }
}



@media (max-width:519px){
    .input{
        margin-left: -40px;
    }
    .input>textarea{
        margin-left: 0px;
    }
}

















.checkbtn{
    position: absolute;
    top: 30px;
    right: 45px;
    display: none;
}
#check{
    display: none;
}
.logo-1{
    display: none;
}
@media (max-width:890px){
    .icons{
        margin-right: 15px;
    }
    .checkbtn{
        display: block;
    }
    ul{
        flex-direction: column;
        display: block;
        z-index: 100;
        height: 400px;
        position: fixed;
        width: 60%;
        background-color: #774545;
        top: 80px;
        left: -100%;
        text-align: center;
        transition: all .7s;
    }
    .sub{
        text-align: center;
        width: 90%;
    }
    .list ul li:hover{
        width: 90%;
    }
    .list{
        height: 50px;
    }
    .list ul li{
        display: block;
        margin: 10px 0;
        line-height: 30px;
    }
    #check:checked~ul{
        left: 0;
    }
    label .logo-1{
        font-size: 22px;
    }
}






@media (max-width:805px){

    /* Main Section */
    .main{
        flex-direction: column;
        text-align: center;
        height: auto;
        padding: 20px;
    }
    .left{
        top: 80px;
    }
    .right{
        top: 40px;
    }
    .right img{
        width: 280px;
        margin: 20px auto;
    }
    .left h1{
        font-size: 32px;
    }

    /* Second Section */
    .second-section{
        padding: 40px 20px;
        gap: 30px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .second-section img{
        width: 90%;
        max-width: 320px;
        height: auto;
    }

    /* Third Section */
    .third-section{
        flex-direction: column;
        text-align: center;
        height: auto;
        padding: 40px 20px;
    }
    .third-section .two img{
        width: 260px;
        margin: 20px auto;
    }
    .third-section .one h1{
        font-size: 30px;
    }

    /* Cakes Section */
    .four-section{
        padding: 40px 20px;
    }
    .cake-1{
        width: 90%;
        max-width: 260px;
        margin: 10px auto;
    }

    /* Gallery */
    .gallery{
        padding: 20px;
        justify-content: center;
    }
    .gallery .g1,.g2,.g3,.g4,.g5,.g6{
        width: 100%;
        max-width: 300px;
    }

    /* About Section */
    .about-flex{
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .about-img img{
        width: 100%;
        max-width: 320px;
        margin: auto;
    }

    /* Contact */
    .contact-section{
        padding: 20px;
    }
    .input input, 
    .input textarea{
        width: 100%;
        max-width: 320px;
    }
}









@media (max-width:532px){

   .lorm>p{
        padding: 0px;
   }
}