@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-1 h1 {
    /* font-size: 50px; */
    /* color: #0F2D10; */
    margin-bottom: 10px;
    /* line-height: 58px; */
    text-align: center;
}

.hero-1 h1 .line-1 {
    display: block;
    /* opacity: 0;
    animation: fadeInUp 1s ease-out forwards; */
}

.hero-1 h1 .line-2 {
    display: block;
    /* opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s forwards; */
}

.hero-1 h2 {
    /* font-size: 20px; */
    color: #0F2D10;
    font-family: 'IBM Plex Sans', sans-serif;
    text-align: center;
    margin-bottom: 50px;
    /* opacity: 0;
    animation: fadeInUp 1s ease-out 0.4s forwards; */
}

.hero-1 .hero-main-items {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-bottom: 100px;
    justify-content: space-between;
    box-sizing: border-box;
}

.hero-1 .hero-main-items .item-left,
.hero-1 .hero-main-items .item-right,
.hero-1 .hero-main-items .item-full {
    width: 46%;
    padding: 10px;
    height: 350px;
    border-radius: 40px;
    /* opacity: 0; */
    box-sizing: border-box;
    object-fit: cover;
}

.hero-1 .hero-main-items .item-left,
.hero-1 .hero-main-items .item-right {
    width: 46%;
}

.hero-1 .hero-main-items .item-full {
    width: 100%;
}

.hero-1 .hero-main-items .item-left {
    /* animation: fadeInUp 1s ease-out 0.4s forwards; */
}

.hero-1 .hero-main-items .item-right {
    /* animation: fadeInUp 1s ease-out 0.6s forwards; */
}

/* RESPONSIVE MENU DESKTOP */

@media (max-width: 1200px) {

    .hero-1 .hero-main-items .item-left,
    .hero-1 .hero-main-items .item-right {
        min-height: 300px;
    }

    .hero-1 h1 {
        font-size: 45px;
    }
}

@media (max-width: 1000px) {
    .hero-1 .hero-main-items {
        gap: 15px;
    }

    .hero-1 .hero-main-items .item-left,
    .hero-1 .hero-main-items .item-right,
    .hero-1 .hero-main-items .item-full {
        min-height: 250px;
    }

    .hero-1 h1 {
        font-size: 40px;
    }

    .hero-1 h2 {
        font-size: 18px;
    }
}

@media (max-width: 800px) {

    .hero-1 h1 {
        font-size: 35px;
        line-height: 30px;
    }

    .hero-1 .hero-main-items {
        flex-direction: row;
        /* Garde la direction row */
        gap: 10px;
        margin-bottom: 50px;
    }

    .hero-1 .hero-main-items .item-left,
    .hero-1 .hero-main-items .item-right,
    .hero-1 .hero-main-items .item-full {
        /* Garde la largeur à 50% */
        min-height: 200px;
        margin: 0;
    }

    .hero-1 h1 {
        font-size: 30px;
    }
}

@media (max-width: 500px) {
    .hero-1 {
        padding: 0px;
        display: flex;
        ;
        flex-direction: column;
        align-items: center;
        justify-content: center;


    }

    .hero-1 h1 {
        font-size: 30px;
        line-height: 30px;
    }

    .hero-1 .hero-main-items {
        gap: 8px;
        margin-bottom: 30px;
    }

    .hero-1 .hero-main-items .item-left,
    .hero-1 .hero-main-items .item-right,
    .hero-1 .hero-main-items .item-full {
        min-height: 180px;
        max-height: 250px;
    }

    .hero-1 h1 {
        font-size: 25px;
    }

    .hero-1 h2 {
        font-size: 16px;
    }
}

@media (max-width: 350px) {
    .hero-1 h1 {
        font-size: 25px;
        line-height: 30px;
    }

    .hero-1 .hero-main-items {
        flex-direction: column;
        /* Passe en colonne uniquement pour les très petits écrans */
        gap: 10px;
    }

    .hero-1 .hero-main-items .item-left,
    .hero-1 .hero-main-items .item-right,
    .hero-1 .hero-main-items .item-full {
        width: 100%;
        min-height: 160px;
    }

    .hero-1 h1 {
        font-size: 20px;
    }
}