/*-------------------------------  Start Variables ------------------------------- */
:root {
  --bg-color: #1f2125;
  --bg-hover-color: #141518;
  --ayah-color: #fff;
  --dark-color: #000;
  --player-color: #343a40;
  --hover-color: #2ca4ab;
  --border-color: rgba(255, 255, 255, 0.5);
  --input-color: rgba(0,0,0,0.5);
}
.night {
  --bg-color: #f5f7f8;
  --bg-hover-color: #e5e1da;
  --ayah-color: #45474b;
  --dark-color: #f5f5f5;
  --player-color: #45474b;
  --hover-color: #2ca4ab;
  --border-color: rgba(0, 0, 0, 0.5);
}
/*-------------------------------  End Variables ------------------------------- */
/*----------------------------------- Start Customize Scrollbar ----------------------*/
/* Width */
::-webkit-scrollbar {
  width: 12px;
}

/* Height */
::-webkit-scrollbar {
  height: 100px;
}

/* Track */
::-webkit-scrollbar-track {
  background-color: #f5f7f8;
  box-shadow: inset 0 0 5px var(--border-color);
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #000;
  border-radius: 100px;
  box-shadow: inset 0 0 10px var(--ayah-color);
}
/*----------------------------------- End Customize Scrollbar ----------------------*/
/*----------------------------------- Start Selection ----------------------*/
::selection {
  background-color: var(--bg-color);
  color: var(--ayah-color);
}
/*----------------------------------- End Selection ----------------------*/
/*-------------------------------  Start Global Rules ------------------------------- */
html {
  scroll-behavior: smooth;
  scroll-padding: 40px;
}
*,
*::after,
*::before {
  padding: 0%;
  margin: 0%;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  outline: none;
}
body {
  font-family: "Amiri Quran", serif;
  height: 100%;
  width: 100%;
  background: var(--bg-color) center center/cover no-repeat fixed;
  direction: rtl;
}
img {
  display: block;
  width: 100%;
}
a {
  color: inherit;
}
.container {
  padding: 0 15px;
  margin: 0 auto;
}
/*-------------------------------  End Global Rules ------------------------------- */
/*-------------------------------  Start Header  ------------------------------- */
.image{
  margin: auto;
  width: 15%;
  margin-top: 30px;
}
.input input{
  border: 0;
  outline: 0;
  width: 50%;
  height: 40px;
  margin: auto;
  margin-top: 15px;
  font-size: 16px;
}
.input input:focus{
  box-shadow: 0px 0px 15px 0px var(--input-color);
  border: solid 1px var(--border-color);
  border: 0% !important;
}
label {
  position: absolute;
  width: 45px;
  height: 22px;
  right: 20px;
  top: 20px;
  border: 2px solid;
  border-radius: 20px;
  color: var(--ayah-color);
}
label:before {
  position: absolute;
  content: "";
  width: 20px;
  height: 20px;
  left: -1px;
  top: -1px;
  border-radius: 50%;
  background: var(--ayah-color);
  cursor: pointer;
  transition: 0.4s;
}
label.active:before {
  left: 24px;
  /* background: var(--bg-color); */
}
/*-------------------------------  End Header  ------------------------------- */
/*-------------------------------  Start Player  ------------------------------- */
.player {
  background: var(--bg-color);
  box-shadow: 0 0 4px var(--player-color);
  z-index: 1;
}
.player .ayah {
  padding-top: 5px;
  color: var(--ayah-color);
}
.player audio {
  height: 20px;
  margin-top: 7px;
}
audio::-webkit-media-controls-time-remaining-display,
audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-panel {
  background-color: var(--bg-color);
  color: var(--ayah-color);
}
audio::-webkit-media-controls-enclosure {
  border-radius: 0;
  border-top: 0;
}
audio::-webkit-media-controls-mute-button:hover {
  background-color: var(--bg-hover-color);
  border-radius: 50%;
}
.buttons .icon:hover {
  background-color: var(--bg-hover-color);
  border-radius: 50%;
}
audio:focus {
  outline: none;
}
.player .buttons {
  display: flex;
  justify-content: center;
}
.buttons .icon {
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--ayah-color);
  font-size: 15px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.surahs {
  margin-bottom: 90px;
}
.surahs > div {
  width: calc(100% - 65px);
  cursor: pointer;
  transition: all 0.5s;
  border: 1px solid var(--border-color);
  position: relative;
  font-size: 20px;
  counter-increment: surah-counter;
  box-shadow: 0 0 4px var(--border-color);
  color: var(--ayah-color);
}
.surahs > div:hover::after,
.surahs > div:hover {
  color: var(--hover-color);
  border-color: var(--hover-color);
  box-shadow: 0 0 4px var(--hover-color);
}
.surahs > div:hover::before {
  border-right-color: var(--hover-color);
}
.surahs > div::after {
  content: counter(surah-counter);
  position: absolute;
  background-color: inherit;
  transition: inherit;
  height: 55px;
  width: 55px;
  top: 50%;
  left: -66px;
  transform: translateY(-50%);
  border-radius: 50%;
  font-size: 20px;
  line-height: 46px;
  text-align: center;
  box-shadow: inherit;
}
.surahs > div::before {
  content: "";
  position: absolute;
  border: 7px solid transparent;
  border-right-color: var(--border-color);
  top: 50%;
  transform: translateY(-50%);
  left: -13px;
  transition: inherit;
}
