body { margin: 0; /*display: flex; flex-direction: column;*/ display: grid; min-height: 100vh; grid-template-rows: auto 1fr auto; } header { display: flex; justify-content: space-between; margin-top: 2em; margin-left: 3em; margin-right: 3em; grid-column: 1 / 3; } header a { color: black; } #header-glider { display: flex; } #header-glider img { margin-top: 20px; margin-left: 10px; } header h2 { margin-top: 0; } #lang { margin-top: 20px; display: grid; grid-auto-flow: column; grid-column-gap: 1em; grid-template-rows: fit-content(100%); } #lang a { font-weight: bold; font-size: 150%; } #lang #choose { color: #4970E1; } #lang a:hover { color: #FA4DBA; } #header-links { margin: 2em 0 2em 3em; display: flex; flex-direction: column; grid-column: 1; } #header-links a { color: black; padding: 1em; } #header-links a:hover { color: white; background-color: black; } #main { margin: 2em 3em 5em 3em; } footer { background-color: #304B99; padding: 1em; padding-bottom: 0; grid-column: 1/4; } #buttons { margin-top: 1em; } #fsf { text-align: right; } /* boutons avant la liste des 88x31. bien alignés au centre de la div */ .pred-buttons { margin-top: auto; margin-bottom: auto; } #footer-main { display: grid; grid-template-columns: 25% 50% 10% 15%; } #footer-text p { justify-self: center; margin: 0; color: white; text-align: center; } #footer-text a, #footer-text span { color: white; } #footer-contact { padding-top: 1em; font-size: 12px; } #footer-link-email { color: black; text-decoration: underline dotted; } #buttons { text-align: center; } #buttons div { margin-bottom: 1em; }