#big {
    width: 100%;
    height: 92vh;
    object-fit: cover;
    object-position: center center;
}

body{
    background-color: #fafafa;
}

#description-tableau {
    padding: 20px;
    display: flex;
    flex-direction: row;
    column-gap: 100px;
    width: 100%;
    padding-bottom: 50px;
    height: fit-content;
}

#desc {
    display: flex;
    flex: 2;
    flex-direction: column;
    row-gap: 40px;
}

#desc h2 {
    font-size: 50px;
    margin-top: 0;
    font-weight: 500;
    letter-spacing: -1px;
    margin-bottom: 0;
}

#desc p {
    font-size: clamp(1.125rem, 1.0577rem + 0.1538vw, 1.25rem);
    line-height: 145%;
    font-weight: 350;
    color: rgba(0, 0, 0, 0.843);
    text-wrap: pretty;
}

#tableau {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.ligne_tab {
    border-bottom: 1px solid black;
    padding: 10px 1px;
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 24px;
    width: 90%;
}

.ligne_tab h6 {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    white-space: nowrap;
        flex: 1;
        height: 100%;
}

.ligne_tab p {
    flex: 2;
    color: black;
    margin: 0;
    height: 100%;
}

.ligne_tab a {
    flex: 2;
    color: black;
    margin: 0;
    height: 100%;
    font-size: 16px;
}

.ligne_tab a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 1px;
    background-color: black;
    transition: width 0.4s ease;
}

.ligne_tab a:hover::after {
    width: 100%;
}



#img-projet {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    padding: 20px;
}

.deux {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}

.deux > * {
    flex: 1;
    min-width: 0;
}

.deux img {
    width: 100%;
    display: block;
}

.un {
    width: 100%;
}

.un img {
    width: 100%;
    display: block;
}

.un video {
    width: 100%;
    display: block;
    object-fit: contain;
}

.trois > * {
    flex: 1;
    min-width: 0;
}

.trois img {
    width: 100%;
    display: block;
}

.trois {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}

#moreprojects {
    height: 100vh;
    display: flex;
    justify-content: center; /* Centre horizontalement */
    align-items: center;     /* Centre verticalement */
}

#autresprojets{
    font-size: 30px;
    font-weight: 500;
    color: var(--couleur-txt);;
}

.lienprojet{
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.lienprojet > img{
    width: 100%;
    aspect-ratio: 1/1.2;
    object-fit: cover;
}

p.titreprojets{
    font-size: 24px;
    font-weight:400;
    color: var(--couleur-txt);
}


/* RESPONSIVE */
@media (max-width: 800px) {
    #description-tableau {
        flex-direction: column;
        column-gap: 0;
        row-gap: 60px;
        padding: 20px;
    }

    #tableau {
        align-items: flex-start;
    }

    .ligne_tab {
        width: 100%;
    }

    .deux {
        flex-direction: column;
        row-gap: 20px;
        
    }
    #img-projet{
        padding: 20px;
        row-gap: 20px;
    }
}



a.lienprojet {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 0px; 

    transition: border-radius 0.4s ease;
    cursor: pointer;
    padding-bottom: 12px;
}


/* Image à l'intérieur du lien */
a.lienprojet img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0px;
    transition: border-radius 0.4s ease-in-out, opacity 0.4s ease-in-out;
    text-decoration: none;

    display: block;
}

/* Modifier également le border-radius de l'image au hover si désiré */
a.lienprojet:hover img {
    border-radius: 18px;
    opacity: 70%;
}



.lienprojet::after {
    display: none;
}