@import url("./typography.css");
@import url("./variables.css");

* {
    padding: 0;
    margin: 0;
}

body::-webkit-scrollbar {
    display: none;
}

a {
    text-decoration: none !important;
}

body {
    font-family: sans-medium !important;
    background-color: #2c2c2c !important;
    background-size: 100%;
}

.first-page {
    background-image: url(../images/body-patt.svg);
}

.container {
    padding: 0 !important;
    max-width: 76% !important;
}

.second-container {
    max-width: 53%;
    margin-right: auto;
    margin-left: auto;
}

.container-third {
    max-width: 80%;
    margin-right: auto;
    margin-left: auto;
}

.desktop-nav {
    background-color: #353535;
}
.swiper {
    width: 100%;
    height: auto;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.swiper {
    width: 40%;
    margin-left: auto;
    margin-right: auto;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
}

.mySwiper2 {
    width: 100%;
}

.mySwiper {
    height: auto;
    box-sizing: border-box;
    padding: 10px 0;
}

.mySwiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
}

.mySwiper .swiper-slide-thumb-active {
    opacity: 1;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.navbar-nav .nav-item > .nav-link {
    color: #eeeeee84;
    font-size: 12.5px;
}

.navbar-nav .nav-item:hover .nav-link {
    color: #1ba9e1;
}

.navbar-nav .nav-item .menu-svg {
    filter: brightness(0) saturate(100%) invert(73%) sepia(48%) saturate(444%)
        hue-rotate(166deg) brightness(96%) contrast(93%);
}

.navbar-nav .nav-item:last-child {
    border: unset !important;
}

.navbar-nav .nav-item {
    padding-top: 2px;
    padding-bottom: 2px;
    height: 65px;
    align-content: center;
    position: relative;
}

.navbar-nav .nav-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    top: 0;
    height: max-content;
    margin: auto;
    left: 0;
    width: 2px;
    height: 20px;
    background-color: #eeeeee24;
    transition: background-color 0.3s ease-in-out;
}

.navbar-nav .nav-item:last-child::after {
    content: unset !important;
}

.navbar-nav .nav-link.active {
    color: #1ba9e1 !important;
    font-family: sans-medium;
}

.dark-mode-btn {
    width: 90px;
    height: 35px;
    background-color: rgb(0, 0, 0);
    color: white;
    font-size: 14px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border: 1px solid rgba(0, 0, 0, 0.117);
}

#moon {
    transition: transform 0.4s ease-in-out;
    transform: translateX(45px);
}

#moon-2 {
    transition: transform 0.4s ease-in-out;
    transform: translateX(45px);
}

#dark-text {
    text-align: end;
    padding-left: 24px;
}

.dark-filter {
    filter: invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(20%)
        contrast(100%);
}

#dark-mode-btn-mobile {
    width: 100px;
    height: 35px;
    background-color: rgb(0, 0, 0);
    color: white;
    font-size: 14px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border: 1px solid rgba(0, 0, 0, 0.117);
}

#moon-mobile {
    transition: transform 0.3s;
    transform: translateX(50px);
}

#moon-2-mobile {
    transition: transform 0.3s;
    transform: translateX(50px);
}

#dark-text-mobile {
    text-align: end;
    padding-left: 24px;
}

.h1-switch {
    color: white;
}

.mobile-menu > .offcanvas-body ul hr {
    border-top: 0.1px #eeeeee24 solid;
    opacity: 1;
}

.switch-p {
    color: #ffffffc5;
    border-bottom: 2px solid #25bcdf;
    font-size: 20px;
}

.second-container select {
    background-color: #2c2c2c;
    border: 1px solid rgba(255, 255, 255, 0.254);
    color: #ffffff63;
    font-size: 11px;
    font-family: sans-ultra-light;
}

.second-container select:focus {
    box-shadow: unset !important;
    color: #ffffff63;
    background-color: #2c2c2c;
}

.second-container input {
    background-color: #2c2c2c;
    border: 1px solid rgba(255, 255, 255, 0.254);
    color: white;
    caret-color: #d9d9d9;
}

.second-container button[type="submit"] {
    background-color: #222;
    padding: 7px !important;
    transition: 0.3s;
    color: #25bcdf !important;
    border: 1px solid #25bcdf !important;
}

