*,*::after,*::before{
    margin: 0;
    padding: 0;
    left: 0;
    right: 0;
    top: 0;
    font-family: "Rubik", sans-serif;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
}
:root{
  
    --bar-width:60px;
    --bar-height:8px;
    --hamburger-gap:6px;
    --foreground-color:#333;
    --background-color:#fff;
    --hamburger-margin:8px;
    --animation-timing:200ms ease-in-out;
    --hamburger-height:calc(var(--bar-height)* 3 + var(--hamburger-gap) * 2);
    
}

.carousel > ul{
    padding: 0;
    margin: 0;
    list-style: none;
}
.carousel{
    width: 428px;
    height: 300px;
    
}
.slide{
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: 200ms opacity ease-in-out;
    transition-delay: 200ms;
 
}

.slide[data-active]{
    opacity: 1;
    transition-delay: 0ms;
}
.carousel-btn{
    background: none;
    position: absolute;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 30px;
    top: 70%;
    z-index: 2;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    padding: 10px;
    background-color:#000;
    transition: all .45s ease;
}
.carousel-btn:hover{
    transform: scale(1.1);
}

.carousel-btn.prev{
    left: 0.4rem;
}
.carousel-btn.next{
    left: 23rem;
}
.sidebar-1{
    width: 100%;
    border: 1px solid#eee;
    padding: 15px;
    box-shadow: 0px 0px 3px gray;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#search-item{
    width: 100%; 
}
#search-item input{
    margin-right: 0;
}
.data{
    width: 73%;
    border-radius: 3px;
    height: 92vh;
    overflow-y: auto;
}
.sidehead{
    width: 30%;
    position: absolute;
}
.searchbar{
    float: right;
    width: 25%;
    background-color: #eee;
    border-radius: 3px;
    padding: 10px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}
.searchbar input{
    padding: 10px;
    outline: none;
}
.searchbar input::placeholder{
    font-size: 15px;
}
.searchbar i{
    font-size: 40px;
    margin-left: -29px;
}

.sidefoot{
    width: 30%;
}

.top{
    height: 60px;
    border-radius: 3px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
}
.hamburger-menu{ 
    position: relative;
    --x-width:calc(var(--hamburger-height) * 1.41421356237);
    display: flex;
    flex-direction: column;
    gap: var(--hamburger-gap);
    width: 0;
    top: -170px;
    left: 8px;
    cursor: pointer;
}
.sidebar ul li a{
    color: aqua;
    line-height: 50px;
    
}
.hamburger-menu:has(input:checked){
    --foreground-color:aqua;
    --background-color:#333;
}
.hamburger-menu:has(input:focus-visible)::before,
.hamburger-menu:has(input:focus-visible)::after,
.hamburger-menu input:focus-visible{
    border: 6px solid var(--background-color);
    box-shadow: 0 0 0 1px var(--foreground-color);
}

.hamburger-menu::before,
.hamburger-menu::after,
.hamburger-menu input{
    content: '';
    height: var(--bar-height);
    width: var(--bar-width);
    background-color: var(--foreground-color);
    transition: opacity var(--animation-timing), width var(--animation-timing),
    rotate var(--animation-timing),translate var(--animation-timing),
    background-color var(--animation-timing);
    transform-origin: left center;
}

.hamburger-menu input{
    appearance: none;
    margin: 0;
    outline: none;
    pointer-events: none;
}
.hamburger-menu:has(input:checked)::before{
    width: var(--x-width);
    translate: 0 calc(var(--bar-height) / -2);
    rotate: 45deg;
}
.hamburger-menu:has(input:checked)::after{
    translate: 0 calc(var(--bar-height) / 2);
    width: var(--x-width);
    rotate: -45deg;
}
.hamburger-menu input:checked{
    opacity: 0;
    width: 0;
}
.hamburger-menu.hamburger-menu:has(input:checked) + .sidebar{
    translate: 0;
}
#chaningSection{
    position: relative;
    width: 100%;
    height: 15rem;
    background-position: center;
    background-size: cover;
    transition: background-image 1s ease-in-out;
    background-repeat: no-repeat;
}












