@font-face {
    font-family: bnazanin;
    src: url("../font/BNAZANIN.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: broya;
    src: url("../font/BROYA.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: irannastaliq;
    src: url("../font/irannastaliq.woff") format("woff");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: yekan;
    src: url("../font/yekan.woff") format("woff");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: iraniansans;
    src: url("../font/iraniansans.woff") format("woff");
    font-weight: bold;
    font-style: normal;
}

/* استایل اسکرول بار برای مرورگرهای وب‌کیتی */
::-webkit-scrollbar {
    width: 30px;
    height: 30px;
}

/* استایل قسمت قابل جابه‌جایی اسکرول بار */
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #000000, #8e44ad);
    /* گرادیان رنگی */
    border-radius: 10px;
    border: 3px solid #fff;
    /* فاصله دادن با زمینه */
    transition: background 0.3s ease;
    /* انیمیشن تغییر رنگ */
}

/* افکت هاور برای اسکرول بار */
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1abc9c, #e74c3c);
    /* تغییر رنگ در حالت هاور */
}

/* استایل پس‌زمینه اسکرول بار */
::-webkit-scrollbar-track {
    background-color: #ecf0f1;
    /* رنگ پس‌زمینه */
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.9);
    /* سایه داخلی */
}


* {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #484949 #ecf0f1;
    /* رنگ اسکرول بار و پس‌زمینه */
}

html {
    scroll-behavior: smooth;
    /* scrollbar-width: 4px; */
    /* scrollbar-color: black; */
    box-sizing: border-box;
}

body {
    direction: rtl;
    overflow: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-family: iraniansans;

}

nav {
    background-color: rgb(17, 75, 221);
    color: #fff;
    padding: 10px;
    height: 60px;
    width: 100%;
    z-index: 1000005792;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* .logo {
    background-image: url(../image/logo/Logo-Recovered.png);
    height: 9vh;
    background-repeat: no-repeat;
    background-position: center;
    background-clip: border-box;
    display: flex ;
    justify-content: center ;
  } */

.nav-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    position: relative;
    top: 6px;
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.nav-links li {
    position: relative;
    margin: 0 20px;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
}

.nav-links li a:hover {
    color: rgba(0, 0, 0, 0.749);

    transition: 0.3s;
}

.nav-links li:hover>.dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #333;
    width: 200px;
    z-index: 1000;
    padding: 0;
    top: 29px;
    right: -50px;
}

.dropdown-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    z-index: 1000;
}

.dropdown-menu li {
    margin: 0;
    z-index: 1000;
}

.dropdown-menu li a {
    display: block;
    padding: 10px;
    z-index: 1000;
}

.dropdown-menu li a:hover {
    background-color: #070ffc;
    color: rgba(81, 90, 111, 0.709);
    transition: 0.3s;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
    position: relative;
    top: 5px;
    transition: all 0.3s ease;
}

.gallery {
    text-align: center;
    position: relative;
    right: 17px;
}




.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

.auth-links {
    display: flex;
    align-items: center;
    margin-left: 20px;
    position: relative;
    top: -10px;
}

.auth-links .auth-btn {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid #fff;
    border-radius: 5px;
    margin-left: 10px;
}

.auth-links1 {
    display: flex;
    align-items: center;
    margin-left: 20px;
    position: relative;
    top: -10px;
}

.auth-links1 .auth-btn1 {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding: 0px 20px;
    border: 2px solid #fff;
    border-radius: 5px;

}

.auth-links .auth-btn:hover {
    color: rgba(0, 0, 0, 0.749);
}

.auth-links1 .auth-btn1:hover {
    color: rgba(81, 90, 111, 0.709);
    transition: 0.3s;
}

.auth-links img {
    position: relative;
    right: -10px;
    width: 25px;
    height: 25px;
}

.auth-links1 img {
    position: relative;
    right: -10px;
    width: 25px;
    height: 25px;
}

span {
    font-size: 22px;
    position: relative;
    top: -28px;
    font-family: yekan;
    z-index: -1;
}

header {
    background-image: url(../image/photo_2024-11-21_02-49-08_LE_upscale_Smart\ Enhance\ x4.png);
    height: 100vh;
    width: 100vw;
    background-position: center;
    background-repeat: no-repeat;
    background-clip: border-box;
    background-attachment: fixed;
    background-size: cover;
}

@media screen and (max-width: 1992px) {
    .nav-links {
        position: absolute;
        right: -10px;
        height: 90vh;
        top: 6.1vh;
        background-color: #2f4cb2a7;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 25%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 10000;
    }



    .auth-links1 .auth-btn1 {
        padding: 0px 20px;
    }

    .switch {
        position: absolute;
        top: 15px;
        margin-right: 309px;
    }


    #mainpage {
        display: none;
    }

    #imagebutton {
        display: none;
    }

    .nav-links li {
        opacity: 0;
        /* width: 100%; */
        position: relative;
    }

    .nav-links li a {
        display: block;
    }

    .nav-links li a:hover {
        color: #929292;
        transition: 0.3s;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        display: none;
        background-color: transparent;
        border: 0;
    }

    .dropdown-menu li a:hover {
        background-color: transparent;
    }

    .dropdown-menu ul {
        padding: 0 20px;
    }

    .burger {
        display: block;
        width: 33px;
        height: 27px;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .auth-links {
        flex-direction: column;
        margin-left: 0;
    }

    .auth-links .auth-btn {
        margin-left: 0;
        margin-top: 10px;
    }

    .back-to-top {
        bottom: 15px;
    }

    #fontSelect {
        background: transparent;
        width: 75px;
        color: #fff;
        text-decoration: none;
        font-size: 16px;
        font-weight: bold;
        position: relative;
        top: -33px;
    }

    .logo {
        width: 100%;
        position: relative;
        top: -55px;
    }

    footer .content .link-boxes {
        flex-wrap: wrap;
    }

    footer .content .link-boxes .input-box {
        width: 40%;
        margin-top: 10px;
    }
}

