body {
    background-color: black; /*this shouldn't matter since we set an image as a background*/
    color: white;
    font-family: 'Lexend', sans-serif; /*Lexend font*/
	text-align: center;
}

header img {
	max-width:100%;
	height:auto;
	display:block;
	margin: auto; /*centers image*/
}

iframe {
    width: 100%;
    height: 66vh;
    border: none; /* Remove default border */
    background: transparent; /* Make iframe itself transparent */
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: black;
    color: white;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 10px; /* Extra space to prevent overlap */
}

/*-------------------------------------*/
/*links*/
a {
	color: cyan;
	text-decoration: underline;
}

a:hover {
	color:blue;
}

/*Hides logo and random message on short screens */
@media (max-height: 500px) {
	#logo {
		display: none;
	}
	#random-message {
		display: none;
	}
}

/*audio player------------------------------------------------------*/

/* Title (remains centered at the top of the footer) */
#track-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Progress bar section spans full width without breaking layout */
#progress-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw; /* Full width of the viewport */
    position: relative; /* No longer absolute */
    padding: 5px 0; /* Space above/below */
}

/* Time elapsed (absolute left) */
#time-elapsed {
    position: absolute;
    left: 10px;
}

/* Time total (absolute right) */
#time-total {
    position: absolute;
    right: 10px;
}

/* Progress bar now properly expands between the time labels */
#progress-bar {
    flex-grow: 1;
    margin: 0 60px; /* Keeps space for time labels */
    cursor: pointer;
}

/* Controls section now properly positioned below the progress bar */
#controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding-top: 5px; /* Space to prevent overlap */
}

/* Volume controls are aligned properly */
#volume-control {
    display: flex;
    align-items: center;
    gap: 8px; /* space between icon and slider */
}

/* Style the volume icon */
#volume-icon {
    font-size: 18px;
    color: white;
}