@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #dfdbe5;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 0h2v20H9V0zm25.134.84l1.732 1-10 17.32-1.732-1 10-17.32zm-20 20l1.732 1-10 17.32-1.732-1 10-17.32zM58.16 4.134l1 1.732-17.32 10-1-1.732 17.32-10zm-40 40l1 1.732-17.32 10-1-1.732 17.32-10zM80 9v2H60V9h20zM20 69v2H0v-2h20zm79.32-55l-1 1.732-17.32-10L82 4l17.32 10zm-80 80l-1 1.732-17.32-10L2 84l17.32 10zm96.546-75.84l-1.732 1-10-17.32 1.732-1 10 17.32zm-100 100l-1.732 1-10-17.32 1.732-1 10 17.32zM38.16 24.134l1 1.732-17.32 10-1-1.732 17.32-10zM60 29v2H40v-2h20zm19.32 5l-1 1.732-17.32-10L62 24l17.32 10zm16.546 4.16l-1.732 1-10-17.32 1.732-1 10 17.32zM111 40h-2V20h2v20zm3.134.84l1.732 1-10 17.32-1.732-1 10-17.32zM40 49v2H20v-2h20zm19.32 5l-1 1.732-17.32-10L42 44l17.32 10zm16.546 4.16l-1.732 1-10-17.32 1.732-1 10 17.32zM91 60h-2V40h2v20zm3.134.84l1.732 1-10 17.32-1.732-1 10-17.32zm24.026 3.294l1 1.732-17.32 10-1-1.732 17.32-10zM39.32 74l-1 1.732-17.32-10L22 64l17.32 10zm16.546 4.16l-1.732 1-10-17.32 1.732-1 10 17.32zM71 80h-2V60h2v20zm3.134.84l1.732 1-10 17.32-1.732-1 10-17.32zm24.026 3.294l1 1.732-17.32 10-1-1.732 17.32-10zM120 89v2h-20v-2h20zm-84.134 9.16l-1.732 1-10-17.32 1.732-1 10 17.32zM51 100h-2V80h2v20zm3.134.84l1.732 1-10 17.32-1.732-1 10-17.32zm24.026 3.294l1 1.732-17.32 10-1-1.732 17.32-10zM100 109v2H80v-2h20zm19.32 5l-1 1.732-17.32-10 1-1.732 17.32 10zM31 120h-2v-20h2v20z' fill='%239C92AC' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
  color: rgb(56, 6, 6);
  font-family: 'Poppins', sans-serif;
  height: 90vh;
  margin: 10px;
}

.container {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(5, 1fr);
  row-gap: 10px;
  max-height: 100vh;
}

.menu-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  line-height: 50px;
  width: 523px;
  height: 900px;
  font-weight: bolder;
  text-align: center;
}

.main-content {
  margin-top: 20px;
  flex-direction: column;
  justify-content: start;
  width: 1340px;
  height: 900px;
}

.header {
  font-size: 3.5rem;
  line-height: 40px;
  margin: 20px 0;
  padding-top: 30px;
}

.menu-item {
  grid-column: 1 / 2;
  grid-row: 2 / 5;
  width: 365px;
  height: 645;
}

.quran-menu {
  text-align: center;
  background: rgb(228, 228, 228);
  border: 2px solid rgb(150, 150, 150);
  border-radius: 10px;
  padding: 7px;
  margin-top: 20px;
}
.quran-menu p {
  font-size: 1.5rem;
  line-height: 30px;
  padding: 5px;
}

.hadith-menu {
  text-align: center;
  background: rgb(228, 228, 228);
  border: 2px solid rgb(150, 150, 150);
  border-radius: 10px;
  line-height: 5px;
  margin-top: 10px;
}

.ad {
  grid-column: 1 / 2;
  font-size: 1rem;
  text-align: center;
  margin: 2rem 0;
  background: rgb(228, 228, 228);
  border: 2px solid rgb(150, 150, 150);
  border-radius: 10px;
  padding: 7px;
  margin-top: 0;
  width: 365px;
}
a {
  text-decoration: none;
}
.verses {
  background: rgb(228, 228, 228);
  border: 2px solid rgb(184, 184, 184);
  border-radius: 10px;
  height: 700px;
  overflow: scroll;
}

.quran-player {
  margin-top: 15px;
  border: 2px solid rgb(184, 184, 184);
  height: 150px;
  border-radius: 10px;
  background: rgb(228, 228, 228);
}

