/* POLICES D'ÉCRITURES */
/* kanit-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Kanit';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/kanit-v16-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* kanit-italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Kanit';
    font-style: italic;
    font-weight: 400;
    src: url('assets/fonts/kanit-v16-latin-italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* kanit-500 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Kanit';
    font-style: normal;
    font-weight: 500;
    src: url('assets/fonts/kanit-v16-latin-500.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* kanit-600 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Kanit';
    font-style: normal;
    font-weight: 600;
    src: url('assets/fonts/kanit-v16-latin-600.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* kanit-700 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Kanit';
    font-style: normal;
    font-weight: 700;
    src: url('assets/fonts/kanit-v16-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* kanit-800 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Kanit';
    font-style: normal;
    font-weight: 800;
    src: url('assets/fonts/kanit-v16-latin-800.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* All */

* {
    margin: 0;
    scroll-behavior: smooth;
    font-family: "Kanit", 'Courier New';
}

html {
    font-size: 16px;
    /* Taille de base pour que 1em = 16px */
    margin: 0;
    padding: 0;
    background-color: white;
}

/* Désactiver la sélection par défaut sur l'UI */
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
button,
nav,
span {
    -webkit-user-select: none;
    /* Safari / Chrome */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE 10+ */
    user-select: none;
    /* Standard */
}

.selectable {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}


/* Bouton scrollToTop */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.55);
    /* noir transparent */
    backdrop-filter: blur(10px);
    /* flou derrière */
    -webkit-backdrop-filter: blur(10px);
    /* pour Safari */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
}

#scrollToTopBtn:hover {
    /* background-color: #e73370; */
    transform: scale(1.1);
}

#scrollToTopBtn.show {
    transform: scale(1);
    opacity: 1;
}

#scrollToTopBtn img {
    margin: 20%;
    display: block;
    z-index: 1001;
}



/* ===========================Header=========================== */

header {
    /* Background */
    background-image: url(assets/fond_header.png);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    /* Display */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* Sizes */
    width: auto;
    height: auto;
    padding: 0.3%;
    /* Other */
    user-select: none;
}

/* Logo */
.logo a img {
    padding-top: 2%;
    width: 100px;
    height: 100px;
    transition: transform .1s;
}

.logo a img:hover {
    transform: scale(1.08);
    transition: transform .1s;
}

/* menu */
.menu {
    background-color: none;
    top: 0;
    left: 150px;
}

.prem {
    padding: 3px;
    margin: 20px;
    border-top: 5px rgba(255, 0, 0, 0) solid;
    transition: all 0.2s ease-in-out;
}

.prem:hover {
    border-top: 5px red solid;
    transition: all 0.2s ease-in-out;
}

.menu>ul {
    display: flex;
    list-style: none;
}

.menu ul {
    padding: 10px;
}

.menu-button {
    display: none;
}

.menu li>a {
    /* Display */
    display: block;
    /* Text */
    text-decoration: none;
    font-size: 1.3em;
    font-weight: 500;
    color: black;
}

.sous-nav {
    /* Display */
    display: none;
    position: absolute;
    top: 69px;
    left: 0;
    /* Background */
    background: rgb(255, 255, 255);
    /* Text */
    font-size: 0.8em;
    list-style: none;
    /* Sizes */
    width: max-content;
    /* Other */
    border: 1px solid black;
    z-index: 1000;
}

.sous-nav li {
    padding: 10px;
}

.sous-nav li:hover {
    background: rgb(185, 185, 185);
}

.sous-nav li a {
    padding: 10px;
}

.has-sous-nav:hover .sous-nav {
    display: block;
}

.has-sous-nav {
    position: relative;
}

/* Reseaux */
.reseaux {
    display: flex;
    flex-direction: column;
}

.reseaux img {
    width: 60px;
    height: 60px;
    transition: all 0.2s ease-in-out
}

.instagram:hover {
    transform: rotate(25deg);
    transition: all 0.2s ease-in-out;
}

.facebook:hover {
    transform: rotate(-25deg);
    transition: all 0.2s ease-in-out;
}

