.home-section{
    background-image: url('../../../images/backgrounds/home.webp');
    background-size: cover;
    background-repeat: no-repeat;
    justify-content: start;
    align-items: center;
    height: 1312px;
    padding: 5rem 2rem;
    background-position: 50% 0%;
    margin-top: 3.5rem;


}

.animated-text{
    margin-top: 0;
}


.home-section .slogan{
    margin-top: 4rem;
}


.home-section a{
    color: black;
    font-size: 25px;
    text-decoration: none;
}

.home-section a:hover{
    color: var(--primary-color);
    text-decoration: none;
}
.container-pictures{
    width: 100%;
    justify-content: center;
    align-items: center;
    gap:8rem;
}
.container-pictures .picture-1{
    height: 441px;
}
.container-pictures div{
    margin: 0;
    padding: 0.5rem;
    width: 300px;
    justify-content: start;
    align-items: center;
}

.picture-1, .picture-2,.picture-3{
    padding: 0.5rem;
    border-radius: 25px;
}

.picture-1, .delphine-h2{
    background-color: #B6E9DB;
}



.picture-2, .sandrine-h2{
    background-color:#FC7EAB;
}

.picture-3, .amandine-h2{
    background-color: #C94065;
}

.amandine-h2{
    background-color: #9F2D4C;
    color: white;
}
.column h2{
    padding: 1rem;
    border-radius: 25px;
}


.container-pictures .column{
    justify-content: start;
    align-items: center;
    gap:0.5px
}

.container-pictures img{
    width: auto;
    height: 425px;
}
.container-pictures .picture-1   img{
    width: auto;
    height: 420px;
}

.home-section h2{
    font-size: 23px;
    color: var(--touch-color);
    width: max-content;

}
.home-section h1{
    font-size: 56px;
    color: black;
    width: 1004px;
    text-align: center;
    margin-bottom: 0;
}

.home-section p{
    font-size: 25px;
    width: 1004px;
    text-align: center;
}

.home-section hr{
    background-color: var(--touch-color);
    width: 10rem;
    height: 1px;
    border: none;
}
.home-section span{
    font-size: 58px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--touch-color);
    width: max-content;
    margin-top: 1rem;
    
}

.home-section .zigzag{
    width: auto;
    min-height: 100px;
    max-height: 130px;
    margin: 0;
}

.home-section svg{
    width: 20px;
    height: 20px;
    margin: 0;
    fill: var(--primary-color);
}

.column {
    position: relative;
}

.overlay {
    position: absolute;
    bottom: 0.5rem;
    width: 100%;
    height: 15%;
    background-color: rgba(0, 0, 0, 0.7); /* Fond semi-transparent */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; /* L'overlay est masqué par défaut */
    transition: opacity 0.3s ease; /* Effet de transition */
    border-radius: 0 0 25px 25px; /* Coins arrondis en bas */
    backdrop-filter: blur(10px); /* Adds the blur effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari compatibility */
}

.column:hover .overlay {
    opacity: 1; /* Affiche l'overlay au survol */
}




@media (max-width: 768px) {
    .home-section{
        height: 100%;
        padding: 2rem 1rem;
        margin-top: 0;
    }
    .overlay{
        bottom: 2rem;
    }

    .home-section #lottie-container-4{
        display: none;
    }
    .home-section h1{
        font-size: 30px;
        width: 100%;
    }
    .home-section p{
        font-size: 20px;
        width: 100%;
    }
    .home-section h2{
        font-size: 20px;
    }
    .home-section span{
        font-size: 30px;
    }
    .container-pictures{
        flex-direction: column;
        gap: 0.5rem;
    }
    .container-pictures .column{
        width: 100%;
        height: auto;
        justify-content: center;
        align-items: center;
        padding:2rem 0;
        margin: 0;
    }
    .container-pictures img{
        width: 50vw;
        height: auto;
    }
   

    .picture-1, .picture-2,.picture-3{
        padding: 0.1rem;
        border-radius: 25px;
        width: 80vw;
    }
}
@media (max-width: 480px) {
    .home-section{
        height: 100%;
        padding: 2rem 0;
    }
    .home-section h1{
        font-size: 25px;
        width: 100%;
    }
    .home-section p{
        font-size: 18px;
        width: 100%;
    }
    .home-section h2{
        font-size: 18px;
    }
    .home-section span{
        font-size: 25px;
    }
}
  
