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

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

body {
  background: linear-gradient(-45deg, #e6a49a, #da3457, #ddacd5, #bdcccf);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  height: 100vh;
  text-align: center;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: 'Raleway', sans-serif;
}

h1 {
  margin: 0 0 20px;
  font-size: 3rem;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

audio {
  margin-bottom: 30px;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50vh;
}

.ball-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 400px;
  height: 100%;
  max-height: 400px;
}

#ball {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  width: 80px;
  background: #ffffff;
  border-radius: 50%;
  color: #3e606f;
  font-size: 1rem;
  font-family: 'Merriweather', serif;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 1.5s ease-in-out;
}

/* Additional styling for smoother transitions and effects */
#ball:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

/* Smooth transition for all elements */
* {
  transition: background-color 0.5s ease, color 0.5s ease;
}

audio {
  display: block;
  /* Makes the audio player a block-level element */
  margin: 0 auto;
  /* Centers the block-level element horizontally */
  margin-bottom: 30px;
}