/* Popup installation webApp */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-content {
    background: white;
    color: black;
    padding: 20px 30px;
    border-radius: 10px;
    max-width: 400px;
    width: 76%;
    text-align: center;
    font-size: 1.2em;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.popup-content button {
    background-color: #218838;
    color: white;
    border: none;
    padding: 10px 18px;
    margin: 10px 5px 0 5px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.popup-content button:hover {
    background-color: #1e7531;
}



/* ===========================CORPS=========================== */
section.corps {
    /* Background */
    background-image: url(assets/fond.webp);
    background-size: cover;
    background-position: right;
    /* Display */
    display: none;
    opacity: 0;
    flex-direction: column;
    /* Sizes */
    height: max-content;
    width: 100%;
    padding-bottom: 5%;
}

section.active {
    display: flex;
    opacity: 1;
}

/* ===========================ACCUEIL=========================== */
/* Newsletter */
.trait {
    background-color: white;
    width: 80%;
    height: 4px;
    margin-top: 1%;
}

.div_trait {
    display: flex;
    justify-content: center;
    margin-top: 2%;
}

#trait_mobile {
    display: none;
}

.newsletter-container {
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding-top: 3%;
}

.newsletter-container h3 {
    font-size: 1.9em;
    color: white;
    margin-bottom: 15px;
}

.newsletter-container form {
    display: flex;
    justify-content: center;
    align-items: stretch;
    /* important pour même hauteur */
    gap: 10px;
    /* un petit espace entre input et bouton */
    width: 100%;
    max-width: 400px;
}

.newsletter-container input[type="email"] {
    flex: 1;
    /* prend tout l’espace dispo */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    /* Pour que la hauteur corresponde au bouton : */
    box-sizing: border-box;
}

.newsletter-container button {
    background-color: #218838;
    color: white;
    border: none;
    padding: 0 20px;
    /* un peu plus large horizontalement */
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    /* Même hauteur que l’input */
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-container button:hover {
    background-color: #1e7531;
}

.message {
    margin-top: 10px;
    font-weight: bold;
    color: white;
    text-align: center;
}

#consent-modal {
    display: none;
    display: flex;
}


/* Programme */
.programme {
    /* Display */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Text */
    color: white;
    font-size: 1.8em;
    text-align: center;
    font-weight: bold;
}

.programme i {
    /* Text */
    text-align: center;
    font-size: 1.6em;
    /* Sizes */
    width: 60px;
    margin-top: 0%;
    /* Other */
    transition: all 0.2s ease-in-out;
    transform-origin: center;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 1.3);
}

#programme-bt {
    /* Text */
    text-align: center;
    font-size: 1.6em;
    /* Sizes */
    width: 40px;
    margin-top: 0%;
    height: 45.7px;
    width: 40px;
    /* Other */
    transition: all 0.2s ease-in-out;
    transform-origin: center;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 1.3);
    cursor: pointer;
}

.pulse {
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {

    /* Animation de zoom infini */
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3)
    }
}

.programme i:hover {
    cursor: pointer;
    transform: scale(1.2);
    transition: all 0.2s ease-in-out;
}

.toggle-div {
    /* Background */
    background-image: url(assets/fond_programme.webp);
    background-size: cover;
    /* Display */
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    overflow: hidden;
    /* Sizes */
    margin-top: 1%;
    padding: 0;
    width: 100%;
    height: 0;
    /* Other */
    transition: all 0.3s ease-out;
}

.expanded {
    padding: 1% 0;
    height: max-content;
    transition: all 0.3s ease-out;
}

/* Titres */
.toggle-div h3 {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0.5rem 0 1rem;
    margin-bottom: 0;
    color: white;
    /* ou ta couleur */
    text-align: center;
    /* text-decoration: underline; */
}

.toggle-div hr {
    width: 58%;
    background-color: rgba(255, 255, 255, 0.685);
    height: 2px;
    margin-bottom: 2%;
}

/* Conteneur d'images */
.toggle-div #programme_we,
.toggle-div #resultats_we {
    display: flex;
    justify-content: space-evenly;
    gap: 0px;
    flex-wrap: wrap;
    /* pour s'adapter si ça ne tient pas sur une ligne */
    margin-bottom: 1.5rem;
}

