* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root{
    --main-color: rgb(3, 46, 3);
    --back-color: rgb(211, 250, 211);
     /* rgb(159, 206, 206); */
}

nav{
    padding: 20px 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: var(--back-color);
    color: var(--main-color);
    position:fixed;
    z-index: 1000;

}
nav button{
    background: none;
    border: none;
    color: var(--main-color);
    cursor: pointer;
    transition: all 0.3s ease;
}
.right {
display: flex;
gap: 30px;
align-items: center;
padding-right: 150px;
font-size: 12px;
}


.left{
    padding-left: 150px;
    display: flex;
     gap: 30px;
     align-items: center;
     font-weight: bold;
}

.middle{
    
    display: flex;
    position: relative; 
    width: 30%;
    height: 30px;
    align-items: center;
    margin: 0 auto;
    
}
#my-search{
    /* align-items: center; */
    padding: 10px 20px 10px 15px;
    padding-right: 40px;
    border-radius: 35px;
    width: 100%;
}

#search-btn{
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background: none;

}

.sidebar{
    display: none;
    position: fixed;
    padding: 25px;
    width: 300px;
    background-color:rgb(204, 199, 199) ;
    color: var(--main-color);
    z-index: 2000;
    height: 100vh;
    top: 0;
    right: 0;
}
.sidebar ul {
    list-style: none;
    padding: 45px;
    margin-top: 50px;
    text-align: center;
    
}

.sidebar ul li {
    margin: 20px 0;
    /* color: var(--main-color); */
}
.sideBar ul li a {
    text-decoration: none;
    /* color: var(--main-color); */
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}
.sidebar ul li a:hover{
    border: 3px solid;
    background-color: var(--back-color);
   padding-left: 10px;
}
#close-sideBar {
    cursor: pointer;
    background: none;
    border:0;
    font-size: 25px;
    float: right;
}
#close-sideBar:hover {
    color: #ff0000; 
    transform: scale(1.1);
}

.container{
    padding: 90px 20px 40px;
    width: 100%;
    height: 100%;
    min-height: 300px;
    justify-content: space-between;
    gap: 60px;
    display: flex;
    align-items: center;
    background-color: white;
    position: relative;
    margin-bottom: 30px;
    
}

.text{
    justify-content: center;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: left;
    /* max-width: 70px; */
    padding: 10px;
    gap: 10px;
    text-align: left;

}
#text-div{
    padding: 15px;
    margin: 10px;
}
#shop-now{
    width: 100px;
    background-color: var(--main-color);
    color: white;
}
#shop-now:hover{
    background-color: #054d05;
}
.my-images{
    width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    flex: 1;
    /* height: 120%;
    object-fit: cover; */
    overflow: hidden;
    
}
#my-chairs{
    width: 100%;
    max-width: 500px;
    height: 300px;
    object-fit:contain;
    transition: 0.5s;
    display: block;
}

#next-btn{
    border: 3px;
    width:30px;
    height: 30px;
    cursor: pointer;
    /* margin-left: 60px; */
    border: 1px solid black;
    transition: 0.3s;
}
#previous-btn{
    border: 3px;
    width:30px;
    height: 30px;
    cursor: pointer;
    /* margin-left: 60px; */
    border: 1px solid black;
    transition: 0.3s;
}

.zoom-fade-in {
    animation: zoomFade 1s ease-out; 
}

@keyframes zoomFade {
    0% {
        opacity: 0;
        transform: scale(0.9); 
    }
    100% {
        opacity: 1;
        transform: scale(1); 
}
}

.offers{
    background-color: white;
    padding: 80px 60px;
    width: 100%;
    position: relative;
}

.offers ul{
list-style: none;
padding:0;
margin: 0;
display: flex;
flex-direction: row;
justify-content: center;
gap: 20px;
margin-bottom: 10px;
transition: 0.5s;
}

.offers li{
    padding: 2px;
    width: 120%;
    height: 200%;
    overflow: hidden;
    align-items: center;
    text-align: left;
    list-style: none;
    display: flex;
    /* flex-direction: row; */
    position: relative;
     transition: 0.5s;
}
.offers ul li img{
 display: flex;
 flex-direction: column ;
 width: 100%;
 height: 100%;
 object-fit: cover;
 align-items: right;
 list-style: none;
 padding: 0;
}

.offers ul li button{
    background-color: var(--main-color);
    color: white;
    width: 70%;
    margin-left: 13px;
    margin-top: 15px;
}
.offers ul li button:hover{
background-color: #054d05;
}
 
.text-beside{
    display: flex;
    flex-direction: column;
    padding: 10px;
    text-align: center;
    position: absolute;
    margin-top: 60px;
    
}
.text-beside h2{
    color: var(--main-color);
}
  .offers ul li:hover{
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.144);
  }  


