*{
    padding: 0;
    margin: 0;
    text-transform: capitalize;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body,html{
    overflow-x: hidden;
}
nav{
    box-shadow: 2px 2px 4px 2px gray;
    padding: 10px 40px;
    background-color: #e6e6e6;
    height: 50px;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}
.logo{
    margin-bottom: 20px;
    border-bottom: 3px solid red;
}
ul{
    text-align: center;
    gap: 20px;
    list-style-type: none;
    display: flex;
}
.list ul li:nth-child(1){
    border-bottom: 2px solid red;
}
.main{
    height: 100vh;
    justify-content: space-evenly;
    display: flex;
}
.left{
    line-height: 2.7;
    position: relative;
    top: 150px;
}
.right img{
    position: relative;
    top: 50px;
    bottom: 100px;
}

button{
    border-radius: 5px;
    border: 2px solid indianred;
    color: #fff;
    padding: 7px 20px; 
    background-color: indianred;
}
button:hover{
    transition: 0.5s;
    background-color: transparent;
    color: indianred;
}



/* product */
.product{
    padding: 20px 80px;
}
.sandel{
    padding: 0px 10px;
    line-height: 2.6;
    border-radius: 10px;
    width: 250px;
    height: 380px;
    background-color: #d8d7d7;
    box-shadow: 2px 2px 15px 2px gray;
}
.sandel img{
    top: 5px;
    position: relative;
    left: 11px;
    border-radius: 20px;
    width: 230px;
    height: 200px;
}
.sandel>h2{
    font-size: 20px;
}
.yuan{
    justify-content: space-between;
    display: flex;
    color: indianred;
}
.buy{
    font-weight: 600;
    border-radius:20px;
}

.product{
    position: relative;
    gap: 30px;
    display: flex;
    flex-wrap: wrap;
}



/* footer */
footer>span{
    font-weight: 600;
    color: indianred;
}
footer{
    margin: 30px 0px;
    text-align: center;
}








.checkbtn{
    position: absolute;
    top: 20px;
    right: 50px;
    display: none;
}
#check{
    display: none;
}
.logo-1{
    display: none;
}
@media (max-width:890px){
    .list ul li:nth-child(1){
        border-bottom: none;
    }
    .checkbtn{
        display: block;
    }
    .list ul{
        flex-direction: column;
        display: block;
        z-index: 100;
        position: fixed;
        width: 50%;
        background-color: #e6e6e6;
        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:1315px){
    .main{
        padding: 0px 140px;
    }
}






@media (max-width:1238px){
    .right img{
        position: relative;
        left: 200px;
    }
}










@media (max-width:1211px){
    .main{
        padding: 0px 170px;
    }
    .left h1,p{
        width: 400px;
    }
}









@media (max-width:1163px){
    .right img{
        position: relative;
        left: 100px;
    }
}




@media (max-width:1082px){
    .right img{
        position: relative;
        left: 30px;
    }
}

.product{
    justify-content: center;
}



@media (max-width:1010px){
    .main{
        text-align: center;
        flex-direction: column;
    }
    .product{
        margin-top: 380px;
    }
    .left{     
        margin-left: 150px;  
        text-align: center;
    }
    .right img{
        margin-top: 170px;
        margin-bottom: 400px;
    }
    .left>button{
        position: relative;
        right: 50px;
    }
}


@media (max-width:963px){
    .left{
        position: relative;
        right: 70px;
    }
    .left>button{
        margin-left: 55px;
    }
}



@media (max-width:924px){
    .left{
        position: relative;
        right: 77px;
    }
    .left>button{
        margin-left: 84px;
    }
}


@media (max-width:863px){
    .left{
        position: relative;
        right: 88px;
    }
    .left>button{
        margin-left: 134px;
    }
}






@media (max-width:839px){
    .left{
        position: relative;
        right: 100px;
    }
    .left>button{
        margin-left: 169px;
    }
}



@media (max-width:824px){
    .left>button{
        width: 120px;
        margin-left: 180px;
    }
    .left{
        right: 110px;
    }
    .right>img{
        margin-left: -70px;
    }
}



@media (max-width: 764px){
    .left>button{
        width: 120px;
        margin-left: 189px;
    }
    .left{
        right: 150px;
    }
    .right>img{
        margin-left: -85px;
    }
}




@media (max-width: 706px){
    .left>button{
        width: 120px;
        margin-left: 193px;
    }
    .left{
        right: 190px;
    }
    .right>img{
        margin-left: -125px;
    }
}


@media (max-width: 628px){
    .left>button{
        width: 120px;
    }
    .left{
        right: 210px;
    }
    .right>img{
        margin-left: -145px;
    }
}




@media (max-width: 628px){
    .left>button{
        width: 120px;
    }
    .left{
        right: 240px;
    }
    .right>img{
        margin-left: -165px;
    }
}



@media (max-width: 536px){
    .left>button{
        width: 120px;
    }
    .left{
        right: 264px;
    }
    .right>img{
        margin-left: -189px;
    }
}



@media (max-width: 508px){
    .left>button{
        width: 120px;
    }
    .left{
        right: 279px;
    }
    .right>img{
        margin-left: -209px;
    }
}



@media (max-width: 665px) {
  .main {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .left {
    position: static; /* cancel left shifting */
    margin: 0 auto;
    text-align: center;
  }

  .left h1 {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 10px;
  }

  .left p {
    width: 100%;
    font-size: 16px;
    margin-bottom: 15px;
  }

  .left button {
    margin: 0 auto;
    display: block;
  }

  .right img {
    width: 90%;
    max-width: 350px;
    margin: 25px auto 0;
    display: block;
    position: static; /* cancel right shifting */
  }
}