/* Style photo et texte d'accueil */
.picture-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.picture {
    width: 85%;
}

.home-title {
    font-family: 'Reenie Beanie', cursive;
    font-size: 75px;
    text-align: center;
    color: #609A7D;
    padding: 30px;
}

.slide-in-text {
    opacity: 0;
    transform: translateY(20px);
}

.slide-in-text.visible {
    animation: slideIn 1.5s ease-out forwards;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* style de la partie A propos */
.about-us-container {
    width: 100%;
    margin: auto;
    background: #609A7D;
    padding: 10px;
    margin-bottom: 30px;
}

.picture-container {
    width: 100%;
    height: 400px;       /* taille fixe */
    overflow: hidden;    /* cache le débordement */
    border: 10px solid white;
    position: relative;
}

.diet-picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease-out;
}

/* animation zoom de l'image sans faire grossir le container */
@keyframes zoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* appliquer l'animation */
.diet-picture.zooming.visible {
    animation: zoom 8s ease-out forwards;
}

.about-us-title, .about-us-text {
    color: white;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
}

@media screen and (min-width: 768px) {
    .home-intro {
        margin-bottom: 40px;
    }

    .home-title {
        display: flex;
        align-items: center;
    }

    .about-us-container {
        width: 100%;
        padding-bottom: 40px;
    }

    .about-us-container.row {
        display: flex;
        align-items: center;
    }

    .services-container {
        margin-bottom: 40px;
    }
}

/* Style des services */
.subtitle, .service-text {
    text-align: center;
    margin: auto;
}

.subtitle {
    font-family: Baloo Bhaina, sans-serif;
    font-weight: center;
    padding-bottom: 15px;
}

.service-text {
    width: 90%;
    font-size: 20px;
    padding-bottom: 30px;
}
