html, body {
    height: 100%;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
    background-image: url("/images/festival1.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
}

header nav {
    order: 2;
    margin-left: auto;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 15px 40px;
    display: flex;
    justify-content: flex-end;
}

header nav ul li {
    margin-left: 25px;
}

header nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, padding 0.3s ease;
}

header nav ul li a:hover {
    text-decoration: underline;
}

header nav ul li a.active {
    padding: 8px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

header img {
    height: 50px;
    width: auto;
    order: 1;
}

.banniere {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    box-sizing: border-box;
    margin-top: 40px;
}

#titre {
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    padding: 0 30px;
    font-size: 32px;
    text-align: center;
}

#titre h1 {
    font-size: 100px;
}

main {
    flex: 1;
}

#main_accueil {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    width: 1080px;
    margin: 120px auto 40px;
    padding: 30px;
}

main section {
    margin-bottom: 30px;
}

main h2 {
    color: #ffffff;
    margin-bottom: 15px;
    text-align: center;
    text-decoration: underline;
}

#titre_donnee {
    text-align: center;
}

main p {
    line-height: 1.6;
}

#tableau, #tableau2, #tableau4 {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin: 120px auto 40px;
    color: #fff;
}

#tableau {
    width: 1080px;
}

#tableau2 {
    width: 75%;
}

#tableau4 {
    width: 320px;
}

.galerie {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.galerie-item {
    width: calc(25% - 20px);
    height: 180px;
    background-color: #928f8f;
    border-radius: 6px;
}

#contacttitle {
    text-align: center;
}

#contactform {
    text-align: center;
}

.formulaire-contact {
    max-width: 300px;
    margin: 0 auto;
}

.ligne-champs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.groupe-champ {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 20px;
}

.groupe-champ input,
.groupe-champ textarea {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px;
    border-radius: 6px;
    font-size: 16px;
}

.groupe-champ input::placeholder,
.groupe-champ textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.groupe-champ label {
    margin-bottom: 5px;
    font-weight: bold;
}

.zone-bouton {
    display: flex;
    justify-content: flex-end;
}

.zone-bouton button {
    padding: 10px 25px;
    border-radius: 6px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.zone-bouton button:hover {
    opacity: 0.9;
}

label span {
    color: red;
    margin-left: 2px;
}

.message-retour {
    text-align: center;
    font-weight: bold;
    margin: 20px 0 30px;
    font-size: 18px;
    color: #ffffff;
}

footer {
    width: 100%;
    background-color: #111;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

#list_credit a {
    color: #ffffff;
    text-decoration: underline;
}
