h1, h4, h3{ text-align: center; } .myDiv{ display: flex; justify-content: space-around; align-items: center; flex-flow: wrap; } .lien{ border: solid; padding: 30px; height: 400px; width: 400px; border-radius: 20px; background-color: rgb(190, 171, 255); margin: 20px; margin-top: 10px; margin-bottom: 60px; } .article{ border: solid; padding: 30px; height: 400px; width: 400px; background-color: rgb(190, 171, 255); border-radius: 20px; margin: 20px; margin-top: 10px; margin-bottom: 60px; } .toutl{ outline: none; text-decoration: none; display: inline-block; width: 20%; margin-right: 0%; text-align: left; line-height: 4; } .suie{ height: 400px; width: 350px; } .phrase{ padding: 30px; } @media only screen and (max-width: 620px) { .med-1, .med-2, .med-3 { width: 100%; } }