* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
section {
    position: relative;
    width: 70%;
    height: 645px;
    max-width: 1000px;
    border: 1px solid black;
    margin: 5px;
    /* box-sizing: content-box; */
    object-fit: cover;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}
/* Le personnage --------------------*/
#humanoid {
    display: flex;
    flex-direction: column;
    justify-items: center;
    justify-content: center;
}
#personnage img{
    position: relative;
    opacity: 100%;
    /* left: 270px; */
    /* top: 17%; */
    top: -350px;
    left: 200px;
    scale: 0.87;
    
    /* transition: all 0.6s ease-in-out; */
}
#personnageEndormi {
    opacity: 0%;
    position: absolute;
    /* top: 16%;
    left: 20%; */
    top: 106px;
    left: 200px;
    scale: 0.87;
    transition: all 0.6s ease-in-out;
}
.eyes {
    display: flex;
    position: absolute;
    transform: translateY(-50%);
    width: 175px;
    top: 345px;
    left: 442px;
    text-align: center;
    /* background: green; */
    /* opacity: 50%; */
}
.eye {
    position: relative;
    width: 30px;
    height: 18px;
    /* background: #bb7777; */
    /* opacity: 50%; */
    display: inline-block;
    margin: 33px;
    border-radius: 50%;
}
.ball {
    box-sizing: border-box;
    width: 8px;
    height: 8px;
    background: rgb(73, 158, 243);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -65%);
    border-radius: 50%;
    border: 2px solid rgb(129, 188, 246);
    opacity: 80%;
}
/* ---------------------------------- */
.pochette img{
    display: none;
    opacity: 0%;
    position: absolute;
    top: 15px;
    /* left: 485px; */
    left: 40.5%;
    width: 245px;
    height: 245px;
    transition: all 0.9s ease-in-out;
}
#pochette1 {
    display: none;
    opacity: 0%;
    transition: all 0.9s ease-in-out; 
}
#playlist {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 230px;
    top: 0px;
    margin: 3px;
    /* background-color: blue; */
}
/* #contourTitre1 {
    padding: 10px;
    background: blueviolet;
} */
.buttonList {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3px;
    padding: 3px;
    width: 95%;
    font-size: 18px;
    font-weight: 800;
    border-radius: 13px;
    border: none;
    transition: all 0.6s ease-in-out;
}
.buttonList :nth-child(2n) {
    font-style: italic;
}
.buttonSpec {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5px;
    padding: 3px;
    width: 95%;
    background-color: rgb(245, 215, 204);
    font-size: 18px;
    font-weight: 800;
    border-radius: 13px;
    border: none;
    transition: all 0.5s ease-in-out;
}
.buttonList:hover {
    position: relative;
    transform: translateX(15px);
    /* transform: scale(1.1); */
    /* background-color: brown; */
    cursor: pointer;
}
.buttonSpec:hover {
    position: relative;
    transform: translateX(15px);
    cursor: pointer;
}

@keyframes glowColor {
    0% {
        background-color: aquamarine ;
    }
    50% {
        background-color: rgb(174, 200, 248);
    }
    100% {
        background-color: aquamarine ;
    }
}
@keyframes standarColor {
    100% {
        background-color: rgb(240,240,240);
    }
}
@keyframes onceGlow {
    0% {
        background-color: rgb(240,240,240);
    }
    100% {
        background-color: aquamarine;
    }
}
#reset {
    margin-top: 40px;
}

/* La barre horizontale de lecture ----------------------------- */
#groupPlayControl {
    position: absolute;
    display: flex;
    justify-content: space-around;
    background-color: rgb(204, 202, 202);
    width: 60%;
    height: 70px;
    top: 560px;
    left: 23%;
    padding: 7px;
    border-radius: 14px;
    scale: 0.9;
}
#playControlButtons {
    display: flex;
    justify-content: space-around;
    width: 17%;
    background-color: rgb(204, 202, 202);
}
#playButton {
    background: url("./images/play.png");
    width: 48px;
    height: 48px;
}
#stopButton {
    background: url("./images/pause.png");
    width: 48px;
    height: 48px;
}
#play {
    display: flex;
    flex-direction: column;
    background-color: rgb(204, 202, 202);
    width: 80%;
}
#play section{
    display: flex;
    align-content: center;
    /* background-color: aqua; */
}
#playButton, #stopButton {
    background-color: rgb(204, 202, 202);
    border: none;
    cursor: pointer;
    border: 2px solid rgb(204, 202, 202);
}

