@font-face {
    /*police spotify*/
    font-family: "Circular";
    src: url(../Circular/CircularStd-Medium.otf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Circular", sans-serif;
    cursor: default;

    -moz-user-select: none; /* Firefox */
    -webkit-user-select: none; /* Chrome, Safari, Opéra depuis la version 15 */
    -ms-user-select: none; /* Internet explorer depuis la version 10 et Edge */
    user-select: none; /* Propriété standard */
}

html,
body {
    height: 100%;
    width: 100%;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #010101;
    overflow: hidden;

}

svg {
    fill: #b6b6b6;
    height: 50%;

    cursor: pointer;
}

#messagePourConexion {
    position: absolute;
    width: 100%;
    height: 100px;

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 10000;
    transition: .3s;
    transform: translateY(-150px);
}

#messagePourConexion>div {
    width: 300px;
    height: 80px;

    border-radius: 12px;
    background-color: #1a1a1a;
    border: solid 1px #3b3b3b;
    font-size: 1.3rem;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding-left: 12px;
    padding-right: 12px;

    color: #ffffff;
}



#containerDeTitreParent {
    width: 100%;
    height: calc(100% - 90px);

    display: flex;
    justify-content: center;
    align-items: center;
}

#containerDeTitre {
    height: calc(100% - 24px);
    width: calc(100% - 24px);
    background-color: #1a1a1a;

    border-radius: 12px;

    padding-bottom: 32px;

    display: flex;
    flex-direction: column;
    align-items: center;

    overflow-x: hidden;
    overflow-y: scroll;

    background: #000000;
    background: linear-gradient(0deg, #1a1a1a 28%, #1e182a81 60%, rgba(25, 0, 69, 0.349) 76%);
}

.baniereTitreLike {
    width: 100%;
    height: 250px;
    min-height: 250px;
    background: rgb(49, 29, 107);
    background: linear-gradient(20deg, #311d6b 0%, #120a2a 100%);
    margin-bottom: 16px;

    display: flex;
    justify-content: start;
    align-items: center;
    gap: 20px;

    padding-left: 16px;
    padding-right: 16px;
}

.logoTitresLikes {
    height: 70%;
    aspect-ratio: 1 / 1;

    background: linear-gradient(137deg, rgba(65, 0, 245, 1) 20%, rgba(128, 117, 230, 1) 53%, rgba(191, 233, 216, 1) 85%);
    border-radius: 12px;
}

.logoTitresLikesCoeur {
    height: 100%;
    width: 100%;

    background-image: url(../image/logoCoeurLike.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 40%;
    backdrop-filter: blur(15px);
    border-radius: 12px;
}

.baniereTitreLike>p {
    color: #ffffff;
    font-size: 5rem;
    font-weight: 600;
}

.messageSiAucuneMusiqueLike {
    width: calc(100% - 32px);
    color: #ffffff;
    padding-top: 32px;
    padding-bottom: 32px;
    padding-left: 48px;
    padding-right: 48px;
    font-weight: 600;
    font-size: 3rem;

    background-color: #ffffff20;
    border-radius: 12px;

    display: none;
}

#containerDeTitre::-webkit-scrollbar {
    width: 0px;
}

.musique {
    width: calc(100% - 32px);
    padding: 12px;

    display: flex;
    align-items: center;

    border-radius: 12px;
}

.musique:hover {
    background-color: #ffffff31;
}

.musique>#numeroMusique {
    font-size: 2rem;
    display: flex;
    justify-content: end;
    align-items: center;
    width: 70px;

    padding-right: 12px;

    text-align: end;

    color: #ffffff;
}

.musique>.btnPlayMusique {
    width: 40px;
    height: 40px;

    cursor: pointer;

    background-image: url(../image/logoPlayBiblio.png);
    background-size: 60%;
    background-position: 0%;
    background-repeat: no-repeat;
}

.musique>#artisteEtTitreMusique {
    width: 190px;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.musique>#artisteEtTitreMusique>#titreMusique {
    font-size: 1.3rem;
    color: #ffffff;
}

