@font-face {
  font-family: kitab;
  src: url(../fonts/kitab.ttf);
}

@font-face {
  font-family: maghribi;
  src: url(../fonts/maghribi.ttf);
}

@font-face {
  font-family: agha;
  src: url(../fonts/agha.ttf);
}

@font-face {
  font-family: arabsq;
  src: url(../fonts/arabsq.ttf);
}

.basmalah {
  font-family: agha;
  font-weight: normal;
  padding-left: 0.2em;
  display: inline-block;
  position: relative;
  bottom: 8px;
  color: #ff0707;
  font-size: 34px;
  font-weight: 500;
}

.arabsq {
  font-family: arabsq;
  font-weight: normal;
  color: #273242;
  font-size: 22px;
}

.numfr {
  font-family: maghribi;
  font-weight: normal;
  font-size: 20px;
  color: #273242;
}

.text {
  font-family: kitab;
  direction: rtl;
  font-size: large;
  margin: auto;
}

.primary {
  background-color: #000000;
}

.rakm {
  color: hsl(205deg 100% 50% / 56%);
  display: inline-block;
  text-align: center;
  font-size: 18px !important;
  font-weight: 100;
}

.distinct-tashkeel {
  /*font-size: 28px;*/
  color: hsl(318deg 95% 48%);
}

.mad {
  color: hsl(209deg 57.98% 75.64%);
}

.tk {
  color: hsl(147, 88%, 46%);
}

.tashkeel {
  position: relative;
  display: inline-block;
}

.tashkeel:before {
  content: attr(data-content);
  left: 0;
  top: 0;
  height: 0.4em;
  width: 100%;
  padding-right: 0.1em;
  overflow: hidden;
}

.aya {
  position: relative;
  color: white;
  background-color: red;
  border-radius: 50%;
  font-size: 24px;
  text-align: center;
  z-index: 999;
}

.soura {
  text-align: center;
  font-size: 30px;
  background-color: #0cc6d5;
  color: white;
  font-weight: 200;
  display: block;
}

.sourat {
  text-align: center;
  font-size: 20px;
  background-color: #d8e8b7;
  color: black;
  font-weight: 200;
  display: block;
}

.nav {
  font-size: 14px;
  background: rgb(0, 0, 0);
}

a.google:hover {
  color: rgb(91, 255, 9);
  text-decoration: none;
  font-weight: 100;
}

.headed {
  font-size: 1em;
}

.t30 {
  font-weight: 22px;
}

.bsoura {
  line-height: 3em;
  color: #000000;
  font-size: 24px;
  background-color: white;
  text-align: center;
  padding: 5px;
}


.sourates-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  /* Space between items */
  justify-content: space-between;
  /* Align items with spacing */
}

.sourate-item {
  width: calc(25% - 16px);
  /* Adjust for 4 items per row (3 if you use 33.33%) */
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  box-sizing: border-box;
  text-align: center;
}

.sourate-number {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 8px;
}

.sourate-name a {
  color: #007bff;
  font-size: 1em;
}

.sourate-info,
.sourate-ayat {
  font-size: 0.9em;
  color: #555;
}