
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.fond_gris {
    background-color: rgba(211,211,211,0.5);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    text-align: center;
    overflow-x: hidden;
    position: relative;
    
}

.lanuit {
    background-color: #ff2;
    background: url('images/fond_lanuit.png') no-repeat center center fixed;
    background-size: cover;
    color: #000;
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    text-align: center;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
}

.accueil {
    background-color: #000000;
    background-size: cover;
    color: #A9A9A9;
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    text-align: center;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
}

.burnsfield {
    background: url('images/fond_page_burnsfield.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #A9A9A9;
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    text-align: center;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
}

canvas {
    position:absolute;
    /* top:0; */
    bottom: 0;
    left: 35%;
    width:100%;
    height:100%;
    z-index:-1;
}

/* Effet overlay sombre  */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   /*  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)); */
    z-index: -1;
}
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0rem;
}
header img {
    width: 250px;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}
header h1 {
    font-size: 3rem;
    margin: 0;
}
p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto 2rem;
}
.btn {
    display: inline-block;
    padding: 12px 24px;
    margin-right: auto; 
    margin-top: 100px;
    margin-left: auto;
    width: 10em;
    background-color: #A9A9A9;
    color: #000;
    text-decoration: none;
    border-radius: 9px;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
    margin-bottom: 1rem;
}
.btn:hover {
    background-color: #444;
    color: #A9A9A9;
}

.linktree {
    margin-bottom: 100px;
}



.socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.socials a {
    background: #A9A9A9;
    color: #000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}
.socials a:hover {
    background: #444;
    color: #A9A9A9;
}
section#artistes {
    padding: 2rem 1rem;
}
section#artistes h2 {
    margin-bottom: 1rem;
}
.artistes-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
.artiste-card {
    background: rgba(0, 0, 0, 0.6);
    padding: 1rem;
    border-radius: 20px;
    width: 180px;
    transition: background 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.artiste-card:hover {
    background: rgba(20, 20, 20, 0.8);
}
.artiste-card img {
    width: 250px;
    height: 100%;
    object-fit: scale-down;
    opacity: 1;
    border-radius: 15px;
    margin-bottom: 0.5rem;
}
.artiste-card a {
    color: #A9A9A9;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 0.5rem;
}


footer {
    margin-top: auto;
    padding: 1rem 0;
    opacity: 0.7;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
}
footer img {
    width: 100px;
    margin-top: 10px;
    opacity: 0.8;
}

/* === Pour une vidéo mp4 locale ===
<video autoplay muted loop id="background-video">
    <source src="videos/background.mp4" type="video/mp4">
</video>

#background-video {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -2;
}
*/

/* === Pour une vidéo Youtube en fond (youtube-background iframe en 16/9)=== */
/* .youtube-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}
.youtube-background iframe {
    width: 100vw;
    height: 56.25vw; 
    min-height: 100vh;
    min-width: 177.77vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
*/

/* === Bootstrap harmonisation & améliorations === */

/* Images du haut de page en full responsive */
.artist-header img,
header img {
    max-width: 350px;
    height: auto;
    object-fit: contain; /* pour respecter le ratio d'origine */
    border-radius: 10px;
}

/* Fluidité des sections artistes sur petits écrans */
.artistes-list {
    gap: 1.5rem;
}
.artiste-card {
    width: 100%;
    max-width: 220px;
}

/* Responsive footer */
footer {
    font-size: 0.9rem;
    padding: 1rem;
    opacity: 0.8;
}
footer img {
    width: 80px;
    height: auto;
}

/* Responsive header spacing */
header {
    padding: 1rem;
}

/* Paragraphe plus agréable en mobile */
p {
    padding: 0 1rem;
}

/* Responsive boutons */
.btn {
    width: auto;
    min-width: 180px;
    max-width: 240px;
    padding: 12px 24px;
    font-size: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

/* Mobile tweaks */
@media (max-width: 768px) {
    header img {
        max-width: 90%;
    }
    .btn {
        min-width: 150px;
        font-size: 0.95rem;
    }
    .artiste-card {
        max-width: 180px;
    }
    p {
        font-size: 1.1rem;
    }
}

/* Harmonisation des backgrounds des pages artistes */
.lanuit .artist-header img,
.burnsfield .artist-header img {
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.5); */
    background-color: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 15px;
}

.ecrit_en_noir {
        color:#000000;
    }
