@font-face { font-family: Niagara_solid; src: url("fonts/FONT - Titre 2 - Niagara solid/NIAGSOL.TTF") format("truetype"); }
@font-face { font-family: Capture_it; src: url("fonts/FONT - Titre 1 - Capture it/CAPTURE IT.TTF") format("truetype"); }
@font-face { font-family: Inconsolata; src: url("fonts/FONT\ -\ Corps\ -\ Inconsolata/INCONSOLATA-VARIABLEFONT_WDTH,WGHT.TTF") format("truetype"); }

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

/* #region header_et_footer */
header,
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px 15px 50px;
    margin: 0;
    background : #BD0120;
    height: 20vh;
}

footer {
    height: 15vh;
}

@media (max-width: 1292px) {
    footer {
        height: auto;
        flex-direction: column;
    }
}

header {
    box-shadow: 0 6px 25px rgb(0, 0, 0, 0.5);
    position: fixed;
    width: 100%;
    z-index: 2;
    transition: all .3s ease;
    background-color: rgb(189, 1, 32, 0.8);
}

.header-scroll {
    height: 50px;
    background-color: rgb(189, 1, 32, 0.8);
    box-shadow: 0 0 0;
}

header img {
    width: 80px;
    height: 80px;
}

header nav a,
footer p {
    color: #FA9900;
    font-size: 1.2em;
    text-decoration: none;
    padding: 10px 20px 10px 20px;
    font-family: Inconsolata, sans-serif;
    font-weight: 500;
}

.lien-menu-scroll {
    background-color: black;
    color: black;
    font-size: 1em;
}

header nav a:hover,
.actuel {
    color: #FFCD03;
    border-bottom: 2px solid #FFCD03;
    background-color: rgb(198, 1, 32, 0.8);
}

header nav ul {
    display: flex;
    list-style-type: none;
}

header button {
    display: none;
}

header .logo2_alma {
    height: 80px;
    width: 200px;
}

header .logo1_alma {
    height: 100px;
    width: 100px;
}

@media (max-width: 1292px) {
    header .logo2_alma {
        height: 40px;
        width: auto;
    }
    header .logo1_alma {
        height: 60px;
        width: 60px;
    }
}

.logo-alma-scroll {
    display: None;
}

.logo_contact {
    height: 100%;
}

.logo_contact img {
    box-sizing: border-box;
    height: 100%;
    padding: 20px;
}
/* #endregion */

/* #region header_et_footer_mobile */
@media (max-width: 1292px) {
    header, footer {
        padding-left: 10px;
        padding-right: 10px;
    }
    /* header img {
        height: 10vh;
        width: 20vw;
    } */
    header nav ul {
        display: none;
        position: absolute;
        top: 20vh;
        left: 50%;
        transform: translate(-50%, 0);
        transition: all .3s ease;
    }
    header nav a {
        color: #FFCD03;
        border-bottom: 2px solid #FFCD03;
        background-color: rgb(198, 1, 32, 0.8);
        display: block;
        width: 100%;
        text-align: center;
    }
    header button {
        background-color: transparent;
        border: none;
        display: inline-block;
        /* height: 80%;
        width: 80%; */
        /* border: 2px solid black; */
        /* padding: 15px 32px; */
    }
    header button img {
        height: 50px;
        /* width: auto; */
    }
    header button p {
        color: #FFCD03;
    }
    .logo_contact {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        height: auto;
        justify-content: center;
    }
    .logo_contact a {
        display: block;
        /* border: 2px solid black; */
    }
    
    .logo_contact img {
        box-sizing: border-box;
        height: 80px;
        width: auto;
    }
}

/* @media not (max-width: 1292px) {
    header button {
        display: none;
    }
    header nav ul {
        display: flex;
    }
} */

/* #endregion */

/* #region general */
main h1 {
    color: #FA9900;
    font-family: Capture_it;
    font-size: 4em;
    margin: 20px 0 20px 0;
    font-weight: 100;
}

main h2 {
    font-family: Niagara_solid;
    font-size: 3em;
    color: #B93A00;
    margin-bottom: 30px;
    font-weight: 500;
    letter-spacing: 1px;
}

main p {
    font-family: Inconsolata, sans-serif;
}

.section {
    height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
}
/* #endregion */

/* #region page_accueil */
.main_accueil .s1 {
    padding: 0px 0 10px 0;
    height: 100vh;
}

.main_accueil h1 {
    font-size: 4em;
}

.main_accueil .s1 h1 {
    margin: 0;
    font-size: 7em;
    color: #FFD21A;
}

.titre_page_accueil {
    width: 100%;
    height: 100vh;
    margin: 0px 0 20px 0;
    position: relative;
}

