@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@100;200;300;400;500;600;700&family=Open+Sans:wght@300;400;500;600;700&family=Poppins:wght@100;200;300;400;500;600;700&family=Roboto:wght@100;300;400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'poppins', sans-serif;
}

@font-face {
  font-family: 'Al Qalam';
  src: url('/assets/fonts/Al_Qalam_Quran.ttf'); /* IE9 Compat Modes */
  src: url('/assets/fonts/Al_Qalam_Quran.ttf?#iefix')
      format('embedded-opentype'),
    /* IE6-IE8 */ url('/assets/fonts/Al_Qalam_Quran.ttf') format('woff2'),
    /* Super Modern Browsers */ url('/assets/fonts/Al_Qalam_Quran.ttf')
      format('woff'),
    /* Pretty Modern Browsers */ url('/assets/fonts/Al_Qalam_Quran.ttf')
      format('truetype'),
    /* Safari, Android, iOS */
      url('/assets/fonts/Al_Qalam_Quran.ttf#svgFontName') format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: 'Hafs';
  src: url('/assets/fonts/Hafs.ttf'); /* IE9 Compat Modes */
  src: url('/assets/fonts/Hafs.ttf?#iefix') format('embedded-opentype'),
    /* IE6-IE8 */ url('/assets/fonts/Hafs.ttf') format('woff2'),
    /* Super Modern Browsers */ url('/assets/fonts/Hafs.ttf') format('woff'),
    /* Pretty Modern Browsers */ url('/assets/fonts/Hafs.ttf')
      format('truetype'),
    /* Safari, Android, iOS */ url('/assets/fonts/Hafs.ttf#svgFontName')
      format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: 'Quranic';
  src: url('/assets/fonts/MUHAMMADI\ QURANIC\ FONT.ttf'); /* IE9 Compat Modes */
  src: url('/assets/fonts/MUHAMMADI\ QURANIC\ FONT.ttf?#iefix')
      format('embedded-opentype'),
    /* IE6-IE8 */ url('/assets/fonts/MUHAMMADI\ QURANIC\ FONT.ttf')
      format('woff2'),
    /* Super Modern Browsers */
      url('/assets/fonts/MUHAMMADI\ QURANIC\ FONT.ttf') format('woff'),
    /* Pretty Modern Browsers */
      url('/assets/fonts/MUHAMMADI\ QURANIC\ FONT.ttf') format('truetype'),
    /* Safari, Android, iOS */
      url('/assets/fonts/MUHAMMADI\ QURANIC\ FONT.ttf#svgFontName')
      format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: 'Quran Sura';
  src: url('/assets/fonts/Quran_Sura.otf'); /* IE9 Compat Modes */
  src: url('/assets/fonts/Quran_Sura.otf') format('embedded-opentype'),
    /* IE6-IE8 */ url('/assets/fonts/Quran_Sura.otf') format('woff2'),
    /* Super Modern Browsers */ url('/assets/fonts/Quran_Sura.otf')
      format('woff'),
    /* Pretty Modern Browsers */ url('/assets/fonts/Quran_Sura.otf')
      format('truetype'),
    /* Safari, Android, iOS */ url('/assets/fonts/Quran_Sura.otf#svgFontName')
      format('svg'); /* Legacy iOS */
}

a {
  text-decoration: none;
  color: #000000;
}

li {
  list-style-type: none;
}

:root {
  --primary: #2ca4ab;
  --secondary: #258c91;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background-color: white;
  scroll-padding-top: 14rem;
}

body.active::-webkit-scrollbar {
  appearance: none;
  -webkit-appearance: none;
  display: none;
  transition: 0.3s ease-in-out;
}

/* header */

.header__main {
  width: 100%;
  background-color: white;
  z-index: 1000;
  transform: translateY(0%);
  transition: transform 0.5s ease-in-out;
}

.header__main.hide {
  width: 100%;
  position: fixed;
  transform: translateY(-67%);
}

.header__main.hide .top__header .surah__header {
  padding-bottom: 0;
}

.header__main.hide .top__header .surah__header .surah__right__header {
  display: none;
}

.header {
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 2rem;
}

.header.top__fixed {
  position: fixed;
  width: 100%;
  transition: 0.3s;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 0.1rem 0.3rem;
  z-index: 1000;
}

.header.hide {
  position: absolute;
  width: 100%;
  top: -110%;
  animation: slideIn 0.5s forwards linear;
}

.header__main .top__header .surah__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.7rem;
  padding-bottom: 0.5rem;
}

.header__main .top__header {
  /* transition: 0.3s; */
  background-color: white;
}

/* .header__main .top__header.active {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 0.5rem 0 0 0;
  animation: slideIn 0.5s;
} */

@keyframes slideIn {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0%);
  }
}

.header__main .top__header .surah__header .surah__left__header {
  display: flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
}

.header__main .top__header .surah__header .surah__left__header p {
  font-size: 1rem;
  font-weight: 600;
}

.header__main .top__header .surah__progress {
  background-color: #ededed;
  width: 100%;
  height: 3px;
  position: relative;
}

.header__main .top__header .surah__progress .surah__progress__full {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: #258c91;
}

.header .left__side__container {
  display: flex;
  align-items: center;
}

.header .left__side__container #menu {
  font-size: 1.4rem;
  /* width: 2.3rem;
  height: 2.3rem; */
  padding: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

.header .left__side__container #menu:hover {
  background-color: #cccccc;
}

.header .left__side__container a {
  display: flex;
  align-items: center;
}

.header .left__side__container img {
  width: 6.5rem;
  margin-inline-start: 1px;
}

.header .right__side__container {
  display: flex;
  align-items: center;
}