/* Images */
.toggle-div img {
    max-width: calc(33.33% - 110px);
    /* 3 images sur la ligne avec gap */
    height: auto;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Le club */
.club {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 3%;
}

.club img {
    margin-left: 100px;
    width: 300px;
    height: 100%;
}

.club p {
    /* Background */
    background-color: rgba(185, 185, 185, 0.226);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    /* Text */
    color: whitesmoke;
    font-size: 1.1em;
    text-align: center;
    /* Sizes */
    padding: 30px;
    width: 40%;
    height: max-content;
    /* Other */
    border-radius: 15px;
    user-select: none;
}

.club span {
    font-size: 1.3em;
}

.labels {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 3%;
}

.labels>img {
    width: 26%;
    padding: 0 3%;
}

/* Partenaires */
.box-partenaires {
    padding-top: 2%;
    /* Text */
    color: white;
    font-size: 1.8em;
    text-align: center;
    font-weight: bold;
}

.partenaires {
    /* Display */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 70px;
    /* Sizes */
    width: 90%;
    padding: 2% 4.5%;
}

.partenaires img {
    /* Sizes */
    width: 110%;
    height: auto;
    aspect-ratio: 8 / 5;
    /* Other */
    transition: transform 0.2s;
    /* cursor: pointer; */
    user-select: none;
}

.partenaires img:hover {
    transform: scale(1.05);
}

.box-partenaires div {
    margin-top: 2%;
    margin-bottom: 0;
}

.box-partenaires a {
    /* Text */
    color: white;
    background-color: rgba(185, 185, 185, 0.226);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    font-size: 0.65em;
    text-decoration: none;
    /* Sizes */
    /* margin-top: 30px; */
    padding: 0.5% 1%;
    /* Other */
    border-radius: 15px;
}

.box-partenaires a:hover {
    background-color: rgba(185, 185, 185, 0.486);
}

#partenaire-plus {
    width: 10.36px;
    height: 19.72px;
    transform: translateY(4px);
}


/* ===========================Le bureau=========================== */
#bureau div {
    display: flex;
    justify-content: center;
    margin-top: 2%;
}

#bureau img {
    height: 80vh;
    width: auto;
    aspect-ratio: 437 / 310;
}


/* ===========================Nos équipes=========================== */
#favorites-form {
    max-width: 400px;
    margin: 40px auto;
    padding: 20px 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

#favorites-form label {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
}

#favorites-form input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    border: 2px solid #4CAF50;
    border-radius: 4px;
    position: relative;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

#favorites-form input[type="checkbox"]:checked {
    background-color: #4CAF50;
    border-color: #4CAF50;
}

#favorites-form input[type="checkbox"]:checked::after {
    content: '✔';
    position: absolute;
    top: 1px;
    left: 3px;
    font-size: 14px;
    color: #fff;
}

#favorites-form button {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background-color: #4CAF50;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

#favorites-form button:hover {
    background-color: #45a049;
}

#favorites-form button:active {
    transform: scale(0.98);
}

#favorites-form .message {
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
}

/* 1 équipe */
.teamImg {
    margin-top: 3%;
    width: 90%;
    height: max-content;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.team {
    margin-bottom: 2%;
}

.logoEquipe {
    width: 20%;
    height: 20%;
    object-fit: cover;
}

.imgEquipe {
    margin-right: 3%;
    width: 70%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
}

/* 2 équipes */
.teamImg2 {
    margin-top: 3%;
    width: 90%;
    height: max-content;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.teamImg2>.logoEquipe {
    margin-top: -2%;
    height: 15%;
    width: 15%;
}
.imgBox {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    padding: 0;
    margin-top: 2%;
}
.imgBox>.imgEquipe {
    width: 48%;
    margin-right: 0;
    margin: 0 1%;
}

.txtEquipe {
    width: 90%;
    padding: 3% 0;
    background-color: rgba(185, 185, 185, 0.226);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    margin-top: 3%;
    display: flex;
    justify-content: center;
    color: white;
    font-size: 1.4em;
    font-weight: 500;
    border-radius: 15px;
}

/* ===========================Objectifs=========================== */
.obj {
    /* Display */
    display: flex;
    justify-content: center;
    /* Sizes */
    padding-top: 3%;
    width: 100%;
}

.obj p {
    /* Background */
    background-color: rgba(185, 185, 185, 0.226);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    /* Text */
    color: whitesmoke;
    font-size: 1.1em;
    text-align: center;
    /* Sizes */
    padding: 30px;
    width: 80%;
    height: max-content;
    /* Other */
    border-radius: 15px;
    user-select: none;
}

.obj span {
    font-size: 2em;
    font-weight: 500;
    text-decoration: underline;
}


/* ===========================La licence=========================== */
.licence {
    /* Display */
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    /* Sizes */
    padding-top: 2%;
}

.licence table tr,
.licence td {
    /* Background */
    background-color: white;
    /* Sizes */
    width: 300px;
    padding: 3%;
    /* Text */
    font-size: 1.2em;
    font-weight: 500;
}

.licence table tr td:nth-of-type(2) {
    text-align: center;
}

.licence p {
    padding-top: 3%;
    /* Text */
    font-size: larger;
    color: white;
}

.licence p span {
    color: yellow;
}


/* ===========================Les partenaires=========================== */
/* Galerie sponsors */
.sponso {
    /* Display */
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    /* Sizes */
    width: 90%;
    margin: 20px auto;
}

.sponso img {
    user-select: none;
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 5;
    box-shadow: 0 3px 8px rgb(0 0 0 / 0.1);
}


.bt_plaquette {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* width: 20%; */
    justify-content: center;
    margin-top: 2%;
}

.bt_plaquette a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.4em;
    background-color: #218838;
    padding: 0.5% 1.5%;
    margin: 0.5% 0;
    border-radius: 15px;
}

/* ============================Espace réservé============================ */
#login-form {
    color: white;
    text-align: center;
}

