html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(90deg, #16054e, #5e239d);
  background-size: 800% 800%;
  animation: gradient 25s ease infinite;
  color: white;
  font-family: sans-serif;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

#video-circle {
  animation: slow-spin 10s linear infinite;
}

@keyframes slow-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Hover: Video Circle First, Then Mute Button */
@media (min-width: 768px) {
  #music-slider {
    left: -100px;
  }

  #music-slider:hover {
    left: 1rem;
  }

  #music-slider:hover #mute-circle {
    display: flex;
    transform: scale(1.1);
  }

  #music-slider:hover #video-circle {
    transform: scale(1.1);
  }
}
/* Mobile Adjustments */
@media (max-width: 768px) {
  #music-slider {
    /* top: -50px; */
    left: 50%;
    transform: translateX(-50%);
    /* flex-direction: column; */
  }

  /* #video-circle {
    transform: translateY(50%);
  } */

  /* #mute-circle {
    display: none;
  } */
}

.github-link {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 1000;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #7b7676;
  color: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
  transition: transform 0.25s ease, background 0.25s ease;
}

.github-link:hover {
  transform: scale(1.12);
  background: #bfaeae;
}

.github-link svg {
  width: 1.5rem;
  height: 1.5rem;
}

@media (max-width: 480px) {
  .github-link {
    width: 2.5rem;
    height: 2.5rem;
    bottom: 0.75rem;
    right: 0.75rem;
  }
  .github-link svg {
    width: 1.3rem;
    height: 1.3rem;
  }
}
