@import url('../outils/police.css');
@import url('../outils/color.css');
@import url('../outils/badge.css');


.entete img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Remplit l'écran sans déformer la vidéo */
    z-index: -2;
    /* Place la vidéo derrière le contenu */
    background-size: cover;
    -webkit-user-select: none;
    /* Pour Chrome, Safari et autres navigateurs basés sur WebKit */
    -moz-user-select: none;
    /* Pour Firefox */
    -ms-user-select: none;
    /* Pour Internet Explorer */
    user-select: none;
}

.explicationregatta {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.explicationregatta p {
    width: 50%;
}

.explicationregatta ::selection {
    background-color: var(--soulignage);
}

.imageregatta {
    pointer-events: none;
    all: unset;
    display: flex;
    width: 50%;
    align-items: center;
    max-height: 80vh;
}

.imageregatta ::selection {
    background-color: #00000000;
}

.imageregatta img {
    all: unset;
    height: 100%;
    object-fit: contain;


}

.containproject {
    overflow: hidden;
    position: relative;
    /* ou absolute, etc. */
    background-color: var(--backgroundaccueil);
    height: fit-content;
    z-index: 100000000;
}

.regattaaffiche {
    all: unset;
    height: 80vh;
    width: auto;
    padding: 0;
    margin: 0;

}

.entete video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Remplit l'écran sans déformer la vidéo */
    z-index: -2;
    /* Place la vidéo derrière le contenu */
    background-size: cover;
    -webkit-user-select: none;
    /* Pour Chrome, Safari et autres navigateurs basés sur WebKit */
    -moz-user-select: none;
    /* Pour Firefox */
    -ms-user-select: none;
    /* Pour Internet Explorer */
    user-select: none;
}

.entete {
    width: 100%;
    height: 100%;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}



#scroll-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Pour s'assurer que l'image couvre toute la zone */
    transition: filter 0.3s ease;
    /* Transition pour l'effet d'assombrissement */
}

.section.infoprojet {

    background-color: var(--backgroundaccueil);

}

.infoprojet {
    width: 100%;
    background-color: var(--backgroundaccueil);
    padding-inline: var(--espacecote);

    overflow: hidden;
}

.infoprojet img {
    width: 100%;
    border-radius: var(--anglesprojets);

}

.infoprojet video {
    border-radius: 25px;
    z-index: 2;
}

.infoprojet h2 {
    color: black;
    font-size: 40px;
    line-height: 1;
    /* Augmente l'espacement entre les lignes */
    z-index: 2;
}

.infoprojet p {
    color: black;
    font-family: var(--ibm);
    z-index: 2;

}

.infoprojet p strong {
    color: rgb(49, 49, 49);
    font-weight: bold;
    font-family: var(--ibm);
    font-size: 1rem;
    letter-spacing: 0.02rem;

}

.infoprojet>div {
    margin-bottom: var(--gapimage);

}

.container {
    width: 100%;
    height: 100%;
    /* Add your background pattern here */
    background: rgba(29, 31, 32, 0.904);
    background-size: 11px 11px;
}

.poster {
    display: flex;
    border-radius: 0;
    align-items: center;
    flex-direction: row;
    gap: 30px;

}


.poster img {
    max-height: 50vh;
    width: auto;
    border-radius: 0;
    max-width: 80%;
}


.explicationmouvaplan {
    padding-bottom: 40px;
    display: flex;
    justify-content: space-between;
    /* Sépare les éléments à gauche et à droite */
    align-items: flex-start;
    /* Aligne en haut de chaque bloc */
    position: relative;

}

.explicationmouvaplan p {
    width: 40%;

}

.explicationmouvaplan p strong {
    color: rgb(49, 49, 49);
    font-weight: bold;
    font-family: var(--ibm);
    font-size: 1rem;
    letter-spacing: 0.02rem;

}

.explicationmouvaplan ::selection {
    background-color: #B3E3A2;
    color: #3B7958;
    /* Couleur de surlignage (jaune doré) */
}

.explicationconsole {
    padding-bottom: 40px;
    display: flex;
    justify-content: space-between;
    /* Sépare les éléments à gauche et à droite */
    align-items: flex-start;
    /* Aligne en haut de chaque bloc */
    position: relative;

}

.explicationconsole p {
    width: 40%;
}

.explicationconsole ::selection {
    background-color: #000000;
    color: #ffffff;
    /* Couleur de surlignage (jaune doré) */
}

