footer { padding: 2rem; display: flex; align-items: center; justify-content: space-evenly; flex-wrap: wrap; } footer h5 { font-size: 1rem; } footer .newsletter { display: flex; flex-direction: column; align-items: center; justify-content: center; } footer .newsletter p { font-size: 0.8rem; } footer .newsletter form { display: flex; align-items: center; justify-content: center; flex-direction: column; } footer input[type=email] { background-color: var(--background-color-2); width: 100%; } footer .newsletter .btn { font-size: 1rem; } footer .wrapper { display: flex; align-items: center; justify-content: center; margin: 2rem; } footer img { margin:0.5rem; height: 2rem; border-radius: 0.5rem; } .footer-language-div a { display: flex; flex-direction: row; align-items: center; justify-content: center; } @media only screen and (max-width: 900px) { footer .section-container{ flex-direction: column; } footer .newsletter p { margin: 0.5rem; } }