:root {
  --primary-color: slategrey;
}

.carousel-container {
  overflow: hidden;
  max-width: 100%;
  height: auto;
  margin-top: 100px !important;
  position: relative;
  box-shadow: 0 0 30px -20px #223344;
  margin: auto;
  z-index: 0;
}

/* Hide the images by default */
.mySlides {
  display: none;
}
.mySlides img {
  display: block;
  width: 100%;
}

/* image gradient overlay [optional] */
/*  .mySlides::after {
  content: "";
  position: absolute;
  inset: 0;
    background-image: linear-gradient(-45deg, rgba(110, 0, 255, .1), rgba(70, 0, 255, .2));
} */

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  width: auto;
  padding: 20px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  border-radius: 0 8px 8px 0;
  background: rgba(173, 216, 230, 0.1);
  user-select: none;
}
.next {
  left: 0 !important;
  border-radius: 0 8px 8px 0;  
}
.prev {
  right: 0 !important;
  border-radius: 8px 0 0 8px;
}
.prev:hover,
.next:hover {
  background-color: rgba(173, 216, 230, 0.3);
}

/* Caption text */
.carousel-container .text {
  color: #f2f2f2;
  background-color: rgba(10, 10, 20, 0.1);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  font-size: 20px;
  padding: 8px 12px;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%);
  text-align: center;
}

.carousel-container .text_quran {
  color: #f2f2f2;
  background-color: rgba(10, 10, 20, 0.1);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  font-size: 20px;
  padding: 8px 12px;
  position: absolute;
  top: 67%;
  right: 14.5%;
  transform: translate(-50%);
  text-align: center;
}

.carousel-container .text_quran .quran {
  width: auto;
  height: 50px;
  line-height: 45px;
  padding-right: 15px;
  padding-left: 15px;
  text-align: center;
  color: #f2f2f2;
  background: #223344;
  border: 1px solid #111;
  z-index: 99999999999999999999999;
  left: 39%;
  font-family: 'Co-Headline-Regular';
  cursor: pointer;
}
.carousel-container .text_quran .quran:hover {
  color: #f2f2f2;
  background: #1a2938;
  border: 1px solid #111;
}

/* Number text (1/3 etc) */
.number {
  color: #f2f2f2;
  font-size: 16px;
  background-color: rgba(173, 216, 230, 0.15);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  padding: 8px 12px;
  position: absolute;
  top: 10px;
  left: 10px;
}
.dots-container {
  position: absolute;
  bottom: 95px;
  left: 5%;
  padding: 5px;
  padding-right: 15px;
  padding-left: 15px;
  transform: translate(-50%);
  background-color: #223344;
  backdrop-filter: blur(6px);
  border-radius: 10px;
  padding: 8px 12px;
}