.musique>#artisteEtTitreMusique>#artisteMusique {
    font-size: 1rem;
    color: #b6b6b6;
    margin-top: 6px;
}

.musique>.tempMusique {
    width: 60px;
    font-size: 1.4rem;
    color: #b6b6b6;
}

.musique>#ajouteFileAttente {
    height: 55px;
    width: calc(100% - 420px);

    margin-left: 16px;

    display: flex;
    justify-content: end;
    padding-right: 32px;
    align-items: end;

    overflow: hidden;
    color: #b6b6b6;
}

.musique>#ajouteFileAttente>.btnFileAttente {
    height: 100%;
    aspect-ratio: 1 / 1.5;

    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem !important;
}

.musique>#btnMusiqueContainer {
    width: 30px;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.musique>#btnMusiqueContainer>.btnDislikeMusique {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;

    /* background-color: rgb(82, 82, 82); */
    background-image: url(../image/logoDislike.png);
    background-size: 85%;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;

    /* background-color: red; */
}
#btnDislikeMusique:hover {
    background-color: #ffffff26;
}


#lecteurTitre {
    width: 100%;
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #010101;
    border-radius: 8px 8px 0 0;
}

#lecteurTitre>div {
    width: 28%;
    height: 100%;
}

#lecteurTitre>#titreEtArtiste {
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: start;

    padding-left: 12px;
}

#lecteurTitre>#titreEtArtiste>#titre {
    font-size: 1.5rem;
    color: #ffffff;
}

#lecteurTitre>#titreEtArtiste>#artiste {
    color: #b6b6b6;
}

#lecteurTitre>#infoTemporelleSon {
    width: 44%;

    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

#changementEtPauseDeMusique {
    height: 50%;
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;
}


#retourEnArriere {
    height: 100%;
    width: 30%;


    display: flex;
    align-items: center;
    justify-content: end;
}

#retourEnArriere>#btnRetourArriere {
    height: 100%;
    aspect-ratio: 1 / 1;

    background-image: url(../image/flecheGauche.png);
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;

    cursor: pointer;
}

/*****************/
#prochaineMusique {
    height: 100%;
    width: 30%;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

#prochaineMusique>#btnProchaine {
    height: 100%;
    aspect-ratio: 1 / 1;

    background-image: url(../image/flecheGauche.png);
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;

    transform: rotate(180deg);

    cursor: pointer;
}

#prochaineMusique>#btnAleatoire {
    height: 100%;
    aspect-ratio: 1 / 1;

    background-image: url(../image/aleatoire.png);
    /* background-image: url(../image/aleatoireActif.png); */
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;

    cursor: pointer;
}


#lecteurTitre>#infoTemporelleSon>#changementEtPauseDeMusique>#playPause {
    height: 100%;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-color: #ffffff;
    border-radius: 50%;

    cursor: pointer;


    transition: .1s;

    background-image: url(../image/logoPause.png);
    background-size: 70%;
    background-position: center;
    background-repeat: no-repeat;
}

#lecteurTitre>#infoTemporelleSon>#barreDeProgressionEtTemp {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-top: 20px;

    width: 100%;
    height: 30%;
}

#tempEcoute,
#tempRestant {
    font-size: 0.9rem;
    width: 35px;
    color: #b6b6b6;
}

#barreDeSon {
    width: calc(100% - 80px);
    height: 10px;

    background-color: #616161;
    border-radius: 5px;

    transform: translateY(-1px);

    text-align: center;

    display: flex;
    align-items: center;
    justify-content: start;
    transition: .2s;

    cursor: pointer;
}

#barreDeSon:hover {
    height: 15px;
    border-radius: 7.5px;
}

#barreDeSonParcourue {
    position: absolute;
    height: 10px;
    background-color: #ffffff;
    border-radius: 7.5px;

    transition: .4s;
    transition-timing-function: linear;

    height: 100%;

    cursor: pointer;
}

#lecteurTitre>#volume {
    display: flex;
    justify-content: end;
    align-items: center;

    padding-right: 24px;
}

#lecteurTitre>#volume>#volumeContainer {
    height: 100%;
    width: 120px;
    min-width: 130px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

