main  {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
h1 {
    font-size: 100px;
    font-weight: 600; 
    width: 100%;
    font-family: "Bodoni Moda", serif;
    text-align: center;
    color: white;
    margin-bottom: 0px;
    margin: 5rem auto;
}

h2 {
    font-size: 60px;
    font-weight: 600; 
    font-family: "Bodoni Moda", serif;
    color: white;
    margin-bottom: 0;
    text-align: center;
}

.p_project {
    font-size: 18px;
    font-weight: 300; 
    font-family: "Arial", serif;
    color: white;
    margin-bottom: 0;
    text-align: justify;

}

hr {
    width: 90vw;
    border: 1px solid white;
    margin: 3em auto;
}

section {
    width: 90vw;
    margin: 0 auto;
}

/* synopsis */

.synopsis {
    display: flex;
    margin: 6em 0 auto;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    flex: 1 1;
    height: 40vh;
    width: 90vw;
}

.synopsis div {
    width: 48%;
}

.synopsis img {
    overflow: hidden;
    object-fit: fill;
    width: auto;
    align-self: right;
    height: 50vh;
    border-radius: 1em;
}


/* outils */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Appliquez l'animation aux éléments */
.outils {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 50px;
    background: #0A0F1F;
    box-shadow:  27px 27px 54px #03050a,
                 -27px -27px 54px #0b1326;
    border-radius: 1rem;
    height: 10vh;
    margin: 6rem auto;
    width: 84vw;
    padding: 2em 3vw;
}

.outils img {
    width: 4em;
    height: auto;
    opacity: 0; /* Initialement caché */
    transition: transform 0.3s ease-in-out;
    animation: slideDown 1s ease-in-out forwards; /* Ajout de forwards pour maintenir l'état final */
    animation-play-state: paused; /* Animation en pause par défaut */
}

.outils img.visible {
    animation-play-state: running; /* Lancer l'animation lorsque la classe 'visible' est ajoutée */
}

.outils img:hover {
    transform: scale(1.1);
}

.outils div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 90vw;
    margin: 0 auto;
    gap: 2rem;
}

/* gallerie */

.gallerie {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    gap: 2rem;
    height: 60vh;
    width: 90vw;
    margin: 0 auto;
    
}

.portrait {
    width: 30%;
    height: 100%;
    object-fit: fill;
    overflow: hidden;
}

.paysage {
    width: 35%;
    height: 100%;
    object-fit: fill;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 2vh;
}

.portrait img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    overflow: hidden;
    border-radius: 1em;
}

.paysage img {
    width: 100%;
    height: 29vh;
    object-fit: cover;
    overflow: hidden;
    border-radius: 1em;
}

/* explication */

.explication {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
    text-align: justify;
    gap: 2rem;
    width: 90vw;
    margin: 6em auto;
}

.p_explication {
    font-size: 22px;
    font-weight: 500; 
    font-family: "Arial", serif;
    color: white;
    margin-bottom: 0;
    text-align: justify;
}
