@font-face {
  font-family: "Sharif";
  src: url("../fonts/sharif/woff2/Sharif1.2-Thin.woff2") format("woff2"), url("../fonts/sharif/woff/Sharif1.2-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sharif";
  src: url("../fonts/sharif/woff2/Sharif1.2-ExtraLight.woff2") format("woff2"), url("../fonts/sharif/woff/Sharif1.2-ExtraLight.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sharif";
  src: url("../fonts/sharif/woff2/Sharif1.2-Light.woff2") format("woff2"), url("../fonts/sharif/woff/Sharif1.2-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sharif";
  src: url("../fonts/sharif/woff2/Sharif1.2-Regular.woff2") format("woff2"), url("../fonts/sharif/woff/Sharif1.2-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sharif";
  src: url("../fonts/sharif/woff2/Sharif1.2-Medium.woff2") format("woff2"), url("../fonts/sharif/woff/Sharif1.2-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sharif";
  src: url("../fonts/sharif/woff2/Sharif1.2-SemiBold.woff2") format("woff2"), url("../fonts/sharif/woff/Sharif1.2-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sharif";
  src: url("../fonts/sharif/woff2/Sharif1.2-Bold.woff2") format("woff2"), url("../fonts/sharif/woff/Sharif1.2-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sharif";
  src: url("../fonts/sharif/woff2/Sharif1.2-ExtraBold.woff2") format("woff2"), url("../fonts/sharif/woff/Sharif1.2-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sharif";
  src: url("../fonts/sharif/woff2/Sharif1.2-Black.woff2") format("woff2"), url("../fonts/sharif/woff/Sharif1.2-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@keyframes blink-bg {
  0% {
    background-color: rgba(0, 215, 255, 0.3);
  }
  50% {
    background-color: rgba(0, 215, 255, 0);
  } /* میره به transparent */
  100% {
    background-color: rgba(0, 215, 255, 0.3);
  }
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Full height body */
html,
body {
  height: 100%;
  width: 100%;
  font-family: "Sharif", Arial, sans-serif;
  direction: rtl;
  overflow: hidden;
  background: #fff9e7;
}

/* Container to fill the page */
.main-wrapper {
  position: relative; /* اضافه برای موقعیت‌دهی به دکمه‌ها */
  /* min-height: 100vh; */
  display: flex;
  /* flex-direction: column; */
  justify-content: center;
  align-items: center;
  /* text-align: center; */

  height: 100%;
  margin: 0 auto;

  touch-action: pan-y;
  pointer-events: auto;
}

.image-box {
  position: relative;
  display: inline-block;
}

@media screen and (min-width: 561px) {
  .responsive-image {
    width: auto;
    height: 100vh;
    display: block;
    max-width: 100%;
    object-fit: contain;
    z-index: 1;
    user-drag: none; /* Safari */
    -webkit-user-drag: none; /* Chrome */
    user-select: none; /* جلوگیری از انتخاب */
    pointer-events: auto; /* فعال نگه داشتن کلیک */
  }
}

@media only screen and (max-width: 560px) {
  .wrapper_mainbk {
    width: 100%;
    overflow: hidden; /* جلوگیری از بیرون‌زدگی */
  }

  #mainbk,
  #mainbk img {
    width: 100%;
    height: auto; /* نسبت تصویر حفظ بشه */
    max-height: 100vh; /* تصویر از ارتفاع صفحه بلندتر نشه */
    object-fit: contain; /* تصویر کامل نمایش داده بشه */
    display: block;
  }
}

/* @media only screen and (max-width: 724px) {
  .responsive-image {
    width: 100%;
    height: auto;
  }
} */

/*---------------------------------------------------------*/
/*-------------دکمه‌های ناوبری چپ و راست -----------------*/
/*---------------------------------------------------------*/

.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgb(0 0 0 / 9%);
  color: #ffffff;
  border: none;
  font-size: clamp(1rem, 4vw, 2rem);
  font-size: 1.8rem;
  width: 3.5rem;
  height: 3.5rem;
  cursor: pointer;
  z-index: 10;
  user-select: none;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.nav-button i {
  justify-content: center;
  align-items: center;
  display: flex;
  margin: 0 auto;
  width: 100%;
  height: 100%;
}

/* برای صفحه‌های خیلی کوچک */
@media (max-width: 400px) {
  .nav-button {
    font-size: 1rem;
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* برای صفحه‌های خیلی بزرگ */
@media (min-width: 1024px) {
  .nav-button {
    font-size: 2rem;
    width: 4rem;
    height: 4rem;
  }
}

.nav-button:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.nav-button:active {
  background-color: rgba(0, 185, 186, 0.7);
}

.nav-button.left {
  left: 0;
}

.nav-button.right {
  right: 0;
}

/*----------------------------------------------*/
/*--------طاق ها و ورودی های قابل کلید--------*/
/*----------------------------------------------*/

/*--------------main page-----------------------*/
.main-click {
  position: absolute;
  left: 43.8%;
  width: 12.5%;
  cursor: pointer;
  background-color: rgba(0, 215, 255, 0.3);
  animation: blink-bg 2s infinite; /* هر 2 ثانیه یک سیکل تکرار میشه */
}

@media only screen and (max-width: 560px) {
  .main-click {
    left: 42%;
    width: 16%;
  }
}

.main-click-top {
  top: 42.5%;
  height: 12%;
  border-radius: 100% 100% 0 0;
}

.main-click-bottom {
  top: 54.5%;
  height: 24%;
}

/*--------------------rosta---------------------*/

.btn-roosta-frosh-click,
.btn-roosta-amozesh-click {
  position: absolute;
  left: 69.5%;
  width: 13%;
  cursor: pointer;
  top: 37.2%;
  height: 3.6%;
}

.btn-roosta-amozesh-click {
  left: 17.5%;
  top: 69.6%;
}

@media only screen and (max-width: 560px) {
  .btn-roosta-frosh-click {
    left: 76%;
    width: 16%;
  }
  .btn-roosta-amozesh-click {
    left: 8%;
    width: 16%;
  }
}

.btn-roosta-frosh-click:hover {
  background-image: url(../images/btn_cyan_roosta_frosh.png);
  background-size: contain;
}

.btn-roosta-amozesh-click:hover {
  background-image: url(../images/btn_cyan_roosta_amozesh.png);
  background-size: contain;
}

.btn-kesh-amozesh-click {
  position: absolute;
  left: 18.6%;
  width: 11.1%;
  cursor: pointer;
  top: 63.9%;
  height: 7%;
}

.btn-kesh-frosh-click {
  position: absolute;
  left: 70.3%;
  width: 11.1%;
  cursor: pointer;
  top: 40.6%;
  height: 7%;
}

@media only screen and (max-width: 560px) {
  .btn-kesh-amozesh-click {
    left: 8.8%;
    width: 15%;
  }

  .btn-kesh-frosh-click {
    left: 76.2%;
    width: 15%;
  }
}

.btn-kesh-frosh-click:hover {
  background-image: url(../images/btn_cyan_kesh_frosh.png);
  background-size: contain;
}

.btn-kesh-amozesh-click:hover {
  background-image: url(../images/btn_cyan_kesh_amozesh.png);
  background-size: contain;
}

/*---------------------items-------------------*/
.items-center-click {
  position: absolute;
  left: 34.8%;
  width: 30.5%;
  cursor: pointer;
  background-color: rgba(0, 215, 255, 0.3);
  animation: blink-bg 2s infinite; /* هر 2 ثانیه یک سیکل تکرار میشه */
}

@media only screen and (max-width: 560px) {
  .items-center-click {
    left: 30.8%;
    width: 38.5%;
  }
}

.items-center-click-top {
  top: 46%;
  height: 21%;
  border-radius: 100% 100% 0 0;
}

@media only screen and (max-width: 560px) {
  .items-center-click-top {
    top: 46%;
  }
}

.items-center-click-bottom {
  top: 67%;
  height: 12.8%;
}

@media only screen and (max-width: 560px) {
  .items-center-click-bottom {
    top: 67%;
  }
}

/*---------------------landig-------------------*/
.landing-center-click {
  position: absolute;
  left: 43.8%;
  width: 12.5%;
  cursor: pointer;
  background-color: rgba(0, 215, 255, 0.3);
  animation: blink-bg 2s infinite; /* هر 2 ثانیه یک سیکل تکرار میشه */
}

@media only screen and (max-width: 560px) {
  .landing-center-click {
    left: 41.8%;
    width: 16%;
  }
}

.landing-center-click-top {
  top: 43%;
  height: 13%;
  border-radius: 100% 100% 0 0;
}

@media only screen and (max-width: 560px) {
  .landing-center-click-top {
    top: 42%;
  }
}

.landing-center-click-bottom {
  top: 56%;
  height: 22.8%;
}

@media only screen and (max-width: 560px) {
  .landing-center-click-bottom {
    top: 55%;
  }
}

.right-clickable-landing,
.left-clickable-landing {
  position: absolute;
  top: 60%;
  width: 17.5%;
  height: 4%;
  cursor: pointer;
}

.right-clickable-landing {
  left: 65.8%;
}

.left-clickable-landing {
  left: 16.8%;
}

@media only screen and (max-width: 560px) {
  .left-clickable-landing {
    left: 8.8%;
  }
}
/*----------------shared styles-----------------*/
/* 
.clickable-hover {
  background-color: rgba(0, 215, 255, 0.3);
} */

/* .clickable-active {
  background-color: rgba(223, 238, 9, 0.3);
} */

/*--------------------------------------------------------------*/
/*---------------قسمت تایتل در بالای صفحه راست و چپ-----------*/
/*-------------------------------------------------------------*/

.title-area-right,
.title-area-top,
.title-area-left {
  background-color: red;
}

.title-area-top {
  background-color: red;
}

.title-area-right,
.title-area-left {
  background-color: red;
}

.title-area-right {
  background-color: red;
}

.title-area-left {
  background-color: red;
}

/*--------------------------------------*/
/*--------------------------------------*/
/*--------------------------------------*/
.btnformback {
  background-image: url(../images/btn_cyan_back.png);
  background-size: contain;
  position: absolute;
  top: 82.6%;
  left: 16.6%;
  width: 3.7%;
  height: 2.6%;
}

.btnback {
  position: absolute;
  top: 82.6%;
  left: 16.6%;
  width: 3.7%;
  height: 2.9%;
}

@media only screen and (max-width: 560px) {
  .btnback {
    top: 82.6%;
    left: 6.5%;
    width: 4.5%;
  }
}

@media only screen and (min-width: 561px) {
  .btnback:hover {
    background-image: url(../images/btn_cyan_back.png);
    background-size: contain;
  }
}

.btn-title-top-left {
  position: absolute;
  left: 22.5%;
  top: 37.8%;
  width: 6%;
  height: 2.5%;
}

@media only screen and (max-width: 560px) {
  .btn-title-top-left {
    left: 13%;
    width: 10%;
  }
}

form-select {
  overflow: auto; /* Enables scrolling */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.character-man-click {
  position: absolute;
  left: 13.2%;
  top: 17%;
  z-index: 1000;
  cursor: pointer;
  width: 6.5%;
  height: 6%;
  padding: 0;
}

@media only screen and (max-width: 560px) {
  .character-man-click {
    left: 3%;
    top: 17.7%;
  }
}

.character-man-click img {
  width: 100%;
  height: auto;
}

.character-woman-click {
  position: absolute;
  left: 80%;
  top: 17%;
  z-index: 1000;
  cursor: pointer;
  width: 6.5%;
  height: 6%;
  padding: 0;
}

@media only screen and (max-width: 560px) {
  .character-woman-click {
    left: 90%;
    top: 17.5%;
  }
}

.character-woman-click img {
  width: 100%;
  height: auto;
}

#img_modal_character {
  width: 250px;
  height: auto;
}

/*------------------------------*/
.assistant-click {
  position: absolute;
  left: 70%;
  top: 62%;
  z-index: 1000;
  width: 11.5%;
  height: 14%;
  padding: 0;
}

@media only screen and (max-width: 560px) {
  .assistant-click {
    top: 62%;
    left: 78%;
  }
}

.assistant-click img {
  width: 100%;
  height: auto;
}

.home_wrapper {
  position: absolute;
  left: 77%;
  top: 11.5%;
  z-index: 1000;
  width: 11%;
  height: 3%;
  text-align: right;
  font-size: 0.9rem;
}

@media only screen and (max-width: 560px) {
  .home_wrapper {
    left: 84%;
    top: 12%;
    font-size: 0.7rem;
    width: 15%;
  }
}

@media only screen and (max-width: 380px) {
  .home_wrapper {
    font-size: 0.6rem;
    width: 15%;
  }
}
.home_wrapper a {
  color: #94755a;
  text-decoration: none;
  font-weight: 600;
}

.date_wrapper {
  position: absolute;
  left: 12%;
  top: 11.5%;
  z-index: 1000;
  width: 23%;
  height: 3%;
  cursor: default;
  font-weight: 600;
  color: #94755a;
  text-align: left;
  font-size: 0.9rem;
}

@media only screen and (max-width: 560px) {
  .date_wrapper {
    left: 1%;
    top: 12%;
    font-size: 0.7rem;
    width: 25%;
  }
}

@media only screen and (max-width: 380px) {
  .date_wrapper {
    font-size: 0.6rem;
    width: 25%;
  }
}

.filter_wrapper {
  position: absolute;
  left: 18.5%;
  top: 62.7%;
  z-index: 1000;
  width: 11%;
  height: 13%;
  cursor: pointer;
}

.filter_wrapper.fw_right {
  left: 70.5%;
}

.filter_wrapper .list-group {
  font-size: 1rem;
  background: none !important;
  border: none !important;
  padding: 0 !important ;
  overflow-y: auto; /* یا scroll */
  height: 100%;
  font-size: 0.9rem;

  /* اسکرول‌بار رو مخفی کن ولی قابلیت اسکرول حفظ بشه */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE و Edge قدیمی */
}

.filter_wrapper button {
  padding: 2px;
  font-size: 14px;
  line-height: 1.2;
  border: none;
  border-bottom: 1px dashed #94755a;
  background: none;
}

@media only screen and (max-width: 560px) {
  .filter_wrapper {
    left: 9.5%;
    top: 62.5%;
    width: 13.8%;
    height: 12.8%;
  }

  .filter_wrapper.fw_right {
    left: 77.2%;
  }

  .filter_wrapper .list-group {
    font-size: 0.7rem;
  }
}

/* .filter_wrapper select::-webkit-scrollbar {
  display: none;
} */

.footer-frosh-clickable {
  cursor: pointer;
  position: absolute;

  top: 83.9%;
  left: 50%;

  width: 11%;
  height: 2.8%;

  font-size: 0.8rem;
  font-weight: bolder;
  color: #ffffff;
  z-index: 1000;

  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

@media only screen and (max-width: 560px) {
  #btnright,
  #btnleft {
    display: none;
  }

  .footer-frosh-clickable {
    width: 13%;
    font-size: 0.8rem;
    top: 83.8%;
  }
}

@media only screen and (max-width: 380px) {
  .footer-frosh-clickable {
    width: 13%;
    font-size: 0.6rem;
    top: 83.8%;
  }
}

#modal_changed_character .modal-dialog {
  width: 350px;
}

@media only screen and (max-width: 560px) {
  #modal_changed_character .modal-dialog {
    width: 200px;
    height: auto;
    margin: 0 auto;
  }

  #img_modal_character {
    width: 150px;
    height: auto;
  }
}