.titre_page_accueil img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.titre_page_accueil h1 {
    height: inherit;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5em;
    background-color: rgba(0, 0, 0, 0.4);
}

.main_accueil .s2 {
    padding: 0px 0 10px 0;
    height: 100vh;
    display: flex;
    justify-content: center;
}

.main_accueil .s2 p {
    width: 60%;
    text-align: center;
    margin: 50px 0 50px 0;
    font-size: 1.1em;
}

/* Par rapport à s3 jusqu'à s6 */
.texte_page_accueil {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0 15% 0 15%;
    grid-gap: 10px;
    height: 70%;
    align-content: center;
}

.texte_page_accueil p {
    padding: 10px;
    text-align: justify;
    align-self: center;
}

.texte_page_accueil img {
    border-radius: 8px;
    padding: 10px;
    border: 2px solid white;
    box-shadow: 0 6px 25px rgb(0, 0, 0, 0.5);
    background-color: white;
    align-self: center;
    justify-self: center;
}

.qui_sommes_nous_accueil img {
    max-height: 80%;
    max-width: 60%;
}

.le_projet_accueil img,
.rejoignez_laventure_accueil img {
    max-height: 80%;
    max-width: 100%;
}

.main_accueil .s5 .conteneur_logos_partenaires{
    width: 80%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 10vh 0 0 0; /* vh = percentage based on the height of the parent, else it's based on the width */
    grid-gap: 30px;
    justify-items: center;
}

.logo_partenaire {
    text-align: center;
    background-size: cover;
    width: 130px;
    height: 130px;
    border-radius: 50%;
}

.logo1_partenaire {
    background-image: url('images/logos/Logo_4Ltrophy.webp');
}

