/* Basisstijlen en import */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap");
@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');

body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  background: linear-gradient(135deg, #ad1fff, #c560ff);
  overflow-x: hidden;
}

/* Styling voor volledige pagina voor credits */
#backButton {
  position: absolute;
  z-index: 9999;
  top: 20px;
  left: 20px;
  padding: 10px 20px;
  font-size: 1em;
  color: white;
  background: #603cba;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#backButton:hover {
  background-color: #5a55a1;
}

.credits-header {
  z-index: 1;
  text-align: center;
  margin-bottom: 1em;
}

.credits-header h1 {
  color: white;
  font-size: 3em;
  animation: animate__fadeInDown 1s;
}

.credits-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  padding: 0 20px;
  margin-top: 100px;
}

.credit-side {
  flex: 1;
  max-width: 45%;
  padding: 1em;
  color: white;
  margin: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.credit-side h2 {
  font-size: 2em;
}

.credit-image {
  max-width: 200px;
  border-radius: 50%;
  border: 5px solid white;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.55s ease-in-out;
}

.credit-image:hover {
  transform: rotate(360deg);
  border: 5px solid antiquewhite;
}

.credit-links {
  list-style: none;
  padding: 0;
}

.credit-links li {
  margin-bottom: 10px;
}

.credit-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
  margin-right: 35px;
}

.credit-links a:hover {
  color: #ffc107;
}

.icon-link {
  font-size: 24px;
  transition: transform 0.3s ease;
}

.icon-link:hover {
  transform: scale(1.2);
}

.bottom-links {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 16px;
}

.bottom-links a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s;
}

.bottom-links a:hover {
  color: #ffc107;
}

.bottom-links span {
  color: white;
  margin: 0 5px;
}

.link_glr {
  text-decoration: none;
  opacity: 65%;
  color: rgb(216, 210, 210);
  transition: opacity 0.5s ease-out;
}

.link_glr:hover {
  opacity: 100%;
}

/* Responsive code */
@media (max-width: 768px) {
  .credits-container {
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
  }

  .credit-side {
    max-width: 90%;
    margin: 10px 0;
    text-align: center;
  }

  .credits-header h1 {
    font-size: 2em;
  }

  .bottom-links {
    position: static;
    text-align: center;
    width: 100%;
    margin-top: 2.8vh;
    margin-bottom: 3vh;
  }

  
    .credits {
      display: none;
    }

    .music-requests {
      display: none;
    }
}

@media (max-width: 480px) {
  #backButton {
    font-size: 0.8em;
    padding: 8px 16px;
  }

  .credits-header h1 {
    font-size: 1.8em;
  }

  .credit-image {
    max-width: 150px;
  }

  .credit-side h2 {
    font-size: 1.5em;
  }

  .icon-link {
    font-size: 20px;
  }

  .bottom-links a, .bottom-links span {
    font-size: 14px;
  }
}

.credits-text {
  font-size: 1.15em;
}

.credits {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: white;
  z-index: 100; 
}

.credits a {
  color: #ffc107; 
  text-decoration: none; 
  opacity: 80%;
  transition: all 0.2s ease-in;
  scale: 1;
}

.credits a:hover {
  text-decoration: underline;
  opacity: 100%;
}

.music-requests {
  position: absolute;
  bottom: 35px; 
  left: 45px;
  color: white;
  z-index: 100;
}

.music-requests a {
  color: #ffc107; 
  text-decoration: none; 
  opacity: 80%;
  transition: all 0.2s ease-in;
  scale: 1;
}

.music-requests a:hover {
  opacity: 100%;
}
