@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;500;700&display=swap');

body {
  font-family: 'Rubik', sans-serif;
  background-color: #121212;
  color: #ffffff;
  margin: 0;
  padding: 0;
}

.now-playing-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #1c1c1c;
  z-index: 1000;
  border-bottom: 2px solid #1db954;
  padding: 1rem;
}

.station-title {
  font-size: 2rem;
  font-weight: bold;
  color: #1db954;
}

.album-art-large {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid #1db954;
}

.dj-avatar-large {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #1db954;
}

.main-content-wrapper {
  padding: 130px 1rem 1rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}

.main-sections {
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.news-box,
.ad-box,
.history-box {
  background: rgba(0, 0, 0, 0.85);
  border: 2px solid #1db954;
  border-radius: 10px;
  padding: 20px;
  min-height: 400px;
  flex: 1 1 30%;
}

.news-scroll-box {
  max-height: 350px;
  overflow-y: auto;
  padding-right: 10px;
}

.news-scroll-box::-webkit-scrollbar {
  width: 6px;
}

.news-scroll-box::-webkit-scrollbar-thumb {
  background-color: #1db954;
  border-radius: 10px;
}

.history-art {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #1db954;
}

footer {
  background-color: #101010;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
  border-top: 2px solid #1db954;
  margin-top: auto;
}

@media screen and (max-width: 768px) {
  .main-sections {
    flex-direction: column;
  }
.news-box,
.ad-box,
.history-box {
  background: rgba(0, 0, 0, 0.85);
  border: 2px solid #1db954;
  border-radius: 10px;
  padding: 20px;
  flex: 1 1 30%;
  min-height: 500px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


  .now-playing-header {
    flex-direction: column;
    text-align: center;
  }

  .album-art-large,
  .dj-avatar-large {
    width: 80px;
    height: 80px;
  }
}