.second-container button[type="submit"]:focus {
    box-shadow: unset !important;
}

.second-container button[type="submit"]:hover {
    box-shadow: rgba(255, 254, 254, 0.24) 0px 3px 8px;
}

.second-container input:focus {
    background-color: #2c2c2c;
    border: 1px solid #25bcdf !important;
    box-shadow: unset !important;
    color: white;
}

.second-container input::placeholder {
    color: #ffffff63;
    font-size: 11px;
    font-family: sans-ultra-light;
}

.poets-form {
    border: 1px solid rgba(255, 255, 255, 0.254);
}

.poets-books .img-2 {
    border: 1px solid #ffffffc5;
    padding: 4px 4px 4px 4px;
    transition: 0.3s;
}

.poets-books .img-1 {
    border-bottom: 2px solid #ffffffc5;
}

.poets-books:hover .img-2 {
    scale: 1.3;
}

.report button {
    padding: 4px 8px !important;
    background-color: rgba(255, 71, 74, 1);
    transition: 0.3s ease-in-out;
    font-size: 12px !important;
}

.report-ment {
    padding: 10px 5px !important;
    background-color: rgba(255, 71, 74, 1) !important;
    transition: 0.3s ease-in-out;
    font-size: 12px !important;
    transition: 0.3s !important;
}

.report-ment:hover {
    box-shadow: rgba(255, 254, 254, 0.24) 0px 3px 8px;
}

.report a:hover {
    box-shadow: rgba(255, 254, 254, 0.24) 0px 3px 8px;
}

.report button:hover {
    box-shadow: rgba(255, 254, 254, 0.24) 0px 3px 8px;
}

.help a {
    padding: 4px 8px;
    background-color: rgba(51, 190, 5, 1);
    transition: 0.3s ease-in-out;
}

.help a:hover {
    box-shadow: rgba(255, 254, 254, 0.24) 0px 3px 8px;
}

.footer-child-border {
    border-left: 1px solid rgba(255, 255, 255, 0.254);
}

.footer-child-border:last-child {
    border: unset !important;
}

.footer-hr {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1;
}

/* تم لایت مود برای دسکتاپ */
body.light-mode .desktop-nav {
    background-color: white;
}

body.light-mode .second-container button[type="submit"]:hover {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

body.light-mode .poets-books {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

body.light-mode .ft-color {
    color: rgba(51, 51, 51, 1);
}

body.light-mode .opa05 {
    color: rgba(0, 0, 0, 0.5);
}
body.light-mode .bg-main img {
    opacity: 1 !important;
}

body.light-mode .Turquoise-color {
    color: #004c5d;
}

body.light-mode .bg-main label {
    color: rgba(51, 51, 51, 1) !important;
}

body.light-mode .html-img-1 {
    opacity: 100% !important;
}

body.light-mode .report button:hover {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px !important;
}

body.light-mode .help a:hover {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px !important;
}

body.light-mode .second-container select {
    background-color: white;
    border: 1px solid rgba(238, 238, 238, 1);
    color: rgba(73, 73, 73, 1);
}

body.light-mode .bg-main {
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 8px 0px;
}

body.light-mode .second-container button[type="submit"] {
    background-color: rgba(16, 161, 194, 1);
}

body.light-mode .second-container input {
    background-color: white;
    border: 1px solid rgba(238, 238, 238, 1);
}

.second-container input::placeholder {
    color: #ffffff63;
}

body.light-mode .mobile-menu {
    background-color: #f9f9f9 !important;
}

body.light-mode .mobile-menu > .offcanvas-body ul a {
    color: black;
}

.light-mode {
    background-color: #f9f9f9 !important;
}

body.light-mode .desktop-nav .nav-item a {
    color: #33333398;
}

body.light-mode .offcanvas-title {
    color: rgba(51, 51, 51, 1) !important;
}

body.light-mode .offcanvas-body label {
    color: rgba(51, 51, 51, 1) !important;
}

body.light-mode .navbar-nav .nav-item::after {
    background-color: #33333325 !important;
}

body.light-mode .selected-border-items::after {
    background: #00000024;
}

body.light-mode .h1-switch {
    color: #333333;
}

body.light-mode #expand-btn {
    color: rgba(51, 51, 51, 1) !important;
}

body.light-mode .switch-p {
    color: #333333;
}

body.light-mode .report-offvanvas {
    background-color: white !important;
}

body.light-mode .second-container textarea {
    background-color: white;
    border: 1px solid rgb(238, 238, 238);
    color: rgb(73, 73, 73);
}

body.light-mode .mega-menu ul li > a {
    color: #33333398 !important;
}

body.light-mode .mega-menu {
    background-color: #f9f9f9 !important;
    border: 1px solid rgba(238, 238, 238, 1) !important;
}

body.light-mode .mega-menu ul li > a:hover {
    color: #1ba9e1 !important;
}

.close-button:active {
    border-color: #353535 !important;
}

body.light-mode .second-container textarea::placeholder {
    color: rgba(73, 73, 73, 1);
}

body.light-mode .footer-child-border {
    border-left: 1px solid rgba(0, 0, 0, 0.138);
}

.second-container input {
    color: #ffffff;
}

body.light-mode .second-container input {
    color: #333333 !important;
}

.fixed-scroll {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000 !important;
    animation: fadeSlideIn 0.4s ease forwards;
}

.fixed-scroll2 {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000 !important;
    animation: fadeSlideIn 0.4s ease forwards;
    background-color: #2c2c2c;
}

body.light-mode .fixed-scroll2 {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000 !important;
    animation: fadeSlideIn 0.4s ease forwards;
    background-color: #ffffff;
}

.fixed-scroll .desktop-menu-active {
    display: none;
}

.desktop-menu-active {
    top: 105% !important;
}

.fixed-scroll #light-logo-2 {
    width: 40px;
}