.header .right__side__container li {
  margin-inline-start: 2px;
  /* width: 2.3rem;
  height: 2.3rem; */
  padding: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.header .right__side__container li:hover {
  background-color: #cccccc;
}

.header .right__side__container li i {
  font-size: 1.2rem;
}

/* hero */
.hero {
  width: 100%;
  height: 70vh;
  z-index: 999;
}

.hero .hero__play {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero .hero__play .random__ayah__btn {
  display: flex;
  align-items: center;
  margin-top: 1rem;
  margin-right: 2.5rem;
  padding: 0.5rem;
  outline: none;
  border: none;
  background-color: transparent;
  font-size: 0.9rem;
  font-weight: 500;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

.hero .hero__play .random__ayah__btn i {
  margin-inline-end: 5px;
  font-size: 1.5rem;
}

.hero .hero__play .random__ayah__btn:hover {
  background-color: #167076;
}

.hero__container {
  width: 100%;
  /* position: absolute;
  top: 53%;
  left: 49.5%;
  transform: translate(-50%, -50%); */
  /* margin-top: 0.5rem; */
  /* padding: 0 1rem; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero .hero__container .hero__img .image {
  width: 16rem;
  fill: white;
  margin-bottom: 2.5rem;
}

.hero .hero__input__search {
  background-color: white;
  border-radius: 500px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.4rem;
  width: 50rem;
  max-width: 95%;
  height: 4.1rem;
  cursor: pointer;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  transition: 0.25s ease-in-out;
}

.hero .hero__input__search:hover {
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.hero .hero__input__search:hover .left__side__search p {
  color: #000000;
}

.hero .hero__input__search .left__side__search {
  display: flex;
  align-items: center;
}

.hero .hero__input__search .left__side__search i {
  color: #b3b3b3;
  font-size: 1.3rem;
  margin-inline-end: 10px;
  font-weight: 600;
}

.hero .hero__input__search .left__side__search p {
  color: #6b7274;
}

.hero .hero__input__search .right__side__search {
  display: flex;
  align-items: center;
}

.hero .hero__input__search .right__side__search i {
  color: #2ca4ab;
  font-size: 1.3rem;
}

.hero .hero__input__search .right__side__search .shrt__key__search {
  outline: 1px solid #ebeef0;
  border: none;
  background-color: transparent;
  margin-inline-end: 1.3rem;
  padding: 4px 7px;
  border-radius: 3px;
  color: #6b7274;
  cursor: pointer;
}

/* Search Popup */
.search__popup__overlay {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.9);
  transition: 0.35s ease-in-out;
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
}

.search__popup__overlay.active {
  opacity: 1;
  visibility: visible;
  z-index: 1000;
}

.search__popup {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background-color: white;
  width: 40rem;
  max-width: calc(100% - 2rem);
  min-height: 25rem;
  border-radius: 10px;
  padding: 1rem;
  height: 50vh;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  transition-delay: 0.25s;
  transition: 0.35s ease-in-out;
}

.search__popup__overlay.active .search__popup {
  transform: translateX(-50%) scale(1);
}

.search__popup .search__frm {
  width: 100%;
  /* margin-bottom: 1rem; */
  position: relative;
}

.search__popup .search__frm i {
  font-size: 1.3rem;
  font-weight: 600;
  color: #a8a7a7;
}

.search__popup .search__frm .search__btn {
  position: absolute;
  top: 35%;
  left: 0;
  transform: translateY(-50%);
  cursor: pointer;
}

.search__popup .search__frm .mic__btn {
  position: absolute;
  top: 35%;
  right: 0;
  transform: translateY(-50%);
  cursor: pointer;
}

.search__popup .history .title {
  font-size: 0.7rem;
  margin-top: 1rem;
  margin-bottom: 0.7rem;
  opacity: 0.7;
}

.search__popup .history ul {
  max-height: 16rem;
  overflow-y: auto;
}

.search__popup .history ul li {
  /* background-color: #f3f4f5; */
  display: flex;
  align-items: center;
  padding: 0.7rem;
  margin-right: 0.3rem;
  margin-bottom: 0.3rem;
  cursor: pointer;
  user-select: none;
  border-radius: 7px;
  transition: 0.25s ease-in-out;
  color: #6b6a6a;
}

.search__popup .history ul li i {
  margin-right: 1rem;
  opacity: 0.6;
  transition: 0.25s ease-in-out;
}

.search__popup .history ul li:hover {
  background-color: #f3f4f5;
  color: #333;
}

.search__popup .history ul li:hover i {
  opacity: 1;
}

.search__popup .search__frm input {
  display: block;
  width: 100%;
  padding: 10px 2rem;
  padding-bottom: 1.5rem;
  outline: none;
  border: none;
  border-bottom: 1px solid silver;
  font-size: 1.3rem;
}

.search__popup .search__frm input::placeholder {
  color: #a3a0a0;
}

.search__popup .search__frm input:is(:valid, :focus) {
  color: #6b6a6a;
}

.hero .hero__tags {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.hero .hero__tags a {
  background-color: white;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  margin: 0 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #2e2727;
}

.hero .hero__tags a:hover {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.hero .hero__tags a:hover {
  color: #6b7274;
}

/* sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0%;
  transform: translateX(-120%);
  width: 24rem;
  height: 100vh;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  transition: transform 0.3s ease-in-out;
  z-index: 1001;
}

.sidebar.active {
  transform: translateX(0%);
}

.sidebar .top__section {
  padding: 0.5rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ebeef0;
}

.sidebar .top__section img {
  width: 6.5rem;
}

.sidebar .top__section #close__sidebar {
  padding: 10px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
}

.sidebar .top__section #close__sidebar:hover {
  background-color: #cccccc;
}

.sidebar .donor__container {
  background-color: #ebf9fa;
  padding: 1rem 1.5rem 2rem 1.5rem;
  border-radius: 5px;
}

.sidebar .bottom__section {
  padding: 1.1rem 1.2rem;
  height: 90.8vh;
  overflow-y: auto;
}

.sidebar .bottom__section .donor__container .donor__title {
  font-size: 1rem;
  font-weight: 600;
  color: #258c91;
  margin: 1rem 0;
}

.sidebar .bottom__section .donor__container .donor__desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #258c91;
  margin-bottom: 1rem;
}

.sidebar .bottom__section .donor__container .donor__btns button {
  padding: 10px 1rem;
  outline: none;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.87rem;
  cursor: pointer;
}

.sidebar .bottom__section .donor__container .donor__btns .btn__donate {
  background-color: #2ca4ab;
  color: white;
}

.sidebar .bottom__section .donor__container .donor__btns .btn__donate:hover {
  background-color: transparent;
  color: #2ca4ab;
  outline: 1px solid #2ca4ab;
}

.sidebar .bottom__section .donor__container .donor__btns .btn__learn__more {
  border: 1px solid #2ca4ab;
  color: #2ca4ab;
}

.sidebar
  .bottom__section
  .donor__container
  .donor__btns
  .btn__learn__more:hover {
  outline: none;
  background-color: #2ca4ab;
  color: white;
}

.sidebar .col__menu {
  margin: 1.5rem 0;
}

.sidebar .col__menu .col__menu__title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.sidebar .col__menu ul {
  margin-top: 0.5rem;
  border-top: 1px solid #ebeef0;
}

.sidebar .col__menu ul li {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ebeef0;
  padding: 10px 0;
  font-size: 0.93rem;
  cursor: pointer;
  position: relative;
}

.sidebar .col__menu ul li a {
  display: flex;
  align-items: center;
  color: #000000;
}

.sidebar .col__menu ul li #arrow {
  position: absolute;
  right: 5px;
}

.sidebar .col__menu ul li:hover i {
  color: #000000;
}

.sidebar .col__menu ul li i {
  margin-inline-end: 10px;
  color: #f2f2f2;
  font-weight: 600;
  font-size: 1.2rem;
}

/* search form */
.search__form {
  position: fixed;
  top: 0;
  right: 0%;
  width: 24rem;
  height: 100vh;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  transition: transform 0.3s ease-in-out;
  z-index: 1002;
  transform: translateX(120%);
}

.search__form.active {
  transform: translateX(0%);
}

.search__form .input__field {
  background-color: white;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ebeef0;
}

.search__form .input__field i {
  font-size: 1.2rem;
  cursor: pointer;
}

.search__form .input__field #search__icon {
  font-weight: 600;
}

.search__form .input__field input {
  width: 100%;
  margin: 0 0.5rem;
  padding: 10px;
  outline: none;
  border: none;
  font-size: 1rem;
}

.search__form .input__field .mic {
  color: #2ca4ab;
}

.search__form .input__field #close__search__form {
  margin-inline-start: 1rem;
  padding: 10px;
  border-radius: 50%;
  font-size: 1.5rem;
}

.search__form .input__field #close__search__form:hover {
  background-color: #cccccc;
}

.search__form .search__col {
  padding: 0 0.7rem;
  margin: 1rem 0;
}

.search__form .search__col .search__col__title {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.search__form .search__col ul {
  margin-top: 0.5rem;
  border-top: 1px solid #ebeef0;
}

.search__form .search__col ul li {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ebeef0;
  padding: 10px 0;
  font-size: 0.93rem;
  cursor: pointer;
}

.search__form .search__col ul li:hover i {
  color: #000000;
}

.search__form .search__col ul li i {
  margin-inline-end: 10px;
  color: #f2f2f2;
  font-weight: 600;
  font-size: 1.2rem;
}

/* main */
.main {
  padding: 2rem 8%;
}

/* recent */
.main .recent__read__container .title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.main .recent__read__container {
  width: 100%;
  padding: 1rem 0;
  margin-bottom: 1.5rem;
}

.main .recent__read__container .surah__list {
  display: flex;
  gap: 1rem;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.main .recent__read__container .surah__list::-webkit-scrollbar {
  appearance: none;
}

.main .recent__read__container .surah__list .surah__card {
  border: 1px solid #ebeef0;
  padding: 1rem;
  width: 13rem;
  height: 16rem;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  /* white-space: nowrap; */
}

.main .recent__read__container .surah__card:hover {
  background-color: #f8f9fa;
  border: 1px solid #2ca4ab;
}

.main .recent__read__container .surah__card .surah__name {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
}

.main .recent__read__container .surah__card .surah__name p {
  font-size: 0.9rem;
  font-weight: 600;
  width: 85%;
  color: #666666;
}

.main .recent__read__container .surah__card .surah__name span {
  font-weight: 600;
  color: #000000;
}

.main .recent__read__container .surah__card .surah__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.3rem;
}

.main .recent__read__container .surah__card .surah__arabic {
  background-color: #f8f9fa;
  height: 5.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.main .recent__read__container .surah__card .surah__arabic p {
  font-family: 'Quran Sura', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
}

.main .recent__read__container .surah__card .surah__arabic span {
  font-size: 0.7rem;
}

/* bookmark */
.main .bookmark__container {
  margin: 1.5rem 0;
}

.main .bookmark__container .title {
  font-size: 1rem;
  padding-bottom: 0.2rem;
  cursor: pointer;
  border: none;
  outline: none;
  background-color: transparent;
  position: relative;
}

.main .bookmark__container .title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #272727;
}

.main .bookmark__container .bookmark__item__list {
  border-top: 1px solid #ebeef0;
  padding: 1.5rem 0 0.7rem 0;
  display: flex;
  gap: 1rem;
  overflow: auto;
}

.main .bookmark__container .bookmark__item__list::-webkit-scrollbar {
  appearance: none;
  height: 5px;
}

.main .bookmark__container .bookmark__item__list::-webkit-scrollbar-track {
  background-color: #ebeef0;
  border-radius: 10px;
}

.main .bookmark__container .bookmark__item__list::-webkit-scrollbar-thumb {
  /* background-color: #666666; */
  background-color: var(--primary);
  border-radius: 10px;
}

.main .bookmark__container .bookmark__item__list .bookmark__item {
  background-color: var(--primary);
  padding: 0.8rem 1rem;
  border-radius: 32px;
  color: white;
  font-weight: 500;
  font-size: 0.95rem;
  flex-shrink: 0;
  user-select: none;
  position: relative;
  display: flex;
  align-items: center;
}

.main .bookmark__container .bookmark__item__list .bookmark__item i {
  margin-left: 0.3rem;
  font-size: 1.1rem;
}

/* surah and juz tabs */
.main .tabs__container {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ebeef0;
}

.main .tabs__container .tab__item {
  margin-right: 1rem;
  position: relative;
  cursor: pointer;
  padding-bottom: 0.4rem;
  font-size: 0.95rem;
  user-select: none;
}

.main .tabs__container .tab__item.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #272727;
}

.main .sort__container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0.7rem 0;
}

.main .sort__container span {
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-inline-end: 5px;
}

.main .sort__container p {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-inline-end: 5px;
}

.main .chapter__list {
  /* padding: 1.5rem 0; */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 1rem;
}

.main .chapter__list .surah__row .surah__row__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ebeef0;
  border-radius: 4px;
  /* width: 24rem; */
  height: 5rem;
  padding: 0 1rem;
}

