html{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    background-color: #121212;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    font-family: Helvetica, sans-serif;
}

div{
    padding: 0;
    margin: 0;
}

#sous-titre{
    font-size: large;
    margin-top: 0;
    padding-left: 20px;
}

h2{
    font-size: x-large;
    font-weight: bold;
    margin-top: 20px;
    padding-left: 20px;
    margin-bottom: 10px;
}
    
h3{
    font-weight: bold;
    font-size: x-large;
    margin-right: 20%;
    margin: 20px 0;
    padding-bottom: 0.5em;
    padding-left: 20px;
    position: relative;
    color: #fff;
}

h3::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 100%;
    width: 33%;
    height: 4px;
    background-color: #fff;
}

h4 {
    margin: 0;
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: large;
    color: white;
    display: block;
    transition: 0.3s;
}

p{
    font-size: large;
    padding-left: 52px;
    padding-right: 52px;
    margin: 0;
}

.description{
    padding-right: 32px;
    padding-left: 20px;
    font-size: large;
}

#en-savoir-plus{
    font-size: medium;
}

a{
    text-decoration: none;
    color: white;
    margin-top: 10px;
}

a:hover{
    text-decoration: none;
    color: rgb(206, 206, 206);
}

a:active{
    text-decoration: none;
    color: white;
}

img{
    object-fit: contain;
    max-width: 100%;
    height: 100%;
}

/* HEADER */

header{
    box-shadow: 0px 5px 10px black;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #1a1a1a;
}

header img{
    width: 70px;
    margin-left: 20px;
    border-radius: 20px;
}

header div{
    flex: 2;
}

summary{
    display: flex;
    align-items: center;
}

summary:hover{
    cursor: pointer;
}

h1{
    padding-left: 20px;
    font-size: xx-large;
    font-weight: bold;
    margin: 10px 0;
    position: relative;
    color: #fff;
}

#en-savoir-plus{
    padding-right: 20px;
    margin: auto;
    font-size: large;
}

#a-propos{
    margin-top: 1em;
}

/* MUSIQUES */

.music-container {
    display: flex;
    flex-wrap: wrap; /* Permet de passer à la ligne sur les petits écrans */
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin: 0 20px;
}

.music-item {
    position: relative;
    text-align: center;
    cursor: pointer;
    margin-bottom: 50px;
    width: 33%;
}

.music-item img {
    width: 90%; /* Réduit légèrement la taille des images */
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.music-item img:hover {
    transform: scale(1.05);
}

/* ICONE PLAY/PAUSE */

.icon-play-pause {
    position: absolute;
    color: white;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    right: 5%;
    width: 10%!important;
    padding-left: 40%;
    padding-right: 40%;
    bottom: 15px;
}

/* BLOQUER L'ENREGISTREMENT D'IMAGE */

img {
    user-select: none; /* Empêche la sélection de l'image */
    -webkit-touch-callout: none; /* Désactive le menu contextuel sur mobile */
}

audio {
    display: none; /* Cache l'élément audio */
}

/* YOUTUBE */

iframe{
    width: 720px;
    height: 405px;
}

.caroussel-container {
    display: flex;
    flex-wrap: wrap; /* Permet de passer à la ligne sur les petits écrans */
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin: 0 20px;
}

.video-frame {
    position: relative;
    text-align: center;
    cursor: pointer;
    margin-bottom: 50px;
    width: 50%;
}

.youtubeFrame{
    width: 90%; /* Réduit légèrement la taille des images */
    border-radius: 10px;
    border: none;
    transition: transform 0.3s ease;
    height: 28em;
}

.icon-prev {
    position: absolute;
    color: white;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    left: 10%;
    width: 10%!important;
    bottom: 15px;
}

.icon-next {
    position: absolute;
    color: white;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    right: 10%;
    width: 10%!important;
    bottom: 15px;
}

/* FOOTER */

footer{
    box-shadow: 0px -5px 10px black;
    padding: 1%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1a1a1a;
}

footer h2{
    padding-left: 0;
    margin: 0;
    margin-bottom: 10px;
}

#reseaux-sociaux-footer{
    display: flex;
    justify-content: space-around;
    height: 50px;
}

#reseaux-sociaux-footer img{
    padding-left: 30px;
}

#mail{
    padding-bottom: 0;
    font-size: medium;
    text-decoration: none;
    color: white;
}

/* RESPONSIVE MOBILE */

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

    h1{
        padding-left: 20px;
        font-size: large;
        font-weight: bold;
        margin: 10px 0;
        position: relative;
        color: #fff;
        margin-bottom: 0;
        margin-top: 20px;
    }

    #sous-titre{
        font-size: small;
        margin-top: 0;
        padding-left: 20px;
        margin-bottom: 20px;
    }
    
    h2{
        font-size: large;
    }

    h3 {
        padding: 8px 8px 8px 20px;
        text-decoration: none;
        font-size: 15px;
        color: white;
        display: block;
        transition: 0.3s;
        margin: 0;
    }

    p{
        font-size: small;
        text-decoration: none;
        color: white;
        padding-left: 52px;
        padding-right: 52px;
        margin: 0;
    }

    #travailler{
        margin-bottom: 20px;
    }

    #en-savoir-plus{
        font-size: x-small;
    }

    .description{
        font-size: medium;
        margin-top: 10px;
        padding-right: 20px;
    }

    .music-item {
        flex: 1 1 100%; /* Remplir l'espace sur mobile */
        margin-bottom: 20px;
    }

    .music-item img {
        width: 100%; /* Images pleine largeur sur mobile */
    }

    .video-frame {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }

    footer{
        padding: 2%;
        padding-right: 5%;
    }

    .youtubeFrame{
        height: 10.5em;
        width: 100%;
    }

    #reseaux-sociaux-footer{
        display: flex;
        justify-content: space-around;
        height: 50px;
        margin-right: 10px;
        margin-bottom: 10px;
    }
  
}