@font-face {
    font-family: farsi;
    src: url(Fonts/Vazirmatn-VariableFont_wght.ttf);
}
#body{
    background-color: #FBFFF4;
    font-family: farsi;
}
.nav-logo-parent{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo{
    width: 8%;
}
.logo img{
    width: 100%;
}
.navbar{
    width: 50%;
    /* flex-wrap: wrap !important; */
    direction: rtl !important;
    /* background-color: lightcoral; */
    font-family: farsi;
}
.navbar-nav{
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    /* margin-top: 4vh; */
    /* background-color: chocolate; */
}
.nav-item{
    /* width: 100%; */
    color: black;
    text-align: center !important;
    transition: 0.5s;
}
.nav-item:hover{
    color: #22A75D;
}
.card{
    transition: 0.4s;
}
.card:hover{
    cursor: pointer;
    border-color: #606060;
    transform: scale(1.06);
}
footer{
    margin-top: 20vh;
}
.first-row{
    font-family: farsi;
    width: 70%;
    margin: 12vh auto 4vh;
    display: flex;
    justify-content: space-evenly;
}
.first-row a{
    color: #000000;
    text-decoration: none !important;
}
.second-row{
    display: flex;
    justify-content: space-between;
    align-items: center;

}
.footer-logo{
    width: 20%;
    margin-left: 2%;
}
.footer-logo img{
    width:40%;
}
.social-box-footer{
    width: 30%;
    display: flex;
    justify-content: space-evenly;
    font-size: 36px;
}

.social-box-footer a{
    color: #000000;
    transition: 0.3s;
}
.social-box-footer a:hover{
    cursor: pointer;
    color: #000000;
    transform: scale(1.3)
}
.copy-right{
    font-family: farsi;
    text-align: right;
    width: 20%;
    margin-right: 2%;
}
.res-second-row{
    display: none;
}
.res-nav-items{
    width: 60%;
    height: 100vh;
    margin-left: 40%;
    text-align: right;
    position: absolute;
    padding: 2vh;
    top: 0;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.843);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: none;
}
.res-nav-items a{
    margin-top: 2vh;
    display: block;
    color: #000000;
    text-decoration: none !important;
    font-size: 20px;
    font-family: farsi;
}
.res-nav-items a:hover{
    color: #22A75D;
}
.res-nav-close{
    width: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.res-nav-close i{
    width: 30px;
    height: 30px;
    padding: 2vh;
    font-size: 12px;
    border: 2px solid #709759;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.res-bg-close{
    width: 100%;
    height: 100vh !important;
    z-index: 1;
    background-color: #312f2fbe;
    position: absolute;
    display: none;
}
@media screen and (min-width:1280px) and (max-width:1372px){
    .card{
        margin-inline: 15px;
    }
    .category{
        top: 12rem;
    }
    .title h2{
        top: 15rem;
    }
    .user-profile{
        top: 17rem;
    }
}
@media screen and (min-width:769px) and (max-width:992px){
    .navbar{
        width: 60%;
    }
    .navbar-nav a{
        width: 100% !important;
        padding: 0 !important;
        /* margin: 0.5vh; */
        font-size: 11px;
        display: flex !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        /* background-color: rgb(120, 190, 177); */
    }
}
@media screen and (max-width:768px) {
    .res-navbar{
        display: flex;
    }
    .nav-logo-parent{
        display: none;
    }

    footer{
        padding: 2vh;
    }
    .first-row{
        width: 100%;
        margin: 10vh 0 5vh 0;
    }
    .second-row{
        display: none;
    }
    .res-second-row{
        display: flex;
        flex-wrap: wrap;
    }
    .social-box-footer{
        width: 50%;
        margin-left: 25%;
        font-size: 30px;
    }
    .social-box-footer i:hover{
        transform: unset;
    }
    .footer-logo{
        width: 30%;
        margin: 4vh 0 0 0;
    }
    .footer-logo img{
        width: 50%;
    }
    .copy-right{
        width: 70%;
        margin: 4vh 0 0 0;
        align-content: end;
    }
    .copy-right p{
        font-size: 14px;
        margin: 0;
    }
    .copy-right span{
        color: #8f9197;
    }
}