.sidebar{
    position: absolute;
    top: 140px;
    transition: translate var(--animation-timing);
    translate: -100%;
    padding: 20px  0;
    margin-top:-30px ;
    background-color: var(--foreground-color);
    color: var(--background-color);
    width: 200px;
    height: auto;
    color: aqua;
    z-index: 1;
}
.sidebar a{
   padding-left: 8px;
    color: aqua;
}

.sidebar .sub-menu{
    display: none;
}
.sidebar .sub-menu a{
    color: aqua;
    padding: 20px 0;
    position: relative;
    display: block;
    z-index: 1;
    padding: 6px;
    padding-left: 25px;
}
.sidebar .sub-btn{
    display: flex;
    align-items: center;
    justify-content: space-between;
    
   
    padding: 6px;
}
.sidebar .rotate{
    transform: rotate(90deg);
}





.sidebar .item a{
   
    color: aqua;
    font-weight: 400;
    font-size: 18px;
    width: 100%;
}

.navbar{
    text-align:center ;
    margin-top: 50px;
}

.menu-1{
    display: flex;
    flex-direction: column;
    width: 200px;
}


.header-stiff{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 500px;
    
}
header .logo{
    text-align: center;
    margin-right: 630px;
    margin-top: -340px;
}
header .text {
    text-align: center;
    margin-top: -260px;
}

header .text h1{
    font-size: 3rem;
    padding: 30px;
}
header .text h2{
    font-size: 1.8rem;
    padding: 30px;
}
header .text h3{
    font-size: 1.5rem;
    padding: 30px;
    padding-bottom: 80px;
}


.introduction{
    position: relative;
    
    margin: 20px;
    margin-top: 100px;
}
.introduction h1{
font-size: 40px;
text-align: center;
position: relative;
margin-bottom: 20px;


}
.introduction h1::after{
    content: '';
    position: absolute;
    width: 600px;
    top:45px;
    left: 450px;
    height: 4px;
    background-color: rgb(12, 12, 12);
}
.introduction p{
    margin: 20px;
    font-size: 20px;
}
.terms{
    margin-bottom: 60px;
}
.terms h1{
    font-size: 40px;
    text-align: center;
    position: relative;
    margin-top: 100px;
    
    
    }
    .terms h1::after{
        content: '';
        position: absolute;
        width: 400px;
        bottom:-3px;
        left: 580px;
        height: 4px;
        background-color: rgb(12, 12, 12);
    }
.terms-text{
    margin: 40px;
}
.terms-text-p{
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
}
.terms-text-p h2{
   padding-bottom: 5px;
font-size: 28px;
}
.terms-text-p p{
    font-size: 18px;
}

.call{
    outline: none;
    position: absolute;
    background: transparent;
    font-size: 20px;
    font-weight: 600;
    align-items: center;
    text-decoration: none;
    justify-content: center;
    color: #000;
    display: flex;
    border-radius: 10px;
    flex-direction: row;
    margin: 10px;
    width: 30%;
}

.call i{
    display: flex;
    justify-content: center;
    align-items: center;
    
    margin-right: -25px;
}

