/* Reset basic styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: "Sedgwick Ave", cursive;
  background-image: url("https://projectradio.org/radio/bgtesterrr94.png"); 
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: center; 
  color: #333;
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.sedgwick-ave-regular {
  font-family: "Sedgwick Ave", cursive;
  font-weight: 400;
  font-style: normal;
}

.sedgwick-ave-display-regular {
  font-family: "Sedgwick Ave Display", cursive;
  font-weight: 400;
  font-style: normal;
}

/* Navigation bar styles */
.top-left-nav {
  font-family: "Sedgwick Ave Display", cursive;
  position: absolute;
  top: 20px;
  left: 20px;
  width: 220px;
  background-color: #d2b48c; 
  border: 2px dotted #5c4033;
  border-radius: 0; 
  padding: 15px;
}

.top-left-nav .logo {
  font-size: 1.2rem;
  font-weight: bold;
  color: #3e2f1c;
  margin-bottom: 10px;
  text-align: center;
}

.top-left-nav .nav-links {
  list-style: none;
}

.top-left-nav .nav-links li {
  margin-bottom: 8px;
  border: 1px dotted #5c4033;
  padding: 4px;
}

.top-left-nav .nav-links a {
  color: #3e2f1c;
  text-decoration: none;
  padding: 6px 10px;
  display: block;
  border-radius: 0;
  transition: background 0.2s;
}

.top-left-nav .nav-links a:hover {
  background-color: #c19a6b;
  color: #fff;
}

.logo {
  text-align: center;
  margin-bottom: 15px;
}

.logo-img {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto 8px auto;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: bold;
  color: #3e2f1c;
}

/* Main content spacing */
.main-content {
  margin-top: 100px;
  margin-left: 260px;
  flex-grow: 1; 
}

.hiphop-player {
  display: flex;
  flex-direction: column;
  background: #d2b48c;
  max-width: 100%;
  margin: 190px auto;
  box-shadow: 0 8px 16px rgba(0,0,0,.90);
  overflow: hidden;
  padding: 0;
}

.player-header-img img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 3px dotted #5c4033;
}

.player-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
}

.player-controls button {
  background-color: #5c4033;
  color: #d2b48c;
  padding: 10px 14px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 0;
  transition: background-color 0.2s;
}

.player-controls button:hover {
  background-color: #3e2f1c;
}

#volume-slider {
  width: 120px;
  accent-color: #5c4033;
}

.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  background: #5c4033;
  color: #d2b48c;
  text-decoration: none;
}

.site-footer a {
  color: #d2b48c;
  text-decoration: none;
}

@media (max-width: 768px) {
  body {
    padding: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    padding-bottom: 80px;
  }

  .top-left-nav {
    position: static;
    width: 100%;
    margin-bottom: 20px;
    padding: 10px;
    cursor: pointer;
  }

  .logo-img {
    max-width: 100px;
    height: auto;
  }

  .main-content {
    margin: 0;
    padding: 10px;
    width: 100%;
  }

  .hiphop-player {
    width: 100%;
    padding: 10px 10px 160px;
    margin-top: 1px;
  }

  .player-controls {
    display: flex;
    flex-wrap: wrap;
    overflow: visible ;
    gap: 15px;
    justify-content: center;
    padding: 10px 0;
  }


  .player-controls button,
  #volume-slider {
    flex: 1 1 auto;
    min-width: 100px;
  }

  .site-footer {
    position: static;
    width: 100%;
    padding: 10px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }

  .top-left-nav .nav-links {
    display: none;
    flex-direction: column;
    margin-top: 10px;
  }

  .top-left-nav::before {
    content: "Tuner";
    display: block;
    background-color: #d2b48c;
    color: #3e2f1c;
    padding: 8px 12px;
    font-weight: bold;
    user-select: none;
    border: 2px dotted #5c4033;
    text-align: center;
    margin-bottom: 8px;
  }

  .top-left-nav.active .nav-links {
    display: flex;
  }
}