.butn {
  padding: 5px 10px;
  color: rgb(255, 255, 255);
  background: rgb(59, 41, 41);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.butn:hover {
  transform: translateY(2px);
  color: rgb(7rgb (255, 145, 0) 75);
}

h3 {
  text-align: center;
  font-size: 2rem;
  padding: 20px 20px;
  font-family: 'Poppins', cursive;
  border-bottom: 2px solid rgb(187, 187, 187);
}
.news {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #e4e4e4;
  transition: all 0.3s ease;
  border-top: 1px solid rgb(165, 165, 165);
  margin-left: -10px;
}
.news_feed {
  display: flex;
  animation: ticker 15s linear infinite;
}
.news_feed p {
  margin: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 1.5rem;
  margin-right: 20px;
}
.weather_news {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
  margin-bottom: 10px;
}
.weather_news p {
  justify-content: space-between;
  padding: 0;
  line-height: 25px;
  margin: 0;
  text-align: left;
}

@media (min-width: 601px) and (max-width: 1366px) {
  body {
    overflow-x: hidden;
  }
  .container {
    column-gap: 20px;
    height: 100vh;
  }
  .main-content {
    margin: 0;
    width: 940px;
    height: 600px;
  }
  .menu-container {
    width: 365px;
    height: 500px;
  }
  .header {
    font-size: 2.5rem;
    line-height: 40px;
    margin: 0;
  }
  .quran-menu {
    font-size: 1.5rem;
    margin: 0;
    line-height: 35px;
  }
  .hadith-menu {
    font-size: 1.5rem;
    /* margin: 1rem 0; */
  }
  .ad {
    font-size: 1rem;
  }
  .verses {
    height: 450px;
  }
  .quran-player {
    height: 100px;
  }
  .player-header {
    left: 20%;
    top: 2px;
  }
}

@media (max-width: 600px) {
  body {
    overflow-x: hidden;
  }
  .container {
    height: 95vh;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(5, 1fr);
  }
  .header {
    font-size: 1.2rem;
    line-height: 20px;
    margin: 0;
  }
  .main-content {
    grid-column: 3 / 8;
    grid-row: 1 / 7;
    width: 100%;
    margin-top: 0;
  }
  .menu-container {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    width: 100%;
  }
  .menu-item {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }
  h3 {
    font-size: 1rem;
  }
  .quran-menu {
    width: 100%;
    margin-left: -5px;
  }
  .quran-menu p {
    line-height: 15px;
    font-size: 0.75rem;
    margin: 0;
    padding: 0;
  }
  .quran-b {
    margin: 0;
    padding: 5px 10px;
    font-size: 16px;
  }
  .hadith-b {
    padding: 5px 10px;
  }
  .hadith-menu {
    font-size: 0.75rem;
    width: 100%;
    margin-left: -5px;
  }
  .ad {
    padding: 5px 10px;
    line-height: 1;
    width: 100%;
    margin-left: -5px;
  }
  .butn {
    color: rgb(255, 255, 255);
    background: rgb(59, 41, 41);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .butn:hover {
    transform: translateY(2px);
    color: rgb(7rgb (255, 145, 0) 75);
  }
  .quran-player {
    height: 150px;
    background: #c7c7c7;
    padding-top: 20px;
    border-radius: 10px;
    position: relative;
  }
  .player-header {
    position: absolute;
    left: 20px;
    text-align: center;
    top: 2px;
    width: 200px;
    font-size: small;
  }
  #surahs {
    position: absolute;
    top: 25px;
    left: 0;
    width: 100px;
    height: 30px;
    text-align: center;
    font-size: 15px;
    padding-left: 2px;
    margin-left: 5px;
  }
  .player-controls {
    width: 100%;
    position: absolute;
    left: 55px;
    z-index: 10;
  }
  #stop {
    padding: 0;
    margin: 0;
  }
  .weather_news p {
    font-size: 7px;
    line-height: 20px;
    margin: 0;
    text-align: left;
  }
  .fas {
    font-size: 20px;
    color: rgb(129, 129, 129);
    margin-right: 20px;
    cursor: pointer;
    user-select: none;
  }
  .maximize {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 70px;
    text-align: center;
    border-bottom-right-radius: 10px;
    font-size: 10px;
  }
}
