*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; } :root{ --font-color: #cad3f5; } html{ font-size: 62.5%; } a{ text-decoration: none; color: white; } body { font-family: 'Lato', sans-serif; background-color: #fff; color: #111; font-size: 1.5rem; line-height: 1.3rem; margin: 0; min-height: 100vh; padding: 0; background: #181926; } .menu { display: flex; justify-content: center; align-items: center; margin: 1rem; padding: 10rem; flex-direction: column; } .menu--item{ display: flex; padding: 5rem; align-items: center; } .menu--title{ display: flex; margin: 3rem; align-content: flex-start; color: var(--font-color); font-size: 5rem; line-height: 5rem; order: -1; } .menu--form { display: flex; justify-content: center; align-items: center; flex-direction: column; position: relative; margin: 5rem; } .menu--van-naar, .menu--datum-tijd{ display: flex; justify-content: space-evenly; align-items: flex-start; margin: 0.5rem; padding: 1rem; gap: 1rem; } .menu--label-buttons{ display: flex; justify-content: center; align-items: center; padding: 1.5rem; gap: 1rem; } .menu--label-van, .menu--label-naar, .menu--label-datum, .menu--label-tijd, .menu--label-vertrek, .menu--label-aankomst{ font-size: 1.5rem; color: var(--font-color); height: 100%; } .menu--label-plan-btn { background-color: #fff; border: 1px solid #d5d9d9; border-radius: 8px; color: #0f1111; cursor: pointer; display: inline-block; font-family: "Amazon Ember",sans-serif; font-size: 13px; line-height: 29px; } .menu--label-plan-btn:hover { background-color: #f7fafa; } .menu--label-plan-btn:focus { border-color: #008296; box-shadow: rgba(213, 217, 217, .5) 0 2px 5px 0; outline: 0; } .menu--9292--header{ background: #313244; transform: translateZ(0); width: 100%; height: auto; display: flex; } .menu--9292--header-item{ background: #313244; margin: 0 auto; padding: 1rem; position: relative; width: 100%; display: flex; flex-direction: row; align-items: center; justify-content: space-between; } .menu--9292--header-icon{ width: 10%; } .menu--9292--header-menus{ list-style-type: none; } input[type=text] { width: 100%; padding: 1rem; margin: 0 auto; border: 2px solid black; border-radius: 4%; } .plan-info { font-family: 'Lato', sans-serif; color: #cad3f5; font-size: 1.5rem; line-height: 2rem; padding: 2rem; background: #313244; border-radius: 8px; margin: 2rem; margin-top: 10rem; } .plan--list{ display: block; align-items: center; width: 100%; margin: 0 auto; } .legs--list{ display: inline-block; justify-content: center; align-items: center; padding: 0; margin: 0; } .plan-info-title { font-size: 3.5rem; line-height: 4rem; margin-bottom: 3rem; color: #cad3f5; } .plan-info h2 { font-size: 2rem; margin-bottom: 2rem; color: #cad3f5; } .plan-info ul { list-style-type: none; padding-left: 2rem; } .journey--section{ display: flex; justify-content: center; align-items: center; flex-direction: column; margin: 0 auto; padding: 3rem; } .legs--section{ display: flex; justify-content: center; flex-direction: column; align-items: center; height: 100%; } .journey-title { font-size: 2.5rem; line-height: 3rem; margin-bottom: 1rem; color: #cad3f5; } .departure-time, .arrival-time, .duration { font-size: 1.8rem; margin-bottom: 1rem; color: #cad3f5; } .legs-title { font-size: 2rem; margin-bottom: 1rem; color: #cad3f5; } .leg-title { font-size: 1.8rem; margin-bottom: 1rem; color: #cad3f5; } .leg-departure-time, .leg-arrival-time, .leg-duration, .leg-from, .leg-to, .leg-modality-group, .leg-modality-code { font-size: 1.5rem; margin-bottom: 0.5rem; color: #cad3f5; } @media (max-width: 768px) { .menu { padding: 5rem; } .legs--list { display: block; } .menu--item { flex-direction: column; align-items: flex-start; } .menu--form { width: 100%; margin: 2rem 0; } .menu--title { font-size: 3.5rem; line-height: 4rem; margin-bottom: 2rem; } .menu--van-naar, .menu--datum-tijd { flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 0.5rem; } .menu--label-buttons { flex-direction: column; gap: 0.5rem; padding: 1rem; } .menu--label-plan-btn { width: 100%; padding: 0.8rem 1rem; } }