/*webdesign et animations par: Malka Tutt*/
/*frontend et backend par: Alexandre Sticher*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    /* spacing */
    margin: 0px;
    padding: 0px;
    /* size */
    height: 100vh;
    width: 100vw;
    font-size: 1.25em;

    color-scheme: light;
    background-color: white !important;
}

/* HEADER */
header {
    /* size */
    width: 100vw;
    height: 12vh;
    /* spacing */
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* black line */
    border-bottom: solid 1.5px black;
    /* style */
    background-color: rgba(255, 255, 255, 0.5);
    /* positioning */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

header a img {
    /* spacing */
    height: 9vh;
    padding-left: 5vw;
    z-index: 100000;
}

.nav {
    /* spacing */
    display: flex;
    flex-direction: column;
    align-items: end;
    padding-right: 5vw;
    gap: 5px;
}

.pages a {
    padding-left: 1.5vw;
    text-decoration: none;
    color: black;
}

.linkJoin a {
    color: #309965;
}

/* FOOTER */
footer {
    /* size */
    width: 100vw;
    height: 58vh;
    /* spacing */
    display: flex;
    justify-content: space-between;
    align-items: end;
    /* black line */
    border-top: solid 1.5px black;
}

footer .imgFooter,
footer .copyright {
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.imgFooter {
    width: 40%;
}

footer .infoFooter {
    width: 30%;
    height: 90%;
    display: block;
}

footer .imgInverse {
    width: 100%;
    transform: scaleX(-1);
}

footer .copyright {
    justify-content: end;
    align-items: end;
    padding-right: 5%;
    font-size: .6em;
    color: gray;
    text-align: end;
}

footer .copyright img {
    /* spacing */
    height: 10%;
    padding-left: 5%;
}

footer .infoFooter h3 {
    font-size: 2em;
    color: #DA424F;
    margin-bottom: 20px;
    line-height: 35px;
}

footer a {
    color: #309965;
}

.logoSocial {
    display: flex;
    gap: .7em;
}

.fa-brands {
    font-size: 1.5em;
}


/* Boutons */
.btnRed {
    border-radius: 25px;
    background-color: #DA424F;
    border: solid 2px #DA424F;
}

.btnRed a {
    padding: 5px;
    text-decoration: none;
    color: white;
    font-size: 1.5em;
}

.btnRed:hover {
    border-radius: 25px;
    background-color: white;
    cursor: pointer;
}

.btnRed:hover a {
    color: #DA424F;
}

.btnGreen {
    border-radius: 25px;
    background-color: #309965;
    border: solid 2px #309965;
}

.btnGreen a {
    padding: 5px;
    text-decoration: none;
    color: white;
    font-size: 1.5em;
}

.btnGreen:hover {
    border-radius: 25px;
    background-color: white;
    cursor: pointer;
}

.btnGreen:hover a {
    color: #309965;
}

h1 {
    display: none;
}

.logoSocial a {
    color: black;
}

@media screen and (max-width: 768px) {


    header {
        cursor: pointer;
        width: 100vw;
        height: 12vh;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: solid 1.5px black;
        background-color: rgba(255, 255, 255, 0.5);
        top: 0;
        left: 0;
        z-index: 1000;
    }

    header::after {
        content: "☰";
        font-size: 9vw;
        color: black;
        padding-right: 5vw;
        z-index: 1002;
        color: #309965;
    }

    header.burger-actif::after {
        content: "✕";
    }

    .nav {
        position: fixed;
        top: -100vh;
        left: 0;
        width: 100vw;
        background-color: white;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 15vh 0 5vh;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 5vw;

        transition: top 0.3s ease-in-out;
        z-index: 100;
    }

    .nav.open {
        top: 0;
    }

    .pages,
    .linkJoin {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 !important;
    }

    .pages a,
    .linkJoin a {
        padding: 15px 0;
        text-align: center;
        width: 100%;
        padding-left: 0 !important;
    }

    header {
        opacity: 1;
    }

    /*footer*/
    footer {
        width: 100vw;
        height: 90vh;

        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;

        border-top: solid 1.5px black;
        position: relative;
    }

    footer .imgFooter {
        order: 3;
        width: 100vw;
    }

    footer .infoFooter {
        width: 90vw;
        height: 90vh;
    }

    footer .infoFooter h3 {
        font-size: 1.5em;
        line-height: 40px;
    }

    footer .btnRed a {
        font-size: 1.5em;
    }

    footer .copyright {
        justify-content: end;
        align-items: end;
        width: 90vw;
        height: 15vh;
        position: absolute;
        bottom: 7vh;
        font-size: .5em;
    }

    footer .copyright img {
        /* spacing */
        height: 80%;
        padding-left: 5%;
    }

    footer .imgFooter {
        height: auto;
    }
}