#sliderHoriz {
    position: relative;
    top: 10px;
    left: 23px;
    width: 90%;
    height: 12px;
    /* background-color: black; */
    border-radius: 7px;
}
#rangeTrack {
    width: 100%;
}
#playValues {
    position: relative;
    display: flex;
    justify-content: space-between;
    top: 17px;
    width: 90%;
    height: 17px;
    border: none;
}

/* La barre verticale du volume ------------------------------- */
#volumeControl {
    position: absolute;
    display: flex;
    justify-content: space-between;
    background-color: rgb(204, 202, 202);
    width: 300px;
    top: 445px;
    /* left: 1000px; */
    left: 80%;
    transform: rotate(270deg);
    border-radius: 12px;
}
#sliderVerti {
    position: inherit;
    display: block;
    top: 21px;
    left: 55px;
    width: 190px;
    height: 17px;
    /* background-color: black; */
    border-radius: 4px;
}
#rangeVol {
    left: 55px;
    width: 190px;
    height: 17px;
    background-color: black;
    border-radius: 4px;
}
#buttonVolUp, #buttonVolOff {
    background-color: rgb(204, 202, 202);
    border: none;
    transform: rotate(90deg);
    margin: 5px;
    scale: 0.8;
}
#buttonVolOff:hover {
    cursor: pointer;
}
.audio {
    display: none;
}

/* L'arrière plan ---------------------------------------------*/
/* #fondLignesSombre {
    
    position: relative;
    top: 210px;
    width: 100%;
    height: 450px;
    
    background: rgb(245,17,95);
    background: -moz-linear-gradient(180deg, rgba(245,17,95,1) 0%, rgba(27,3,244,0.9808535963213411) 69%);
    background: -webkit-linear-gradient(180deg, rgba(245,17,95,1) 0%, rgba(27,3,244,0.9808535963213411) 69%);
    background: linear-gradient(180deg, rgba(245,17,95,1) 0%, rgba(27,3,244,0.9808535963213411) 69%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f5115f",endColorstr="#1b03f4",GradientType=1);
} */
/* #fondLignesClaires {
    opacity: 100%;
    position: relative;
    top: 210px;
    width: 100%;
    height: 450px;
    
    background: rgb(245,17,95);
    background: -moz-linear-gradient(180deg, rgba(245,17,95,1) 8%, rgba(244,117,3,0.6559236243325455) 69%);
    background: -webkit-linear-gradient(180deg, rgba(245,17,95,1) 8%, rgba(244,117,3,0.6559236243325455) 69%);
    background: linear-gradient(180deg, rgba(245,17,95,1) 8%, rgba(244,117,3,0.6559236243325455) 69%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f5115f",endColorstr="#f47503",GradientType=1);
} */
#fondLignes img {
    opacity: 85%;
    position: relative;
    top: 210px;
    width: 100%;
    height: 450px;
    transition: all 1.7s ease-in-out;
    
    background: rgb(245,17,95);
    background: -moz-linear-gradient(180deg, rgba(245,17,95,1) 8%, rgba(244,117,3,0.6559236243325455) 69%);
    background: -webkit-linear-gradient(180deg, rgba(245,17,95,1) 8%, rgba(244,117,3,0.6559236243325455) 69%);
    background: linear-gradient(180deg, rgba(245,17,95,1) 8%, rgba(244,117,3,0.6559236243325455) 69%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f5115f",endColorstr="#f47503",GradientType=1);

}
#fondCielSombre {
    opacity: 100%;
    position: absolute;
    top: 0px;
    width: 100%;
    height: 338px;
    background: rgb(63,94,251);
    background: -moz-radial-gradient(circle, rgba(63,94,251,1) 10%, rgba(48,23,28,1) 100%);
    background: -webkit-radial-gradient(circle, rgba(63,94,251,1) 10%, rgba(48,23,28,1) 100%);
    background: radial-gradient(circle, rgba(63,94,251,1) 10%, rgba(48,23,28,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3f5efb",endColorstr="#30171c",GradientType=1);
}
#fondCiel {
    opacity: 100%;
    position: absolute;
    top: 0px;
    /* width: 1198px; */
    width: 100%;
    height: 338px;
    transition: all 1.7s ease-in-out;
    /* background: rgb(210, 186, 186); */
    background: rgb(238,174,202);
    background: -moz-linear-gradient(0deg, rgba(238,174,202,1) 0%, rgba(148,187,233,1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(238,174,202,1) 0%, rgba(148,187,233,1) 100%);
    background: linear-gradient(0deg, rgba(238,174,202,1) 0%, rgba(148,187,233,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#eeaeca",endColorstr="#94bbe9",GradientType=1);
    /* opacity: 40%; */
}

@media screen and (min-width: 1115px) and (max-width: 1330px) {
    #volumeControl {
        position: absolute;
        display: flex;
        justify-content: space-between;
        background-color: rgb(204, 202, 202);
        width: 300px;
        top: 445px;
        /* left: 1000px; */
        left: 75%;
        transform: rotate(270deg);
        border-radius: 12px;
    }
    #groupPlayControl {
        position: absolute;
        display: flex;
        justify-content: space-around;
        /* background-color: rgb(204, 202, 202); */
        background-color: rgb(204, 202, 202);
        width: 50%;
        height: 70px;
        top: 560px;
        /* left: 255px; */
        left: 32%;
        padding: 7px;
        border-radius: 14px;
        scale: 0.9;
    }
    #playControlButtons {
        display: flex;
        justify-content: space-around;
        width: 25%;
        background-color: rgb(204, 202, 202);
    }
    #rangeTrack {
        width: 97%;
    }
    #playValues {
        top: 17px;
        width: 87%;
    }
}

