* { font-family: sans-serif; padding: 0; margin: 0; box-sizing: border-box; } body { background-color: #f5a4d1; } #menu { position: fixed; top: 0; left: 0; right: 0; height: 50px; background-color: #ff85c9; border-bottom-style: solid; border-bottom-width: 1px; } #menu .menu-item { float: left; height: 100%; padding: 10px; padding-top: auto; padding-bottom: auto; } #menu .menu-button:hover { background-color: #ff4bb0; border-left-style: solid; border-left-width: 1px; padding-left: 9px; border-right-style: solid; border-right-width: 1px; padding-right: 9px; } .container { margin-right: auto; margin-left: auto; max-width: 768px; } .popup { position: fixed; height: 100%; width: 100%; top: 0; left: 0; z-index: 10000; background-color: rgba(0, 0, 0, 0.9); color: white; overflow: scroll; } .popup-hidden { display: none; } #journeys-search { z-index: 8000; } #locations-search { z-index: 9000; } .popup .popup-close { margin: 60px; margin-left: auto; font-size: 60px; width: 70px; } .popup .popup-content { position: relative; margin-top: 20px; margin-bottom: 20px; } .popup h1 { margin-bottom: 30px; } .popup input { color: white; } input.form-control { width: 100%; background-color: transparent; border: none; border-bottom-style: solid; border-width: 1px; font-size: 2em; } #drafting-board { width: 100%; height: 100vh; padding: 20px; padding-top: 70px; overflow: scroll; } #drafting-board-content { display: grid; min-width: 100%; min-height: 100%; --drafting-board-number-locations: 0; --drafting-board-number-legs: 0; grid-template-columns: repeat(var(--drafting-board-number-locations), minmax(200px, auto) 2px minmax(200px, auto)); grid-template-rows: min-content repeat(var(--drafting-board-number-legs), minmax(0px, min-content)) auto; } #drafting-board .station-name { margin-left: 20px; margin-right: 20px; border-bottom-style: solid; border-bottom-color: black; border-bottom-width: 2px; text-align: center; } #drafting-board .station-column { width: 2px; background-color: black; } #drafting-board .leg-left { margin-top: auto; margin-bottom: auto; margin-right: 10px; text-align: right; } #drafting-board .leg { margin: 10px; border-style: solid; border-color: black; border-width: 1px; border-radius: 10px; padding: 5px; background-color: #ff4bb0; } #drafting-board .leg-right { margin-top: auto; margin-bottom: auto; margin-left: 10px; text-align: left; }