#login-form p {
    color: white;
    font-size: 18px;
    margin-bottom: 1%;
    margin-top: 2%;
}

#password-input {
    width: 15%;
    padding: 12px;
    font-size: 1em;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

#password-input:focus {
    border-color: #4CAF50;
    outline: none;
}

#login-form button {
    padding: 12px 20px;
    margin-left: 1%;
    background-color: #218838;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1em;
    cursor: pointer;
    /* transition: background-color 0.3s ease; */
}

#login-form button:hover {
    background-color: #1e7531;
}

#login-error {
    margin-top: 10px;
    font-size: 14px;
    color: #e74c3c;
}

#protected-content {
    color: white;
    text-align: center;
}

#protected-content iframe {
    width: 90%;
    height: 100vh;
    border: none;
}

.bt_protocole {
    display: flex;
    justify-content: center;
    margin-top: 2%;
}

.bt_protocole a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.4em;
    background-color: #218838;
    padding: 0.5% 1.5%;
    border-radius: 15px;
}

/* ===========================Actualités=========================== */
#actus-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 2%;
    margin: 0 auto;
    width: 70%;
    /* largeur plus large */
}

#actus-container article {
    display: flex;
    flex-direction: column;
    gap: 0rem;
    background: #fff;
    border-left: 5px solid red;
    border-radius: 15px;
    box-shadow: 0 3px 8px rgb(0 0 0 / 0.1);
    padding: 1.5rem;
    transition: box-shadow 0.3s ease;
}

#actus-container article:hover {
    box-shadow: 0 6px 18px rgb(0 0 0 / 0.15);
}

#actus-container article h3 {
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
    color: #222;
    font-weight: 700;
    line-height: 1.2;
}

#actus-container article p {
    margin: 0.4rem 0 1rem 0;
    line-height: 1.7;
    color: #303030;
    font-size: 1rem;
}

#actus-container article p.date {
    font-style: italic;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.images-container {
    display: flex;
    gap: 1rem;
}

.images-container img {
    width: calc((100% / 3) - (0.5rem * 2 / 3));
    max-width: calc((100% / 3) - (0.5rem * 2 / 3));
    border-radius: 8px;
    object-fit: cover;
}

.images-container img {
    height: auto;
}


/* ===========================Calendrier=========================== */
#calendrier,
#equipes {
    display: flex;
    height: max-content;
    width: 100%;
    flex-direction: row;
    padding-bottom: 0;
}

.mobile-select {
    display: none;
}

#calendrier .nav-bar,
#equipes .nav-bar {
    width: 18%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.267);
}

.nav-bar p {
    width: 100%;
    padding: 8%;
    padding-left: 5%;
    box-sizing: border-box;
    color: white;
    font-weight: bold;
    font-size: 1.3em;
    /* Other */
    transition: all 0.1s ease-out;
    /* border-radius: 10px; */
    cursor: pointer;
    /* border-bottom: 4px solid rgba(12, 12, 12, 0.267); */
}

.nav-bar p:hover {
    background-color: red;
    color: black;
    /* border-bottom: 4px solid red; */
    transition: all 0.1s ease-out;
}