#lecteurTitre>#volume>#volumeContainer>#logoVolume {
    height: 20%;
    aspect-ratio: 1 / 1;
    background-image: url(../image/differentVolume/volumeHaut.png);
    background-size: 99%;
    background-repeat: no-repeat;
    background-position: center;

    cursor: pointer;
}

#lecteurTitre>#volume>#volumeContainer>#volumeSliderParent {
    height: 7px;
    width: 100px;
    min-width: 100px;

    background-color: #616161;
    border-radius: 4px;

    display: flex;
    align-items: center;
    justify-content: start;

    cursor: pointer;
}

#lecteurTitre>#volume>#volumeContainer>#volumeSliderParent>#volumeSlider {
    height: 7px;
    width: 50px;

    background-color: #ffffff;
    border-radius: 4px;
    cursor: pointer;
}

#volumeSlider:hover {
    background-color: #1ed760 !important;
}

/*****************************************/

#gifPourSonEnLecture {
    height: 40px;
    width: 40px;

    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: space-around;

    padding-right: 9px;

    animation: changementOfBackground .1s infinite;

    background-color: transparent !important;
    transform: translateZ(0);
}

.barreGif {
    height: 20px;
    width: 3px;

    background-color: #1ed760;
    transition: .3s;
    transform: translateZ(0);

}

#barre1Gif {
    animation: changementOfHeightFor1 3s infinite;
    animation-timing-function: linear;
}

#barre2Gif {
    animation: changementOfHeightFor2 3s infinite;
    animation-timing-function: linear;
}

#barre3Gif {
    animation: changementOfHeightFor3 3s infinite;
    animation-timing-function: linear;
}

#barre4Gif {
    animation: changementOfHeightFor4 3s infinite;
    animation-timing-function: linear;
}

#barre5Gif {
    animation: changementOfHeightFor5 3s infinite;
    animation-timing-function: linear;
}

@keyframes changementOfBackground {
    0% {
        background-color: #1a1a1a;
    }

    20% {
        background-color: #1a1a1a;
    }

    30% {
        background-color: #1a1a1a;
    }

    40% {
        background-color: #1a1a1a;
    }

    50% {
        background-color: #1a1a1a;
    }

    60% {
        background-color: #1a1a1a;
    }

    80% {
        background-color: #1a1a1a;
    }

    80% {
        background-color: #1a1a1a;
    }

    90% {
        background-color: #1a1a1a;
    }

    100% {
        background-color: #1a1a1a;
    }
}

@keyframes changementOfHeightFor1 {
    0% {
        height: 20px;
    }

    20% {
        height: 35px;
    }

    30% {
        height: 30px;
    }

    40% {
        height: 5px;
    }

    50% {
        height: 27px;
    }

    60% {
        height: 12px;
    }

    80% {
        height: 22px;
    }

    80% {
        height: 7px;
    }

    90% {
        height: 19px;
    }

    100% {
        height: 20px;
    }
}

@keyframes changementOfHeightFor2 {
    0% {
        height: 24px;
    }

    20% {
        height: 10px;
    }

    30% {
        height: 24px;
    }

    40% {
        height: 18px;
    }

    50% {
        height: 32px;
    }

    60% {
        height: 12px;
    }

    80% {
        height: 11px;
    }

    80% {
        height: 15px;
    }

    90% {
        height: 8px;
    }

    100% {
        height: 24px;
    }
}

@keyframes changementOfHeightFor3 {
    0% {
        height: 7px;
    }

    20% {
        height: 30px;
    }

    30% {
        height: 8px;
    }

    40% {
        height: 25px;
    }

    50% {
        height: 12px;
    }

    60% {
        height: 31px;
    }

    80% {
        height: 22px;
    }

    80% {
        height: 16px;
    }

    90% {
        height: 29px;
    }

    100% {
        height: 7px;
    }
}

@keyframes changementOfHeightFor4 {
    0% {
        height: 28px;
    }

    20% {
        height: 14px;
    }

    30% {
        height: 33px;
    }

    40% {
        height: 9px;
    }

    50% {
        height: 20px;
    }

    60% {
        height: 31px;
    }

    80% {
        height: 5px;
    }

    80% {
        height: 25px;
    }

    90% {
        height: 18px;
    }

    100% {
        height: 36px;
    }
}

