@import url(./fonts.css);
* {
  box-sizing: border-box;
  text-transform: capitalize;
  font-family: Amiri !important;
}

img {
  width: 100%;
}

:root {
  font-size: 16px;
}

.loader {
  width: 100%;
  height: 100vh;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  z-index: 111;
  .spinner {
    width: 40px;
    height: 40px;

    position: relative;
    margin: 100px auto;
    .double-bounce1,
    .double-bounce2 {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background-color: #333;
      opacity: 0.6;
      position: absolute;
      top: 0;
      left: 0;

      -webkit-animation: sk-bounce 2s infinite ease-in-out;
      animation: sk-bounce 2s infinite ease-in-out;
    }

    .double-bounce2 {
      -webkit-animation-delay: -1s;
      animation-delay: -1s;
    }
  }
}

.bigBG {
  position: fixed;
  background-image: url(../img/Quran-bg-big.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: brightness(60%);
  z-index: -1111;
}

.smallBG {
  display: none;
  position: fixed;
  background-image: url(../img/Quran-bg-small.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  inset: 0;
  width: 100vw;
  height: 100vh;
  filter: brightness(60%);
  z-index: -1111;
}

.quran {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;

  #ayah {
    background-image: linear-gradient(#11844154, #014f2254);
    color: #fff;
    letter-spacing: 0.125rem;
    padding: 0.625rem;
    backdrop-filter: blur(10px);
    border-radius: 0.625rem;
  }

  #btn {
    margin-top: 0.625rem;
    border: none;
    border-radius: 50%;
    padding: 0.313rem 0.313rem;
  }
}

/* responsive */

@media screen and (max-width: 1080px) {
  :root {
    font-size: 14px;
  }

  .smallBG {
    display: block;
  }

  .bigBG {
    display: none;
  }
}

/* animations */
@-webkit-keyframes sk-bounce {
  0%,
  100% {
    -webkit-transform: scale(0);
  }
  50% {
    -webkit-transform: scale(1);
  }
}

@keyframes sk-bounce {
  0%,
  100% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }
  50% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}