.fixed-scroll #light-logo {
    width: 40px;
}

.fixed-scroll .desktop-menu-active {
    top: 177% !important;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.checkmark {
    position: absolute;
    top: -7px;
    left: 0;
    height: 15px;
    width: 15px;
    background-color: #ffffff00;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid #1ba9e1;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.report-offvanvas {
    max-width: 450px !important;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    background-color: #353535 !important;
}

.report-offvanvas .offcanvas-header p {
    color: rgb(255, 255, 255);
}

.second-container textarea {
    background-color: #2c2c2c;
    border: 1px solid rgba(255, 255, 255, 0.254);
    color: white;
    caret-color: #d9d9d9;
}

.second-container textarea::placeholder {
    color: #ffffff63;
    font-size: 12px;
    font-family: sans-ultra-light;
}

.second-container textarea:focus {
    border: 1px solid #25bcdf !important;
    outline: unset !important;
}

.poets-form-min-1 {
    max-height: 135px;
    transition: max-height 1s ease-in-out;
}

.poets-form-min-2 {
    max-height: 500px;
    transition: max-height 1s ease-in-out;
}

/* باز شدن */
.poets-form.expanding {
    max-height: 500px;
}

/* بسته شدن */
.poets-form.collapsing1 {
    max-height: 135px;
}

@keyframes fadeScaleIn {
    0% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.mega-menu {
    animation: fadeScaleIn 0.5s ease forwards;
    width: max-content;
    height: max-content;
    position: absolute;
    top: 100%;
    right: -4%;
    background-color: #353535;
    z-index: 99;
    display: none;
    box-shadow: rgb(255 255 255 / 12%) 0px 2px 5px 0px;
}

.mega-parent:hover .mega-menu {
    display: block;
}

.mega-menu ul li:first-child {
    margin: 0 !important;
}

.mega-menu ul li > a {
    color: #ffffffc5;
    font-size: 12.5px;
    transition: 0.5s;
}

.mega-menu ul li > a:hover {
    color: #1ba9e1;
}

.mega-parent:hover .mega-parent > a {
    color: red !important;
}

.icon {
    position: absolute;
    left: 20%;
    object-fit: contain;
    transition: opacity 0.3s ease, transform 0.3s ease;
    top: 0;
    bottom: 0;
    margin: auto;
    height: max-content;
}

.icon-show {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.icon-hide {
    opacity: 0;
    transform: scale(0.1);
    z-index: 0;
}

.mobile-menu > .offcanvas-body ul a.active {
    color: #1ba9e1 !important;
}

.mobile-menu > .offcanvas-body ul a {
    color: #8d8d8d;
    text-decoration: none;
}

.mobile-hr {
    border-top-color: #8d8d8d !important;
    border-top-width: 0.5px;
}

.mobile-menu > .offcanvas-body ul .sending-reports {
    color: #ff474a !important;
}

.mobile-menu > .offcanvas-body ul .help {
    color: #33be05 !important;
}

#expand-btn:hover #manfi {
    rotate: 180deg;
}

#manfi {
    transition: 0.3s ease-in-out;
}

footer .footer-row a:hover {
    color: #1ba9e1 !important;
}

footer li a:hover img {
    filter: brightness(0) saturate(100%) invert(73%) sepia(48%) saturate(444%)
        hue-rotate(166deg) brightness(96%) contrast(93%);
}

.collaps-menu {
    background-color: #2c2c2c;
}

body.light-mode .collaps-menu {
    background-color: #25bddf14 !important;
}

/* body.light-mode .collaps-menu img {
    filter: brightness(0%) invert(100%);
}

body.light-mode .collaps-menu a {
    color: white !important;
} */

/* .selected-border-items::after {
    content: "";
    position: absolute;
    width: 90%;
    margin: auto;
    height: 1px;
    background: #eeeeee24;
    bottom: 0;
    right: 0;
    left: 0;
} */

.selected-border-items {
    border-bottom: 1px solid #eeeeee24;
        border-top: 1px solid #eeeeee24;
    
}

body.light-mode .selected-border-items:nth-child(3) {
    border-bottom: 1px solid #00000024;
        border-top: 1px solid #00000024;
    
}

.smal-danger-error {
    color: red;
    font-size: 11px;
}

.just-formal-number {
    border: 1px solid red !important;
}

.mega-menu ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.066);
}

