
.title{
    margin-block-start: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
    font-family: 'Poppins';
}

.gallery {
    display: flex;
    flex-direction:row;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 115px;
}
  
.gallery img {
    flex: 1 1 auto;
    width: auto;
    height: auto;
    min-width: 390px;
    max-height: 254px;
    margin: 10px;
    object-fit: cover; /*restreindre la taille d'un contenu à celle de son parent tout en conservant son ratio*/
    transition: transform .2s;
}
  
.gallery:hover img {
    filter: blur(0px) brightness(.8) grayscale(.7);
    transform: scale(.8);
}
.collaboration{
    width: 90%;
    margin-inline-start: 7%;
    margin-top: 120px;
}

  
.gallery img:hover {
    filter: blur(0);
    transform: scale(1);
}
  
.top {object-position: top;}
.bottom {object-position: bottom;}
.center {object-position: center;}
.left {object-position: left;}
.right {object-position:right;}

.h4{
    margin-block-start: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
    font-family: 'Poppins';
}


.thanks p {
    margin-left: 1%;
    font-size: 18px;
}

.projet{
    width: 80%;
    margin: 100px;
}

.container{
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    background-color: black;
    color: blanchedalmond;
    margin-left: 43px;
}

.projet-box{
    width: 70%;
    margin-left: 20px;
}

.button{
    width: 30%;
    display: flex;
    justify-content: center;

}

button{
    height: 50px;
    width: 250px;
    border: solid 2px white;
    background-color: black;
    color: blanchedalmond;
    border-radius: 20px;
    cursor: pointer;
}

button:hover{
    background-color: rgb(99, 99, 104);
    
}

.button a{
    text-decoration: none;
    color: white;
    font-size: 1.3em;
}

.projet-box h3{
    font-size: 2em; 
    margin-inline-start: 20px;
}

.projet-box p{
    margin-top: 10px;
    font-size: 1em; 
    margin-inline-start: 20px;
}

.collaboration{
    width: 90%;
    margin-inline-start: 7%;
    margin-top: 120px;
}
  

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


    .title {
        margin-block-start: 15%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
    
    }


    .gallery:hover img {
        filter: none;
        transform: none;
    }

    .gallery img:hover {
        filter: none;
        transform: none;
    }

    .gallery {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        margin-top: 55px;
    }

    .gallery img {
        flex: 1 1 auto;
        width: auto;
        height: auto;
        min-width: 68px;
        max-height: 126px;
        margin: 10px;
        object-fit: cover;
        transition: transform .2s;
    }

    .h4{
        font-size: 22px;
        margin-top: 20%;
        text-shadow: 1px 1px 1px grey;
    }

    .thanks p {
        margin-left: 5%;
        font-size: 8px;
    }

    .collaboration {
        width: 90%;
        margin-inline-start: 6%;
        margin-top: 20%;
    }
    .collaboration a {

    }



    .collaboration img{
        width: 47%;
    }

    .container {
        width: 100%;
        height: 108px;
        display: flex;
        align-items: center;
        background-color: black;
        color: white;
        margin-left: 0px;
    }

    .projet {
        width: 93%;
        margin: 4%;
        margin-block-start: 15%;
        margin-block-end: 15%;
    }

    .projet-box {
        width: 69%;
        margin-left: -9px;
    }

    .projet-box h3{
        font-size: 16px;
    }

    .projet-box p {
        margin-top: 10px;
        font-size: 10px;
        margin-inline-start: 20px;
    }

    button {
        height: 25px;
        width: 98px;
        border: solid 2px white;
        background-color: black;
        color: blanchedalmond;
        border-radius: 20px;
        cursor: pointer;
        font-size: 6px;
    }

}