/* General page styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 2em 1em 1em; /* top right/left bottom */
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
    color: #333;
    text-align: center;
}

.intro-text {
  background-color: white;
  padding: 1.5em;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 2em;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1em;
  color: #333;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.ai-music-showcase {
  list-style: none;
  padding-left: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1em;
  color: #333;
}

.ai-music-showcase li {
  background: white;
  border-radius: 10px;
  padding: 1em;
  margin-bottom: 1em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

a {
  color: #ff6f61;
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

/* Audio container layout */
.audio-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
    gap: 20px;
}

/* Styling for audio players */
.audio-player {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 300px;
    text-align: left;
}

/* Song info styling */
.song-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2em;
    color: #ff6f61;
}

.song-info p {
    margin: 5px 0;
    font-size: 0.9em;
}

.song-info a {
    color: #ff6f61;
    text-decoration: none; /* optional: removes underline */
}

.song-info a:hover {
    text-decoration: underline; /* optional: underline on hover */
}

/* Audio player styling */
audio {
    width: 100%;
    border-radius: 5px;
    outline: none;
}

/* Hide download button and playback speed controls */
audio::-webkit-media-controls-enclosure {
    display: flex;
    justify-content: space-between;
}

audio::-webkit-media-controls-download-button,
audio::-webkit-media-controls-playback-rate-button {
    display: none;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .audio-container {
        flex-direction: column;
        align-items: center;
    }

    .audio-player {
        width: 90%;
    }
}


/* THIS IS FOR THE YOUTUBE EMBEDS */
.video-thumbnail-wrapper {
  position: relative;
  width: 100%;
  max-width: 560px; /* optional max width */
  cursor: pointer;
  font-family: sans-serif;
}

.video-thumbnail-wrapper img {
  width: 100%;
  display: block;
}

.video-thumbnail-text {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 1rem;
}

.video-iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  display: none;
}

.video-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

