* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    user-select: none;
}

body {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100vh;
}

.progress-container {
    position: fixed;
    bottom: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1; 
}

.progress-bar {
    width: 100%;
    max-width: 500px;
    height: 20px;
    background: #111111;
    border-radius: 2px;
    overflow: hidden;
}

.progress {
    width: 0%;
    height: 100%;
    background: #44924b;
    transition: width 0.3s ease-in-out;
}


#music-toggle {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.key {
    background: rgb(255, 255, 255);
    color: black;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    text-shadow: 0px 0 0px rgba(0, 0, 0, 0);
}

.volume-container {
    position: fixed;
    bottom: 50px;
    left: 50px;
    display: flex;
    align-items: center;
    color: white;
    z-index: 2;
}

#volume-slider {
    width: 150px;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    outline: none;
    transition: background 0.3s; 
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

#volume-slider::-webkit-slider-thumb:hover {
    background: #44924b;
}


.music-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: left;
    font-weight: bold;
    color: white;
    z-index: 2; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.controls {
    display: flex;                
    gap: 20px;                    
    justify-content: center;      
    padding: 10px;                
}

.controls button {
    display: flex;
    align-items: center;          
    justify-content: center;     
    padding: 15px;                
    font-size: 28px;              
    border: none;                 
    background-color: #111111;    
    border-radius: 10px;          
    cursor: pointer;              
    transition: background-color 0.3s;  
    width: 50px;                  
    height: 45px;                 
    box-sizing: border-box;       
}

.controls button i {
    pointer-events: none;         
    font-size: 24px;               
    color: #44924b;
}

.controls button:hover {
    background-color: #2e2e2e;       
}

.bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bg-img {
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 4s ease-in-out, transform 4s ease-in-out;
    background-color: rgba(0, 0, 0, 0.6);
}

.bg-img:first-child {
    background-image: url(./img/background1.jpg);
}

.bg-img:nth-child(2) {
    background-image: url(./img/background1.png);
}

.bg-img:nth-child(3) {
    background-image: url(./img/background2.png);
}

.bg-img:nth-child(4) {
    background-image: url(./img/background3.png);
}

.slide-active {
    opacity: 1;
    transition: all 4s ease-in-out;
    transform: scale(1.2);
}
