*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: B-Mitra;
    src: url(fonts/B-Mitra/B\ Mitra\ Bold_0.ttf);
}
@font-face {
    font-family: IRANYekan;
    src: url(fonts/BYekan/BYekan+\ Bold.ttf);
}
@font-face {
    font-family: Lotus;
    src: url(fonts/B-Lotus/B\ Lotus\ Bold_0.ttf);
}
body{
    margin: 0;
    background-image: url(online-img/background.jpg);
}
.header{
    width: 100%;
    height: 170px;
    margin-bottom: 3%;
}
.top-header{
    /* border: 2px solid blue; */
    width: 100%;
    height: 45px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-color: lightgray;
}
.about-us{
    /* background-color: red; */
    width: 70%;
    height:  45px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.about-us a{
    margin-right: 5%;
    text-decoration: none;
    color: black;
    font-family: IRANYekan;
    transition: 0.7s;
}
.about-us a:hover{
    color: lightcoral;
}
.contact{
    /* background-color: blue; */
    width: 15%;
    height:  45px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact a {
  color: black;
  text-decoration: none;
  color: black;
  margin-left: 5%; 
  font-family: B-Mitra;
}

.advisers{
    /* background-color: green; */
    width: 15%;
    height:  45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-left: 1px solid gray;
}
.advisers a{
    display:  inline-block;
    vertical-align: middle;
    color: black;
    text-decoration: none;
    font-family: IRANYekan;
}
.advisers a svg{
    vertical-align: middle;

}
.bottom-header{
    /* border: 2px solid green; */
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.last-header{
    /* border: 2px solid purple; */
    width: 100%;
    height: 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* last-header */
.links{
    /* background-color: purple; */
    width: 80%;
    height: 45px ;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.links a{
    text-decoration: none;
    color: black;
    font-size: 12px;
    font-family: B-Mitra;
    margin-right: 5%;
    position: relative;
    overflow: hidden;
}
.links a::after{
    content: "";
    width: 100%;
    border: 1px solid brown;
    /* height: 1px; */
    position: absolute;
    left: 100%;
    bottom: 0;
    transition: 0.7s;
}
.links a:hover::after{
    left: 0;
}
.links a::before{
    content: "";
    width: 100%;
    border: 1px solid brown;
    /* height: 1px; */
    position: absolute;
    right: 100%;
    bottom: 0;
    transition: 0.7s;
}
.links a:hover::before{
    right: 0;
}
.links a:hover{
    color: brown;
}

.links a svg{
    vertical-align: middle;
}
.text{
    width: 30%;
    height: 45px;
    text-align: center;
    font-family: IRANYekan;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.text a{
    text-decoration: none;
    color: black;
    width:280px;
    font-size: 15px;
    background-color: gray;
    height: 30px;
    border-radius: 30px;
    margin-top: 10px;

}
/* middle-header */
.bottom-header{
    background-color: whitesmoke;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo{
    /* background-color: red; */
    width: 70%;
    height: 50px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.aks{
    /* background-color: green; */
    width: 30%;
    height: 50px;
    margin-right: 5%;

}

.icons{
    /* background-color: green; */
    width: 10%;
    height: 50px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.heart{
    /* background-color: blue; */
    width: 40px;
    height: 40px;
    border-radius: 50px;
    border: 1px solid gray;
    text-align: center;
}
.heart a{
    display: block;
    margin-top: 15%;
}
.heart:hover{
    background-color: gray;
}
.exchange:hover{
    background-color: gray;
}
.exchange{
    /* background-color: yellow; */
    width: 40px;
    height: 40px;
    border-radius: 50px;
    margin-right: 15%;
    border: 1px solid gray;
    text-align: center;   
}
.exchange a{
    display: block;
    margin-top: 20%;
    text-align: center;
}
.enter{
    /* background-color: purple; */
    width: 10%;
    height: 30px; 
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-family: IRANYekan;
    border-left: 1px solid gray;
}
.enter a{
    text-decoration: none;
    color: black;
    margin-top: 5%;

}
.buy{
    /* background-color: yellow; */
    width: 10%;
    height: 50px;
    display: flex;
    justify-content: flex-start;
    align-items: center; 
    font-size: 20px;
    font-family: Lotus;
}
.buy a{
    margin-right: 5%;
}
.buy span {
    margin-right: 15%;
}
/* cover */
.cover{
    width: 100%;
    height: 500px;
    position: relative;
    margin-bottom: 3%;
}
.decoration{
    position: absolute;
    right: 5%;
    top: 25%;
    width: 40%;
    height: 300px;
    text-align: center;
}
.decoration a{
    width: 20%;
    text-decoration: none;
    font-size: 20px;
    display:  inline-block;
    color: black;
    margin-left: 10%;
    background-color: white;
    height: 25px;
    border-radius: 30px;
}
.decoration h1{
    font-family: IRANYekan;
}
.decoration span{
    font-family: Lotus;
}
.reza{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 4%;
}
.right-direction{
    /* border: 1px solid red; */
    background-color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    text-align: left;
    vertical-align: middle;
}
.right-direction a svg{
    vertical-align: middle;
    margin-top: 7%;
}
.left-direction a svg{
    vertical-align: middle;
    margin-top: 7%;
}
.left-direction{
    /* border: 1px solid green; */
    background-color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    right: 0;
    text-align: right;
    vertical-align: middle;
}
.sort{
    width: 100%;
    height: 100px;
    text-align: right;
}
.sort h2{
    font-size: 30px;
    font-family: IRANYekan;
}
.sort p{
    font-size: 18px;
    font-family: Lotus;
}
.products{
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: center;
    gap: 15px;
    margin-bottom: 5%;
}
.item{
    width: 200px;
    height: 200px;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    transition: 1s;
}
.item img:hover{
    transform: scale(1.2);
    transition: 1s;
    filter: brightness(50%);
    
}
.item a{
    position: absolute;
    top: 40%;
    left: 20%;
    color: black;
    font-size: 20px;
    font-family: IRANYekan;
    text-decoration: none;
    background-color: white;
    width: 60%;
    height: 40px;
    border-radius: 30px;
    text-align: center;
    transition: 1s;
}
.item span{
    position: absolute;
    top: 70%;
    left: 30%;
    color: black;
    font-size: 15px;
    font-family: IRANYekan;
    width: 40%;
    height: 40px;
    text-align: center;
    transition: 1s;
    visibility: hidden;
    color: white;
}
.item:hover span{
    visibility: visible;
    transform: translateY(-15px);
}
.item:hover a{
    transform: translateY(-15px);
}
.item img{
    /* border-radius: 50%; */
    transition: 1s;
    height: 250px;
    width: 250px;
}
.high-sale{
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3%;
}
.stold-items{
    width: 40%;
    height: 40px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-family: IRANYekan;
    font-size: 20px;
}
.names{
    width: 60%;
    height: 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
#special{
    text-decoration: underline brown;
    color: black;
}
.names a{
    margin-left: 20px;
    text-decoration: none;
    color: gray;
    font-size: 20px;
    font-family: IRANYekan;
}
.sales{
    width: 100%;
    height: 640px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: center;
    gap: 15px;
    margin-bottom: 3%;
}
.sofa{
    width: 18%;
    height: 310px;
    position: relative;
    border-radius: 10px;
    background-color: white;
    transition: 0.7s;
}
.price{
    position: absolute;
    width: 100%;
    height: 30px;
    border-radius: 10px;
    top: 68%;
    bottom: 0;
    display: flex;
    text-align: center;
    justify-content: space-evenly;
    align-items: center;
    visibility: hidden;
    transition: 0.7s;
}
.sofa:hover .price{
    visibility: visible;
    transform: translateY(-10px);
}
 .price .add-buy{
    width: 50%;
    height: 30px;
    background-color: black;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.interesting-item{
    position:absolute;
    left: 2%;
    top: 1%;
    width: 30%;
    text-align: left;
}
.add-buy a{
    font-size: 15px;
    text-decoration: none;
    color: gray;
}
.left-icons{
    width: 50%;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-radius: 30px;
}
.left-icons a{
    margin-left: 10%;
}

.sofa img{
    border-radius: 10px;
    transition: 0.7s;
    height: 230px;
    margin-bottom: 4%;
}
.sofa a{
    text-decoration: none;
    color: gray;
    margin-right: 2%;
    display: block;
}
.sofa p{
    margin-right: 5%;
    font-family: IRANYekan;
}
.sofa h4{
    margin-right: 5%;
    font-family: IRANYekan;
}
.sofa span{
    color: gray;
    margin-right: 5%;
}
.sofa:hover img{
    transform: translateY(-10px);
}
.sofa:hover{
    transform: translateY(-10px);
}
.brand{
    width: 100%;
    height: 60px;
    text-align: right;
}
.brand h5{
    font-size: 20px;
    font-family: IRANYekan;
}
.brand p{
    font-family: B-Mitra;
}
.based-sale{
    width: 100%;
    height: 360px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* border: 1px solid red; */
    gap: 15px;
    margin-bottom: 3%;
}
.flower{
    width: 18%;
    height: 360px;
    position: relative;
    border-radius: 10px;
    background-color: white;
    /* border: 1px solid green; */
}
.circle{
    /* background-color: red; */
    height: 50px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0%;
    display: flex;
    border-radius: 10px;
    justify-content: flex-start;
    align-items: flex-start;
}
.photo{
    width: 50px;
    height: 50px;
    border-radius: 50px;
    border: 1px solid green;
    display: flex;
    justify-content: center;
    align-items: center;
}
.photo img{
    display: inline-block;
}

.country{
    width: 69%;
    height: 50px;
    /* background-color: purple; */
    display: flex;
    justify-content: center;
    align-items: center;
}
.country a{
    text-decoration: none;
    color: white;
    font-size: 20px;
}
.flower:hover img{
    filter: brightness(70%);
}
.flower img{
    border-radius: 10px;
    height: 360px;
    transition: 0.7s;

}
.team{
    width: 100%;
    height: 50px;
    text-align: center;
    margin-bottom: 3%;
}
.group{
    width: 100%;
    height: 640px;
    display:  flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    align-content: flex-start;
    margin-bottom: 3%;
}
@keyframes move{
    from{
        transform: scale(1);
    }
    to{
        transform: scale(0.95);
    }
}
.hall{
    width: 18%;
    height: 310px;
    position: relative;
    animation-name: move;
    animation-timing-function: linear;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    border-radius: 10px;
    background-color: white;
    transition: 0.7s;
}
.img-over{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 310px;
    visibility: hidden;
}
.hall:hover .img-over{
    visibility: visible;
}
.img-over img{
    border-radius: 10px;
}
.hall img{
    border-radius: 10px;
    height: 310px;
}
/* decore */
.better-decore{
    width: 95%;
    height: 500px;
    /* border: 2px solid red; */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    border-radius: 10px;
    gap: 15px;
    margin: auto;
    margin-bottom: 3%;
}
.right-decore{
    width: 40%;
    height: 500px;
    /* border: 2px solid blue; */
    border-radius: 10px;
}
.right-decore img{
    border-radius: 10px;
    height: 500px;
}
.left-decore{
    width: 60%;
    height: 500px;
    /* border: 2px solid green; */
    border-radius: 10px;
    /* display: flex; */
    /* align-items: flex-start; */
}
.topic{
    width: 100%;
    height: 70px;
    /* border: 2px solid red; */
}
.topic h5{
    font-size: 25px ;
    font-family: B-Mitra;
}
.table{
    width: 100%;
    height: 430px;
    /* border: 2px solid green; */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 15px;
    margin-bottom: 3%;
}
.best-cell{
    width: 32%;
    height: 310px;
    position: relative;
    border-radius: 10px;
    background-color: white;
    transition: 0.7s;
}
.price{
    position: absolute;
    width: 100%;
    height: 30px;
    border-radius: 10px;
    top: 68%;
    bottom: 0;
    display: flex;
    text-align: center;
    justify-content: space-evenly;
    align-items: center;
    visibility: hidden;
    transition: 0.7s;
}
.best-cell:hover .price{
    visibility: visible;
    transform: translateY(-10px);
}
 .price .add-buy{
    width: 50%;
    height: 30px;
    background-color: black;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.interesting-item{
    position:absolute;
    left: 2%;
    top: 1%;
    width: 30%;
    text-align: left;
}
.add-buy a{
    font-size: 15px;
    text-decoration: none;
    color: gray;
}
.left-icons{
    width: 50%;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-radius: 30px;
}
.left-icons a{
    margin-left: 10%;
}

.best-cell img{
    border-radius: 10px;
    transition: 0.7s;
    height: 230px;
    margin-bottom: 4%;
}
.best-cell a{
    text-decoration: none;
    color: gray;
    margin-right: 2%;
    display: block;
}
.best-cell p{
    margin-right: 5%;
    font-family: IRANYekan;
}
.best-cell h4{
    margin-right: 5%;
    font-family: IRANYekan;
}
.best-cell span{
    color: gray;
    margin-right: 5%;
}
.best-cell:hover img{
    transform: translateY(-10px);
}
.best-cell:hover{
    transform: translateY(-10px);
}
/* last-essay */
.last-essay{
    width: 100%;
    height: 50px;
    text-align:  right;
    display: inline-block;
    display: flex;
    align-items: center;
}
.last-essay a{
    display: inline-block;
    text-decoration: none;
    color: black;
    width: 20%;
    height: 30px;
    text-align: left;
    font-size: 25px;
}
.last-essay a svg{
    vertical-align: middle;
}
.last-essay h6{
    font-size: 20px;
    font-family: B-Mitra;
    display: inline-block;
    margin-left: 69%;
}
/* essay */
.essay{
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 3%;

}
.update{
    width: 23%;
    overflow: hidden;
    height: 400px;
    border-radius: 10px;
    /* display: flex; */
    justify-content: center;
    transition: 0.7s;
    background-color: white;
}
.update:hover img{
    transform: scale(1.2);
}
.update img{
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.7s;
}
.update a{
    text-decoration: none;
    color: black;
    margin-right: 5%;
    font-family: IRANYekan;
}
.update h2{
    margin-right: 5%;
}
.update p{
    margin-right: 5%;
    font-family: Lotus;
}
.overflow{
    width: 100%;
    height: 180px;
    overflow: hidden;
    margin-bottom: 5%;
}
.footer{
    width: 100%;
    height: 380px;
    background-color: wheat;
}
.top-footer a{
    width: 20%;
    height: 70px;
    text-align: right;
    color: white;
    display: flex;
    align-items: flex-start;
    color: white;
}
.top-footer img{
    height: 100px;
    border-radius: 10px;
}
.bottom-footer{
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    border-radius: 10px;
}
.communication-apps{
    width: 23%;
    height: 200px;
    background-color: white;
    border-radius: 10px;
}
.communication-apps h3{
    margin-right: 5%;
    margin-top: 5%;
}
.communication-apps a{
    display: block;
    margin-bottom: 3%;
    text-decoration: none;
    color: gray;
    font-size: 15px;
    font-family: IRANYekan;
    margin-right: 5%;
}
.communication-apps a:hover{
    color: wheat;
}
.social-media{
    width: 100%;
    height: 100px;
}
.social-media a{
    display: inline-block;
    margin-left: 8%;
    font-size: 20px;
    color: gray;
}
.connections{
    width: 100%;
    display: block;
    height: 60px;
    border: 2px solid red;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