/* Style pour l'explication */
.texteexplicatif {
    text-align: justify;
    line-height: 1.5;
    /* Augmente l'espacement entre les lignes */
    /* Limite la largeur du pavé pour une meilleure lisibilité */
    margin-bottom: -30px;
    font-size: 1rem;
    cursor: default;


}

.titredelexplication {
    text-align: right;
    cursor: default;
}

.titredelexplication h2 {
    font-size: 9rem;
    cursor: default;
}

.doubleimagemouvaplan {
    display: flex;
    gap: 30px;
    object-fit: cover;

}

.doubleimagemouvaplan img {
    width: 100%;
    max-width: 49%;
}

.uneimagemouvaplantel {
    display: flex;
    align-items: center;
    width: 100%;
}

.uneimagemouvaplantel img {
    background-color: var(--greymouvaplan);
    height: 800px;
    object-fit: cover;
}

.uneimagemouvaplan {
    display: flex;
    align-items: center;
}

/* Style pour l'explication */

.carte iframe {
    border-radius: 25px;
    width: 100%;
    margin-top: 30px;
}

/*--------------*/
.legend {
    font-size: 1rem;
    cursor: default;
}

.legend ::selection {
    background-color: var(--soulignage);
}

.legend p {
    margin: 2px 0;

}

.legend-number {
    font-family: var(--ibm);
}

.presentation-50-50 {
    display: flex;
    gap: var(--gapimage);
    justify-content: space-between;
    justify-content: center;
    margin: 0px;
    padding: 0px;
}

.presentation-50-50 img {
    width: calc((100% - var(--gapimage)) / 2);
    /* subtracting total gap to keep each image equally sized */
    height: auto;
    object-fit: cover;
    background-color: var(--greymouvaplan);

}

.presentation-app2 {
    display: flex;
    gap: var(--gapimage);
    /* Espace entre les deux conteneurs */
}

.presentation-app2-gauche,
.presentation-app2-droite {
    flex: 2;
    /* Distribue l'espace de manière égale au début */
}

.presentation-app2-gauche {
    flex: 1;
    /* Rend la gauche deux fois plus large que la droite */
}

.presentation-app2 img {
    background-color: var(--greymouvaplan);
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Applique l'effet de remplissage */
}

/* Option pour une hauteur fixe et identique */
.presentation-app2-gauche,
.presentation-app2-droite {
    height: 400px;
    /* Fixe la hauteur des deux conteneurs */
}


.citation ::selection {
    background-color: var(--soulignage);
}

/* Pour les navigateurs WebKit (Chrome, Safari) */
.citation ::-webkit-selection {
    background-color: var(--soulignage);
}

.citation {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: var(--ibm);
    padding: 100px 20%;
    cursor: default;
    width: 100%;
    background-color: var(--backgroundaccueil);
}

/* Style du blockquote */
blockquote {
    font-size: 1rem;
    font-style: italic;
    color: #000000;
    font-family: var(--ibm);
    width: 100%;
}

.citationdefin {
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 1rem;
    gap: 1rem;
    pointer-events: none;
    margin: 0;
    padding: 8rem 0px 8rem 0px;

}

.citationdefin span {
    color: #000000;
    font-family: var(--ibm);
    user-select: none;
    margin: 0;
    padding: 0;
}

.citationdefin p {
    user-select: none;
}

.eye {
    display: inline-block;
    transition: transform 0.1s ease-in-out;
    user-select: none;
}

@keyframes blink {

    0%,
    90%,
    100% {
        transform: scaleY(1);
    }

    95% {
        transform: scaleY(0.1);
    }
}

.eye {
    animation: blink 7s infinite;
}

.citationdefin li {
    font-size: 1rem;
    font-family: var(--ibm);
    cursor: default;
}

.content-number {
    cursor: default;
    position: absolute;
    top: 20px;
    left: 25px;
    color: rgba(0, 0, 0, 0.192);
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 5px;
    font-family: Arial, Helvetica, sans-serif;
    z-index: 9999;
    -webkit-user-select: none;
    /* Pour Chrome, Safari et autres navigateurs basés sur WebKit */
    -moz-user-select: none;
    /* Pour Firefox */
    -ms-user-select: none;
    /* Pour Internet Explorer */
    user-select: none;
}

.explication ::selection {
    background-color: var(--soulignage);
}

/* Pour les navigateurs WebKit (Chrome, Safari) */
.explication ::-webkit-selection {
    background-color: var(--soulignage);
}

