@font-face {
    font-family: kalameh;
    src: url("../fonts/KalamehWeb-Medium.woff2");
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: kalameh;
  scroll-behavior: smooth;
}

img{
  user-select: none;
}

/* PRODUCTS TITLE START */

.title{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 50px 0px;
    padding: 0px 10px;
}
.title-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    width: 1200px;
}
.title-container h1{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
}
.title-container span{
    width: 100%;
    background-color: #5462FF20;
    height: 2px;
}

/* PRODUCTS TITLE END */
/* PRODUCTS START */

.products{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0px 10px;
    margin: 50px 0px;
}
.products-container{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: row;
    width: 1200px;
    gap: 20px;
}

.products-rast{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    border: 3px solid black;
    background-color: white;
    width: 300px;
    top: 20px;
    position: sticky;
}
.products-rast-title{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 2px dotted #5462FF50;
    padding-bottom: 10px;
}
.products-rast-groups{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    width: 100%;
    gap: 10px;
}
.products-rast-group{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: rgba(0, 0, 0, 0.8);
    font-size: 14px;
    transition: all .5s;
}
.products-rast-group:hover{
    color: black;
}
.products-rast-group i{
    transform: translateY(1px);
}

.products-cards{
    display: grid;
    grid-template-columns: repeat(3,auto);
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 20px;
}

.products-card{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    border: 2px solid black;
    width: 300px;
    border-radius: 10px;
}
.products-card-img{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 250px;
}
.products-card-img img{
    width: 100%;
    height: 100%;
    border-radius: 8px 8px 0px 0px;
    border-bottom: 2px solid black;
}
.products-card-name{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 0px 10px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    transition: all .5s;
}
.products-card-name:hover{
    color: orange;
}

.products-card-abouts{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0px 10px;
    gap: 10px;
}
.products-card-about{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 5px;
    font-size: 13px;
    color: gray;
}
.products-card-about i{
    color: orange;
    transform: translateY(1px);
}
.products-card-price{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0px 10px 10px 10px;
}
.products-card-price p{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #f0f0f0;
    border-radius: 5px;
    padding: 5px;
    font-weight: bold;
    gap: 10px;
}
.products-card-price p span{
    color: orange;
    font-weight: 100;
}

/* PRODUCTS END */















/* RESPONSIVE START */

@media screen and (max-width:650px) {

    .title-container{
        width: 100%;
    }
    .title-container h1{
        font-size: 24px;
        width: 100%;
    }
    .title-container span{
        width: 30%;
        background-color: #5462FF20;
        height: 2px;
    }

    .products-rast{
        position: unset;
        top: unset;
    }

    .products-container{
        width: 100%;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    .products-cards{
        grid-template-columns: repeat(1,auto);
        align-items: center;
        justify-content: center;
    }
    
}
@media screen and (min-width:650px) and (max-width:960px) {

    .title-container{
        width: 100%;
    }
    .title-container h1{
        width: 100%;
    }
    .title-container span{
        background-color: #5462FF20;
        height: 2px;
    }

    .products-rast{
        min-width: 300px;
    }

    .products-container{
        width: 100%;
    }
    .products-cards{
        grid-template-columns: repeat(1,auto);
        align-items: center;
        justify-content: center;
    }
    
}
@media screen and (min-width:961px) and (max-width:1200px) {

    .title-container{
        width: 100%;
    }
    .title-container h1{
        width: 100%;
    }
    .title-container span{
        background-color: #5462FF20;
        height: 2px;
    }

    .products-rast{
        min-width: 300px;
    }

    .products-container{
        width: 100%;
    }
    .products-cards{
        grid-template-columns: repeat(2,auto);
        align-items: center;
        justify-content: center;
    }
    
}

/* RESPONSIVE END */