.main .chapter__list .surah__row .surah__row__container:hover {
  outline: 1px solid #2ca4ab;
}

.main .chapter__list .surah__row .surah__row__container .surah__row__left {
  display: flex;
  align-items: center;
}

.main
  .chapter__list
  .surah__row
  .surah__row__container
  .surah__row__left
  .surah__number {
  /* background-color: #f4f5f6; */
  padding: 0.5rem 1.5rem;
  margin-inline-end: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #000000;
  position: relative;
}

.main
  .chapter__list
  .surah__row
  .surah__row__container
  .surah__row__left
  .surah__number::before {
  content: '';
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 2px;
  background-color: #f4f5f6;
  z-index: -1;
}

.main
  .chapter__list
  .surah__row
  .surah__row__container:hover
  .surah__row__left
  .surah__number {
  color: white;
}

.main
  .chapter__list
  .surah__row
  .surah__row__container:hover
  .surah__row__left
  .surah__number::before {
  background-color: #2ca4ab;
}

.main
  .chapter__list
  .surah__row
  .surah__row__container
  .surah__row__left
  .surah__name {
  display: flex;
  flex-direction: column;
}

.main
  .chapter__list
  .surah__row
  .surah__row__container
  .surah__row__left
  .surah__name
  .ar__en__text {
  font-weight: 600;
  color: #000000;
  font-size: 0.95rem;
}

.main
  .chapter__list
  .surah__row
  .surah__row__container
  .surah__row__left
  .surah__name
  .en {
  font-size: 0.65rem;
  font-weight: 700;
  color: #746666;
}

.main
  .chapter__list
  .surah__row
  .surah__row__container:hover
  .surah__row__left
  .surah__name
  .en {
  color: #2ca4ab;
}

.main .chapter__list .surah__row .surah__row__container .surah__row__right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main
  .chapter__list
  .surah__row
  .surah__row__container
  .surah__row__right
  .ar__text {
  font-family: 'Quran Sura', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #000000;
}

.main
  .chapter__list
  .surah__row
  .surah__row__container
  .surah__row__right
  .total__aya {
  font-size: 0.65rem;
  font-weight: 700;
  color: #746666;
}

.main
  .chapter__list
  .surah__row
  .surah__row__container:hover
  .surah__row__right
  .total__aya {
  color: #2ca4ab;
}