.explication {
    padding-top: var(--espacetopexplication);
    padding-bottom: var(--espacetopexplication);
    padding-inline: var(--espacecoteexplication);
    display: flex;
    gap: var(--gapimage);
    width: 100%;
    justify-content: space-between;
    /* Sépare les éléments à gauche et à droite */
    /* Aligne en haut de chaque bloc */
}

.explication img {
    width: auto;
    max-width: 50%;
    max-height: 85vh;
    border-radius: 0;
}

.explication p {
    width: calc(50% - var(--gapimage));
    margin: 0;
    padding: 0;
}


/* Styles pour le panneau QR code */
.panneauqrcode {
    position: fixed;
    z-index: 9;
    top: 50vh;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    /* Plus haut que la navbar */
    background-color: rgb(255, 255, 255);
    border-radius: 20px;
    width: 500px;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    justify-content: center;
    align-content: center;
    display: none;
    gap: 20px;

}

.qrcode {
    margin-top: 20px;
    display: flex;
    justify-items: center;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-direction: row;
}

.fleche {
    color: #000000;
}

.panneauqrcode img {
    position: relative;
    height: 250px;
    -webkit-user-select: none;
    /* Pour Chrome, Safari et autres navigateurs basés sur WebKit */
    -moz-user-select: none;
    /* Pour Firefox */
    -ms-user-select: none;
    /* Pour Internet Explorer */
    user-select: none;
}

.panneauqrcode a {
    white-space: nowrap;
    font-family: var(--ibm);
    ;
    text-decoration: none;
    color: #000000;
    transition: 0.3s ease-in-out;
    font-size: 1rem;
    padding-inline: 20px;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.panneauqrcode a:hover {
    color: #000000;
    padding-inline: 10px;
}

.panneauqrcode .close-btn {
    position: absolute;
    top: 8px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: gray;
    transition: 0.3s ease-in-out;
}

.panneauqrcode .close-btn:hover {
    color: rgb(0, 0, 0);
    scale: 1.1;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: rgba(0, 0, 0, 0.677);
    z-index: 9;
    display: none;
    backdrop-filter: blur(2px);
    /* Effet de flou */
    display: none;
}


.videocent {
    width: 100%;
    border-radius: var(--anglesprojets);
    display: flex;
    justify-content: center;
    align-content: center;
}

.videocent video {
    border-radius: var(--anglesprojets);
    width: 100%;
}

.nameproject {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: white;
    padding-left: var(--espacecote);
    padding-top: 4vh;
     user-select: none;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     
}
.nameproject h1,
.nameproject p {
    color: white;
}

.presentation30{
    display: flex;
    flex-direction: row;
    gap: var(--gapimage);
    width: 100%;
    flex-wrap: wrap;
}

.presentation30 img{
    width: calc(100% / 3 - (var(--gapimage) * 2 / 3));
}

.uneimagedrime{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: var(--gapimage);
}

@media (max-width: 768px) {

    .explicationregatta {
        padding-top: 40px;
        flex-direction: column;
    }

    .explicationregatta>div {
        width: 100%;
    }

    .explicationregatta>p {
        width: 100%;
    }

    .entete img {
        height: 100%;
    }

    .entete {
        height: 100vh;
        max-height: 100vh;
        padding: 0;
        margin: 0;
    }

    .panneauqrcode img {
        display: none;
    }

    .citation {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-family: var(--ibm);
        padding: 100px 33.33vh;
        cursor: default;
        width: 100%;
        margin: 0;
        display: none;
    }

    blockquote {
        font-size: 1rem;
        font-style: italic;
        color: #000000;
        font-family: var(--ibm);
        width: 100%;
        display: none;
    }

    blockquote p {
        font-size: 1rem;
        font-style: italic;
        color: #000000;
        font-family: var(--ibm);
        width: 100%;
        display: none;
    }

    .explication {
        padding-top: 30px;
        padding-bottom: 30px;
        display: flex;
        gap: 30px;
        width: 100%;
        justify-content: space-between;
        /* Sépare les éléments à gauche et à droite */
        /* Aligne en haut de chaque bloc */
        position: relative;
        flex-direction: column;
    }

    .explication img {
        width: 100%;
        max-width: 100%;
    }

    .enbasbadge {
        left: 30px;
    }

    .explication p {
        width: 100%;
        max-width: 100%;
    }

    .citationdefin {
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        font-size: 1rem;
        gap: 2rem;
        padding: 60px 0px 60px 0px;
    }

    .citationdefin p {
        width: 75%;
        text-align: center;
    }

    .infoprojet {
        width: 100%;
        background-color: var(--backgroundproject);
        padding-left: 30px;
        padding-right: 30px;
    }
}