.furni{
    margin-top: 70px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.parent-container{
    display: flex;
    margin-top: 60px;
    margin-left: 5%;
    margin-right: 5%;
    justify-content: space-between;
    width: 90%;
    border-bottom: 1px solid #000;
    padding-bottom: 5px;
}
.parent-container-text{
    font-size: 30px;
    font-weight: 600;
    color: #000;
}


.sort-container{
    position: relative;
    display: flex;
    flex-wrap: wrap;
}
.sort-container i{
    width: 30px;
    width: 30px;
    
}
.sort-btn{
    background-color: #000;
    color: #fff;
    padding: 5px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    width: 154px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sort-options{

    margin: 37px 0;
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
.sort-options button{
    display: block;
    width: 100%;
    padding: 8px;
    text-align: left;
    border: none;
    outline: none;
    background: inherit;
    cursor: pointer;
}
.sort-options button:hover{
    background-color: #ddd;
}










.fun{
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #000;
    position: relative;
    margin: 40px;
    width: 430px;
    transition: all .45s ease;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    height: 500px;
}
.hidden{
    opacity: 0;
}
.fun:hover{
    transform: translateY(-20px);
}
.fun img{
    width:100%;
    height: 400px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    transition: transform 0.3s ease-in-out;
}
.fun img:hover{
transform: scale(1.1);
}
.fun .btn{
    position: relative;
    display: flex;
    float: right;
    flex-direction: column;
    width: 90px;
     margin-top: -180px;
    margin-right: -15px;
}
.fun .btn button{
    padding: 5px;
    border-radius: 50%;
    height: 60px;
    width: 60px;
    font-size: 1.5rem;
    margin: 6px;
     border: none;
     transition: all .40s ease;
     background: #000;
}
.fun .btn button i{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}
.fun .btn button:hover{
    transform: scale(1.2);
}
.fun h2{
    z-index: 1000;
    top: 380px;
    position: absolute;
    margin-top: 20px;
    font-size: 1.8rem;
    padding-left: 30px;
    
}
.fun h3{
    z-index: 1000;
    top: 460px;
    position: absolute;
    font-size: 1.3rem;
    padding: 5px;
    padding-left: 30px;
}
.fun p{
    font-size: 1rem;
    padding: 5px;
    padding-left: 30px;
    text-decoration: line-through;
    color: gray;
}
.call p{
    margin: 0;
     text-decoration: none;
     color: #0a0a0a;
     font-size: 20px;
     font-weight: 700;
 }
main{
    padding-top: 50px;
    display: flex;
    justify-content: space-between;
    margin: 20px;
    flex-wrap: wrap;
}
main img{
    width: 500px;
    height: 480px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    transition: all .45s ease;
   
}

main a{
    border-radius: 10px;
    border: 1px solid #000;
    margin-top: 40px;
}

main .cate.active {
    bottom: 0; 
  }
  main .cate{
    position: relative;
    bottom: -1000px; /* Initial position off-screen */
    transition: bottom 0.5s ease-in-out; /* Transition property, duration, and easing function */
  }
main .cate h2{
    color: #000;
    text-align: center;
    position: relative;
    margin: 10px;
    font-size: 1.9rem;
}
.footer{
    color: #fff;
    background: #000;
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 40px;
    position: relative;
    padding-bottom: 80px;
}
.footer .contact-1{
    padding-left: 5rem;
    
}
.footer .contact-1 a{
    display: flex;
    font-size: 19px;
   color: #fff;
   transition: all.45s ease;
   align-items: center;
}
.footer .contact-1 a p{
    display: flex;
    align-items: center;
    justify-content:center ;
}
.footer .contact-1 i{
    border: 1px;
    padding-right: 10px;
    color: #fff;
}
.footer .contact-1 a:hover{
    transform: scale(1.1);
}
.footer #contact{
    width: 600px;
    text-align: center;
}
footer #contact p{
    margin: 5px;
}
.footer #contact h4{
    margin: 20px;
}
.footer .infor .import{
    display: flex;
    padding: 10px;
    
}
.footer .infor .import a{
    color: #fff;
}
.footer .infor img{
    width: 50px;
    height: 50px;
    padding: 6px;
}
footer .p p{
text-align: center;
background: #000;
color: #fff;
padding: 10px;
}
#bar-icon{
    cursor: pointer;
    transition: transform 0.3s ease-in-out, stroke 0.3s ease-in-out;
}
#bar-icon.clicked{
  transform: rotate(180deg);
}





/*------------------Media Queries start----------------------*/

@media (max-width:780px){
.furni{
    display: flex;
    justify-content: center;
    align-items: center;
}
.carousel-btn.next{
    left: 23rem;
}
}
@media(max-width:480px){
   
    header .logo{
        margin-left: 70px;
        margin-top: -340px;
    }
    header .text {
        text-align: center;
        margin-top: -260px;
    }
    .carousel-btn.next{
        left: 17rem;
    }
    .introduction h1::after{
        display: none;
    }
    .searchbar{
       float: left;
       width: 99%;
       margin-bottom: 20px;
    }
    .footer .contact-1{
        padding-left: 2rem;
        
    }
}
