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

@font-face {
    font-family: 'TheStranger';
    src: url('../fonts/TheStranger.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family:'Kalam';
    src:url('../fonts/Kalam-Regular.ttf') format('truetype');
}

@font-face {
    font-family:'Granesta';
    src:url('../fonts/Granesta.ttf') format('truetype');
}


@font-face {
    font-family:'Blackrush';
    src:url('../fonts/Blackrush.ttf') format('truetype');
}


body{
font-family:Segoe UI,Arial,sans-serif; 
color:white;
line-height:1.7;


background:
linear-gradient(
rgba(0,0,0,0.35),
rgba(0,0,0,0.35)
),
url("../images/fond.jpg");

background-size:cover;
background-position:center;
background-attachment:fixed;
min-height:100vh;
}

header{
background:rgba(0,0,0,.75);
padding:25px;
backdrop-filter:blur(5px);
}

.logo{
text-align:center;
}

.presentation{
    text-align:center;
    font-family:Segoe UI,Arial,sans-serif;
    font-size:2rem;
}

.logo img{
max-width:180px;
margin-bottom:10px;
}

.logo h1{
font-family:'Granesta',sans-serif;
font-size:4rem;
letter-spacing:4px;
text-shadow:
    3px 3px 0 rgba(0,0,0,.5),
    6px 6px 10px rgba(0,0,0,.3);
}

.logo p{
justify-content:center;
color:#ddd;
}

nav{
margin-top:20px;
}

nav ul{
font-family:'Granesta',sans-serif;
font-size:2rem;
list-style:none;
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:10px;
}

nav a{
display:block;
padding:8px 14px;
text-decoration:none;
background:#d62828;
color:white;
border-radius:30px;
transition:.3s;
}

nav a:hover{
transform:translateY(-2px);
background:#ef233c;
}

main{
max-width:1200px;
margin:auto;
padding:40px 20px;
}

.card{
background:rgba(0,0,0,.70);
padding:35px;
border-radius:15px;
backdrop-filter:blur(4px);
}

.card p{
font-size:2rem;
font-family:Segoe UI,Arial,sans-serif;
text-align:center;
}

audio{
width:100%;
margin-top:15px;
}
.audio{
background:rgba(0,0,0,.70);
padding:35px;
border-radius:15px;
backdrop-filter:blur(4px);
}

.audio p{
font-size:3rem;
font-family:Segoe UI,Arial,sans-serif;
line-height:1;
text-align:center;
}

.audio h3 {
font-family:'Granesta',sans-serif;
font-size:2rem;
margin: 15px 0 5px 0;
}

.audio audio{
    display:block;
    width:100%;
    margin-bottom:25px;
}

h2{
font-family:'Granesta',sans-serif;
font-size:3rem;
text-align:center;
margin-bottom:25px;
color:#ff6b6b;
}

h3{
font-family:'Granesta',sans-serif;
font-size:2rem;
margin-bottom:25px;
}

.photo-groupe{
    display:block;
    width:100%;
    max-width:700px;
    margin:0 auto 20px auto;
    border-radius:10px;
    cursor:pointer;
}

.gallery{
display:grid;
grid-template-columns:
repeat(auto-fit,minmax(280px,1fr));
gap:20px;
}

.gallery img{
width:100%;
height:250px;
object-fit:contain;
border-radius:10px;
cursor:pointer;
}

.member-grid{
display:grid;
grid-template-columns:
repeat(auto-fit,minmax(220px,1fr));
gap:20px;
}

.member{
background:rgba(255,255,255,.08);
padding:20px;
border-radius:10px;
text-align:center;
}

.member img{
width:100%;
height:250px;
object-fit:contain;
border-radius:10px;
margin-bottom:15px;
cursor:pointer;
}

.member p{
font-size:2rem;
font-family:Segoe UI,Arial,sans-serif;
line-height:1.2;
}

.covers {
    display: flex;
    flex-wrap: wrap;   /* passe à la ligne si plus de place */
    gap: 15px;         /* espace entre les images */
    justify-content: center; /* optionnel */
    align-items: center;
}

.cover img {
    width: 150px;
    height: auto;
    display: block;
    object-fit:contain;
}

iframe{
width:100%;
height:450px;
border:none;
border-radius:10px;
}

.contact p{
font-size:2rem;
font-family:Segoe UI,Arial,sans-serif;
text-align:center;
}

.presentation p{
margin-bottom:15px;
font-size:1rem;
text-align:center;
}


#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

#lightbox.active {
    display: flex;
}

#lightbox img {
    max-width: 95%;
    max-height: 95vh;
    width: auto;
    height: auto;
    border-radius: 10px;
}

#close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 50px;
    cursor: pointer;
    user-select: none;
}

footer{
margin-top:50px;
text-align:center;
padding:20px;
background:rgba(0,0,0,.8);
}

/* PAGE DE CONNEXION */

.login-page {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.login-box {
    width: 90%;
    max-width: 400px;
    text-align: center;
    padding: 30px;
}

.login-logo {
    width: 150px;
    max-width: 80%;
    margin-bottom: 20px;
}

.login-box h1 {
    margin-bottom: 10px;
}

.login-box p {
    margin-bottom: 25px;
}

.login-box form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.login-box input {
    padding: 12px;
    font-size: 16px;
}

.login-box button {
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
}

#errorMessage {
    color: red;
    min-height: 20px;
    margin: 5px 0;
}

.login-box a {
    display: inline-block;
    margin-top: 25px;
}