@keyframes changementOfHeightFor5 {
    0% {
        height: 0px;
    }

    20% {
        height: 21px;
    }

    30% {
        height: 31px;
    }

    40% {
        height: 22px;
    }

    50% {
        height: 9px;
    }

    60% {
        height: 26px;
    }

    80% {
        height: 14px;
    }

    80% {
        height: 09px;
    }

    90% {
        height: 32px;
    }

    100% {
        height: 0px;
    }
}

/***************************************/


@media screen and (max-width: 650px) {

    .baniereTitreLike {
        height: 200px;
        min-height: 200px;
    }

    .baniereTitreLike>p {
        font-size: 4rem;
    }

    .messageSiAucuneMusiqueLike {
        padding-top: 24px;
        padding-bottom: 24px;
        padding-left: 32px;
        padding-right: 32px;


        display: none;
    }

    #volume {
        visibility: hidden;
    }
}

@media screen and (max-width: 600px) {


    .baniereTitreLike {
        height: 170px;
        min-height: 170px;
    }

    .baniereTitreLike>p {
        font-size: 3.5rem;
    }


    #containerDeTitreParent {
        height: calc(100% - 130px);
    }

    #lecteurTitre {
        height: 130px;

        flex-direction: column;
        align-items: start;
    }

    #lecteurTitre>#titreEtArtiste {
        padding-left: 32px;
        width: 100%;
        height: 60px;

    }

    #lecteurTitre>#infoTemporelleSon {
        width: calc(100% - 64px);

        height: calc(100% - 60px);

        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;

        margin-left: 32px;
    }

    #lecteurTitre>#volume {
        display: none;
    }
}

@media screen and (max-width: 560px) {

    .musique>#ajouteFileAttente {
        width: calc(100% - 360px);
        padding-right: 12px;
    }

    .musique>.tempMusique {
        display: none;
    }
}

@media screen and (max-width: 500px) {

    .messageSiAucuneMusiqueLike {
        font-size: 2rem;
    }

    .baniereTitreLike {
        height: 160px;
        min-height: 160px;
    }

    .baniereTitreLike>p {
        font-size: 3rem;
    }



    #containerDeTitre {
        height: 100%;
        width: 100%;
        border-radius: 0px;
    }

    /********************************/



    .musique {
        margin-top: 8px;
        background-color: #292929;
        height: 85px;
    }


    .musique>#artisteEtTitreMusique {
        width: 150px;
        padding-right: 6px;
    }

    .musique>#artisteEtTitreMusique>#titreMusique {
        font-size: 1.1rem;
    }

    .musique>#artisteEtTitreMusique>#artisteMusique {
        font-size: 0.9rem;
    }

    .musique>#ajouteFileAttente {
        margin-left: 0;
        width: calc(100% - 294px);
    }

    body {
        background-color: #1a1a1a;
    }
    
}

@media screen and (max-width: 425px) {

    body {
        background-color: #1a1a1a;
    }


    .baniereTitreLike>p {
        font-size: 2.4rem;
    }

    .messageSiAucuneMusiqueLike {
        padding-top: 16px;
        padding-bottom: 16px;
        padding-left: 24px;
        padding-right: 24px;

        font-size: 1.5rem;
    }

    /***********************/

    .musique {
        padding: 6px;
    }

    .musique>#ajouteFileAttente {
        margin-left: 0;
        width: calc(100% - 282px);
    }

    .musique>#numeroMusique {
        width: 45px;
        font-size: 1.4rem;
        padding: 4px;
    }


}

@media screen and (max-width: 400px) {

    .baniereTitreLike {
        gap: 10px;
    }

    .baniereTitreLike>p {
        font-size: 2.2rem;
    }

    .musique>#artisteEtTitreMusique {
        width: 133px;
        padding-right: 3px;
    }


    .musique>#ajouteFileAttente {
        width: calc(100% - 262px);
    }


    /*******************************/

}