body {
  margin: 0;
  text-align: center;
  background-color: #020714;
  background-image: url(images/fati.jpg);
  background-size: cover;
}

/*----------------------------------------------------
            The Main Style Starts Here.....        
-----------------------------------------------------*/

h1 {
  font-size: 5rem;
  color: #dfbe29;
  font-family: "Arvo", cursive;
  text-shadow: 3px 0 #252526;
  background: rgba(0, 0, 0, 0.9);
  border: 2px solid rgb(243, 239, 164, 0,2);
  border-radius: 20px;
  display: inline-block;
  transition: transform 0.2s ease-in-out;
}


.main-btn {
  border: none;
  border-radius: 10px;
  max-width: 900px;
  display: inline-block;
}

.main-btn button {
  font-size: 3rem;
  border-radius: 10px;
}

.main-btn :nth-child(1){
  color: #33b249;
  font-size: 5rem;
  padding: 20px 20px;
  margin: 0 5px;
  border-radius: 20px;
  border: 1px solid  #dfbe29;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
  transition: transform 0.2s ease-in-out; 
}

.main-btn :nth-child(2){
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
  color: orange;
  font-size: 5rem;
  padding: 20px 20px;
  margin: 0 5px;
  border-radius: 20px;
  border: 1px solid  #dfbe29;
  transition: transform 0.2s ease-in-out;
}

.main-btn :nth-child(3){
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
  color: rgb(255, 62, 62);
  font-size: 5rem;
  padding: 20px 20px;
  margin: 0 5px;
  border-radius: 20px;
  border: 1px solid  #dfbe29;
  transition: transform 0.2s ease-in-out;
}
/*---------------------------------------------------------------------------  */
/* ----------------------Footer Btn (for Test)-------------------------------- */
/* .footer-btn{
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 15px;
}
.footer-btn :nth-child(1){
  color: #33b249;
  font-size: 1.2rem;
  padding: 10px 10px;
  margin: 0 5px;
  border-radius: 5px;
  border: 1px solid  #dfbe29;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
  transition: transform 0.2s ease-in-out; 
}

.footer-btn :nth-child(2){
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
  color: orange;
  font-size: 1.2rem;
  padding: 10px 10px;
  margin: 0 5px;
  border-radius: 5px;
  border: 1px solid  #dfbe29;
  transition: transform 0.2s ease-in-out;
}

.footer-btn :nth-child(3){
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
  color: rgb(255, 62, 62);
  font-size: 1.2rem;
  padding: 10px 10px;
  margin: 0 5px;
  border-radius: 5px;
  border: 1px solid  #dfbe29;
  transition: transform 0.2s ease-in-out;
} */

/* ============================================================================================ */
.play {
  width: 24px;
  height: 24px;
  margin: 10px;
  background-color: transparent;
}

.Surah {
  font-size: 1.5rem;
  font-family: 'Arvo', cursive;
  font-weight: 700;
  color: black;
  border-radius: 10px;
  display: inline-block;
  width: 220px;
  height: 100px;
  text-align: center;
  margin: 10px;
  background-color:whitesmoke;
  background-position-y: center;
  border: 2px solid goldenrod;
  line-height: 1;
  outline: 2px solid rgb(34, 33, 33); 
  transition: transform 0.2s ease-in-out;
}


footer {
  color: wheat;
  padding: 10px;
}
/*=====================The hover Effects================*/

h1:hover {
  background-color: green; /* Change color on hover */
  transform: scale(1.1) perspective(1px); /* Slightly larger with perspective */
}

.Surah:hover {
  transform: scale(1.25) perspective(1px);
  background: linear-gradient
  (to right,
    CornflowerBlue,
    Aqua,
    DeepPink,
    CornflowerBlue,
  );

  background-size: 600% 600%;
  animation: gradient 20s linear infinite;
  filter: drop-shadow(0px 0px 30px rgb(123, 165, 244));
  text-shadow: 0px 0px 3px deeppink;

}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

 100% {
  background-position: 600% 50%;
 }
}

.main-btn :nth-child(1):hover {
  background-image: linear-gradient(to right, rgb(10, 106, 202), blue);
  transform: scale(1.25) perspective(2px);

}

.main-btn :nth-child(2):hover{
  background-image: linear-gradient(to bottom right, rgb(209, 78, 78), rgb(68, 68, 237));
  transform: scale(1.25) perspective(1px);

}

.main-btn :nth-child(3):hover{
  background-image: linear-gradient(45deg, rgb(95, 104, 95), blue);
  transform: scale(1.25) perspective(1px);

}


/*::::::::::::::::::::::::The Button Active Effects::::::::::::::::::::*/
.Surah:active {
  background-color: rgb(171, 145, 0,);
}



/*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 
          JAVASCRIPT ANIMATION --> for Play, Pause and Stop function
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/
.rgbEffect {
  animation: rgbEffect 3.5s infinite, heartbeat 4.5s infinite;
  color: white;
  font-size: 2rem;
}

@keyframes rgbEffect {
  
  33% { background-color: green; }
  66% { background-color: blue; }
  100% { background-color: rgb(200, 0, 255); }
}

@keyframes heartbeat {
  0%, 100% {
      transform: scale(1) perspective(3px);
  }
  25% {
      transform: scale(1.25) perspective(3px);
  }
  50% {
      transform: scale(1.1) perspective(3px);
  }
  75% {
      transform: scale(1.25) perspective(3px);
  }
}

.pausedEffect {
  background-color: rgb(28, 238, 28);
}

