html{
    scroll-behavior: smooth;
    background-color: #121212;
}

body{
    margin: 0;
}

header{
    padding: 20px;
    box-shadow: 0 5px 10px black;
    background-color: #121212;
    display: flex;
    justify-content: space-between;
    font-size: 30px;
    position: fixed;
    top: 0;
    width: 98%;
    z-index: 1;
}

header a{
    text-decoration: none;
    font-family: Helvetica, sans-serif;
    color: white;
}

header a:hover{
    color: rgb(155, 155, 155);
}

#bastienescalas{
    font-weight: bold;
}

nav a{
    padding: 0 20px 0 20px;
}

nav{
    text-align: end;
}

#intro{
    margin: 180px 100px 100px 100px;
    display: flex;
    width: 60%;
    align-items: center;
}

h1, h2{
    font-family: Helvetica, sans-serif;
    color: white;
    font-size: 60px;
    margin: 0;
}

h2{
    margin: 100px 0 0 100px;
}

p{
    font-family: Helvetica, sans-serif;
    color: white;
    font-size: 18px;
}

label img{
    width: 40px;
    margin: 0 20px 0 20px;
}

label{
    height: 40px;
}

#presentation{
    width: 60%;
}

#avatar{
    margin-right: 50px;
    border-radius: 100%;
    width: 270px;
    height: 270px;
}

.bouton-classique{
    background-color: #121212;
    color: white;
    border: 2px solid white;
    font-family: Helvetica, sans-serif;
    font-size: 18px;
    padding: 5px;
}

.bouton-classique a{
    font-family: Helvetica, sans-serif;
    color: white;
    font-size: 18px;
    text-decoration: none;
}

.bouton-inverse{
    background-color: white;
    color: #121212;
    border: 2px solid white;
    font-family: Helvetica, sans-serif;
    font-size: 18px;
    padding: 5px;
    margin-left: 10px;
}

.bouton-inverse a{
    font-family: Helvetica, sans-serif;
    color: #121212;
    font-size: 18px;
    text-decoration: none;
}

.bouton-classique:hover{
    background-color: #252525;
}

.bouton-inverse:hover{
    background-color: rgb(207, 207, 207);
    border: 2px solid rgb(207, 207, 207);
}

.jeu{
    margin: 20px 100px 20px 100px;
    border: 2px solid white;
    display: flex;
    justify-content: space-between;
}

h3{
    font-family: Helvetica, sans-serif;
    color: white;
    font-size: 36px;
    margin: 0;
}

.image-jeu-droite{
    border-left: 2px solid white;
    width: 100%;
}

.image-jeu-gauche{
    border-right: 2px solid white;
    width: 100%;
}

.texte-jeu{
    padding: 20px;
    position: relative;
    padding-bottom: 70px;
    width: 60%;
}

.texte-jeu button{
    position: absolute;
    bottom: 24px;
}

.date{
    font-family: Helvetica, sans-serif;
    color: white;
    font-size: 24px;
    margin: 10px 0 10px 0;
}

.nom-musique{
    text-align: center;
    color: #121212;
    padding: 10px;
}

.choix-musique{
    display: flex;
    justify-content: center;
    background-color: white;
    align-items: center;
}

.choix-musique img{
    width: 30px;
    height: 30px;
    position: relative;
}

.bouton-play{
    position: absolute;
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.lire-musique{
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.lire-musique > div {
  display: flex;
  transition: transform 0.4s ease;
  width: 100%;
}

.image-jeu{
    display: block;
    width: 100%;
    height: auto;
}

#apropos{
    margin: 20px 100px 20px 100px;
    display: flex;
    justify-content: space-between;
}

#apropos a{
    font-family: Helvetica, sans-serif;
    color: white;
}

#apropos img{
    width: 50px;
    height: 50px;
}

#rs{
    display: flex;
    flex-direction: column;
    margin-left: 30%;
}

#rs img{
    margin-top: 20px;
}

.choix-musique img {
  cursor: pointer;
}

iframe{
    width: 100%;
    aspect-ratio: 16 / 9;
}

.volume-control {
    display: flex;
    align-items: center;
    width: 25%;
}

/* Slider de base */
#volume-range {
  -webkit-appearance: none;  /* Chrome, Safari */
  -moz-appearance: none;     /* Firefox */
  appearance: none;
  width: 100%;
  height: 0.3rem;
  border-radius: 0.25rem;
  background: #ffffff; /* tout blanc */
  outline: none;
  cursor: pointer;
}

/* Thumb / curseur */
#volume-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: #ffffff; /* blanc */
  cursor: pointer;
}

#volume-range::-moz-range-thumb {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: #ffffff; /* blanc */
  cursor: pointer;
}

#volume-range::-ms-thumb {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
}

/* Firefox / IE tracks */
#volume-range::-moz-range-track {
  background: #ffffff;
  height: 0.5rem;
  border-radius: 0.25rem;
}

#volume-range::-ms-fill-lower,
#volume-range::-ms-fill-upper {
  background: #ffffff;
  border-radius: 0.25rem;
}

#mobile{
    display: none;
}

p a{
    color: white;
}

p a:hover{
    color: rgb(155, 155, 155);
}

/* RESPONSIVE MOBILE */

@media only screen and (min-device-width : 0px) and (max-device-width : 1024px) {

    #mobile{
        display: contents;
        width: 100%;
    }

    #mobile p{
        margin: 0 20px 10px 20px;
    }

    #mobile .bouton-classique{
        margin-left: 20px;
    }

    #presentation{
        display: none;
    }

    .boutons-ordi{
        display: none;
    }
    
    header{
        display: none;
    }

    #avatar{
        margin-right: 20px;
        border-radius: 100%;
        width: 100px;
        height: 100px;
    }

    #intro{
        margin: 20px;
        display: flex;
        width: 90%;
    }

    #intro div{
        width: 100%;
    }

    h1, h2{
        font-family: Helvetica, sans-serif;
        color: white;
        font-size: 22px;
        margin: 0;
    }

    h3{
        font-size: 22px;
    }

    h2{
        margin: 20px 20px 0 20px;
    }

    p{
        font-family: Helvetica, sans-serif;
        color: white;
        font-size: 14px;
    }

    .responsive-droite{
        margin: 20px;
        border: 2px solid white;
        display: flex;
        flex-direction: column-reverse;
    }

    .responsive-gauche{
        margin: 20px;
        border: 2px solid white;
        display: flex;
        flex-direction: column;
    }
    
    .image-jeu-droite{
        border-left: none;
        width: 100%;
    }

    .image-jeu-gauche{
        border-right: none;
        
        width: 100%;
    }

    #apropos{
        margin: 20px;
        display: block;
        flex-direction: column;
    }

    #rs{
        display: flex;
        flex-direction: row;
        margin-left: 0;
    }

    #rs img{
        margin-right: 20px;
    }

    .texte-jeu{
        width: 90%;
    }

    .bouton-play{
        width: 100px;
        height: 100px;
    }

    .choix-musique img{
        width: 20px;
        height: 20px;
    }

    .nom-musique{
        padding: 5px;
    }

    .date{
        font-size: 16px;
        margin: 0;
    }

    .bouton-classique{
        font-size: 14px;
    }

    .bouton-classique a{
        font-size: 14px;
    }

    .bouton-inverse{
        font-size: 14px;
    }

    .bouton-inverse a{
        font-size: 14px;
    }

    iframe{
        border-bottom: 2px solid white;
    }

}