@font-face {
  font-family: "Vazir Bold";
  src: url("/vazir-font-v16.1.0/Vazir-Bold.woff2");
}
@font-face {
  font-family: "Vazir Light";
  src: url("/vazir-font-v16.1.0/Vazir-Light.woff");
}
@font-face {
  font-family: "Vazir Thin";
  src: url("/vazir-font-v16.1.0/Vazir-Thin.woff2");
}
* {
  margin: 0;
}
body,
html {
  direction: rtl;
  overflow-x: hidden;
  overflow-y: auto;
}
.desktop-header {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  position: fixed;
  width: 100%;
  top: 0;
  height: 80px;
  background-color: white;
  z-index: 10;
}
.desktop-header img {
  width: 50px;
  height: 50px;
  margin-left: 20px;
}
.name {
  font-family: "Vazir Bold";
}
header a {
  color: #050505;
  text-decoration: none;
  font-family: "Vazir Light";
  transition: all ease-in-out 0.3s;
}
header a:hover {
  color: #fec82f;
}
.hover-wrapper {
  position: relative;
}
.hidden1 a {
  display: inline-block;
  margin-top: 30px;
  margin-bottom: 30px;
}
.hidden1 {
  direction: ltr;
  position: absolute;
  top: 0px;
  background-color: white;
  padding: 10px 50px;
  border-radius: 16px;
  opacity: 0;
  visibility: hidden;
  transition: top 0.3s ease, opacity 0.3s ease, visibility 0s linear 0.3s;
  z-index: 11;
  left: -50px;
}
.hiddenN {
  position: absolute;
  background-color: white;
  border-radius: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  z-index: 10;
  margin-left: 100px;
  top: 0;
  direction: rtl;
  width: 200px;
  padding: 10px 20px;
  box-shadow: 1px 1px 10px #fec82f;
}
.hiddenB {
  position: absolute;
  background-color: white;
  border-radius: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  z-index: 10;
  margin-left: 100px;
  top: 50px;
  direction: rtl;
  width: 200px;
  padding: 10px 20px;
  box-shadow: 1px 1px 10px #fec82f;
  display: flex;
  flex-direction: column;
}
.H-N:hover .hiddenB {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}
.H-N:hover .hiddenN {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}
.hover-wrapper:hover .hidden1 {
  opacity: 1;
  visibility: visible;
  top: 22px;
  transition: top 0.3s ease, opacity 0.3s ease;
}

.advice {
  background-color: #405171;
  color: white;
  font-family: "Vazir Light";
  border: none;
  border-radius: 8px;
  padding: 5px 25px;
  cursor: pointer;
}
.main-slider {
  background-color: #405171;
  width: 100%;
  display: flex;
  height: 600px;
  justify-content: space-evenly;
  margin-top: 80px;
}
.sliderinfo {
  margin-top: 15%;
}
.sliderinfo h2 {
  font-family: "Vazir Bold";
  color: #ffffff;
}
.sliderinfo p {
  font-family: "Vazir Light";
  color: #ffffff;
}

.sliderimage {
  position: relative;
  width: 30%;
  height: 500px;
  margin-top: 50px;
  overflow: hidden;
  border-radius: 16px;
}

.sliderimage img {
  position: absolute;
  inset: 0;
  width: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}

.sliderimage img.active {
  opacity: 1;
}

.slidernumber {
  background-color: rgba(255, 255, 255, 0.8);
  position: absolute;
  bottom: 0;
  right: 18%;
  transform: translateX(-50%);
  width: 120px;
  padding: 10px 20px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px;
}

.slidernumber button {
  border: none;
  background: none;
  font-size: 24px;
  cursor: pointer;
  color: #2f4466;
}

