@font-face {
    font-family: farsi;
    src: url(Fonts/Vazirmatn-VariableFont_wght.ttf);
}

.nav-logo-parent{
    display: flex;
    justify-content: space-between;
}
.logo{
    width: 50%;
    background-image: url("/static/MainApp/img/Frame\ 1000004342.png");
    background-size: cover;
    background-position: 50% 50%;
    /* height: 90vh; */
    background-repeat: no-repeat;
    margin-top: 5px
}
.logo img{
    width:30%;
    /*margin-inline: 5%;*/
}
.navbar{
    width: 50% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: start !important;
    flex-wrap: wrap !important;
    direction: rtl !important;
    font-family: farsi;
}
.navbar-nav{
    width: 100% !important;
    margin-top: 4vh;
    display: flex !important;
    justify-content: space-between !important;
    /* background-color: chocolate; */
}
.nav-item{
    width: 100% !important;
    color: black;
    text-align: center !important;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-item:hover{
    color: #22A75D;
    text-decoration: underline;
    text-decoration-color: #6EB410;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}

@media screen and (min-width:1200px){
    .navbar{
        width: 50%;
        padding: 0 !important;
        margin: 0;
    }
    .navbar-nav{
        display: flex !important;
        justify-content: space-evenly !important;
        align-items: center !important;
        margin-top: 6vh;
    }
    .navbar-nav a{
        width: 100% !important;
        padding: 0 !important;
        /* margin: 0.5vh; */
        font-size: 14px;
        display: flex !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        /* background-color: rgb(120, 190, 177); */
    }
    .logo{
        width: 30%;
        /* height: 80vh; */
        background-image: none;
    }
}

@media screen and (min-width:992px) and (max-width:1200px) and (max-height:1400px){
    /* .nav-logo-parent{
        align-items: baseline;
    } */
    .navbar{
        width: 50%;
        padding: 0 !important;
        margin: 0;
    }
    .navbar-nav{
        display: flex !important;
        justify-content: space-evenly !important;
        align-items: center !important;
    }
    .navbar-nav a{
        width: 100% !important;
        padding: 0 !important;
        /* margin: 0.5vh; */
        font-size: 14px;
        display: flex !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        /* background-color: rgb(120, 190, 177); */
    }
    .logo{
        width: 30%;
        /* height: 70vh; */
        background-image: none;
    }
    .logo img{
        width: 50%;
    }
}

@media screen and (min-width:768px) and (max-width:992px) and (max-height:1400px){
    /* .nav-logo-parent{
        align-items: baseline;
    } */
    .navbar{
        width: 100%;
        padding: 0 !important;
        margin: 0;
    }
    .navbar-nav{
        display: flex !important;
        justify-content: space-evenly !important;
        align-items: center !important;
    }
    .navbar-nav a{
        width: 100% !important;
        padding: 0 !important;
        /* margin: 0.5vh; */
        font-size: 12px;
        display: flex !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        /* background-color: rgb(120, 190, 177); */
    }
    .logo{
        width: 30%;
        /* height: 60vh; */
        background-image: none;
    }
    .logo img{
        width: 40%;
    }
}

@media screen and (min-width:576px) and (max-width:768px) and (max-height:1200px){
    .nav-logo-parent{
        display: none;
    }
}

@media screen and (max-width:576px) {
    .nav-logo-parent{
        display: none;
    }
}
