html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Main navigation styling */
.navigatie {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background-color: rgba(1, 1, 1, 0.5);
  transition: background-color 0.3s ease;
}

.navigatie .logo {
  display: flex;
  white-space: nowrap;
  font-size: 35px;
  font-weight: 700;
  margin-left: 20px;
  margin-right: auto;
  transition: all 0.3s ease;
}

.navigatie .logo span {
  display: inline-block;
}

.navigatie-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-left: auto;
}

.navigatie-links a {
  font-size: 28px;
  font-weight: bold;
  display: block;
  text-align: center;
  padding: 30px 20px;
  transition: background-color 0.3s, color 0.3s;
  color: #c7c7c7;
  text-decoration: none;
}

a.home-active {
  color: #AD8CB2;
  transition: color 0.3s ease;
}

a:hover, a:focus, a:active, .subnavbtn:hover, .subnavbtn:focus, .subnavbtn:active {
  color: #3B1040;
  background-color: #2c2c2c;
}

.subnav {
  position: relative;
  display: flex;
  align-items: center;
}

.subnavbtn, .subnavbtn:active {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 28px;
  border: none;
  outline: none;
  background-color: inherit;
  font-family: inherit;
  cursor: pointer;
  padding: 10px 15px;
}

.subnav-content {
  display: none;
  position: absolute;
  top: 100%; /* Default: below the button */
  left: 0;
  white-space: nowrap;
  min-width: 160px;
  z-index: 1;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  background-color: #3c3c3c;
}

.subnav:hover .subnav-content, .subnav:active .subnav-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.subnav-content a {
  display: block;
  padding: 15px 20px;
  background-color: #3c3c3c;
  color: #c7c7c7;
}

.subnav-content a:hover {
  background-color: #2c2c2c;
  color: #3B1040;
}

/* Instellingen icoon in de navbar */
.instellingen-icon img {
  width: 24px;
  cursor: pointer;
  margin-right: 15px;
}

.instellingen-icon {
  font-size: 28px;
  cursor: pointer;
  margin-right: 15px;
  color: #ffffff;
  display: flex;
  align-items: center;
}

/* Theme panel styles */
.theme-panel {
  position: fixed;
  z-index: 10000;
  bottom: -100%;
  right: 20px;
  width: 200px;
  background-color: rgba(1, 1, 1, 0.5);
  color: white;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.5s ease, bottom 0.5s ease;
}

.theme-panel.show {
  bottom: 20px;
}

.theme-panel button {
  background: none;
  border: 1px solid white;
  color: white;
  padding: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.theme-panel button:hover, .theme-panel button:focus {
  background: rgba(255, 255, 255, 0.2);
}

.tekst {
  padding-top: 20px;
  padding-bottom: 20px;
  width: 100%;
  background-color: rgba(1, 1, 1, 0.5);
  color: white;
  text-align: center;
}

.song-item {
  background-color: #AD8CB2 !important;
}

body {
  background-color: #121212;
  color: #e0e0e0;
}

.text-hover:hover {
  color: #b0bec5;
}

.box {
  background-color: #1e1e1e;
  border: 1px solid #424242;
  padding: 15px;
  border-radius: 4px;
}

img {
  filter: grayscale(0%);
}

/* Responsive styling */
@media (max-width: 1024px) {
  .navigatie .logo {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .navigatie .logo {
    display: none;
  }

  .navigatie {
    flex-direction: column;
    align-items: flex-start;
    position: static;
  }

  .navigatie-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .navigatie-links a {
    width: 100%;
    padding: 15px 20px;
    text-align: left;
  }

  .subnav-content {
    position: absolute;
    left: 100%; /* Move to the right of the subnavbtn */
    top: 0; /* Align with the top of the button */
  }
}
