@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", sans-serif;

  /* ff 3.6+ */
  background: -moz-radial-gradient(
    circle at 49% 33%,
    #5c5e61 0%,
    #2b2c30 30%,
    #111213 100%
  );

  /* safari 5.1+,chrome 10+ */
  background: -webkit-radial-gradient(
    circle at 49% 33%,
    #5c5e61 0%,
    #2b2c30 30%,
    #111213 100%
  );

  /* opera 11.10+ */
  background: -o-radial-gradient(
    circle at 49% 33%,
    #5c5e61 0%,
    #2b2c30 30%,
    #111213 100%
  );

  /* ie 10+ */
  background: -ms-radial-gradient(
    circle at 49% 33%,
    #5c5e61 0%,
    #2b2c30 30%,
    #111213 100%
  );

  /* global 92%+ browsers support */
  background: radial-gradient(
    circle at 49% 33%,
    #5c5e61 0%,
    #2b2c30 30%,
    #111213 100%
  );
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 100vh;
}

@media only screen and (max-width: 767px) {
  main {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  footer {
    height: 60px;
    width: 70%;
    border-radius: 50px;
    background-color: #2b2c30;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    margin: 10px;
    position: relative;
    left: 12%;
  }

  footer.uptop {
    position: relation;
    top: -70%;
  }
  #surah-buttons {
    background-color: #1a1a1d;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    overflow-y: scroll;
    padding: 10px;
    position: relative;
    top: 100%;
    display: none;
    border-radius: 10px;
    z-index: 20;
  }

  #surah-buttons.open {
    display: block;
    top: -70%;
  }

  .surah-button {
    width: 100%;
    height: 50px;
    font-size: 10pt;
    text-align: start;
    margin: 2px 0;
    padding: 0 10px;
    border-radius: 8px;
    background-color: #2b2c30;
    border-style: none;
    color: #fff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
      Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
      sans-serif;
  }

  .surah-button:hover {
    background-color: #00cccc;
    color: #111213;
  }

  .surah-logo {
    padding: 0 5px 0 0;
  }

  .repeat-button input[type="checkbox"] {
    display: none;
  }

  .repeat-button i.fa-repeat {
    display: inline-block;
    position: relative;
    padding-left: 25px;
    margin-right: 10px;
    cursor: pointer;
    user-select: none;
  }

  .repeat-button i.fa-repeat:before {
    content: "";
    display: inline-block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
  }

  .repeat-button input[type="checkbox"]:checked + i.fa-repeat:before {
    background-color: #007bff;
    border-color: #007bff;
  }

  .repeat-button input[type="checkbox"]:checked + i.fa-repeat:after {
    content: "\2713";
    display: block;
    position: absolute;
    left: 4px;
    top: 2px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
  }

  .repeat-button input[type="checkbox"]:focus + i.fa-repeat:before {
    outline: none;
    box-shadow: 0 0 3px rgba(0, 123, 255, 0.5);
  }

  #buttons-controls button {
    color: #5c5e61;
    border-style: none;
    background: none;
  }

  .fa-shuffle {
    font-size: 15pt;
    margin: 0 20px;
    color: #5c5e61;
  }
  .fa-list-ul {
    font-size: 15pt;
    margin: 0 20px;
    color: #676974;
  }
  .fa-heart-circle-check {
    font-size: 15pt;
    margin: 0 20px;
    color: #00cccc;
  }

  .fa-angle-down {
    color: #00cccc;
    float: right;
    margin-right: 10px;
    font-size: 15pt;
    z-index: 10;
  }

  .fa-play {
    font-size: 20pt;
    margin: 0 5px;
  }

  .fa-pause {
    font-size: 20pt;
    margin: 0 5px;
  }

  .fa-backward {
    font-size: 15pt;
    margin: 0 5px;
  }

  .fa-forward {
    font-size: 15pt;
    margin: 0 5px;
  }

  .fa-repeat {
    font-size: 15pt;
    color: #5c5e61;
    margin: 0 5px;
  }

  .fa-repeat:hover {
    color: #00cccc;
  }

  .fa-headphones-simple {
    font-size: 15pt;
    padding: 0 5px 0 0;
    color: #676974;
  }

  #audio-title {
    color: #00cccc;
    font-size: 15pt;
    font-weight: 600;
    letter-spacing: 1.5px;
  }
  #audio-progress {
    width: 100%;
    display: none;
  }

  .progress-bar {
    height: 0.2em;
    width: 100%;
    margin: 5px 0;
    background-color: #5c5e61;
    border-radius: 3px;
  }

  #media-timer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 8pt;
    color: #5c5e61;
    margin: 0 0 20px;
  }

  #media-image {
    background-image: url(./disk.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px solid #2b2c30;
    height: 250px;
    width: 65%;
    position: relative;
    top: 120px;
    margin: 0 0 200px;
  }

  #media-controls {
    margin: 0 0 50px;
  }

  #media-information {
    margin-bottom: 30px;
  }
}