.nav-bar hr {
    height: 4px;
    width: 100%;
    background-color: rgba(12, 12, 12, 0.445);
}

.mobile-title {
    display: none;
}

.team h2 {
    display: none;
}

.team {
    width: 82%;
    height: 100%;
    display: none;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.team iframe {
    width: 90%;
    margin-top: 2%;
    height: 100vh;
    background-color: white;
    border: none;
}

.team table {
    justify-content: center;
    width: 90%;
    border-collapse: separate;
    /* Permet de séparer les cellules */
    border-spacing: 5px;
}

.team table tr {
    width: 10%;
    height: 100%;
}

.team table td {
    /* Background */
    background-color: rgba(185, 185, 185, 0.226);
    /* Sizes */
    height: 100%;
    width: 20%;
    padding: 2% 1%;
    margin: 10%;
    /* Text */
    color: white;
    text-align: center;
    font-size: 1.2em;
    /* Other */
    border-radius: 20px;
}

.team table td:first-of-type {
    text-decoration: underline;
}

.team table tr:first-of-type td {
    /* Background */
    background-color: rgba(0, 0, 0, 0);
    /* Text */
    text-decoration: none;
    color: yellow;
    font-size: 1.5em;
    font-weight: bold;
}

.team table td:last-of-type {
    width: 8%;
    height: 8%;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.9);
}

.team a {
    color: black;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2em;
}

.currentDiv {
    display: flex;
}

.currentDiv h2 {
    display: block;
}

section:not(.active) .nav-bar {
    display: none;
}

section:not(.active) .currentDiv {
    display: none;
}

section:not(.active) h2 {
    display: none;
}


/* ===========================GALERIE=========================== */
#galerie {
    padding-bottom: 0;
}

h2 {
    /* Text */
    font-family: "Kanit", 'Courier New';
    color: white;
    font-size: 2.6em;
    text-align: center;
    font-weight: bold;
    /* Sizes */
    padding-top: 2%;
}

.gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 2% 2%;
    gap: 18px;
}

.gallery a {
    width: 19%;
}

.gallery img {
    width: 100%;
    height: 100%;
    /* Other */
    transition: transform 0.2s;
    cursor: pointer;
    user-select: none;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Pop-up d'affichage en grand */
.modal {
    display: none;
    /* Caché par défaut */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    /* Fond noir transparent */
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: red;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    cursor: pointer;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    user-select: none;
}

.prev {
    left: 20px;
}

/* Position gauche */
.next {
    right: 20px;
}

/* Position droite */

.prev:hover,
.next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.gallery_bt {
    display: flex;
    justify-content: center;
    margin-bottom: 2%;
}

.gallery_bt a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.4em;
    background-color: #218838;
    padding: 0.5% 1.5%;
    border-radius: 15px;
}

.gallery_bt a:hover {
    background-color: #1e7531;
}