@media screen and (max-width: 992px) {
    .nav-links {
        position: absolute;
        right: -10px;
        height: 90vh;
        top: 6.1vh;
        background-color: #2f4cb2a7;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 50%;
        transform: translateX(100%);
        z-index: 10000;
    }



    .auth-links1 .auth-btn1 {
        padding: 0px 20px;
    }

    .switch {
        position: absolute;
        top: 15px;
        margin-right: 309px;
    }


    #mainpage {
        display: none;
    }

    #imagebutton {
        display: none;
    }

    .nav-links li {
        opacity: 0;
        /* width: 100%; */
        position: relative;
    }

    .nav-links li a {
        display: block;
    }

    .nav-links li a:hover {
        color: #929292;
        transition: 0.3s;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        display: none;
        background-color: transparent;
        border: 0;
    }

    .dropdown-menu li a:hover {
        background-color: transparent;
    }

    .dropdown-menu ul {
        padding: 0 20px;
    }

    .burger {
        display: block;
        width: 33px;
        height: 27px;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .auth-links {
        flex-direction: column;
        margin-left: 0;
    }

    .auth-links .auth-btn {
        margin-left: 0;
        margin-top: 10px;
    }

    .back-to-top {
        bottom: 15px;
    }

    #fontSelect {
        background: transparent;
        width: 75px;
        color: #fff;
        text-decoration: none;
        font-size: 16px;
        font-weight: bold;
        position: relative;
        top: -33px;
    }

    .logo {
        width: 100%;
        position: relative;
        top: -55px;
    }

    footer .content .link-boxes {
        flex-wrap: wrap;
    }

    footer .content .link-boxes .input-box {
        width: 40%;
        margin-top: 10px;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: -10px;
        height: 90vh;
        top: 6.1vh;
        background-color: #2f4cb2a7;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;

        z-index: 10000;
    }



    .auth-links1 .auth-btn1 {
        padding: 0px 20px;
    }

    .switch {
        position: absolute;
        top: 15px;
        margin-right: 309px;
    }


    #mainpage {
        display: none;
    }

    #imagebutton {
        display: none;
    }

    .nav-links li {
        opacity: 0;
        /* width: 100%; */
        position: relative;
    }

    .nav-links li a {
        display: block;
    }

    .nav-links li a:hover {
        color: #929292;
        transition: 0.3s;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        display: none;
        background-color: transparent;
        border: 0;
    }

    .dropdown-menu li a:hover {
        background-color: transparent;
    }

    .dropdown-menu ul {
        padding: 0 20px;
    }

    .burger {
        display: block;
        width: 33px;
        height: 27px;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .auth-links {
        flex-direction: column;
        margin-left: 0;
    }

    .auth-links .auth-btn {
        margin-left: 0;
        margin-top: 10px;
    }

    .back-to-top {
        bottom: 15px;
    }

    #fontSelect {
        background: transparent;
        width: 75px;
        color: #fff;
        text-decoration: none;
        font-size: 16px;
        font-weight: bold;
        position: relative;
        top: -33px;
    }

    .logo {
        width: 100%;
        position: relative;
        top: -55px;
    }

    footer .content .link-boxes {
        flex-wrap: wrap;
    }

    footer .content .link-boxes .input-box {
        width: 40%;
        margin-top: 10px;
    }
}

@media screen and (max-width: 432px) {
    .nav-links {
        position: absolute;
        right: -10px;
        height: 90vh;
        top: 6.1vh;
        background-color: #2f4cb2a7;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 50%;
        transform: translateX(100%);

        z-index: 10000;
    }



    .auth-links1 .auth-btn1 {
        padding: 0px 20px;
    }

    .switch {
        position: absolute;
        top: 15px;
        margin-right: 309px;
    }


    #mainpage {
        display: none;
    }

    #imagebutton {
        display: none;
    }

    .nav-links li {
        opacity: 0;
        /* width: 100%; */
        position: relative;
    }

    .nav-links li a {
        display: block;
    }

    .nav-links li a:hover {
        color: #929292;
        transition: 0.3s;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        display: none;
        background-color: transparent;
        border: 0;
    }

    .dropdown-menu li a:hover {
        background-color: transparent;
    }

    .dropdown-menu ul {
        padding: 0 20px;
    }

    .burger {
        display: block;
        width: 33px;
        height: 27px;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .auth-links {
        flex-direction: column;
        margin-left: 0;
    }

    .auth-links .auth-btn {
        margin-left: 0;
        margin-top: 10px;
    }

    .back-to-top {
        bottom: 15px;
    }

    #fontSelect {
        background: transparent;
        width: 75px;
        color: #fff;
        text-decoration: none;
        font-size: 16px;
        font-weight: bold;
        position: relative;
        top: -33px;
    }

    .logo {
        width: 100%;
        position: relative;
        top: -55px;
    }

    footer .content .link-boxes {
        flex-wrap: wrap;
    }

    footer .content .link-boxes .input-box {
        width: 40%;
        margin-top: 10px;
    }
}