@import url(/base/fonts/Bon/FarsiNumerals/fontface.css);

* {
    font-family: Bon;
    direction: rtl;
    text-align: right;
    unicode-bidi: plaintext;
    box-sizing: border-box;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-decoration: inherit;
}

body {
    margin: 35px;
    font-size: 30px;
    color: #3e3f5b;
    font-size: 16px;
}

header {
    background-color: #00a693;
    height: 65px;
    border-radius: 65px;
    width: 100%;
    display: flex;
    padding: 10px 40px;
    gap: 24px;
    max-width: 1200px;
    margin: auto;
}

header .logo {
    height: 100%;
}

header .header-btn {
    display: none;
    background-color: #d99058;
    width: 45px;
    height: 45px;
    border-radius: 100%;
    align-items: center;
    justify-content: center;
}

header .header-btn span {
    width: 30px;
    height: 30px;
    transform: translate(-1px, -1px);
}

header .header-content {
    background-color: #fff;
    border-radius: 65px;
    border-bottom-left-radius: 0;
    box-shadow: 3px 3px 5px 0px #3838383b;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px 0 35px;
    width: calc(calc(100% - 84px) - 150px);
}

header .header-content .bg {
    display: none;
}

header .header-content nav ul.nav {
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 22px;
    margin: 0;
    height: 100%;
    align-items: center;
}

header .header-content nav ul li {
    display: block;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
}

header .header-content nav ul li.nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 5px 0;
}


header .header-content nav ul li.nav-item::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 3px solid transparent;
    box-sizing: content-box;
    display: block;
}

header .header-content nav ul li.nav-item.haveSub::after {
    border-top-color: #d99058;
}


header .header-content nav ul li.nav-item .sub-nav {
    display: none;
    position: absolute;
    white-space: nowrap;
    top: 100%;
    right: 50%;
    transform: translate(50%, 0px);
    background-color: #fff;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 2px 0px 5px 0 #3838383b;
    min-width: 110px;
    flex-direction: column;
    gap: 8px;
    background-color: #fff;
    z-index: 999;
    border-radius: 10px;
    padding: 7px 0;
}

header .header-content nav ul li.nav-item .sub-nav a {
    width: 100%;
    text-align: center;
    padding: 5px 12px;
    font-weight: 400;
    font-size: 0.9em;
}

.have-headline {
    position: relative;
}

.have-headline::before {
    content: '(س)';
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-75%, -75%);
    font-size: 0.5em;
}

header .header-content .panel {
    display: flex;
    flex-direction: row;
}


header .header-content .panel .logo {
    display: none;
}

header .header-content .panel .search-box {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-left: 8px;
    position: relative;
}

header .header-content .panel .search-box::after {
    content: '';
    width: 15px;
    height: 15px;
    background-image: url(/base/icons/search.svg);
    display: block;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

header .header-content .panel .search-box::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 27px;
    border-radius: 2px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #d99058;
}

header .header-content .panel .search-box .search-input {
    outline: 0;
    border: 0;
    font-size: 11px;
    font-weight: 500;
    text-align: left;
}

header .header-content .panel .search-box .search-input::placeholder {
    color: #3e3f5b;
    opacity: 1;
}

header .header-content .panel .link-box {
    display: flex;
    gap: 7px;
    padding-right: 8px;
}

header nav {
    height: 100%;
}

header .login-nav {
    width: 130px;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
}

header .login-nav li {
    display: block;
}

header .login-nav li a {
    width: 61px;
    font-size: 11px;
    font-weight: 500;
    color: #fefefe;
    background-color: #d99058;
    border-radius: 13px;
    display: block;
    text-align: center;
    padding: 4px 5px 6px;
}


header .header-content nav ul li.nav-item.active .sub-nav {
    display: flex;
}



main {
    padding: 0 0 50px;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}