/* The dots/bullets/indicators */
.dots {
  cursor: pointer;
  height: 14px;
  width: 14px;
  margin: 0 4px;
  background-color: rgba(173, 216, 230, 0.2);
  backdrop-filter: blur(2px);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.dots:hover {
  background-color: rgba(173, 216, 230, 0.8);
}

/* transition animation */
.animate {
  -webkit-animation-name: animate;
  -webkit-animation-duration: 1s;
  animation-name: animate;
  animation-duration: 2s;
}

@keyframes animate {
  from {
    transform: scale(1.1) rotateY(10deg);
  }
  to {
    transform: scale(1) rotateY(0deg);
  }
}







/************
1. 3840px
************/

@media only screen and (max-width: 3840px) {
  .carousel-container .text_quran {
    right: 25.9%;
  }
}


/************
1. 1920px
************/

@media only screen and (max-width: 1920px) {
  .carousel-container .text_quran {
    right: 19.8%;
  }
}

/************
1. 1600px
************/

@media only screen and (max-width: 1600px) {
  .carousel-container .text_quran {
    right: 17.4%;
  }
}

/************
2. 1440px
************/

@media only screen and (max-width: 1440px) {
  .carousel-container .text_quran {
    right: 15.3%;
  }
}


/************
3. 1366px
************/

@media only screen and (max-width: 1366px) {
  .carousel-container .text_quran {
    right: 14.5%;
  }
}


/************
3. 1280px
************/

@media only screen and (max-width: 1280px) {
  .carousel-container .text_quran {
    right: 13.1%;
  }
}

/************
4. 1199px
************/

@media only screen and (max-width: 1199px) {
  .carousel-container .text_quran {
    right: 12%;
  }
}


/************
4. 1112px
************/

@media only screen and (max-width: 1112px) {
  .carousel-container .text_quran {
    right: 10.3%;
  }
}

/************
4. 1100px
************/

@media only screen and (max-width: 1100px) {

}

/************
5. 1024px
************/

@media only screen and (max-width: 1024px) {
  .carousel-container .text_quran {
    right: 8.5%;
  }
}

/************
6. 991px
************/

@media only screen and (max-width: 991px) {
  .carousel-container .text_quran {
    right: 7.9%;
  }
}


@media only screen and (max-width: 960px) {
}


/************
7. 950px
************/

@media only screen and (max-width: 950px) {
  .carousel-container .text_quran {
    right: 7%;
  }
}


/************
7. 900px
************/

@media only screen and (max-width: 900px) {
  .carousel-container .text_quran {
    right: 5.5%;
  }
}


/************
8. 896px
************/

@media only screen and (max-width: 896px) {


}




@media only screen and (max-width: 880px) {
  .carousel-container .text_quran {
    right: 5%;
  }
  .dots-container {
    bottom: 8% !important;
    left: 10% !important;
    display: none !important;
  }
}

@media only screen and (max-width: 812px) {
  .carousel-container .text_quran {
    right: 2.5%;
  }
  .dots-container {
    left: 5.5%;
  }
}

@media only screen and (max-width: 768px) {
  .carousel-container .text_quran {
    right: 0.5%;
  }
  .carousel-container .text {
    display: none !important;
  }
}

@media only screen and (max-width: 736px) {
  .carousel-container .text_quran {
    right: 0%;
  }
  .dots-container {
    left: 6%;
  }
}

@media only screen and (max-width: 667px) {
  .carousel-container .text_quran .quran {
    width: 190px !important;
    font-size: 15px;
  }
  .dots-container {
    left: 6.8%;
  }
}

@media only screen and (max-width: 600px) {
  .carousel-container .text_quran .quran {
    width: 170px !important;
    font-size: 14px;
    padding: 0px;
  }
  .dots-container {
    left: 7.5%;
  }
}

@media only screen and (max-width: 575px) {
  .carousel-container .text_quran .quran {
    width: 160px !important;
    font-size: 13px;
  }
  .dots-container {
    left: 7.8%;
  }
}

@media only screen and (max-width: 539px) {
  .carousel-container .text_quran .quran {
    width: 148px !important;
    font-size: 13px;
  }
  .dots-container {
    left: 8.5%;
  }
}

@media only screen and (max-width: 496px) {
  .carousel-container .text_quran .quran {
    width: 135px !important;
    font-size: 12px;
  }

  .dots-container {
    left: 9%;
  }
}

@media only screen and (max-width: 480px) {
  .carousel-container .text_quran .quran {
    width: 130px !important;
    font-size: 12px;
  }

  .dots-container {
    left: 9.5%;
  }
}

@media only screen and (max-width: 428px) {
  .carousel-container .text_quran .quran {
    width: auto !important;
    height: 35px !important;
    line-height: 30px !important;
    font-size: 11px;
    padding-right: 5px;
    padding-left: 5px;
  }
  .dots-container {
    left: 11.4%;
  }
}

@media only screen and (max-width: 384px) {
  .carousel-container .text_quran {
    width: 150px;
    top: 60% !important;
    right: auto !important;
    left: 35.5% !important;
  }
  .carousel-container .text_quran .quran {
    width: 125px !important;
    right: 0px !important;
  }
  .dots-container {
    left: 12%;
  }
}

@media only screen and (max-width: 360px) {
  .dots-container {
    left: 13%;
  }
}

@media only screen and (max-width: 320px) {
  .dots-container {
    left: 14%;
  }
}