/*
Michail Kanakas
10.01.2024
CSS global pour le site
*/

body {
    margin: 0;
    font-family: 'Archivo Black', Arial, sans-serif;
    font-weight: bold;
    color: #fff;
    background-color: #F7F6F6;
}


header nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #000;
    padding-top: 0.9vw;
    padding-bottom: 0.75vw;
}

header a {
    font-size: 2vw;
    transition: all 0.4s ease-out;
    text-decoration: none;
    color: #fff;
}

header a:hover {
    color: #D20A0A;
    transform: scale(1.1);
    transition: all 0.4s ease;
}

header #enRouge {
    color: #D20A0A;
}

nav div {
    height: 3.25vw;
    width: fit-content;
}

header svg {
    height: 3.25vw;
    transition: all 0.4s ease-out;
}

header svg:hover {
    transform: scale(1.05);
    transition: all 0.4s ease;
    cursor: pointer;
}

#enRouge {
    color: #D20A0A;
}


.hero {
    position: relative;
    width: 100%;
}

.hero .fadeTop {
    position: absolute;
    width: 100%;
    height: 7.5vw;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.hero .fadeBottom {
    position: absolute;
    width: 100%;
    height: 2.5vw;
    bottom: 0;
    left: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.hero img {
    width: 100%;
    z-index: 1;
}

#intro {
    text-align: center;
    color: #000000;
    background-color: white;
    margin: 0;
}

#intro h1 {
    font-size: 3.25vw;
    margin-top: 0;
    padding-top: 2.5vw;
    margin-bottom: 2.5vw;
    margin-left: 18vw;
    margin-right: 18vw;
}

#intro p {
    text-align: justify;
    font-family: "Roboto flex", serif;
    font-size: 1.25vw;
    font-weight: 500;
    margin-left: 22.5vw;
    margin-right: 22.5vw;
    margin-top: 1.5vw;
    margin-bottom: 1.5vw;
}

#intro #pEnBas {
    padding-bottom: 3.5vw;
    margin-bottom: 0;
}

footer {
    background-color: #000000;
    padding-top: 3vw;
    padding-bottom: 3vw;
    padding-left: 10vw;
    padding-right: 10vw;
}

footer .columns {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
}

footer ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

ul svg {
    height: 3.4vw;
    transition: all 0.25s ease;
    align-items: center;
}

ul svg path {
    transition: all 0.25s ease;
}

ul svg:hover path {
    fill: #D20A0A;
    transition: all 0.25s ease;
}

ul svg:hover {
    cursor: pointer;
    transition: all 0.25s ease;
    transform: scale(1.05);
}

#footer-left {
    justify-content: left;
    display: inline;
}

#footer-right {
    justify-content: right;
    flex-wrap: wrap;
    text-align: right;
}

footer li {
    font-size: 1.5vw;
}

footer a {
    font-family: "Bakbak One", serif;
    font-weight: 500;
    text-decoration: none;
    color: #929292;
    transition: all 0.25s ease-out;
}

footer a:hover {
    color: #D20A0A;
    transition: all 0.25s ease;
}

footer p {
    margin-bottom: 0;
    margin-top: 1.25vw;
    font-size: 1.25vw;
    text-align: center;
}


@media (max-width: 650px) {
    footer .columns {
        justify-content: space-between;
    }

    footer li,
    footer a,
    footer p {
        transform: scale(1.3);
    }

    #intro p {
        margin-left: 12.5vw;
        margin-right: 12.5vw;
        font-size: 2.25vw;
    }

    #intro h1 {
        font-size: 3.75vw;
        margin-left: 14vw;
        margin-right: 14vw;
    }

    header nav {
        display: flex;
        justify-content: space-between;
        /* Espace les éléments */
        align-items: center;
        /* Centre les éléments verticalement */
        height: 4.25vw;
        padding-left: 3vw;
        padding-right: 3vw;
        position: relative;
        /* Nécessaire pour le positionnement du SVG */
    }

    header nav div {
        position: absolute;
        /* Positionne le conteneur du SVG de manière absolue */
        left: 50%;
        /* Centre horizontalement */
        transform: translateX(-50%);
        /* Ajuste pour centrer parfaitement */
        bottom: 25%;
    }

    header svg {
        height: 3.25vw;
        transition: all 0.4s ease-out;
    }

    header svg:hover {
        transform: scale(1.05);
        transition: all 0.4s ease;
        cursor: pointer;
    }

    header a {
        font-size: 2.5vw;
        position: relative;
        /* Permet de superposer les liens */
        z-index: 1;
        /* Place les liens au-dessus du SVG */
    }

    header a:hover {
        color: #D20A0A;
        transform: scale(1.1);
        transition: all 0.4s ease;
    }

    header .gaucheLogo {
        margin-right: 3vw;
    }

    header .droiteLogo {
        margin-left: 3vw;
    }

}