/* General styles */
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100vh;
  font-family: 'Times New Roman', serif;
  color: white;
  overflow: auto; /* Allow scrolling on smaller screens */
}

/* Background image */
body {
  background-image: url('https://www.dropbox.com/scl/fi/7zijcwr9yivogl6g3ymhg/BACKGROUND.png?rlkey=s7802n58wupm97zhcwul9tsvc&dl=1');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Container for text and audio player */
.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh; /* Prevents shrinking */
  width: 100%;
}

/* Image in the top-left corner */
.text {
  position: absolute;
  top: 20px;
  left: 20px;
}

.corner-image {
  width: auto;
  height: 150px; /* Keeps size fixed */
}

/* Audio player styles */
.audio-player {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  min-width: 120px;
  min-height: 120px;
}

/* Play/Pause button */
#play-pause-btn {
  background: none;
  border: none;
  color: white;
  font-size: 120px;
  cursor: pointer;
  transition: opacity 0.3s;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 120px;
  line-height: 120px;
  text-align: center;
  touch-action: manipulation; /* Improves touch responsiveness */
}

#play-pause-btn:hover {
  opacity: 0.8;
}

/* Spinning animation for pause button */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.spinning {
  animation: spin 25s linear infinite; /* Slower spin */
}