@media screen and (max-width: 1440px) {
  /* .hero {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
  }

  .hero .hero__play {
    position: absolute;
    top: 0;
    right: 1rem;
    background-color: red;
  }

  .hero .hero__play .random__ayah__btn {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    outline: none;
    border: none;
    background-color: transparent;
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    border-radius: 4px;
  } */
}

@media screen and (max-width: 1024px) {
  .hero {
    height: auto;
    padding-bottom: 1rem;
  }
}

/* Random Verse popup */
.random__ayah__overlay {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  transition: 0.35s ease-in-out;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.random__ayah__overlay.active {
  opacity: 1;
  visibility: visible;
}

.random__ayah__popup {
  position: absolute;
  top: 25%;
  left: 50%;
  /*transform: translate(-50%, -50%) translateY(120px);*/
  transform: translateX(-50%) translateY(120px);
  background-color: white;
  width: 40rem;
  max-width: calc(100% - 2rem);
  min-height: 25.5rem;
  border-radius: 10px;
  padding: 2rem 3rem;
  height: 50vh;
  box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
  transition: 0.35s ease-in-out;
  overflow: hidden;
}

.random__ayah__overlay.active .random__ayah__popup {
  /*transform: translate(-50%, -30%) translateY(0px);*/
  transform: translateX(-50%) translateY(0px);
}

.random__ayah__popup .random__ayah__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ebeef0;
  padding-bottom: 1rem;
}

.random__ayah__popup .random__ayah__header h2 {
  color: var(--secondary);
  font-weight: 600;
}

.random__ayah__popup .random__ayah__header b,
.random__ayah__popup .random__ayah__header span,
.random__ayah__popup .random__ayah__header a {
  font-size: 0.85rem;
  color: var(--secondary);
}

.random__ayah__popup .random__ayah__header b {
  font-weight: 500;
}

.random__ayah__popup .random__ayah__header .right__col button.btn__play {
  border: none;
  outline: none;
  width: 3rem;
  height: 3rem;
  font-size: 1.8rem;
  border-radius: 100%;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border: 2px solid var(--primary);
  position: relative;
  animation: shadowPulse 1s linear infinite;
  cursor: pointer;
  margin-right: 0.5rem;
}

.random__ayah__popup .random__ayah__header .right__col button.btn__play::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid var(--primary);
  border-radius: 100%;
  animation: pulse 1s linear infinite;
}

@keyframes pulse {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  10% {
    opacity: 1;
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(2);
  }
}

@keyframes shadowPulse {
  0% {
    box-shadow: 0 0 8px 6px transparent, 0 0 0 0 transparent,
      0 0 0 0 transparent;
  }
  10% {
    box-shadow: 0 0 8px 6px var(--primary), 0 0 12px 10px transparent,
      0 0 12px 5px var(--primary);
  }
  80%,
  100% {
    box-shadow: 0 0 8px 6px transparent, 0 0 0 20px transparent,
      0 0 0 20px transparent;
  }
}

.random__ayah__popup .random__ayah__header .close__popup {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  text-align: center;
  line-height: 2.5rem;
  font-size: 1.7rem;
  cursor: pointer;
}

.random__ayah__popup .random__ayah__header .close__popup:hover {
  background-color: #cccccc;
  border-radius: 50%;
}

.random__ayah__popup .random__ayah__body {
  padding: 1rem 0;
  max-height: 14rem;
  overflow-y: auto;
  margin-bottom: 3rem;
}

.random__ayah__popup .random__ayah__body .ar__text {
  text-align: right;
  font-size: 2.2rem;
  font-family: 'Al Qalam', sans-serif;
  margin-bottom: 1rem;
  padding-right: 1rem;
}

.random__ayah__popup .random__ayah__body .en__text {
  font-size: 1.1rem;
}

.random__ayah__popup .play__ayah {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8vh;
  font-size: 1.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.random__ayah__popup .play__ayah button {
  border: none;
  outline: none;
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  color: white;
  /* background-color: white;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; */
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  position: absolute;
  top: 0;
  transform: translateY(-50%);
  animation: shadowPulse 1s linear infinite;
}

.random__ayah__popup .play__ayah button::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 50%;
  border: 2px solid var(--primary);
  animation: pulse 1s linear infinite;
}

/* SURAH HTML */
.surah__main {
  padding: 0.5rem 0;
}

.surah__main .surah__container {
  display: flex;
}

.surah__main .surah__container .surah__left__container {
  width: 21rem;
  height: calc(100vh - 6.4rem);
  border-right: 1px solid #ebeef0;
  padding: 1.5rem 1rem 0 1rem;
  background-color: white;
  transition: 0.3s ease-in-out;
}

.surah__main .surah__container .surah__left__container.active {
  position: fixed;
  left: 0;
  top: 6%;
  height: 100%;
  z-index: 999;
  transform: translateX(0%);
}

.surah__main .surah__container .surah__left__container.hide {
  position: fixed;
  transform: translateX(-105%);
}

.surah__main .surah__container .surah__left__container.show {
  position: fixed;
  transform: translateX(0%);
  z-index: 999;
}

.surah__main
  .surah__container
  .surah__left__container.hide
  ~ .surah__right__container,
.surah__main
  .surah__container
  .surah__left__container.active
  ~ .surah__right__container,
.surah__main
  .surah__container
  .surah__left__container.show
  ~ .surah__right__container {
  width: 100%;
  padding: 1.5rem 0;
}

.surah__main
  .surah__container
  .surah__left__container.active
  .bottom
  .left__col
  .surah__list,
.surah__main
  .surah__container
  .surah__left__container.active
  .bottom
  .right__col
  .surah__verses {
  height: 67vh;
}

.surah__main .surah__container .surah__left__container .top {
  margin-right: 1rem;
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.surah__main
  .surah__container
  .surah__left__container
  .top
  #close__surah__left__container {
  margin-left: 1rem;
  padding: 9px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
}

.surah__main
  .surah__container
  .surah__left__container
  .top
  #close__surah__left__container:hover {
  background-color: #cccccc;
}

.surah__main .surah__container .surah__left__container .tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.surah__main .surah__container .surah__left__container .tabs .tab__buttons {
  background-color: #f8f8f8;
  padding: 3px;
  border-radius: 30px;
  overflow: hidden;
  width: 100%;
}

.surah__main .surah__container .surah__left__container .tabs .tab__buttons ul {
  background-color: #f8f8f8;
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
}

.surah__main
  .surah__container
  .surah__left__container
  .tabs
  .tab__buttons
  ul
  li {
  padding: 0.5rem 0.8rem;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% / 3);
}

.surah__main
  .surah__container
  .surah__left__container
  .tabs
  .tab__buttons
  ul
  li
  a {
  font-size: 0.9rem;
  color: #272727;
}

.surah__main
  .surah__container
  .surah__left__container
  .tabs
  .tab__buttons
  ul
  li.active {
  z-index: 100;
}

.surah__main
  .surah__container
  .surah__left__container
  .tabs
  .tab__buttons
  ul
  li.active
  a {
  color: #000000;
}

