* {
  padding: 0;
  margin: 0;
}

body {
  direction: rtl;
  font-size: 25px;
  font-family: "Aref Ruqaa", serif;
  width: 100%;
  position: relative;
}

body main {
  width: 100%;
  max-width: 500px;
  margin: auto;
}

img {
  width: 50px;
}

.flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.header {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.header-wrapper {
  width: calc(50% - 10px);
  margin: 10px 0 10px 50%;
  padding-right: 10px;
}

.header h1 {
  margin-bottom: 20px;
  margin-right: 20px;
}

.header h1 span {
  color: orangered;
  font-size: 1.25em;
}

.header .switch-btn {
  background-color: #2c4665; /*edit*/
  width: 150px;
  height: 75px;
  position: relative;
  flex-wrap: nowrap;
  overflow: hidden;
  border: 5px solid #000;
  border-radius: 75px;
  transition: 2s all;
  cursor: pointer;
}

.header .switch-btn div {
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.header .switch-btn .slider-btn {
  background-color: #fff;
  width: 45%;
  height: 90%;
  position: absolute;
  top: 5%;
  border-radius: 50%;
  transition: 1s all;
}

@keyframes right {
  0% {
    right: 52.5%;
  }
  100% {
    right: 2.5%;
  }
}

@keyframes left {
  0% {
    right: 2.5%;
  }
  100% {
    right: 52.5%;
  }
}

.header .switch-btn div img {
  width: 80%;
  height: 80%;
  margin: 10%;
}

#starsOrClouds {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: -10;
}

#starsOrClouds div {
  position: absolute;
  z-index: -10;
}

#starsOrClouds .sun-container,
#starsOrClouds .moon-container {
  width: 100%;
  height: 150px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 500px;
  z-index: -5;
}

#starsOrClouds .sun,
#starsOrClouds .moon {
  width: 150px;
  height: 150px;
  top: 10px;
  left: 0;
  z-index: -5;
}

#starsOrClouds .moon {
  background: url("../assets/imgs/icons/moon-real.png") no-repeat center;
  background-size: contain;
}

#starsOrClouds .stars {
  background: url("../assets/imgs/icons/star.png") no-repeat center;
  background-size: contain;
  width: 15px;
  height: 15px;
  border-radius: 50%;
}

#starsOrClouds .sun {
  background: url("../assets/imgs/icons/sun-real.png") no-repeat center;
  background-size: contain;
}

#starsOrClouds .clouds {
  background: url("../assets/imgs/icons/cloud.png") no-repeat center;
  background-size: contain;
  width: 100px;
  height: 40px;
}

main .importance {
  color: wheat;
  text-align: justify;
  width: calc(90% - 20px);
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 0 10px;
  margin: 0 5%;
  cursor: pointer;
}

main .importance details summary {
  font-size: 1.25em;
  color: gold;
  line-height: 100px;
}

main .importance details ul li {
  display: inline-block;
  margin-bottom: 20px;
}

main #content {
  margin-top: 50px;
}

.zekr {
  color: #fff;
  width: 80%;
  display: grid;
  grid-template-columns: 90px auto;
  grid-template-rows: auto auto;
  grid-template-areas: "do3aa do3aa" "times fadl";
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 2px solid gold;
  border-radius: 20px;
  padding: 0 5%;
  margin: auto;
  margin-bottom: 10px;
}

.blur-bg {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(50px);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.zekr .do3aa {
  color: lightgoldenrodyellow;
  font-size: 1.15em;
  line-height: 55px;
  text-align: justify;
  grid-area: do3aa;
  border-bottom: 3px solid #000;
  padding: 30px 0;
}

.zekr .fadl {
  color: gold;
  line-height: 40px;
  grid-area: fadl;
  margin: 30px 0;
}

.zekr .fadl .dots {
  color: lightgoldenrodyellow;
  cursor: pointer;
  font-weight: 700;
  display: none;
  background-color: transparent;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.zekr .fadl .dots.show {
  display: inline;
}

.zekr .fadl .dots:hover {
  color: lightblue;
  text-decoration: underline;
}

.zekr .times {
  background-color: whitesmoke;
  color: darkorange;
  font-size: 1.5em;
  vertical-align: middle;
  font-weight: 900;
  width: 60px;
  height: 60px;
  grid-area: times;
  position: relative;
  border: 7px solid lightblue;
  border-radius: 50%;
  cursor: pointer;
}

footer {
  width: 100%;
  background-color: #000;
  color: lightgoldenrodyellow;
  text-align: center;
  padding: 10px 0;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