.slidernumber p {
  margin: 0;
  font-size: 14px;
  color: #2f4466;
}
.slidernumber button {
  border: none;
  background-color: #ffffff;
  font-family: "Vazir Light";
  font-size: larger;
}
.slidernumber p {
  font-family: "Vazir Light";
}
.popup {
  position: fixed;
  background-color: #405171;
  width: 70vw;
  height: 50vh;
  text-align: center;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(0px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s ease;
  z-index: 10;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  overflow: scroll;
  border-radius: 18px;
}
.popup.active {
  opacity: 1;
  pointer-events: auto;
  top: 50%;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 5;
  transition: all ease 0.5s;
}
.overlay.active {
  display: block;
  opacity: 1;
}
table {
  border-spacing: 40px;
  border-collapse: separate;
}
th {
  font-family: "Vazir Bold";
  color: #fec82f;
}
td {
  font-family: "Vazir Thin";
  color: #fec82f;
}
.overview h2 {
  font-family: "Vazir Bold";
  text-align: center;
}
.overview {
  padding: 5% 0%;
}

.overview-S {
  display: flex;
  background-color: #dbe4e0;
  border-radius: 20px;
  justify-content: space-evenly;
  width: 90%;
  padding: 10px 30px;
  margin: 10px 50px;
}
.overview-S h4 {
  font-family: "Vazir Bold";
}
.overview-S p {
  font-family: "Vazir Light";
}
.random {
  text-align: center;
  margin: 30px 20%;
  font-family: "Vazir Light";
}
.B-colors-maindiv {
  background-color: #f2f0e9;
  display: flex;
  padding: 2% 5%;
  width: 80%;
  border-radius: 16px;
  margin-right: 5%;
  margin-top: 10%;
}
.colors-info {
  margin-top: 13%;
}
.B-colors-maindiv h3 {
  font-family: "Vazir Bold";
}
.B-colors-maindiv p {
  font-family: "Vazir Light";
}
.color {
  padding: 10px;
  width: 10px;
  border-radius: 5rem;
  height: 10px;
  cursor: pointer;
}
.colors-CH {
  display: flex;
  width: 50%;
  justify-content: space-evenly;
  align-items: center;
  margin-right: 150px;
}
.colors {
  position: relative;
}
.colors img {
  top: 0;
  left: 0;
  transition: opacity 0.4s ease;
}
.notactive {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.lifestyle h2 {
  font-family: "Vazir Bold";
}
.lifestyle p {
  font-family: "Vazir Light";
  width: 900px;
}
.lifestyle {
  margin: 0 5%;
}
.info {
  margin-top: 50px;
  display: flex;
}
.info img {
  width: 40vw;
  border-radius: 18px;
  height: 50vh;
  transition: opacity ease 0.4s;
}
.information {
  margin-right: 50px;
}
.information .box {
  background-color: #dfe1e7;
  padding: 20px 15px;
  border-radius: 18px;
  width: 70%;
  margin-top: 20px;
  cursor: pointer;
}
.colorname {
  text-align: center;
}
.information h4 {
  font-family: "Vazir Bold";
}

.content {
  max-height: 500px;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 1;
}

.nap {
  max-height: 0;
  opacity: 0;
}
.nai {
  position: absolute;
  opacity: 0;
}
.appinfo h2 {
  font-family: "Vazir Bold";
}
.app h3 {
  font-family: "Vazir Bold";
}
.appdiv {
  background-color: #f2f0e9;
  padding: 4% 40px;
  margin-top: 3%;
  border-radius: 24px;
}
.app {
  background-color: white;
  border-radius: 19px;
  padding: 3% 2%;
  margin-top: 30px;
}
.app div img {
  width: 40%;
}
.app div {
  display: flex;
}
footer {
  font-family: "Vazir Bold";
  text-align: center;
  margin-top: 80px;
}
footer a {
  text-decoration: none;
  color: black;
  transition: all ease 0.4s;
}
footer a:hover {
  color: #14824b;
  transition: all ease 0.4s;
}
@media screen and (max-width: 913px) {
  .desktop-header {
    display: none;
  }
  .mobile-header {
    display: block;
  }
  .menu {
    width: 100%;
    height: 0; /* در حالت بسته */
    position: fixed;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-y: hidden;
    transition: 0.5s;
    text-align: center;
    z-index: 11;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
  }

  .menu a {
    display: block;
    padding: 12px;
    text-decoration: none;
    font-size: 20px;
    color: #f1f1f1;
    transition: 0.3s;
  }

  .menu a:hover {
    background: #575757;
  }

  .menu .close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 36px;
    color: white;
  }

  .open-btn {
    font-size: 20px;
    cursor: pointer;
    padding: 10px 15px;
    background: #efefef;
    color: #3f1482;
    border-radius: 5px;
    margin: 20px;
    display: flex;
    width: 70px;
  }

  .content {
    padding: 20px;
  }
  .main-slider {
    display: block;
    padding-top: 10%;
    padding-right: 8%;
  }
  .sliderimage {
    margin-right: 15%;
    margin-top: 20%;
    position: relative;
    width: 50%;
    margin-top: 50px;
    border-radius: 16px;
  }
  .sliderimage img {
    position: relative;
  }
  .slidernumber {
    background-color: black;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
    width: 300px;
  }
  .overview-S {
    display: flex;
    flex-direction: column;
    height: 400px;
    background-color: #dbe4e0;
    border-radius: 20px;
    justify-content: space-evenly;
    width: 90%;
    margin-right: 0;
  }
  .colors img {
    width: 40vw;
    top: 0;
    left: 0;
    right: 0px;
    transition: opacity 0.4s ease;
    margin-right: 80px;
  }
  .B-colors-maindiv {
    background-color: #f2f0e9;
    display: block;
    padding: 2% 5%;
    width: 80%;
    border-radius: 16px;
    margin-right: 5%;
    margin-top: 10%;
    height: 50vh;
  }
  .colors-CH {
    position: absolute;
    right: -85px;
    margin-top: -20px;
  }
  .notactive {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  .colors {
    width: 100vw;
  }
  .color {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    cursor: pointer;
  }

  .colorname {
    margin-top: 80px;
    margin-left: 80px;
    text-align: center;
  }
  .lifestyle h2 {
    font-family: "Vazir Bold";
  }
  .lifestyle p {
    font-family: "Vazir Light";
    width: 90vw;
  }
  .info {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
  }
  .info img {
    display: none;
  }
  .information .box {
    background-color: #dfe1e7;
    padding: 20px 15px;
    border-radius: 18px;
    width: 90%;
    margin-top: 20px;
    cursor: pointer;
  }
  .information {
    margin-right: 0px;
  }
  .app div {
    display: flex;
    flex-direction: column;
  }
  .app div img {
    width: 80%;
    margin-right: 30px;
  }
  .app p {
    width: 60vw;
  }
}
