* { 
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-size-adjust: 0.482;
    color: azure
}

body, html {
    height: 100%;
    line-height: 1.8;
}

body {
    min-height: 100vh;
}

a {
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.2px;
    font-size: 18px;
}

mark {
    background-color: inherit;
    font-weight: bold;
}

p {
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.2px;
    word-spacing: 0.02em;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  font-style: normal;
}

h1 {
    font-size: 32px;
    line-height: normal;
}

h2 {
    font-size: 22px;
    line-height: normal;
}

h3 {
    font-size: 19px;
    line-height: 1.35;
}

h4 {
    font-size: 16px;
    line-height: normal;
}

ul {
    list-style-type: none;
}

.pdg {
    padding: 50px 12%;
    width: 76%;
}

.pdg2 {
    padding: 50px 24%;
    width: 52%;
}

.scaps {
    font-variant: small-caps;
}

.space {
    display: flex;
    justify-content: space-between;
}

.center {
    display: flex;
    justify-content: center;
    gap: 16px;
}


.blue-bg {
    background-color: #151a2c;
}

.white-bg {
    background-color: azure;
}

.black-bg {
    background-color: black;
}

.white-bg * {
    color: azure;
}

.white-bg * {
    color: #151a2c;
}

.gray-bg {
    background-color: #dae0e5;
}

.gray-bg * {
    color: black;
}

.btn {
    width: fit-content;
    background-color: #e60b33;
    margin-top: 12px;
    /*
    margin-left: 40px;
    */
    padding: 2px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #c50a2a;
    -webkit-transform: scale(1.12);
    transform: scale(1.12);
}

.center-text {
    text-align: center;
}

/* --- header --- */
.active {
    background-color: #e60b33;
}

.main-menu {
    padding: 0 12%;
    width: 76%;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
}

.main-menu ul {
    display: flex;
    justify-content: space-between;
    font-variant: small-caps;
}

.main-menu ul li {
    width: 100%;
    transition: background-color 0.3s ease;
}

.main-menu ul li:hover {
    background-color: #e60b33;
}

.main-menu ul li a {
    display: block;
    text-align: center;
    transition: 0.3s ease;
    font-size: 23px;
}

.main-menu ul li a:hover {
    -webkit-transform: scale(1.12);
    transform: scale(1.12);
}

.slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90vh;
    z-index: -1;
    overflow: hidden;
}