@media screen and (min-width: 900px) and (max-width: 1115px) {
    #volumeControl {
        position: absolute;
        display: flex;
        justify-content: space-between;
        background-color: rgb(204, 202, 202);
        width: 260px;
        height: 50px;
        top: 465px;
        /* left: 1000px; */
        left: 74%;
        transform: rotate(270deg);
        border-radius: 12px;
    }
    #rangeVol {
        position: absolute;
        left: 2px;
        top: -4px;
        width: 145px;
        height: 17px;
        background-color: black;
        border-radius: 4px;
    }
    #groupPlayControl {
        position: absolute;
        display: flex;
        justify-content: space-around;
        /* background-color: rgb(204, 202, 202); */
        background-color: rgb(204, 202, 202);
        width: 45%;
        height: 60px;
        top: 565px;
        /* left: 255px; */
        left: 38%;
        padding: 2px;
        border-radius: 14px;
        scale: 0.9;
    }
    /* Change la taille des boutons Play et Stop */
    #playControlButtons {
        display: flex;
        justify-content: space-around;
        width: 35%;
        scale: 0.8;
        background-color: rgb(204, 202, 202);
    }
    #rangeTrack {
        width: 97%;
        left: 2%;
        margin-left: -15px;
    }
    #playValues {
        top: 17px;
        width: 88%;
        height: 17px;
        left: -2%;
    }
    #play {
        width: 70%;
        left: 50%;
        padding-left: -10px;
        padding-right: -10px;
        /* background-color: red; */
        border-radius: 11px;
    }
    button #stopButton {
        padding-right: -5px;
    }
}
@media screen and (min-width: 750px) and (max-width: 900px) {
    #volumeControl {
        position: absolute;
        display: flex;
        justify-content: space-between;
        background-color: rgb(204, 202, 202);
        width: 260px;
        height: 50px;
        top: 90px;
        /* left: 1000px; */
        left: 70%;
        transform: rotate(270deg);
        border-radius: 12px;
        scale: 0.85;
    }
    #rangeVol {
        position: absolute;
        left: 2px;
        top: -4px;
        width: 145px;
        height: 17px;
        background-color: black;
        border-radius: 4px;
    }
    #groupPlayControl {
        position: absolute;
        display: flex;
        justify-content: space-around;
        background-color: rgb(204, 202, 202);
        width: 60%;
        height: 60px;
        top: 565px;
        /* left: 255px; */
        left: 40%;
        padding: 2px;
        border-radius: 14px;
        scale: 0.85;
    }
    /* Change la taille des boutons Play et Stop */
    #playControlButtons {
        display: flex;
        justify-content: space-around;
        width: 50%;
        scale: 0.8;
        background-color: rgb(204, 202, 202);
    }
    #rangeTrack {
        width: 98%;
        left: 2%;
        margin-left: -15px;
    }
    #playValues {
        top: 17px;
        width: 89%;
        height: 15px;
        left: -2%;
    }
    #play {
        position: relative;
        width: 70%;
        left: -2%;
        /* background-color: red; */
        border-radius: 11px;
    }
    button #stopButton {
        padding-right: -5px;
    }
    #humanoid {
        display: flex;
        flex-direction: column;
        justify-items: center;
        justify-content: center;
        margin-left: -50px;
        left: 35%;
        top: 1%;
        /* background-color: rgb(147, 19, 68);    */
    }
    .eyes {
        margin-left:-50px;
    }
    #personnageEndormi {
        margin-left: -50px;
    }
    .buttonList {
        opacity: 85%;
    }
    
}
@media screen and (min-width: 370px) and (max-width: 750px) {

    #volumeControl {
        position: absolute;
        display: flex;
        justify-content: space-between;
        background-color: rgb(204, 202, 202);
        width: 245px;
        height: 55px;
        margin-top: 6px;
        margin-left: -92px;
        top: 81%;
        left: 1%;
        transform: rotate(270deg);
        border-radius: 12px;
        scale: 0.70;
    }
    #rangeVol {
        position: absolute;
        left: 2px;
        top: -4px;
        width: 135px;
        height: 17px;
        background-color: black;
        border-radius: 6px;
    }
    #groupPlayControl {
        position: absolute;
        display: flex;
        justify-content: space-around;
        background-color: rgb(204, 202, 202);
        width: 78%;
        height: 55px;
        top: 590px;
        /* left: 255px; */
        left: 23%;
        border-radius: 14px;
        scale: 0.85;
        /* background-color: red; */
    }
    /* Change la taille des boutons Play et Stop */
    #playControlButtons {
        display: flex;
        justify-content: space-around;
        width: 60%;
        scale: 0.80;
        margin-left: -15px;
        margin-bottom: 15px;
        border-radius: 5px;
        background-color: rgb(204, 202, 202);
    }
    #rangeTrack {
        width: 105%;
        left: 1%;
        margin-top: -5px;
        margin-left: -20px;
    }
    #playValues {
        font-size: 13px;
        top: 13px;
        width: 93%;
        height: 15px;
        left: -1%;
    }
    #play {
        width: 80%;
        height: 95%;
        left: 30%;
        margin-top: -1px;
        margin-left: -5px;
        padding-left: 5px;
        /* background-color: red; */
        border-radius: 11px;
    }
    button #stopButton {
        padding-right: -5px;
        margin-left: -5px;
    }
    
    #playButton, #stopButton {
        border-radius: 20px;
        margin-right: -10px;
        padding-right: -5px;
    }
    #humanoid {
        display: flex;
        flex-direction: column;
        justify-items: center;
        justify-content: center;
        margin-left: -270px;
        /* left: 35%;
        top: 1%; */
        /* background-color: rgb(209, 237, 45); */
    }
    .eyes {
        margin-left:-270px;
    } 
    #personnageEndormi {
        opacity: 0%;
        position: absolute;
        /* top: 16%;
        left: 20%; */
        top: 106px;
        left: 200px;
        margin-left:-270px;
        scale: 0.87;
        transition: all 0.6s ease-in-out;
    }
    #playlist {
        position: absolute;
        display: flex;
        flex-direction: column;
        width: 140px;
        top: 0px;
        margin: 1px;
        opacity: 90%;
        /* background-color: blue; */
    }
    .buttonList {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 3px;
        padding: 3px;
        width: 95%;
        font-size: 13px;
        font-weight: 800;
        border-radius: 13px;
        border: none;
        transition: all 0.6s ease-in-out;
    }
    .buttonList :nth-child(2n) {
        font-style: italic;
    }
    .buttonSpec {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 3px;
        padding: 3px;
        width: 95%;
        font-size: 13px;
        font-weight: 800;
        border-radius: 13px;
        border: none;
        transition: all 0.5s ease-in-out;
    }
    #reset {
        margin-top: 3px;
    }
    .pochette img{
        display: none;
        opacity: 0%;
        position: absolute;
        top: 15px;
        /* left: 485px; */
        left: 32%;
        width: 245px;
        height: 245px;
        transition: all 0.9s ease-in-out;
    }
    
}
@media screen and (min-width: 50px) and (max-width: 370px) {

    #volumeControl {
        position: absolute;
        display: flex;
        justify-content: space-between;
        background-color: rgb(204, 202, 202);
        width: 240px;
        height: 50px;
        margin-top: 5px;
        margin-left: -97px;
        top: 82%;
        left: 1%;
        transform: rotate(270deg);
        border-radius: 12px;
        scale: 0.70;
    }
    #rangeVol {
        position: absolute;
        left: 0px;
        top: -5px;
        width: 130px;
        height: 18px;
        background-color: black;
        border-radius: 4px;
    }
    #groupPlayControl {
        position: absolute;
        display: flex;
        justify-content: space-around;
        /* background-color: rgb(204, 202, 202); */
        background-color: rgb(204, 202, 202);
        width: 77%;
        height: 50px;
        top: 595px;
        /* left: 255px; */
        left: 23%;
        padding: 2px;
        border-radius: 10px;
        scale: 0.85;
    }
    /* Change la taille des boutons Play et Stop */
    #playControlButtons {
        display: flex;
        justify-content: space-around;
        width: 72%;
        scale: 0.65;
        background-color: rgb(204, 202, 202);
    }
    #rangeTrack {
        width: 97%;
        left: 2%;
        margin-top: 3px;
        margin-left: -20px;
    }
    #playValues p {
        display: none;
        font-size: 7px;
        top: 17px;
        width: 85%;
        height: 15px;
        left: 0%;
    }
    #play {
        width: 80%;
        height: 95%;
        left: 30%;
        margin-top: 2px;
        margin-left: -10px;
        padding-left: -10px;
        padding-right: -10px;
        /* background-color: red; */
        border-radius: 11px;
    }
    button #stopButton {
        padding-right: -5px;
        margin-left: -5px;
    }
    #playButton {
        margin-left: -10px;
    }
    #humanoid {
        display: flex;
        flex-direction: column;
        justify-items: center;
        justify-content: center;
        margin-left: -350px;
        /* left: 35%;
        top: 1%; */
        /* background-color: rgb(209, 237, 45); */
    }
    .eyes {
        margin-left:-350px;
    } 
    #personnageEndormi {
        opacity: 0%;
        position: absolute;
        /* top: 16%;
        left: 20%; */
        top: 106px;
        left: 200px;
        margin-left:-350px;
        scale: 0.87;
        transition: all 0.6s ease-in-out;
    }
    #playlist {
        position: absolute;
        display: flex;
        flex-direction: column;
        width: 120px;
        top: 0px;
        margin: 1px;
        opacity: 80%;
        /* background-color: blue; */
    }
    .buttonList {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 3px;
        padding: 3px;
        width: 95%;
        font-size: 12px;
        font-weight: 800;
        border-radius: 13px;
        border: none;
        transition: all 0.6s ease-in-out;
    }
    .buttonList :nth-child(2n) {
        font-style: italic;
    }
    .buttonSpec {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 3px;
        padding: 3px;
        width: 95%;
        font-size: 13px;
        font-weight: 800;
        border-radius: 13px;
        border: none;
        transition: all 0.5s ease-in-out;
    }
    #reset {
        margin-top: 3px;
    }
    .pochette img{
        display: none;
        opacity: 0%;
        position: absolute;
        top: 400px;
        /* left: 485px; */
        left: -2%;
        width: 245px;
        height: 245px;
        scale: 0.50;
        transition: all 0.9s ease-in-out;
    }
}