/* General Styles */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #121212;
  color: white;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}

/* Loading Screen */
#loadingScreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 2rem;
  z-index: 999;
  transition: opacity 1s ease-out;
}

/* Main Content */
.hidden {
  display: none;
}

.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

h1 {
  text-align: center;
  color: white;
  margin-top: 20px;
  font-size: 3rem;
  text-transform: uppercase;
}

.instrument-selection {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
  gap: 15px;
}

.instrument-selection button {
  width: 150px;
  height: 60px;
  background-color: #444;
  color: white;
  font-size: 1.2rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.instrument-selection button:hover {
  background-color: #1DB954; /* Highlighted color */
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.instrument-selection button.selected {
  background-color: #1DB954;
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

/* Button Animation */
.instrument-selection button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.instrument-selection button:active::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Responsiveness for smaller screens */
@media (max-width: 600px) {
  .instrument-selection button {
    width: 120px;
    height: 50px;
    font-size: 1rem;
  }
}

@media (max-width: 400px) {
  h1 {
    font-size: 2.5rem;
  }
}