* { margin: auto; position: relative; font-family: Lato sans-serif; font-size: 1em; color: white; background-color: #4A245E; } h1 { font-size: 7em; padding-top: 1em; } h2 { font-size: 5em; } h3 { font-size: 2em; } h4 { font-size: 1.5em; } /*NAVIGATION BAR*/ nav, nav ul, nav ul a, nav ul a li { background-color: white; color: #4A245E; text-align: center; } nav ul a { display: inline-block; text-decoration: none; } nav ul a li { display: block; padding: 1em; font-size: larger; list-style: none; width: 6.4em; transition: width, background-color, color 500ms; } nav ul a li:hover { background-color: #4A245E; color: white; } /*ORDER FORM*/ form { border: 1px solid white; width: 60%; } input { padding: 1em; margin: .5em; min-width: 6.1em; border-radius: 10px; border: none; color: #4A245E; background-color: white; transition: 500ms; } input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } input[type=number] { -moz-appearance: textfield; } input[name="add1"], input[name="add2"] { width: 100%; } input::placeholder { color: #4A245E; } input:focus { background-color: #4A245E; color: white; } select { border: 2px solid white; border-radius: 5px; text-align: center; } div.newRow { display: flex; justify-content: center; } div.newRow> :not(input.address) { width: 50%; }