/* images */
.slide {
    position: absolute;
    width: 100%;
    height: 90vh;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

/* image visible */
.slide.active{
    opacity: 1;
}

/* contenu par dessus */
.title { 
    text-align: center;
    position: fixed;
    z-index: -1;
    top: 70%;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.bienvenue {
    font-size: 29px;
}

/* logo */
.logo {
    width: 175px;
    margin-top: 75px;
    margin-left: 12%;
    margin-bottom: 20px;
}

.logo-footer {
    width: 150px;
    height: fit-content;
}

/* barre */
.barre {
    position: relative;
    margin-top: 66vh;
    width: 100%;
    background-image: url("../img/Barre.png");
    background-size: cover;
    background-position: top;
    height: 50px;
}

.activite {
    width: 250px;
}

.activite-text {
    width: 30%;
}

.saison {
    padding: 30px 12% 0 12%;
}

.social-link img {
    width: 30px;
    height: 30px;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-icon h3 {
    line-height: 1;
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- salle --- */
.salle-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-image: url("../img/Salle.jpg");
    background-size: cover;
    background-position: center;
}

/* images */
.gallery{
    margin-top: 24%;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.gallery img {
    width: 200px;
    cursor: pointer;
    transition: transform 0.3s, opacity 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Popup */
.lightbox {
    position: fixed;
    z-index: 4000;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s;
    }

/* Image agrandie */
.lightbox img {
    max-width: 90%;
    max-height: 90%;
    transform: scale(0.8);
    transition: transform 0.35s;
}

/* état actif */
.lightbox.active { 
    opacity: 1;
    visibility: visible;
}

.lightbox.active img {
    transform:scale(1);
}

/* bouton fermer */
.lightbox::after {
    content: "✕";
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 4 0px;
    color: azure;
    cursor: pointer;
}

.salle-title {
    position: absolute;
    top: 32px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.salle-title h1, .salle-title h2 {
    text-align: center;
    font-variant: small-caps;
}

.membres-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 250px;
    z-index: -1;
    overflow: hidden;
    background-image: url("../img/diaporama/slide5.jpg");
    background-size: cover;
    background-position: center;
}

.membres {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 0;
    gap: 32px;
}

.membres div {
    width: 300px;
    display: flex;
    column-gap: 12px;
}

.membres h3 {
    font-style: italic;
    line-height: 1.4;
    width: 160px;
    text-align: right;
}

.membres p {
    width: 160px;
}

.organisation {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
}

.organisation-listes {
    display: flex;
    justify-content: space-between;
    width: 48%;
    gap: 12px;
}

.organisation-listes h3 {
    font-style: italic;
    line-height: 1.4;
    width: fit-content;
    text-align: right;
}

.organisation-membres {
    width: 100%;
}

.organisation-membres div{
    display: flex;
    justify-content: space-between;
}

.directeur p {
    column-count: 2;
    text-align: justify;
}

.directeur {
    padding: 50px 24% 0 24%;
    gap: 32px;
}

.directeur div {
    margin-top: 40px;
}

.directeur img {
    width: 200px;
    height: fit-content;
}

.directeur .btn {
    position: absolute;
    left: 72%;
    margin-top: -12px;
}

.adresse {
    margin-top: 0;
    gap: 12px;
}

.adresse img {
    width: 30px;
    height: fit-content;
}

.contact {
    display: flex;
    width: 300px;
    gap: 16px;
}

.image-contact {
    width: 120px;
    height: 150px;
    background-size: cover;
    background-position: center;
}

.romain {
    background-image: url("../img/contacts/romain.jpg");
}

.david {
    background-image: url("../img/contacts/david.jpg");
}

.seb {
    background-image: url("../img/contacts/seb.jpg");
}

.albert {
    background-image: url("../img/contacts/albert.jpg");
}

.luca {
    background-image: url("../img/contacts/luca.jpg");
}

.contact h4 {
    margin-top: 4px;
}

.contact p {
    margin-top: 12px;
    line-height: 1.2;
}

.contact-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.postal-adress {
    display: flex;
    align-items: center;
    gap: 12px;
}

.postal-text {
    text-align: center;
}

.postal img {
    width: 50px;
    height: fit-content;
}

.postal {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.image-adress {
    display: flex;
    justify-content: center;
}

.image-adress img {
    width: 50px;
    height: fit-content;
}

.contacts-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 250px;
    z-index: -1;
    overflow: hidden;
    background-image: url("../img/diaporama/slide4.jpg");
    background-size: cover;
    background-position: center;
}

.agenda-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-image: url("../img/texture_fond.png");
    background-size: cover;
    background-position: center;
}

.agenda-title {
    position: relative;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.agenda-title h1, .agenda-title h2 {
    text-align: center;
    font-variant: small-caps;
}

.date1 {
    width: 300px;
    background-image: url("../img/ardoisebleue.png");
    background-size: contain;
    background-position: top;
    background-repeat: no-repeat;
}

.dates {
    width: 300px;
    background-image: url("../img/ardoise.png");
    background-size: contain;
    background-position: top;
    background-repeat: no-repeat;
}

.dates h2 {
    color: #151a2c;
}

.date1 h2, .dates h2 {
    text-align: center;
    
}

.agenda-item {
    width: 100%;
    display: flex;
    margin-top: 24px;
    column-gap: 16px;
}

.agenda-item h2 {
    padding-top: 16px;
    margin-bottom: 6px;
}

.date-desc {
    width: 600px;
}

.dates-supp {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-smart {
    position: fixed;
    z-index: 2000;
    right: 0;
    top: 24px;
    width: fit-content;
    padding: 8px 12px;
    background-color: #151a2c;
    line-height: 0;
}

.menu-smart button {
    display: flex;
    align-items: center;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-smart img {
    width: 4px;
    margin-right: 6px;
}

.overlay {
    display: none;
    position: fixed;
    z-index: 3000;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: rgba(21,26,44,0.97);
}

.overlay .closebtn {
    content: "✕";
    position: fixed;
    top: 25px;
    right: 35px;
    font-size: 32px;
    color: azure;
    cursor: pointer;
    border: 0;
    background: transparent;
    line-height: 1;
}

.mobile-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.mobile-menu li {
    flex-basis: 40%;
    line-height: 1;
}

.mobile-menu li a {
    font-size: 24px;
}

.mobile-menu li:nth-child(odd) {
    text-align: right;
}