@import url(./fonts.css);

:root {
  font-size: 16px;
}

* {
  box-sizing: border-box;
  text-transform: capitalize !important;
  font-family: Amiri !important;
}

body {
  background-color: #000;
}

.bigBG {
  position: fixed;
  background-image: url(../img/azkar-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/azkar-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;
}

.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;
    }
  }
}

.azkarBtns {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  justify-content: center;
  align-items: center;
  gap: 0.625rem;

  button {
    border: none;
    border-radius: 0.625rem;
    padding: 0.313rem 0.625rem;
  }
}

.zekrContainer {
  position: fixed;
  inset: 0;
  height: 100%;
  width: 100%;
  background-color: #00000072;

  .inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #1e1e1ec9;
    padding: 1.25rem;
    border-radius: 0.625rem;
    color: #fff;
    justify-content: center;
    align-items: center;

    .header {
      text-align: center;
      margin: 1.25rem 0rem;

      h3 {
        display: inline;
      }

      .closeBtn {
        float: inline-end;
        cursor: pointer;
      }
    }

    .content {
      text-align: center;
      margin: 1.25rem 0px;
      justify-content: center;
      align-items: center;
      align-content: center;

      .nav {
        img {
          margin: auto;
          width: 30%;
          cursor: pointer;
        }
      }
    }
  }
}

/* responsive */
@media screen and (max-width: 1080px) {
  :root {
    font-size: 14px;
  }

  .smallBG {
    display: block;
  }

  .bigBG {
    display: none;
  }

  .zekrContainer {
    .inner {
      .content {
        .nav {
          img {
            margin: auto;
            width: 100%;
            cursor: pointer;
          }
        }
      }
    }
  }
}

/* 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);
  }
}
