* { font-family: sans-serif; padding: 0; margin: 0; box-sizing: border-box; } body { background-color: #f5a4d1; } .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; 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 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%; padding: 20px; overflow: scroll; } #drafting-board-content { display: grid; min-width: 1000px; min-height: 300px; grid-template-columns: repeat(auto-fit, minmax(200px, auto) 2px minmax(200px, auto)); } #drafting-board div { min-height: 0px; } #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; }