/* ===========================Boutique=========================== */
.boutique {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.boutique img {
    width: 50%;
    height: auto;
    aspect-ratio: 620 / 877;
}

.boutique p {
    width: 85%;
    color: white;
    font-size: larger;
}

.boutique p a {
    color: rgb(179, 179, 179);
    transition: all 0.1s ease-in;
}

.boutique p a:hover {
    color: red;
    transition: all 0.1s ease-in;
}

.boutique span {
    color: yellow;
}

.logos_sport {
    /* Display */
    display: flex;
    flex-direction: row;
    justify-content: center;
    /* Sizes */
    padding-top: 2%;
    /* padding-bottom: 1%; */
}

.logos_sport img {
    width: 200px;
    height: auto;
    aspect-ratio: 256 / 135;
}


/* ===========================Contact=========================== */
.contactez-nous {
    /* Display */
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    /* Sizes */
    margin-top: 3%;
}

.contactez-nous .infos {
    /* Display */
    display: flex;
    flex-direction: column;
    justify-content: left;
    /* Text */
    color: white;
    font-size: 1.8em;
    /* Sizes */
    margin-left: 100px;
}

.contactez-nous .infos a {
    color: white;
    font-size: 1.9em;
    padding: 1%;
    transition: all 0.2s ease-out;
    width: 40px;
    height: 50px;
}

.contactez-nous .infos a:hover {
    color: red;
    transition: all 0.2s ease-out;
}

.font-style-contact {
    width: 28.813px;
    height: 28.797px;
    transform: translateY(6px);
}

.font-style-reseaux {
    width: 50px;
    height: 60px;
}

.icone-swap-red {
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Formulaire */
.form-container {
    /* Background */
    background-color: white;
    /* Sizes */
    max-width: 900px;
    width: 350px;
    /* margin: 0 auto; */
    padding: 20px 50px;
    /* Other */
    border: 2px solid black;
    border-radius: 15px;
}

.form-container label {
    /* Display */
    display: block;
    /* Sizes */
    margin-bottom: 8px;
    /* Text */
    font-weight: bold;
}

.form-container input,
.form-container textarea {
    /* Sizes */
    width: 95%;
    padding: 8px;
    margin-bottom: 15px;
    /* Other */
    border: 2px solid black;
    border-radius: 4px;
}

.form-container textarea {
    resize: vertical;
    overflow: auto;
    /* Sizes */
    max-height: 370px;
    min-height: 100px;
}

.form-container label[for="consent"] {
    font-weight: normal;
    font-size: 0.85em;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.form-container label[for="consent"] input {
    margin-top: 2px;
    width: auto;
}

.form-container button {
    /* Background */
    background-color: #218838;
    /* Sizes */
    padding: 10px 15px;
    /* Text */
    color: white;
    font-weight: 500;
    font-size: 1em;
    /* Other */
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.form-container button:hover {
    background-color: #1e7531;
}


/* ===========================Footer=========================== */
footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer .top {
    /* Background */
    background-color: white;
    /* Display */
    display: flex;
    justify-content: space-around;
    align-items: center;
    /* Sizes */
    width: 100%;
    padding-top: 1.5%;
    padding-bottom: 0.8%;
    height: max-content;
}

footer div.left,
footer div.right {
    width: 49%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

footer .right {
    /* Display */
    justify-content: center;
    align-items: center;
    flex-direction: row;
    right: 1;
    /* Text */
    text-align: right;
    font-size: 0.8em;
    align-items: flex-end;
}

footer .right p {
    margin-right: 50px;
}

footer img {
    width: 200px;
    height: 200px;
}

footer p {
    /* Text */
    font-weight: 500;
    font-size: 1.3em;
    /* Sizes */
    margin-bottom: 1%;
}

footer .contact {
    /* Display */
    display: flex;
    flex-direction: column;
    justify-content: left;
    /* Text */
    font-size: 0.8em;
}

.contact p:first-of-type br:last-of-type {
    display: none;
}

footer .left a {
    /* Text */
    color: black;
    font-size: 1.9em;
    /* Sizes */
    padding: 1%;
    /* Other  */
    transition: all 0.2s ease-out;
}

footer .right a {
    text-decoration: none;
    color: black;
}

footer a:hover {
    color: red;
    transition: all 0.2s ease-out;
}

.font-style-footer {
    width: 16.64px;
    height: 16.64px;
    transform: translateY(3px);
}

.font-style-footer-reseaux {
    width: 35px;
    height: 45px;
    transform: translateY(7px);
}

.font-style-loc {
    width: 12.48px;
    height: 17.64px;
    transform: translateY(2px);
}

.image-container {
    position: relative;
    display: inline-block;
    width: 12.48px;
    height: 17.64px;
    transform: translateX(-50px);
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.img-hover {
    opacity: 0;
}

.swap-wrapper:hover .img-hover {
    opacity: 1;
}

.swap-wrapper:hover .img-original {
    opacity: 0;
}

#logo_mairie_footer>img:hover {
    transform: scale(1.05);
}



footer .bottom {
    width: 100%;
    display: flex;
    justify-content: center;
}

footer .bottom span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 0.8em;
    font-family: Arial, Helvetica, sans-serif;
}







hr {
    /* Background */
    background-color: black;
    /* Sizes */
    /* height: 250px; */
    height: 200px;
    width: 4px;
    /* Text */
    color: black;
    /* Other */
    border: none;
}

/* Darkmod */
/* @media (prefers-color-scheme: dark) {
  body {
    background-color: #111;
    color: #f1f1f1;
  }

  header, footer, .menu, .nav-bar, .form-container {
    background-color: #222 !important;
    color: #f1f1f1;
  }

  a, .contactez-nous .infos a, .menu li > a {
    color: #f1f1f1;
  }

  a:hover {
    color: #ff4d4d;
  }
} */