.surah__main
  .surah__container
  .surah__left__container
  .tabs
  .tab__buttons
  .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% / 3);
  height: 100%;
  background-color: #fff;
  border-radius: 900px;
  transition: 0.5s;
  opacity: 0;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.surah__main
  .surah__container
  .surah__left__container
  .tabs
  .tab__buttons
  ul
  li:nth-child(1).active
  ~ .slide {
  left: 0%;
  opacity: 1;
}

.surah__main
  .surah__container
  .surah__left__container
  .tabs
  .tab__buttons
  ul
  li:nth-child(2).active
  ~ .slide {
  left: 33.3%;
  opacity: 1;
}

.surah__main
  .surah__container
  .surah__left__container
  .tabs
  .tab__buttons
  ul
  li:nth-child(3).active
  ~ .slide {
  left: 66.6%;
  opacity: 1;
}

.surah__main .surah__container .surah__left__container .bottom {
  display: flex;
  gap: 1rem;
}

.surah__main .surah__container .surah__left__container .bottom .left__col {
  width: 63.5%;
}

.surah__main
  .surah__container
  .surah__left__container
  .bottom
  .left__col
  .input__search__surah {
  width: 100%;
  background-color: #f8f8f8;
  border: none;
  outline: none;
  padding: 10px;
  border-radius: 4px;
  font-size: 1rem;
}

.surah__main
  .surah__container
  .surah__left__container
  .bottom
  .left__col
  .surah__list {
  height: calc(100vh - 17.5rem);
  overflow-y: auto;
}

.surah__main
  .surah__container
  .surah__left__container
  .bottom
  .left__col
  .surah__list
  p {
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 2px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.surah__main
  .surah__container
  .surah__left__container
  .bottom
  .left__col
  .surah__list
  p
  span {
  margin-right: 1rem;
}

.surah__main
  .surah__container
  .surah__left__container
  .bottom
  .left__col
  .surah__list
  p:hover {
  background-color: #f8f9fa;
}

.surah__main
  .surah__container
  .surah__left__container
  .bottom
  .left__col
  .surah__list
  p.active {
  font-weight: 600;
  color: #000000;
  background-color: #f8f8f8;
}

.surah__main
  .surah__container
  .surah__left__container
  .bottom
  .left__col
  .input__search__surah,
.surah__main
  .surah__container
  .surah__left__container
  .bottom
  .right__col
  .input__search__verse {
  margin-bottom: 1rem;
}

.surah__main .surah__container .surah__left__container .bottom .right__col {
  width: 30%;
  border-left: 1px solid #ebeef0;
  padding-left: 0.7rem;
}

.surah__main
  .surah__container
  .surah__left__container
  .bottom
  .right__col
  .surah__verses {
  height: calc(100vh - 17.5rem);
  padding: 0 0.3rem;
  overflow-y: auto;
}

.surah__main
  .surah__container
  .surah__left__container
  .bottom
  .right__col
  .surah__verses
  p {
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 2px;
  font-size: 0.9rem;
}

.surah__main
  .surah__container
  .surah__left__container
  .bottom
  .right__col
  .surah__verses
  p:hover {
  background-color: #f8f9fa;
}

.surah__main
  .surah__container
  .surah__left__container
  .bottom
  .right__col
  .surah__verses
  p.active {
  color: #000000;
  font-weight: 600;
  background-color: #f8f9fa;
}

.surah__main
  .surah__container
  .surah__left__container
  .bottom
  .right__col
  .input__search__verse {
  width: 100%;
  background-color: #f8f8f8;
  border: none;
  outline: none;
  padding: 10px;
  border-radius: 4px;
  font-size: 1rem;
}

/* .surah__main
  .surah__container
  .surah__left__container.active
  ~ .surah__right__container {
  width: 100%;
  padding: 0;
} */

.surah__main .surah__container .surah__right__container {
  width: calc(100% - 21rem);
  padding: 1.5rem 0;
}

.surah__main
  .surah__container
  .surah__right__container
  .surah__right__top__header {
  display: flex;
  align-items: center;
  justify-content: center;
}

.surah__main
  .surah__container
  .surah__right__container
  .surah__right__top__header
  .btns {
  padding: 3px;
  background-color: #f8f9fa;
  border-radius: 30px;
}

.surah__main
  .surah__container
  .surah__right__container
  .surah__right__top__header
  ul {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24rem;
  height: 100%;
  position: relative;
}

.surah__main
  .surah__container
  .surah__right__container
  .surah__right__top__header
  ul
  li {
  /* margin: 5px 0; */
  padding: 8.5px 0;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% / 2);
  user-select: none;
}

.surah__main
  .surah__container
  .surah__right__container
  .surah__right__top__header
  ul
  .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% / 2);
  height: 100%;
  background-color: #fff;
  border-radius: 900px;
  transition: 0.5s;
  opacity: 0;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.surah__main
  .surah__container
  .surah__right__container
  .surah__right__top__header
  ul
  li.active {
  color: #000000;
  z-index: 100;
}

.surah__main
  .surah__container
  .surah__right__container
  .surah__right__top__header
  ul
  li:nth-child(1).active
  ~ .slide {
  left: 0%;
  opacity: 1;
}

.surah__main
  .surah__container
  .surah__right__container
  .surah__right__top__header
  ul
  li:nth-child(2).active
  ~ .slide {
  left: 50%;
  opacity: 1;
}

.surah__main .surah__container .surah__right__container .chapter__name {
  font-family: 'Quran Sura', sans-serif;
  font-size: 3rem;
  font-weight: 600;
  color: #000000;
  text-align: center;
  margin: 1rem 0;
}

.surah__main .surah__container .surah__right__container .chapter__header {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  /* padding: 0 3.5rem; */
  /* margin: 0 8rem; */
  padding-right: 9.5rem;
  /* margin-right: 10rem; */
}

.surah__main
  .surah__container
  .surah__right__container
  .chapter__header
  button {
  display: flex;
  align-items: center;
  padding: 7px;
  border-radius: 4px;
  margin-bottom: 2px;
  outline: none;
  border: none;
  background-color: transparent;
  font-size: 0.9rem;
}

.surah__main
  .surah__container
  .surah__right__container
  .chapter__header
  button
  i {
  margin-right: 5px;
  font-size: 1.2rem;
}

.surah__main
  .surah__container
  .surah__right__container
  .chapter__header
  #chapter__play {
  color: #2ca4ab;
  padding: 7px 5px;
}

.surah__main
  .surah__container
  .surah__right__container
  .chapter__header
  #chapter__play
  i {
  font-size: 1.3rem;
}

.surah__main
  .surah__container
  .surah__right__container
  .chapter__header
  #chapter__play:hover {
  background-color: #d5edee;
}

.surah__main
  .surah__container
  .surah__right__container
  .chapter__header
  button:hover {
  background-color: #cccccc;
}

.surah__main
  .surah__container
  .surah__right__container
  .translation__view__main__container {
  margin: 0 10rem;
}

.surah__main
  .surah__container
  .surah__right__container
  .translation__view__container {
  display: flex;
  /* margin: 0 4rem; */
  border-bottom: 1px solid #ebeef0;
  /* height: 15rem; */
}

