.project-section {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: static;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    flex-direction: column; /* Ajouté pour que les éléments se placent verticalement */
}

.project-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.project-info {
    padding: 0 20px 0 40px;
    text-align: left;
    position: absolute;
    bottom: 10px;
    right: 14.7rem;
    z-index: 1;
    border-left: 1px solid;
}

.project-footer {
    position: absolute;
    bottom: 20px;
    display: flex;
    align-items: center;
    z-index: 1;
}

.project-name {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-right: 10px; /* Espace entre le nom du projet et l'année */
    text-transform: uppercase;
}

.year {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.project-image {
    position: absolute;
    width: 100%;
    height: 100vh !important;
    object-fit: cover;
    z-index: -1;
    top: 0;
}


@media (max-width: 991.98px) {
    .project-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: none !important;
        z-index: 0;
    }
}


