body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding:0;
    color: #333;
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

.image {
    margin: 0;
    width: 40%;
}

.image img {
    top: 7em;
    left: 0;
    position:absolute;
    width: 900px;
}

.texte {
    display: flex;
    z-index: 2;
    margin: 0;
}

.container2 {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}
.project-intro {
    justify-content: space-between;
}
.container2 .carousel, .container2 .gallery-video {
    margin : 20px;
}

.project-header {
    top: 7em;
    left: 3em;
    position: fixed;
    z-index: 1;
    padding: 10px 15px;
    border-radius: 20px;
    text-align: center;
    color: white;
}

.hirono-project-header { background-color: #e4e4e4; }


.back-link {
    text-decoration: none;
}


.project-intro {
    overflow-x: hidden;
    padding : 0 40px 0 40px;
    align-items: center;
    display: flex;
    text-align: center;
    border-radius: 10px;
}

.section-2-container {
    padding-top: 4em;
}

/* 1. Définition de l'animation */
@keyframes float {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}



.up, .down {
    animation: float 3s ease-in-out infinite;
    padding: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.up a, .down a {
    font-size: 25px;
}

.down {
    padding: 0;
    position: absolute;
    bottom: 0;
    right: 50%;
    left: 50%;
}

h1 {
    font-size: 3em;
}

.titre1 {
    text-align: left;
}

.mockup {
    width:100%;
}

.elements, .elements-2 {
    margin-bottom: 20px;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}

.elements-2 {
    gap: 20px;
}

.elements-2 p {
    margin-top: 25px;
    margin-bottom: 5px;
    padding : 15px 20px;
    font-size: 20px;
    border-radius: 20px;
}

.elements p {
    margin : 5px;
    padding : 5px 10px;
    border-radius: 20px;
}

.bas {
    display: flex;
    flex-direction: column;
    gap: 0;
}




.category-date {
    margin-bottom: 15px;
}


.project-intro h3 {
    font-size: 1.7em;
    margin-bottom: 10px;

}


/* Ajustements responsive */
@media screen and (max-width: 768px) {
    .project-intro {
        flex-direction: column;
    }
    .project-intro {
        padding : 0 10px;
    }

    .affiche {
        max-width: 100%
    }

}

.project-media {
    padding : 0 40px;
    align-items: center;
    display: flex;
    background: white;
    text-align: center;
    border-radius: 10px;
}

.project-media .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* Style de la vidéo */
.gallery-video iframe {
    width: 600px;
    height: 350px;
    border-radius: 5px;
}

.affiche {
    width: 750px;
}

/* Responsive : sur mobile, passage en colonne */
@media screen and (max-width: 768px) {
    .project-media .container2 {
        flex-direction: column;
        align-items: center;
    }

    .carousel,
    .gallery-video {
        width: 100%;
        margin: 0;
    }

    .gallery-video iframe {
        width: 100%;
    }

}


#travailler-avec-moi {
    padding: 60px 60px;
    text-align: left;
}

.cadre-contact {
    border: 2px solid #ccc;
    padding: 20px;
    border-radius: 10px;
    margin: 1em auto;
}


.btn-contact {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--pink);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-contact:hover {
    background-color: var(--lightpink);
}

.insta {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section {
    height: 100vh;
}

.section-1 {
    height: 100vh;
}

.section-2{
    min-height: 100vh;
    height: 100%;
}


.ligne {
    gap: 40px;
    display: flex;
}


.fond-gris {
    margin-bottom: 3em;
    padding: 2em 0;
    background-color: #f8f8f8;
}

.fonts {
    gap: 40px;
    display: flex;
}

.font {
    border-radius: 20px;
    padding: 2em;
    display: flex;
    flex-direction: column;
    width: 50%;
    background-color: white;
    text-align: left;
}

.auteur {
    margin-bottom: 10px;
    font-size: 15px;
    color: #818181;
}

.font h3 {
    margin: 0;
    text-align: left;
}


.images {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
}

.a {
    height: 100%;
    width: 140px;
}

.fox {
    object-fit: cover;
    width: 100%;

}

h2 {
    font-size: 35px;
    text-align: left;
    margin-bottom: 20px;
}

.colors {
    margin-top: 4em;
}

.color {
    display: flex;
}
.blocs {
    margin-bottom: 30px;
    display: flex;
    gap: 50px;
}

.blocs div span {
    border-radius: 15px;
    padding: 15px 40px;
}

.blocs div p {
    font-size: 15px;
    margin-top: 15px;
    text-align: left;
}


.paragraphe {
    margin-bottom: 3em;
}


@media screen and (max-width: 768px) {

    .fonts {
        flex-direction: column;
    }

    .images {
        grid-template-columns: auto;
    }

    .font {
        width: 100%;
    }

    .a {
        width: 50%;
    }

    .color, .colors {
        justify-content: center;
    }
    .color {
        margin: 0 2em;
        flex-wrap: wrap;
    }

    .blocs {
        gap: 20px;
        justify-content: center;
    }

    .blocs div span {
        padding: 10px 25px;
    }

    .blocs div p {
        font-size: 12px;
    }

    .project-media {
        flex-direction: column;
    }
}



.gallery {
    margin: auto;
    padding: 20px;
}

.masonry {
    column-gap: 15px;
}

.masonry img {
    width: 100%;
    margin-bottom: 15px;
    display: block;
    border-radius: 10px;
    break-inside: avoid; /* évite les coupures */
}


/* Responsive : moins de colonnes selon la taille */
@media (max-width: 900px) {
    .masonry {
        column-count: 2;
    }
}
@media (max-width: 600px) {
    .masonry {
        column-count: 1;
    }
}


.project-intro-1 {
    padding: 5em 20px 0 20px;
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.fond1 img {
    max-height: 70vh;
}

.fond1 {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    width: 100%;
    height: 100%;
    margin: 20px;
}

.titre1 h1 {
    line-height: 1em;
    margin-bottom: 0;
}

.container1 {
    padding-bottom: 0;
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .project-intro {
        flex-direction: column ;
    }
}