.surah__main
  .surah__container
  .surah__right__container
  .translation__view__container.active {
  background-color: #f8f9fa;
}

.surah__main
  .surah__container
  .surah__right__container
  .translation__view__container
  .translation__view__cell__container
  .action__container__left {
  display: flex;
  flex-direction: column;
}

.surah__main
  .surah__container
  .surah__right__container
  .translation__view__container
  .translation__view__cell__container
  .action__container__left
  .left__col {
  padding: 1.5rem 0 0.5rem 0;
}

.surah__main
  .surah__container
  .surah__right__container
  .translation__view__container
  .translation__view__cell__container
  .action__container__left
  .left__col
  span {
  color: #808080;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.surah__main
  .surah__container
  .surah__right__container
  .translation__view__container
  .translation__view__cell__container
  .action__container__left
  .left__col
  span:hover {
  background-color: #d5edee;
}

.surah__main
  .surah__container
  .surah__right__container
  .translation__view__container
  .translation__view__cell__container
  .action__container__left
  button {
  color: #808080;
  outline: none;
  border: none;
  background-color: transparent;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.surah__main
  .surah__container
  .surah__right__container
  .translation__view__container
  .translation__view__cell__container
  .action__container__left
  .left__col
  button:nth-child(2) {
  font-size: 1.5rem;
  font-weight: lighter;
}

.surah__main
  .surah__container
  .surah__right__container
  .translation__view__container
  .translation__view__cell__container
  .action__container__left
  button:hover {
  background-color: #d5edee;
}

.surah__main
  .surah__container
  .surah__right__container
  .translation__view__container
  .translation__view__cell__container
  .action__container__left
  .more {
  position: relative;
  display: block;
}

/* more popup */

.more__popup__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: transparent;
  z-index: -1;
}

.more__popup__overlay.active {
  z-index: 990;
}

.surah__main
  .surah__container
  .surah__right__container
  .translation__view__container
  .translation__view__cell__container
  .action__container__left
  .more
  .more__popup {
  position: absolute;
  top: -13.5rem;
  left: 25%;
  transform: translateX(-50%);
  width: 13rem;
  border-radius: 5px;
  background-color: white;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  padding: 0.7rem 0;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.surah__main
  .surah__container
  .surah__right__container
  .translation__view__container
  .translation__view__cell__container
  .action__container__left
  .more
  .more__popup.active {
  opacity: 1;
  visibility: visible;
}

.surah__main
  .surah__container
  .surah__right__container
  .translation__view__container
  .translation__view__cell__container
  .action__container__left
  .more
  .more__popup
  ul
  li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.2rem;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.surah__main
  .surah__container
  .surah__right__container
  .translation__view__container
  .translation__view__cell__container
  .action__container__left
  .more
  .more__popup
  ul
  li:hover {
  background-color: #e9ecef;
}

/* copy link popup */

.copy__link__popup__overlay .copy__link__popup {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background-color: var(--primary);
  border-radius: 4px;
  width: 30rem;
  height: 3.5rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 1rem;
  transform: translateY(150%);
  transition: 0.3s ease-in-out;
  z-index: 999;
}

.copy__link__popup__overlay .copy__link__popup.active {
  transform: translateY(0%);
}

.copy__link__popup__overlay .copy__link__popup p {
  color: white;
}

/* advanced copy popup */
.advance__copy__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.35s ease-in-out;
  z-index: 999;
}

.advance__copy__overlay.active {
  opacity: 1;
  visibility: visible;
}

.advance__copy__overlay .advance__copy__popup {
  background-color: white;
  position: absolute;
  top: 15%;
  /* top: 0; */
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  width: 30rem;
  min-height: 75vh;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  transition: 0.35s ease-in-out;
}

.advance__copy__overlay.active .advance__copy__popup {
  transform: translateX(-50%) translateY(0px);
}

.advance__copy__overlay .advance__copy__popup .copy__title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
}

.advance__copy__overlay .advance__copy__popup .close__popup {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  text-align: center;
  line-height: 2.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  outline: none;
  border: none;
  background-color: transparent;
  position: absolute;
  right: 1rem;
  top: 1rem;
}

.advance__copy__overlay .advance__copy__popup .close__popup:hover {
  background-color: #cccccc;
  border-radius: 50%;
}

.advance__copy__overlay .advance__copy__popup p {
  margin: 1rem 0 0.5rem 0;
  font-size: 0.95rem;
}

.advance__copy__overlay .advance__copy__popup label {
  font-size: 0.9rem;
}

.advance__copy__overlay .advance__copy__popup #verses__range__frm {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.advance__copy__overlay .advance__copy__popup .verse__range__selector {
  display: flex;
  gap: 1rem;
  display: none;
}

.advance__copy__overlay .advance__copy__popup .verse__range__selector.active {
  display: flex;
}

.advance__copy__overlay
  .advance__copy__popup
  .verse__range__selector
  .selector__container {
  width: 48%;
}

.advance__copy__overlay
  .advance__copy__popup
  .verse__range__selector
  .selector__container
  p {
  font-weight: 600;
}

.advance__copy__overlay
  .advance__copy__popup
  .verse__range__selector
  .selector__container
  .combobox {
  position: relative;
}

.advance__copy__overlay
  .advance__copy__popup
  .verse__range__selector
  .selector__container
  .combobox
  .combobox__items {
  position: absolute;
  top: 2.4rem;
  left: 0;
  width: 100%;
  max-height: 8rem;
  border-radius: 4px;
  display: none;
  overflow-y: auto;
}