.contain{
    padding: 80px 60px;
   /* margin-top: 10px; */
}
.more-images{
  padding: 10px;
  display: flex;
  gap: 10px;
  width: 100%;

}
.one-pic{
    display: flex;
    flex: 1;
}
.one-pic img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.other-pic{
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
}
.inside{
    display: flex;
    flex: 1;
    gap: 10px;
}
.inside2{
    display: flex;
    flex: 1;
    gap: 10px;
}
.inside img{
width: 50%;
height: 100%;
object-fit: cover;
}
.inside2 img{
    width: 50%;
height: 100%;
object-fit: cover;
}

.other-pic2{
display: flex;
gap: 10px;
flex-direction: row;
padding: 0 10px 10px 10px;

}

.other-pic2 img{
    width: calc((100% - 30px ) / 4 ); 
    height: 150px;
    object-fit: cover;
    }
.contain img:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
    cursor: pointer;
}


    .last{
        background-color: var(--back-color);
        display: flex;
        flex-direction: row;
        padding: 80px 60px;
        width: 100%;
        justify-content: space-around;

    }

    .last ul {
list-style: none;
padding: 10px;
    }
.last ul li{
    padding: 10px
}
.last ul li i{
    padding: 10px;
    justify-content: space-between;
}
li h2{
    color: var(--main-color);
}
#update-h{
    margin-bottom: 10%;
}
#my-update{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;


}
#update{
    width: 100%;
    height: 70%;
    padding: 5px;
    border: 1px solid black;
    margin-top: 10px;
    padding: 10px;
}
#update-btn{
    color: white;
    background-color: var(--main-color);
    width: 40%;
    height: 130%;
    margin-top: 10px;
    padding: 5px;
}
#update-btn:hover{
background-color: #054d05;
}

    footer{
        background-color: var(--main-color);
        width: 100%;
        
    }
    footer p{
        color: white;
        text-align: center;
        padding: 10px;
    }
 .contains{
      display: none;
    position: fixed;
    padding: 25px;
    width: 100%;
    background-color:rgb(204, 199, 199) ;
    color: var(--main-color);
    z-index: 4000;
    height: 100%;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    }

 .pop-content{
        display: flex;
    width: 80%;
    max-width: 900px;
    height: 500px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    background-color:rgb(216, 211, 211) ;
    animation: zoomFade 0.4s ease;
    }

.pop-left {
    flex: 1;
    /* background-color: #fff; */
    min-width: 300px; 
    height: 100%;
    display: block;
}
#popImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pop-text {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.new-arrival {
    font-weight: bold;
    font-size: 0.9rem;
    color: #444;
}

#popTitle {
    font-size: 2.5rem;
    color: var(--main-color);
    margin: 0;
}

#shop-nowbtn {
    width: fit-content;
    padding: 10px 25px;
    background-color: var(--main-color);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
}
#close-pop {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--main-color); 
    font-size: 30px;
    cursor: pointer;
    z-index: 10; 
    transition: 0.3s;
}

#close-pop:hover {
    color: #ff0000; 
    transform: scale(1.1);
}

@media (max-width: 768px){


nav{
    padding: 10px;

}
nav button{
   display: inline;
}
.right {
padding-right: 10px;
gap: 15px;
}
.left{
    padding-left: 10px;
    gap: 15px;
}

.middle{ 
    width: 50%;  
}

.sidebar{
    padding: 20px;
    width: 40%;
}

.container{
    padding: 120px 20px 40px;
    flex-direction: column;
    text-align: center;
    gap: 20px;
    
}

.text{
    
    text-align: center;
    align-items: center;
}
#my-chairs{
        max-width: 100%;
        height: auto;
}


.offers{
    padding: 40px 10px;
    
}

.offers ul{

flex-direction: column;
align-items: center;
gap: 30px;
}

.offers li{
    width: 100%;
    max-width: none;
    height: auto;
}
.inside{
    flex-direction: row;
}
.inside2{
    flex-direction: row;
}
 
.more-images{
  flex-direction: column;

}

/* .one-pic img{
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

.other-pic2{
flex-direction: column;
flex-wrap: wrap;
justify-content: center;
}

.other-pic2 img{
    width: calc(50% - 10px);
    height: 150px;
    margin-bottom: 10px;
        
    }
 .last{
      
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
      text-align: center;
    }

#my-update {
        align-items: center;
    }
#update-btn {
        width: 100%;
        height: 45px;
    }


    footer{
       padding: 20px 10px;
        
    }
    footer p{
        font-size: 14px; 
    line-height: 1.5;
    }
 

 .pop-content{
       flex-direction: column;
        width: 95%;
        max-height: 90vh; 
        overflow-y: auto;
    }

.pop-left {
   height: 200px;
   width: 100%;
}
#popImg {
    height: 200px;
    width: 100%;
}
.pop-text {
   padding:  20px;
   gap: 10px;
}


#popTitle {
    font-size: 1.5rem;
}
