@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;
}

/* 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;
}

.responsive-image {
  width: 100%;
  height: auto;
  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; /* فعال نگه داشتن کلیک */
}

/*---------------------------------------------------------*/
/*-------------دکمه‌های ناوبری چپ و راست -----------------*/
/*---------------------------------------------------------*/

.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: 44%;
  width: 12%;
  cursor: pointer;
}

.main-click-top {
  top: 43%;
  height: 12%;
  border-radius: 100% 100% 0 0;
}

.main-click-bottom {
  top: 55%;
  height: 23.5%;
}

/*--------------------rosta---------------------*/

.main-item-click {
  position: absolute;
  left: 35%;
  width: 30%;
  cursor: pointer;
}

.main-item-click-top {
  top: 45%;
  height: 26%;
  border-radius: 100% 100% 0 0;
}

.main-item-click-bottom {
  top: 71%;
  height: 8.8%;
}

/*---------------------landig-------------------*/
.landing-center-click {
  position: absolute;
  left: 43.8%;
  width: 12.5%;
  cursor: pointer;
}

.landing-center-click-top {
  top: 43%;
  height: 13%;
  border-radius: 100% 100% 0 0;
}

.landing-center-click-bottom {
  top: 56%;
  height: 22.8%;
}

.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%;
}
/*----------------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;
}

/*--------------------------------------*/
/*--------------------------------------*/
/*--------------------------------------*/

#btnback {
  top: 6%;
  width: 3rem;
  height: 3rem;
}

.btn-title-top-left {
  position: absolute;
  left: 22.5%;
  top: 37.8%;
  width: 6%;
  height: 2.5%;
}

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;
}

.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;
}

.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;
}

.assistant-click img {
  width: 100%;
  height: auto;
}

.home_wrapper {
  position: absolute;
  left: 83.5%;
  top: 11.5%;
  z-index: 1000;
  width: 4.5%;
  height: 3%;
}

.home_wrapper a {
  color: black;
  text-decoration: none;
  font-weight: 600;
}

.date_wrapper {
  position: absolute;
  left: 12%;
  top: 11.5%;
  z-index: 1000;
  width: 12.5%;
  height: 3%;
  cursor: default;
  font-weight: 600;
}

.filter_wrapper {
  position: absolute;
  left: 18.5%;
  top: 62.5%;
  z-index: 1000;
  width: 11%;
  height: 13%;
  cursor: pointer;
}

.filter_wrapper select {
  font-size: 1rem;
  background: none !important;
  border: none !important;
  padding: 0 !important ;
  overflow-y: auto; /* یا scroll */

  /* اسکرول‌بار رو مخفی کن ولی قابلیت اسکرول حفظ بشه */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE و Edge قدیمی */
}

.filter_wrapper select::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.footer-left-clickable {
  font-size: 0.8rem;
  font-weight: bolder;
  color: #826c52;
  position: absolute;
  left: 33.8%;
  top: 81.7%;
  z-index: 1000;
  width: 9.5%;
  height: 2.8%;
  cursor: pointer;
}
