@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    font-family: 'Poppins';
}

@keyframes rotate {

    0% {
        transform: rotateZ(0deg);
    }

    100% {
        transform: rotateZ(360deg);
    }
}

@keyframes color {
    0% {
        background-position: 0 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0 50%;
    }
}

@keyframes colorTitle {
    0% {
        color: white;
        text-shadow: 0 0 10px rgb(255, 0, 0);
    }

    20% {
        color: rgb(28, 240, 123);
        text-shadow: 0 0 10px rgb(3, 184, 42);
    }

    40% {
        color: rgb(0, 255, 0);
        text-shadow: 0 0 20px rgb(3, 184, 42);
    }

    60% {
        color: #00e4f4;
        text-shadow: 0 0 10px rgb(4, 0, 245);
    }


    80% {
        color: #00a8f4;
        text-shadow: 0 0 20px rgb(4, 0, 245);
    }

    100% {
        color: white;
        text-shadow: 0 0 10px rgb(255, 0, 0);
    }
}

@keyframes loading {
    0% {
        transform: rotate(0deg);
    }


    100% {
        transform: rotate(360deg);
    }

}


main {
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
    flex-direction: column;

}

body {

   
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-color: rgb(54, 54, 54);
    background-size: 300% 300%;
    overflow: hidden;
    animation: color 5s ease-in-out infinite;
    background-image: linear-gradient(45deg, #6c0092, #7500a5, #7d00b9, #8400cd, #8a00e2, #6d3bf0, #4a54f9, #0067ff, #0082ff, #0096ff, #00a8f4, #09b7e7);
}


.load-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    background-color: black;
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 0;

}

.use-fones {

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;


}

.use-fones img {
    width: 450px;
    height: auto;
    margin-bottom: 30px;
}

.use-fones p {
    margin-top: 30px;
    font-size: 15px;
    margin-right: 10px;
    color: white;
}


.loading {
    margin-right: 15px;
    animation: loading 1s linear infinite;
    border: 7px solid rgb(255, 255, 255);
    border-top: 7px solid transparent;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background-color: transparent;
}

.mascara {

    background: linear-gradient(109deg, rgba(10, 12, 16, 0.8) 15%, rgba(10, 12, 16, 0.6) 50%, rgba(10, 12, 16, 0.8) 85%);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0.9;

}

.container {
    position: relative;
    border-radius: 10px;
    padding: 10px;

}

.title {
    animation: colorTitle 5s infinite;
    z-index: 1;
    color: white;
    font-size: 10px;
    text-transform: uppercase;

}

.song-info {

    box-shadow: 0 0 10px #ffffff;
    background-color: rgb(0, 0, 0);
    margin: 0 15px;
    padding: 15px 15px 5px 150px;
    border-radius: 15px 15px 0 0;

}


.song-info .song-name {
    font-size: 18px;
    font-weight: bold;
    color: white;
}

.song-info .artist-name {
    color: #b9b9b9;
    font-size: 14px;
    margin: 3px 0 20px;
}

.progress-bar {
    background-color: #505050;
    border-radius: 20px;
    cursor: pointer;
}

.progress-bar .fill-bar {
    width: 0;
    background-color: rgb(114, 0, 114);
    height: 6px;
    border-radius: 20px;

}

.song-info .time {
    font-size: 15px;
    color: #b9b9b9;
    margin: 10px auto;
}

.container .disk {
    max-width: 120px;
}

.container .disk .active {
    animation: rotate 3s linear 0s infinite forwards;
}

.container .disk .cover {
    width: 145px;
    height: 145px;
    background-color: red;
    position: absolute;
    top: 10px;
    left: 10px;
    background: url(./assets/calm.webp);
    background-position: bottom center;
    background-size: cover;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;

}

.disk .box {
    background-color: #2c2c2c;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    width: 145px;
    height: 145px;

}

.container .disk .circle {
    position: absolute;
    z-index: 1;
    width: 25px;
    height: 25px;
    background-color: #fff;
    top: 60px;
    left: 60px;
    border-radius: 50%;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    width: 450px;
    height: 100px;
    color: white;
    background-color: rgb(32, 0, 30);
    box-shadow: 0 0 10px #dfb3ff;

}

.controls #play {
    color: white;
    background-color: purple;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    padding-left: 12px;
    transition: all 0.3s ease;

}

.controls #play.pause {
    padding-left: 8px;
}


.controls #play:hover {

    background-color: rgb(156, 0, 156);

}

.controls i {

    padding: 30px 8px;
    font-size: 25px;
    cursor: pointer;
    color: #b9b9b9;
    transition: all 0.3s ease;
}

.controls i:hover {

    color: white;
}

.info {

    display: flex;
    justify-content: center;
    font-weight: bold;
    margin-top: 10px;
    text-transform: uppercase;
    text-shadow: 2px 3px 5px black;
}

.info a {
    text-decoration: none;
    font-family: 'Poppins';
    color: white;
}


@media (max-width: 500px) {
    .controls {

        width: 100%;

    }

}

@media (max-width: 480px) {

    .use-fones img {
        width: 350px;

    }

    .loading {
        width: 40px;
        height: 40px;
    }

}


@media (max-width: 370px) {

    .use-fones img {
        width: 290px;

    }

    .loading {
        width: 30px;
        height: 30px;
    }

}