* {
    font-family: 'Pattaya', sans-serif;
}

body {
    background-color: #03422f; 
    background-image: url("./assets/background3.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
}
.bodyNewYear {
    background-color: #001532; 
    background-image: url("./assets/newyear.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
}

.bigContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 95%;
    
}

.heading {
    margin-top: 35px;
    display: flex;
    justify-content: center;   
}

h1 {
    text-align: center;
    font-size: 95px;
    /* Fallback color for browsers that don't support gradient text */
    color: #ffffff;
    background: linear-gradient(to right top, #ffffff, #f6eff7, #f5dee8, #f3ced0, #ecc0b3, #e3b7a4, #d9af94, #cea785, #ca9e81, #c6957d, #c18c7a, #bb8377);
    /* For WebKit/Blink: make fill transparent so the background shows through */
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    /* Standard property (kept for modern browsers) */
    background-clip: text;
    padding: 5px;
}

.newYear {
    margin: 80px 0 50px;
    text-align: center;
    font-size: 150px;
    background: linear-gradient(to right, #f5dee8, #f3ced0, #ecc0b3,#5c183c,#5c183c,#580e35,#5e0333,#5e0333,#5c183c,#5c183c,#5c183c,#5c183c,#5c183c,#ecc0b3, #e3b7a4, #d9af94);
    /* Fallback color for older browsers */
    color: #ffffff;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    padding: 5px;
}

.container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 80%;
}

.time {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.days, .hours, .minutes, .seconds {
    margin: 0;
}

.timer{
    background: linear-gradient(to right top, #ffffff, #f6eff7, #f5dee8, #f3ced0, #ecc0b3, #e3b7a4, #d9af94, #cea785, #ca9e81, #c6957d, #c18c7a, #bb8377);
    /* Fallback color so timers remain readable if gradient text unsupported */
    color: #ffffff;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    font-size: 50px;
    background-clip: text;
    text-align: center;
    padding: 5px;
}

.playerPosition {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    width: 60%;
}

.player {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.playerContainer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 25px;
    margin-left:200px;
    width: 100%;
}

.song {
    display: flex;
    justify-content: center;
    width: 50%;
}

.songName {
    font-size: 30px;
    color:#e3b7a4;
    margin: 0;
    text-align: center;
}


button {
    cursor: pointer;
    background-size: cover;
    background-color: transparent;
    border: none;
    width: 35px;
    height: 35px;
    margin: 0 10px;
    outline: none;
}

.btns {
    align-self: flex-start;
}

.prev {
    background-image: url("./assets/back.png");
    margin-left: 0;
}

.next {
    background-image: url("./assets/next.png");
}

.play {
    background-image: url("./assets/play.png");
} 

.pause{
    background-image: url("./assets/pause.png");
}

.progressBar {
    background: #FFF5F1;
    border-radius: 5px;
    width: 100%;
    height: 4px;
    cursor: pointer;
}
.progress {
    background-color: #e7c499;
    border-radius: 5px;
    height: 100%;
    width: 0%;
    transition: width 0.1s linear;
}
/* СНЕЖИНКИ */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}


@media all and (max-width: 920px) {
    .player {
        width: 80%;
    }

    .playerPosition {
        width: 100%;
    }
    .playerContainer {
        margin-left:20px;
    }
    .song {
        width:70%;
    }
}

@media all and (max-width: 540px) {
    h1 {
        font-size: 50px;
    }

    .newYear {
        font-size: 75px;
        margin: 0;
    }

    .container {
        width: 100%;
    }

    .timer {
        font-size: 22px;
    }

    .playerPosition {
        margin-top: 80px;
        width: 100%;
    }

    button {
        width: 18px;
        height: 18px;
        margin: 0 2px;
        padding: 0;
    }

    .songName {
        font-size: 17px;
    }
}

@media all and (max-width: 320px) {
    h1 {
        font-size: 40px;
    }

    .newYear {
        font-size: 55px;
    }

    button {
        width: 14px;
        height: 14px;
    }
}