.advance__copy__overlay
  .advance__copy__popup
  .verse__range__selector
  .selector__container
  .combobox__items
  .combobox__item {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.advance__copy__overlay
  .advance__copy__popup
  .verse__range__selector
  .selector__container
  .combobox__items
  .combobox__item
  input {
  display: none;
}

.advance__copy__overlay
  .advance__copy__popup
  .verse__range__selector
  .selector__container
  .combobox__items
  .combobox__item
  .combobox__prefix {
  width: 100%;
  padding: 8px 0;
  padding-left: 0.5rem;
}

.advance__copy__overlay
  .advance__copy__popup
  .verse__range__selector
  .selector__container
  .combobox__items
  .combobox__item
  .combobox__prefix:hover {
  background-color: #e9ecef;
}

.advance__copy__overlay
  .advance__copy__popup
  .verse__range__selector
  .selector__container
  .combobox__items
  .combobox__item
  input:checked
  ~ .combobox__prefix {
  font-weight: 600;
  background-color: #e9ecef;
}

/* .advance__copy__overlay
  .advance__copy__popup
  .verse__range__selector
  .selector__container
  .combobox__input {
  overflow: hidden;
} */

.advance__copy__overlay
  .advance__copy__popup
  .verse__range__selector
  .selector__container
  .combobox__input
  input {
  width: 100%;
  outline: none;
  font-size: 0.9rem;
  padding: 7px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding-left: 2rem;
}

.advance__copy__overlay
  .advance__copy__popup
  .verse__range__selector
  .selector__container
  .combobox__input
  input:is(:hover, :focus) {
  border: 1px solid black;
}

.advance__copy__overlay
  .advance__copy__popup
  .verse__range__selector
  .selector__container
  .combobox__input
  input:is(:hover, :focus)
  ~ .combobox__items {
  display: block;
}

.advance__copy__overlay
  .advance__copy__popup
  .verse__range__selector
  .selector__container
  .combobox__input
  i {
  position: absolute;
  top: 50%;
  left: 0.5rem;
  transform: translateY(-50%);
}

.surah__main
  .surah__container
  .surah__right__container
  .translation__view__container
  .translation__view__cell__container
  .action__container__left
  a {
  color: #808080;
  outline: none;
  border: none;
  background-color: transparent;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  /* scroll-margin-top: 5rem; */
}

.surah__main
  .surah__container
  .surah__right__container
  .translation__view__container
  .translation__view__content__container {
  flex: 1;
}

.surah__main
  .surah__container
  .surah__right__container
  .translation__view__container
  .translation__view__content__container
  .translation__view__arabic {
  height: 100%;
  padding-left: 3rem;
}

.surah__main
  .surah__container
  .surah__right__container
  .translation__view__container
  .translation__view__content__container
  .verse__text {
  text-align: right;
  font-family: 'Al Qalam', sans-serif;
  font-size: 1.6rem;
  /* font-weight: 700; */
  padding-top: 2rem;
  font-weight: 500;
}

.ayah__end {
  font-size: 2rem;
  padding-top: 3px;
  font-weight: 500;
  /* letter-spacing: 10px; */
  font-family: 'Hafs', sans-serif;
  position: relative;
  background-color: transparent;
}

.ayah__end::after {
  /* content: '۝'; */
  /* content: '\06DD'; */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.9rem;
  color: #000000;
  font-size: 1.5rem;
  font-weight: 400;
}

.surah__main
  .surah__container
  .surah__right__container
  .translation__view__container
  .translation__view__content__container
  .translation__text {
  text-align: left;
  padding: 3.5rem 0;
  font-size: 1;
}

/* when changing to read quran */

/* .translation__view__main__container {
  padding: 0 4rem;
} */

.translation__view__main__container .surah__read__main {
  width: 30rem;
  margin: 0 auto;
}

.translation__view__main__container .surah__read__main:last-child {
  border-bottom: 1px solid #ebeef0;
  padding-bottom: 1rem;
}

.translation__view__container__read {
  text-align: center;
}

.translation__view__container__read .surah__text__main .surah__text__ar__read {
  font-family: 'Hafs', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  cursor: pointer;
}

.translation__view__container__read
  .surah__text__main
  .surah__text__ar__read:hover {
  background-color: #f8f9fa;
}

/* audio player */
.audio__player {
  width: 100%;
  position: fixed;
  left: 0;
  bottom: -105%;
  display: flex;
  flex-direction: column;
  height: 9.5vh;
  background-color: #fff;
  transition: 0.3s;
}

.audio__player.active {
  bottom: 0;
}

.audio__player .audio__progressbar {
  margin-bottom: 12px;
  appearance: none;
  -webkit-appearance: none;
  background-color: #d3d6da;
  height: 3px;
}

.audio__player .audio__progressbar::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: black;
}

.audio__player .player__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.audio__player .player__main .current__time {
  margin-left: 1rem;
  color: #6b6b6b;
}

.audio__player .player__main .end__time {
  margin-right: 1rem;
  color: #6b6b6b;
}

.audio__player .player__main .control__btns button {
  background-color: transparent;
  outline: none;
  border: none;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  font-size: 1.7rem;
  cursor: pointer;
}

.audio__player .player__main .control__btns button:hover {
  background-color: #cccccc;
}

/* chapter Info popup */
.chapter__info__popup__overlay {
  width: 100%;
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.35s ease-in-out;
  z-index: 1000;
  transform: translateY(120px);
}

.chapter__info__popup {
  background-color: white;
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  min-height: 100vh;
  padding: 4rem 8%;
  transition: 0.35s ease-in-out;
}

.chapter__info__popup__overlay.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}

.chapter__info__container {
  display: flex;
  /* align-items: center; */
}

