*{ margin: 0; padding: 0; font-family: "Arial"; } h1{ font-size: 3em; text-align: center; text-decoration: underline; } #content{ min-width: 320px; width: 100%; display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; } #tableauBord{ margin: 2em; padding: 1em; width: 100%; } .menu { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; background-color: rgb(65, 154, 28); } .menuItem { display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; color: white; width: 10%; min-width: 5em; font-weight: bold; text-decoration: none; padding: 0.8em; border-bottom: 4px solid rgb(65, 154, 28); font-size: 1.1em; text-align: center; } .menuItem:hover{ cursor: pointer; border-bottom: 4px solid orange; } #divImgProfil{ width: 100%; display: flex; flex-wrap: nowrap; justify-content: center; } #imgProfil{ background-color: white; margin-top: 2.5em; width: 60%; height: 60%; max-width: 210px; max-height: 210px; border-radius: 10px; } #trajet{ margin-top: 2em; display: flex; flex-wrap: wrap; flex-direction: row; justify-content: center; text-align: center; width: 100%; } .btnTrajet{ display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; text-decoration: none; padding: 0.4em; color: black; background-color: lightgray; border: 1px solid black; } .btnTrajet:hover{ background-color: grey; } #btnTrajet2{ margin-left: 10%; } #recap{ margin-top: 2.5em; width: 50%; margin-left: 50%; transform: translate(-50%); } .recapLine{ margin-bottom: 1.5em; display: flex; flex-wrap: nowrap; justify-content: left; align-items: center; width: 100%; } .recapIcon{ width: 50px; height: 50px; } p{ margin-left: 10%; }