/* === Réinitialisation globale === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
}

/* === Section du logo === */
.header_logo {
    background: #FDF8F2;
    padding: 92px 0;
    text-align: center; /* Centre le logo */
}
.header_logo img {
    display: block;
    margin: 0 auto;
}

/* === Conteneur principal des deux sections === */
.flex_section {
    display: flex;
    width: 100%;
    height: calc(100vh - 254px); /* Hauteur totale moins celle du header */
}

/* === Sections gauche et droite === */
.left_section,
.right_section {
    width: 50%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: width 0.5s ease-in-out;
}

/* === Articles pour bien centrer le contenu === */
.left_section article,
.right_section article {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Espacement entre les éléments */
}

/* === Liens à l'intérieur des sections === */
.left_section article a,
.right_section article a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #FFF;
}
.left_section article a {
    align-items: flex-end;
}
.right_section article a {
    align-items: flex-start;
    padding-bottom: 100px;
    width: 522px;
}


/* === Style des textes === */
.small_text {
    font-family: "DM Sans", sans-serif;
    font-size: 25px;
    font-weight: 600;
    line-height: 33px;
}
.left_section article .small_text {
    margin-top: 50px;
}
.big_text {
    font-family: "Protest Strike", sans-serif;
    font-size: 96px;
    font-weight: 400;
    line-height: 115px;
}
.right_section article .big_text {
    margin-bottom: 70px;
}

/* === Flèches === */
.arrow_orange {
    max-width: 350px;
}


/* === Animation Hover === */

.left_section:hover,
.right_section:hover {
    width: 75%;
}

/* === Responsive === */

@media screen and (max-width: 1280px) {
    .left_section article a,
    .right_section article a {
        max-width: 300px;
    }
    .small_text {
        font-size: 18px;
        line-height: 26px;
    }
    .big_text {
        font-size: 75px;
        line-height: 85px;
    }
}
@media screen and (max-width: 1050px) {
    .big_text {
        font-size: 55px;
        line-height: 65px;
    }
}
@media screen and (max-width: 960px) {
    .flex_section {
        flex-direction: column;
    }
    .left_section,
    .right_section {
        width: 100%;
    }
    .left_section:hover,
    .right_section:hover {
        width: 100%;
    }
    .right_section article a {
        padding-bottom: 0;
    }
}
@media screen and (max-width: 568px) {
    .big_text {
        font-size: 35px;
        line-height: 45px;
    }
    .arrow_orange {
        max-width: 250px;
    }
    .right_section article .big_text {
        margin-bottom: 30px;
    }
    .left_section article .small_text {
        margin-top: 30px;
    }
    .header_logo img {
        width: 300px;
    }
    .flex_section {
        height: calc( 100vh - 238px);
    } 
}