/* Main.css */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background: var(--background-color);
  color: var(--text-color);
  transition: background 0.8s, color 0.8s;
  font-family: "ply", "Roboto", serif, "Arial", sans-serif;
}

body[dir="rtl"] {
  font-family: "Almarai", "Arial", sans-serif;
}

/* for the loader */
.loader {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader:after {
  content: "";
  width: 40px;
  height: 40px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#mapContainer {
  display: none; /* Initially hide the map container */
}

#content {
  display: none;
}

/* ---- divider between section ----- */
.section_divider {
  width: 120px;
  height: 3px;
  background: orange;
  border: 0;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}
/* -------- */
h1 {
  font-size: 80px;
  font-weight: 800;
  letter-spacing: 7px;
  word-spacing: 5px;
  text-shadow: 15px 0px 10px rgba(0, 0, 0, 0.3);
  margin-top: 140px;
  margin-bottom: 40px;
  color: var(--title-color1);
}
h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 3px;
  word-spacing: 5px;
  margin: 40px 0 20px 0;
  text-align: center;
  -webkit-text-stroke-width: 0px;
  stroke-width: 0px;
  -webkit-text-stroke-color: #000;
  stroke: #000;
  text-shadow: 15px 0px 10px rgba(0, 0, 0, 0.3);
  color: var(--title-color1);
}
h3 {
  font-size: 20px;
  font-weight: 800;
  word-spacing: 5px;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
  color: var(--title-color);
}
h4 {
  font-size: 16px;
  font-weight: 600;
  word-spacing: 5px;
  margin-top: 15px;
  margin-bottom: 20px;
  text-align: center;
  color: var(--title-color);
}
p {
  text-align: justify;
  line-height: 1.6em;
  word-wrap: break-word;
}

/* - Arabic right to left - */
h1[dir="rtl"] {
  letter-spacing: 0;
  word-spacing: 5px;
  font-family: "Almarai", "Arial", sans-serif;
}
h2[dir="rtl"] {
  font-size: 40px;
  letter-spacing: 0;
  word-spacing: 0;
  font-family: "Almarai", "Arial", sans-serif;
}
h3[dir="rtl"] {
  font-size: 25px;
  letter-spacing: 0;
  word-spacing: 0;
  font-family: "Almarai", "Arial", sans-serif;
}
h4[dir="rtl"] {
  font-size: 20px;
  letter-spacing: 0;
  word-spacing: 0;
  font-family: "Almarai", "Arial", sans-serif;
}
p[dir="rtl"] {
  font-size: 20px;
  font-family: "Almarai", "Arial", sans-serif;
}
span[dir="rtl"] {
  font-family: "Almarai", "Arial", sans-serif;
}
a[dir="rtl"] {
  font-family: "Almarai", "Arial", sans-serif;
}
ul[dir="rtl"] {
  font-family: "Almarai", "Arial", sans-serif;
}
div[dir="rtl"] {
  font-family: "Almarai", "Arial", sans-serif;
}

@media only screen and (max-width: 767px) {
  h1 {
    text-shadow: none;
    font-size: 45px;
    font-weight: 600;
    letter-spacing: 2px;
    word-spacing: 3px;
    margin: 80px 0 40px 0;
    overflow: hidden;
  }
  h2 {
    text-shadow: none;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: 2px;
    word-spacing: 3px;
  }
  h3 {
    font-size: 20px;
    font-weight: 600;
    word-spacing: 2px;
  }
  h4 {
    font-size: 16px;
    font-weight: 600;
    word-spacing: 1px;
  }
  p {
    font-size: 14px;
  }
  h2[dir="rtl"] {
    text-shadow: none;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: 0;
    word-spacing: 0;
  }
  h3[dir="rtl"] {
    font-size: 20px;
    font-weight: 600;
    word-spacing: 0;
  }
  h4[dir="rtl"] {
    font-size: 16px;
    font-weight: 600;
    word-spacing: 0;
    line-height: 1.5;
  }
  p[dir="rtl"] {
    font-size: 14px;
  }
}
