* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helveitcaa', sans-serif;
    background-color: #0f0f0f;
    color: #c5c5c5;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    align-items: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container.lyrics {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    text-align: center;
    flex-direction: row;
}

.progress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}


.lyrics {
    display: none;
    height: 60vh;
    overflow-y: scroll;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#lyrics {
    background-image: linear-gradient(rgba(0,0,0,0) 0%, rgba(15,15,15,0.8) 10%, rgba(15,15,15,0.8) 90%, rgba(0,0,0,0) 100%);
}

.lyrics > p {
    margin: 10px 0;
    font-size: 2rem;
    color: #8a8a8a; /* Keep this as a fallback */
    transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    opacity: 0.6;
    scale: 0.8;
    font-family: 'Nunito', sans-serif;
}

.lyrics > p.active {
    font-weight: 600;
    opacity: 1;
    transform: scale(1.1);
    transition: all 0.5s ease-in-out;
    
    /* Apply gradient effect only to text */
    background-image: linear-gradient(to right, #333333, #fff);
    background-size: 400% 400%;
    background-position: 0% 0%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent; /* Makes the text transparent so background shows */
    color: transparent; /* Fallback for browsers that don't support webkit */

    /* transition-delay: 0.1s; */
}



.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    /* only allow 5 items per row */
    flex-wrap: wrap;
    gap: 10px;
    
}

button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #555;
}

button:active {
    background-color: #666;
}

.loop.active {
    background-color: #666;
    color: #fff;
}

.shuffle.active {
    background-color: #666;
    color: #fff;
}

input[type="range"] {
    width: 100%;
    margin: 0 20px;
    /* make it look more like volume control */
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    background-color: #333;
    border-radius: 5px;
    
    cursor: grab;
}

/* album cover */
.audio img {
    width: 100%;
    max-width: 300px;
    margin: 20px 0;
    border-radius: 5px;
}