body.light-mode .mega-menu ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.066);
}

.mega-menu ul li:last-child {
    border: unset !important;
}

.discription table {
    width: 100% !important;
    border-collapse: collapse;
    background-color: #2c2c2c;
    border-radius: 5px;
    font-family: sans-light;
    margin: 2% 0 2% 0;
}

.discription th,
td {
    padding: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.254);
}

.discription th {
    background-color: #353535;
    color: white;
    font-family: sans-light;
}

.discription td {
    color: #ffffffc5;
    border: 1px solid rgba(255, 255, 255, 0.254);
}
/* 
.discription tr:nth-child(even) {
    background-color: #f2f2f2;
} */

#video-modal iframe {
    border-radius: 5px;
}

#video-modal .modal-content {
    background-color: #2c2c2c;
}

.loader {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    height: 20px;
    /* فقط برای وسط چین شدن */
}

.loader span {
    width: 8px;
    height: 8px;
    background: #3498db;
    border-radius: 50%;
    animation: pulse 1s infinite ease-in-out;
}

.loader span:nth-child(1) {
    animation-delay: 0s;
}

.loader span:nth-child(2) {
    animation-delay: 0.1s;
}

.loader span:nth-child(3) {
    animation-delay: 0.2s;
}

.loader span:nth-child(4) {
    animation-delay: 0.3s;
}


@keyframes pulse {
    0%,
    100% {
        width: 8px;
        height: 8px;
    }

    50% {
        width: 12px;
        height: 12px;
    }
}

#mobileMenuCollapse0 ul li a {
    color: #8d8d8d ;
}

/* .form-control:focus ,
.form-select:focus {
    background-color: #2c2c2c !important;
    border-color: #ff0000;
} */

textarea:focus {
        background-color: #2c2c2c !important;
}

body.light-mode textarea:focus {
        background-color: #ffffff !important;
}

.form-control:focus-visible {
    box-shadow: unset !important;
}

/* body.light-mode .form-control:focus,
body.light-mode .form-select:focus {
    background-color: #ffffff !important;
} */

.menu-masnavi {
    left: -110px !important;
}

.menu-divan {
    left: -240px !important;
}

.page-item:last-child .page-link {
    border: unset !important;
    font-size: 25px;
}

.page-item:first-child .page-link {
    border: unset !important;
    font-size: 25px;
}

.page-link:focus {
    box-shadow: unset !important;
}

.search-page-box:last-child .opacity-50 {
    display: none !important;
}