@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200&display=swap');

:root{
    --button:#ae8c5e;
    --background:#dad4c8;
    --text:#301303;
    --chair-back:#e9e5dc;
    --bottom-back:#f5f5f5;
    --top-back:#f3f2ee;
    --icon-fill:#cececc;
    --white:#ffffff;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    list-style: none;
}
.container{
    padding-left: 5%;
    padding-right: 5%;
    position: relative;
    background-color: var(--background);
}
 .navigation-bar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.left-left{
    font-weight: bold;
    color: var(--text);
    font-size: 20px;
    z-index: 10;
    cursor: pointer;
}
.left-left span{
    width: 50px;
    height: 50px;
    background-color: var(--button);
    padding: 5px 10px 5px 10px;
    color: var(--text);
    font-weight: bold;
    font-size: 20px;
    border-radius: 50px;
}
.right-nav{
    display: flex;
    width: 80%;
    align-items: center;
    font-size: 18px;
    justify-content: space-between;
    color: var(--icon-fill);
    z-index: 10;
}
.right-nav ul{
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap:50px;
    text-transform: capitalize;
}
.right-nav ul li{
    cursor: pointer;
}
.right-nav ul li:hover{
    color: var(--button);
}

.right-nav .button{
    padding:  10px 10px 10px 10px;
    color: var(--white);
    background: var(--button);
    text-align: center;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
}
.hamba{
    display: none;
}
.background{
    width: 65%;
    position: absolute;
    height: 90vh;
    background: var(--top-back);
    left: 0;
    top: 0;
}

@media only screen and (max-width :850px){
    .hamba{
        display: block;
        cursor: pointer;
        color: var(--text);
        font-size: 15px;
        z-index: 100;
    }
    .hamba .fa-bars{
        width: 20px;
        height: 3px;
        padding: 0px;
        color:var(--text);
        margin-top: 6px 0px;
        font-size: 20px;
        transition: 0.2s;
        z-index: 100;
    }
    .navigation-bar{
        width: 100%;
        /* border: 1px solid red; */
    }
    .right-nav{
        position: absolute;
        right: 0;
        top:50px;
        display: flex;
        flex-direction: column;
        width: 50vw;
        color: var(--button);
        background:var(--background) ;
        gap:20px;
        text-transform: capitalize;
        opacity: 0;
        height: 50%;
        z-index: 1000;
    }
    .right-nav.active{
        z-index: 1000;
        display: flex;
        opacity: 1;
        transition: 0.5s;
        /* border: 1px solid black; */
    }
    .right-nav ul{
        margin-top: 25px;
        display: flex;
        flex-direction: column;
        gap:20px;
        font-size: 15px;
    }
    .right-nav .button{
        padding: 10px 10px 10px 10px;
        color: var(--white);
        background: var(--button);
        text-align: center;
        border-radius: 10px;
        margin-bottom: 25px;
        font-size: 15px;
    }
    .right-nav ul li:hover{
        color: white;
    }

}

.hero-section{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90vh;
    width: 100%;
}
.hero-left {
    display: flex;
    flex-direction: column;
    gap:20px;
    z-index: 100;
}
.hero-header{
    font-size:75px;
    color: var(--text);
    line-height: 75px;
    width: 80%;
    text-transform: capitalize;
}
.hero-text{
    font-weight: 15px;
    color:grey;
    width: 75%;
}
.hero-button span{
    padding: 10px 10px 10px 10px;
    color: var(--white);
    background: var(--button);
    text-align: center;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 15px;
    cursor: pointer;
}

.hero-right{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
}
.right-img{
   padding-right: 200px;
}
.right-img img{
    width: 350px;
}
.left-img {
    width: 200px;
    height: 275px;
    background: white;
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 0px;
    position: absolute;
    top: 0;
    right:50px;
    z-index: 10;
}
.left-img .img{
    max-width: 300px;
    background-color: var(--background);

}
.left-img .img img{
    width: 100%;
}
.chair{
    font-size: 18px;
    color: var(--text);
    font-weight: bold;
    text-transform: capitalize;
}
.bottom{
    display: flex;
    align-items: center;
    justify-content: space-between
}
.bottom .price{
    color: rgb(109, 140, 67);
    font-weight: 700;
}
.bottom .rating{
    font-size: 13px;
}
.bottom .rating i{
    color: gold;
}
.bottom .cart{
    background: var(--button);
    padding: 5px;
    border-radius: 5px;
} 
.bottom .cart i{
    color: white;
}

.hero-right .right-img-top {
    width: 200px;
    position: absolute;
    right: 400px;
    bottom: 200px;
}
.right-img-top span{
   background: white;
   padding: 15px;
   border-radius: 10px;
}
.right-img-top span i{
    color: white;
    background: var(--button);
    padding: 5px;
    border-radius: 5px;
}

@media only screen and (max-width :850px){
    .container{
        width: 100;
        margin: auto;
    }
    .hero-section{
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        width: 90%;
        gap: 0px;
        /* border: 1px solid red; */
        position: relative;
    }
    .right-img{
        padding-right: 0px;
     }
    .right-img img{
        width: 200px;
    }
    .hero-left {
        padding-top: 5%;
        display: flex;
        flex-direction: column;
        z-index: 100;
        margin-bottom:200px;
    }
    .hero-right .right-img-top {
        width: 175px;
        position: absolute;
        right: 45%;
        bottom: 20px;
        font-size: 13px;
    }
    .left-img {
        width: 125px;
        height: auto;
        background: white;
        display: flex;
        flex-direction: column;
        padding: 10px;
        gap: 10px;
        position: absolute;
        top: 0%;
        left:75%;
        z-index: 10;
    }
    .hero-header{
        color: var(--text);
        width:100%;
        text-transform: capitalize;
        font-size: 30px;
        line-height: 30px;
    }
    .hero-text{
        font-weight: 15px;
        color:grey;
        width: 100%;
    }
    .hero-right{
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        height: 65%;
        margin-top: 25%;
    }
    .chair{
        font-size: 15px;
        color: var(--text);
        font-weight: bold;
        text-transform: capitalize;
    }
    .bottom{
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 15px;
    }
    .background{
        width: 50%;
        height: 90vh;
        background: var(--top-back);
        left: 0;
        top: 0;
    }
}