footer {
    background-color: #00a693;
    border-radius: 225px;
    width: 100%;
    display: flex;
    padding: 12px 100px;
    justify-content: space-around;
    margin-bottom: 50px;
    max-width: 1200px;
    margin: auto;
}

footer .about-me,
footer .contact-me {
    width: calc(45% - 100px);
    display: flex;
    flex-direction: column;
    max-width: 360px;
}

footer .about-me .about-me-title,
footer .contact-me .contact-me-title {
    font-size: 22px;
    color: #fff;
    text-align: center;
    font-weight: 600;
    margin: 0;
}

footer .about-me .about-me-text,
footer .contact-me .contact-me-address {
    font-weight: 300;
    font-size: 14px;
    color: #f0eeec;
    text-align: justify;
    line-height: 19px;
    margin: 9px 0 0;
}

footer .contact-me .contact-me-address {
    text-align: center;
}

footer .logo {
    width: 130px;
    box-sizing: content-box;
    padding: 20px 0;
}

footer .contact-me .contact-me-link-box {
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
}

footer .contact-me .contact-me-link-box a::before {
    width: 19px;
    height: 19px;
    background-color: #f0eeec;
}




@media screen and (max-width: 980px) {
    body {
        margin-right: 10px;
        margin-left: 10px;
    }

    footer {
        flex-direction: column;
        padding: 18px 24px;
        border-radius: 60px;
        align-items: center;
        padding-bottom: 200px;
        position: relative;
        gap: 24px;
    }

    footer .about-me,
    footer .contact-me {
        width: 100%;
    }

    footer .logo {
        position: absolute;
        top: 100%;
        transform: translateY(-100%);
    }
    
    header {
        justify-content: space-between;
    }

    header nav {
        width: 80%;
        height: calc(100% - 170px);
        bottom: 60px;
        position: relative;
    }

    .login-box {
        display: none;
    }

    header .header-btn {
        display: flex;
    }

    header .header-content {
        position: fixed;
        inset: 0;
        z-index: 9999;
        flex-direction: column-reverse;
        width: 300px;
        padding: 24px 12px;
        transition: 0.4s;
        right: -100%;
    }

    header .header-content::after {
        content: '';
        position: absolute;
        width: 300px;
        height: 100vh;
        background-color: #fff;
        top: 0;
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
        z-index: -1;
    }

    header .header-content .bg {
        display: block;
        position: fixed;
        inset: 0;
        width: 100vw;
        z-index: -1;
        background-color: #000a;
        transition: 0.1s;
        opacity: 0;
        visibility: hidden;
    }

    header .header-content nav ul.nav {
        flex-direction: column;
        margin-top: 24px;
    }

    header .header-content .panel {
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 18px;
    }

    header .header-content .panel .logo {
        display: block;
        width: 90px;
    }

    header .header-content .panel .search-box {
        width: 80%;
        padding: 5px 9px;
        background-color: #dbdbdb;
        border-radius: 7px;
        justify-content: space-between;
    }

    header .header-content .panel .search-box::before {
        content: none;
    }

    header .header-content .panel .search-box .search-input {
        background-color: transparent;
    }

    header .header-content .panel .link-box {
        position: absolute;
        bottom: 30px;
    }
    header .header-content .panel .link-box .icon {
        width: 20px;
        height: 20px;
    }

    header .header-content nav ul li.nav-item {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }


    header .header-content nav ul li.nav-item .sub-nav {
        right: 0;
        transform: none;
        width: 100%;
    }

    header .header-content.active {
        right: 0;
    }

    header .header-content.active .bg {
        opacity: 1;
        visibility: visible;
    }

}



.fullscreen-image {
    position: fixed;
    inset: 0;
    background-color: #00000094;
    z-index: 999999;
}

img.fullscreen {
    width: 80%;
    top: 50%;
    right: 50%;
    position: relative;
    transform: translate(50%, -50%);
}



/**/

.btn {
    border: 0;
    outline: 0;
    cursor: pointer;
}