.chapter__info__container .left__col .btn__back {
  width: max-content;
  height: 2rem;
  padding: 0 0.8rem;
  outline: none;
  border: none;
  background-color: transparent;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chapter__info__container .left__col .btn__back i {
  margin-right: 5px;
}

.chapter__info__container .left__col .btn__back:hover {
  background-color: #cccccc;
}

.chapter__info__container .right__col {
  width: 100%;
}

.chapter__info__container .right__col .top__header {
  display: flex;
  justify-content: space-between;
  margin-left: 4rem;
  border-bottom: 1px solid #ebeef0;
  padding-bottom: 1rem;
}

.chapter__info__container .right__col .top__header h2 {
  font-size: 1.4rem;
  font-weight: 600;
}

.chapter__info__container .right__col .top__header .flex__col {
  text-align: center;
}

.chapter__info__container .right__col .top__header .flex__col p {
  font-weight: 500;
}

.chapter__info__container .right__col .top__header .flex__col span {
  text-transform: capitalize;
}

.chapter__info__container .right__col .info__text {
  margin-left: 4rem;
  margin-top: 1rem;
}

.chapter__info__container .right__col .info__text a {
  text-decoration: underline;
}

.chapter__info__container .right__col .info__text p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.chapter__info__container .right__col .info__text strong {
  font-weight: normal;
}

.chapter__info__container .right__col .info__text h2 {
  font-size: 1rem;
  font-weight: 600;
}

.chapter__info__container .right__col .info__text h1,
.chapter__info__container .right__col .info__text h2,
.chapter__info__container .right__col .info__text h3 {
  margin: 1rem 0;
}

/* Tafseer Popup*/
.tafseer__overlay {
  width: 100%;
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.35s ease-in-out;
  z-index: 1002;
}

.tafseer__overlay.active {
  opacity: 1;
  visibility: visible;
}

.tafseer__popup {
  background-color: white;
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  width: 45rem;
  min-height: 60vh;
  border-radius: 10px;
  padding: 2rem 3rem;
  transition: 0.35s ease-in-out;
}

.tafseer__overlay.active .tafseer__popup {
  transform: translateX(-50%) translateY(0px);
}

.tafseer__popup .tafseer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tafseer__popup select {
  background-color: #f8f9fa;
  outline: none;
  border: none;
  padding: 0.5rem 0.5rem;
  width: 9rem;
  border-radius: 5px;
  font-size: 0.9rem;
}

.tafseer__popup .tafseer__header select:last-child {
  margin-left: 0.6rem;
  width: 5rem;
}

.tafseer__popup .tafseer__header .close__popup {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  text-align: center;
  line-height: 2.5rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.tafseer__popup .tafseer__header .close__popup:hover {
  background-color: #cccccc;
  border-radius: 50%;
}

.wrapper__tafseer {
  overflow-x: auto;
}

.tafseer__popup .tafseer__options {
  display: flex;
  align-items: center;
  margin: 1rem 0;
  white-space: nowrap;
}

.tafseer__popup .tafseer__options select {
  margin-right: 0.8rem;
}

.tafseer__popup .tafseer__options .tafseer__types {
  display: flex;
  justify-content: space-evenly;
  gap: 1rem;
}

.tafseer__popup .tafseer__options .tafseer__types button {
  outline: none;
  border: none;
  background-color: #f0f1f1;
  padding: 0.5rem;
  border-radius: 5px;
  font-size: 0.9rem;
  cursor: pointer;
}

.tafseer__popup .tafseer__options .tafseer__types button.active {
  background-color: #2ca4ab;
  color: white;
}

.tafseer__popup .tafseer__options .tafseer__types button:hover {
  opacity: 0.9;
}

.tafseer__popup .ar__text__tafseer {
  text-align: right;
  font-family: 'Hafs', sans-serif;
  font-size: 1.5rem;
  border-bottom: 1px solid #ebeef0;
  padding: 0.5rem 0 2rem 0;
}

.tafseer__popup .tafseer__font__settings {
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tafseer__popup .tafseer__font__settings button {
  background-color: transparent;
  outline: none;
  border: none;
  font-size: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  text-align: center;
  line-height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
}

.tafseer__popup .tafseer__font__settings button:hover {
  background-color: #cccccc;
}

.tafseer__popup .tafseer__font__settings p {
  font-size: 1rem;
  width: 2.5rem;
  text-align: center;
}

.tafseer__popup .tafseer__text a {
  text-decoration: underline;
}

.tafseer__popup .tafseer__text p {
  font-size: 1rem;
  line-height: 1.7;
}

.tafseer__popup .tafseer__text strong {
  font-weight: normal;
}

.tafseer__popup .tafseer__text h1 {
  font-size: 1rem;
  font-weight: normal;
  margin: 0;
}

.tafseer__popup .tafseer__text h2 {
  font-size: 1.4rem;
  font-weight: 500;
}

.tafseer__popup .tafseer__text h2,
.tafseer__popup .tafseer__text h3 {
  margin: 1rem 0;
}

.tafseer__popup .tafseer__text .arabic {
  font-family: 'Hafs', sans-serif;
  text-align: right;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1rem 0;
}

/* .tafseer__popup .tafseer__text {
  overflow-y: auto;
  max-height: 30vh;
} */

/* media queries for SURAH.HTML */
@media (max-width: 768px) {
  .header {
    padding: 0.5rem 1rem;
  }

  .header__main .top__header .surah__header .surah__right__header {
    display: none;
  }

  .header .left__side__container img {
    width: 6rem;
    margin-inline-start: 2px;
  }

  .header .right__side__container li {
    margin-inline-start: 2px;
    padding: 7px;
  }

  .hero .hero__container {
    margin-top: 3rem;
  }

  .hero .hero__container .hero__img .image {
    width: 16rem;
    fill: white;
    margin-bottom: 1.5rem;
  }

  .hero .hero__input__search .right__side__search .shrt__key__search {
    display: none;
  }

  .hero .hero__play .random__ayah__btn {
    margin-right: 1rem;
  }

  /* sidebar */
  .sidebar {
    width: 100%;
    height: 100%;
  }

  /* search form */
  .search__form {
    width: 100%;
    height: 100%;
  }

  /* main */
  .main {
    padding: 2rem 0.8rem;
  }

  .main .chapter__list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
  }

  /* random verse overlay */
  .random__ayah__popup {
    padding: 1rem;
  }

  .surah__main .surah__container .surah__right__container .chapter__header {
    padding-right: 0.5rem;
  }

  .surah__main .surah__container .surah__left__container {
    position: absolute;
    left: 0;
    width: 90%;
    z-index: 1000;
    border-right: 1px solid #ebeef0;
    padding: 0 1rem;
    background-color: white;
  }

  .surah__main
    .surah__container
    .surah__right__container
    .surah__right__top__header
    ul {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 19rem;
    height: 100%;
    position: relative;
  }

  /* more popup */
  .surah__main
    .surah__container
    .surah__right__container
    .translation__view__container
    .translation__view__cell__container
    .action__container__left
    .more
    .more__popup {
    position: absolute;
    top: 2rem;
    left: -4.5rem;
  }

  .surah__main
    .surah__container
    .surah__right__container
    .translation__view__main__container {
    margin: 0 1rem;
  }

  .surah__main
    .surah__container
    .surah__right__container
    .translation__view__container {
    flex-direction: column;
  }

  .surah__main
    .surah__container
    .surah__right__container
    .translation__view__container
    .translation__view__cell__container
    .action__container__left {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .surah__main
    .surah__container
    .surah__right__container
    .translation__view__container
    .translation__view__cell__container
    .action__container__left
    .left__col {
    display: flex;
  }

  .surah__main
    .surah__container
    .surah__right__container
    .translation__view__container
    .translation__view__cell__container
    .action__container__left
    .more {
    margin-top: 1rem;
  }

  .surah__main
    .surah__container
    .surah__right__container
    .translation__view__container
    .translation__view__content__container
    .verse__text {
    font-size: 2.5rem;
    /* font-weight: 600; */
  }

  /*.ayah__end {
    font-size: 0.5rem;
    font-weight: 700;
  }*/

  .translation__view__main__container .surah__read__main {
    width: 100%;
  }

  /* chapter info popup */
  .chapter__info__container {
    flex-direction: column;
    align-items: flex-start;
  }

  .chapter__info__container .right__col {
    margin-top: 2rem;
  }

  .chapter__info__container .right__col .top__header {
    gap: 2rem;
  }

  .chapter__info__container .right__col .top__header .flex__col {
    text-align: left;
  }

  .chapter__info__container .right__col .top__header {
    flex-direction: column;
    margin-left: 0;
  }

  .chapter__info__container .right__col .info__text {
    margin-left: 0;
    margin-top: 1rem;
  }

  /* Tafseer popup */
  .tafseer__popup {
    width: 100%;
    padding: 1rem;
  }

  /* advance copy popup */
  .advance__copy__overlay .advance__copy__popup {
    width: 100%;
    bottom: 0;
  }
}

@media (max-width: 500px) {
  .copy__link__popup__overlay .copy__link__popup {
    right: 0.5rem;
    left: 0.5rem;
    width: calc(100% - 1rem);
  }
}

@media (max-width: 425px) {
  .surah__main
    .surah__container
    .surah__right__container
    .translation__view__container
    .translation__view__content__container
    .verse__text {
    font-size: 1.8rem;
    /* font-weight: 600; */
  }

  /* .ayah__end {
    font-size: 2rem;
  }

  .ayah__end::after {
    font-size: 2.5rem;
  }*/
}

@media (max-width: 375px) {
  /* .hero .hero__input__search {
    font-size: 0.8rem;
    padding: 0 1rem;
  } */

  .surah__main
    .surah__container
    .surah__right__container
    .translation__view__container
    .translation__view__content__container
    .verse__text {
    font-size: 1.5rem;
    /* font-weight: 600; */
  }
}
