main{
    width: 90%;
    margin: 0 auto 60px auto;
    padding-bottom: 5%;
    text-align: center;
}

h1{
    text-align: center;
}

h2{
    size: 2em;
}

.gride{
    display: grid;
    grid-column-gap: 5%;
    justify-content: center;
    align-items: center;
    grid-template-columns: 30% 30% 30%;
}

.container_gride{
    background-color: lightgray;
    padding: 2%;
    height: 90%;
    display: block;
    margin-bottom: 5%;
}

.container_img{
    height: 80%;
    align-items: center;
    justify-content: center;
    display: flex;
    margin-bottom: 4%;
}

.lien_img{
    width: 80%;
}

img{
    max-width: 90%;
    max-height: 280px;
}

@media screen and (max-width: 1600px) {
    img{
        max-width: 90%;
        max-height: 220px;
    }
}

@media screen and (max-width: 1400px) {
    .gride{
        display: grid;
        grid-column-gap: 5%;
        justify-content: center;
        align-items: center;
        grid-template-columns: 50% 50%;
    }
    
    img{
        max-width: 90%;
        max-height: 220px;
    }
}

@media screen and (max-width: 500px) {
    h2{
        size: 1em;
        margin: 0 0 5% 0;
    }
    .gride{
        display: grid;
        grid-column-gap: 5%;
        justify-content: center;
        align-items: center;
        grid-template-columns: 80%;
    }
    
    img{
        max-width: 90%;
        max-height: 220px;
    }
}