/* projet */
.projet {
    padding: 0;
    text-align: center;
    margin-top: 100px;
    position: relative;
}
.projet img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.projet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-color: rgb(0 0 0 / 50%);
}
.projet h1, .projet p, .projet a {
    position: absolute;
    z-index: 1;
    color: white;
}
.projet h1 {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-transform: uppercase;
    font-weight: 900;
}
.projet p {
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    font-size: 13px;
}
.projet a {
    left: 50%;
    transform: translateX(-50%);
    text-decoration: none;
    padding: 10px 20px;
    background-color: #D3D828;
    color: black;
    font-weight: 900;
    border: none;
    font-size: 12px;
    border-radius: 28px;
    top: 240px;
}

@media (min-width: 992px) {
    /* Projet */
    .projet img {
        height: 600px;
    }
    .projet h1 {
        top: 20%;
        font-weight: 800;
    }
    .projet p {
        top: 32%;
        width: 55%;
        font-size: 23px;
    }
    .projet a {
        font-size: 20px;
        top: 500px;
    }

    
}