.logo2_partenaire {
    background-image: url('images/logos/logo_ela.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-color: white;
    background-position: 0 20%;
}

.logo3_partenaire {
    background-image: url('images/logos/logo_vml.png');
}

.main_accueil .section_impaire {
    background: #FA9900;
}

.main_accueil .section_impaire h1 {
    color: #FFD21A;
}

.main_accueil .section_impaire .cta {
    color: black;
    background: #FFD21A;
}

.cta {
    /* Call-to-action */
    background: #FFA61A;
    color: white;
    padding: 5px 0;
    text-decoration: none;
    font-family: Inconsolata, sans-serif;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.cta:hover {
    box-shadow: 0 0 6px rgb(0, 0, 0, 0.25);
  }
/* #endregion */

/* #region page_accueil_mobile */
@media (max-width: 1292px){
    .main_accueil .section {
        height: auto;
        padding-bottom: 50px;
    }
    .main_accueil .section h1{
        text-align: center;
    }
    .texte_page_accueil {
        display: flex;
        flex-direction: column;
        padding: 0 15% 0 15%;
        height: 70%;
        align-content: center;
    }
    .main_accueil .s5 .conteneur_logos_partenaires {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 430px) {
    .main_accueil h1 {
        font-size: 3em;
    }
    .main_accueil .s1 h1 {
        font-size: 5em;
    }
}
/* #endregion */

/* #region page_qsn */
.main_qsn .section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    align-content: center;
    padding: 50px 15% 50px 15%;
    height: auto;
}

.main_qsn h1 {
    text-align: center;
    padding-bottom: 20px;
}

.main_qsn p {
    text-align: justify;
    box-shadow: 0 6px 25px rgb(0, 0, 0, 0.5);
    padding: 20px;
    background-color: white;
}

.main_qsn img {
    justify-self: stretch;
    align-self: center;
    border-radius: 8px;
    padding: 10px;
    border: 2px solid white;
    box-shadow: 0 6px 25px rgb(0, 0, 0, 0.5);
    background-color: white;
}

.main_qsn .s1 {
    background: url(images/photos/alma_4L/27122024-p1013698_54290727884_o.webp);
    background-size: cover;
    background-position: 0 -200px;
    height: 80vh;
    padding: 0;
    margin: 0;
    position: relative;
}

.main_qsn .s1 h1 {
    height: inherit;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5em;
    background-color: rgba(0, 0, 0, 0.2);
    margin: 0;
    padding: 0;
}

.main_qsn .s2 {
    grid-template-columns: 100%;
    height: 400px;
    align-content: start;
    padding-top: 30px;
}

.main_qsn .s3 {
    margin: 0;
    align-self: center;
    padding-top: 0%;
    padding-bottom: 30px;
    height: auto;
    background: #FA9900;
    grid-template-rows: 1fr 1fr 1fr;
    grid-gap: 0 20px;
}

.main_qsn .s3 .block_qsn_3-1 {
    grid-row: 1;
    grid-column: 1 / 3;
}

.main_qsn .s3 .block_qsn_3-2 {
    grid-row: 2 / 4;
}

.main_qsn .s3 h1 {
    color: #FFD21A;
}

.main_qsn .s3 h2 {
    color: #B93A00;
}

.main_qsn .s3 p {
    margin-bottom: 50px;
    height : auto;
}

.main_qsn .s3 img {
    grid-row: 2 / 4;
    width: 90%;
    justify-self: start;
}

.texte_qsn {
    align-self: center;
    width: 100%;
}

.main_qsn .s4 {
    grid-gap: 20px 0;
}

.main_qsn .s4 img {
    justify-self: end;
    width: 85%;
}

.main_qsn .s4 .block_qsn_4-2 {
    grid-row: 2;
    grid-column: 1/3;
    width: 100%;
}
/* #endregion */

/* #region page_qsn_mobile */
@media (max-width: 1292px){
    .main_qsn .section {
        display: flex;
        flex-direction: column;
        padding-left: 5px;
        padding-right: 5px;
        /* flex-wrap: wrap; */
    }
    .main_qsn h1 {
        overflow: hidden;
    }
    .main_qsn h2 {
        text-align: center;
    }
    .main_qsn .s1 {
        background-position: center center;
    }
    .main_qsn .s2 {
        height: auto;
    }
}

@media (max-width: 500px) {
    .main_qsn h1 {
        font-size: 3em;
    }
    .main_qsn .s1 h1 {
        font-size: 5em;
    }
}
/* #endregion */

/* #region page_le_projet */
.main_le_projet section {
    height: 450px;
    padding-bottom: 30px;
}

.main_le_projet .s1 {
    background: url("images/photos/4ltrophy_officiel/photo_5.webp");
    background-size: cover;
    background-position: 0 -350px;
    height: 80vh;
    padding: 0;
    margin: 0;
    position: relative;
}

.main_le_projet .s1 h1 {
    height: inherit;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5em;
    background-color: rgba(0, 0, 0, 0.2);
    margin: 0;
    padding: 0;
}

.main_le_projet .s2 {
    padding: 30px 0 30px 0;
    height: auto;
}

.main_le_projet .s3 {
    padding: 30px 0 30px 0;
    height: auto;
}

.main_le_projet .s4 {
    padding: 30px 0 30px 0;
    height: auto;
}

.main_le_projet .sous-section {
    display: grid;
    /* grid-template-columns: 70% 30%; */
    padding: 0 15% 0 15%;
    align-content: center;
    /* border: 2px black solid; */
    margin: 20px 0 20px 0;
}

.main_le_projet .texte_droite {
    grid-template-columns: 40% 60%;
}

.main_le_projet .texte_gauche {
    grid-template-columns: 60% 40%;
}

.main_le_projet .texte_solo {
    grid-template-columns: 100%;
}

.main_le_projet .s2 img,
.main_le_projet .s3 img {
    width: 100%;
    height: auto;
    align-self: center;
}

.main_le_projet .s4 img,
.main_le_projet .s5 img {
    width: 100%;
    height: auto;
}

.main_le_projet .s2 p,
.main_le_projet .s3 p {
    padding: 20px;
    background: #FFD21A;
}

.main_le_projet .s4 p,
.main_le_projet .s5 p {
    padding: 20px;
    background: #FFD21A;
}

.main_le_projet .s3 {
    background: #FA9900;
}

.main_le_projet .s3 h1 {
    color: #FFD21A;
}

.main_le_projet .s5 {
    background: #FA9900;
}
/* #endregion */

/* #region page_le_projet_mobile */
@media (max-width: 1292px){
    .main_le_projet .section {
        display: flex;
        flex-direction: column;
        padding-left: 5px;
        padding-right: 5px;
        /* flex-wrap: wrap; */
    }
    .main_le_projet .sous-section {
        display: flex;
        flex-direction: column;
    }
    .main_le_projet h1 {
        overflow: hidden;
        text-align: center;
    }
    .main_le_projet h2 {
        text-align: center;
    }
    .main_le_projet .s1 {
        background-position: center center;
    }
}

@media (max-width: 500px) {
    .main_le_projet h1 {
        font-size: 3em;
    }
    .main_le_projet .s1 h1 {
        font-size: 5em;
    }
}
/* #endregion */

/* #region page_partenaires */
.main_partenaires section {
    height: auto;
    padding: 50px 20vw 50px 20vw;
}

.main_partenaires .s1 {
    background: url(images/photos/VML\ et\ ELA/p1014255_54290731268_o_1.webp);
    background-size: cover;
    background-position: 0 -130px;
    height: 80vh;
    padding: 0;
    margin: 0;
    position: relative;
}

.main_partenaires .s1 h1 {
    height: inherit;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5em;
    background-color: rgba(0, 0, 0, 0.2);
    margin: 0;
    padding: 0;
}

.main_partenaires .s-VML {
    padding: 0 20vw 0 20vw;
}

.main_partenaires .s-VML img {
    height: 25vh;
    margin-bottom: 30px;
}

.main_partenaires .s-ELA img {
    height: 20vh;
    margin-bottom: 30px;
}

.main_partenaires .s-CR_EdD {
    background-color: #FA9900;
}

.main_partenaires .s-CR_EdD p {
    text-align: justify;
    box-shadow: 0 6px 25px rgb(0, 0, 0, 0.5);
    padding: 20px;
    background-color: white;
}

.main_partenaires .s-CR_EdD p#texte_intro_CR_EdD {
    box-shadow: none;
    padding: 20px;
    background-color: transparent;
}

.main_partenaires .s-CR_EdD img {
    height: 25vh;
    margin-bottom: 30px;
}

.main_partenaires .s3 {
    height: auto;
}
/* #endregion */

/* #region page_partenaires_mobile */
@media (max-width: 1292px){
    .main_partenaires .section {
        display: flex;
        flex-direction: column;
        padding-left: 5px;
        padding-right: 5px;
        /* flex-wrap: wrap; */
    }
    .main_partenaires h1 {
        overflow: hidden;
        text-align: center;
    }
    .main_partenaires h2 {
        text-align: center;
    }
    .main_partenaires .s1 {
        background-position: center center;
    }
}

@media (max-width: 500px) {
    .main_partenaires h1 {
        font-size: 3em;
    }
    .main_partenaires .s1 h1 {
        font-size: 5em;
    }
}
/* #endregion */

/* #region page_contact */
.main_contact {
    background: linear-gradient(90deg, #B93A00, #FFD21A);;
}

.main_contact section {
    margin: 0 20% 0 20%;
    background-color: white;
    padding: 50px 30px 50px 30px;
    height: auto;
}

.main_contact h2 {
    font-size: 3em;
}

.main_contact a {
    text-decoration: none;
    color: black;
    font-weight: 600;
}

.main_contact .s1 {
    background: url(images/photos/alma_4L/27122024-p1013362_54290488236_o.webp);
    background-size: cover;
    background-position: 0 -450px;
    height: 80vh;
    padding: 0;
    margin: 0 0 50px 0;
    position: relative;
}

.main_contact .s1 h1 {
    height: inherit;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5em;
    background-color: rgba(0, 0, 0, 0.2);
    margin: 0;
    padding: 0;
}

.main_contact .s2 {
    padding-top: 70px;
}

.main_contact .s4 h3 {
    padding-top: 20px;
    padding-bottom: 20px;
}

.main_contact .s5 p,
.main_contact .s7 p {
    padding-bottom: 30px;
}

.main_contact .s7 {
    padding-bottom: 70px;
}

.main_contact .s8 {
    height: 30px;
    background-color: transparent;
}

.main_contact ul {
    margin: 50px 0 0 0;
}

.main_contact li {
    font-family: Inconsolata, sans-serif;
    list-style: none;
}

.bouton_page_contact {
    background: #FFD21A;
    padding: 5px 10px 5px 10px;
    text-decoration: none;
    font-family: Inconsolata, sans-serif;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.bouton_page_contact:hover {
    box-shadow: 0 0 6px rgb(0, 0, 0, 0.25);
  }

.grille_logo_contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    justify-items: center;
    align-items: center;
    grid-gap: 50px 0;
    margin-top: 80px;
    /* margin: auto; */
}

.grille_logo_contact div {
    width: 70%;
    display: flex;
    flex-direction: column;
}

.grille_logo_contact div img {
    box-sizing: border-box;
    height: 100px;
    padding: 20px;
    justify-self: end;
}

.grille_logo_contact div p {
    text-align: center;
}

.grille_logo_contact a {
    font-family: Inconsolata, sans-serif;
    text-decoration: none;
    color: black;
}

#texte_bouton_contact {
    padding-top: 30px;
}
/* #endregion */

/* #region page_contact_mobile */
@media (max-width: 1292px){
    .main_contact .section {
        display: flex;
        flex-direction: column;
        margin-left: 10px;
        margin-right: 10px;
        /* flex-wrap: wrap; */
    }
    .main_contact h2 {
        text-align: center;
    }
    .main_contact .s1 {
        background-position: center center;
        margin: 0 0 50px 0;
    }
    .grille_logo_contact {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 500px) {
    .main_contact h1 {
        font-size: 3em;
    }
    .main_contact .s1 h1 {
        font-size: 5em;
    }
}
/* #endregion */
