*{ margin:0; padding:0px; font-family: 'Signika', sans-serif; box-sizing: border-box; color:#1a2b40; } body { background-image: linear-gradient(180deg, #ff9051, #ff6737); background-color:#ff6737; background-repeat: no-repeat; padding: 0; position: relative; min-height: 100vh; display: flex; flex-direction: column; } header { display: flex; justify-content: center; align-items: center; text-align: center; background-color: #004990; height: 50px; } header p { color: #ffe512; font-size: 34px; } form { margin: auto; display: flex; justify-content: center; padding: 15px 0; } table { width: 90%; } tr:nth-of-type(1) input:nth-of-type(1) { width: 100%; } .w100 { width: 100%; } input, select { border: 0px solid black; width: 95%; display: inline-block; padding: 15px; background-color: #f1f1f1; margin: 5px 0 22px 0; -webkit-appearance: none; -moz-appearance: none; appearance: none; } .container { background-color:white; width: 65%; height: 55%; margin: 4.4rem auto; border-radius: 15px; } button { background-color: #ff6737; color: white; padding: 15.5px 14px; border: none; cursor: pointer; width: 100%; margin-top: 3px; } span { display: none; position: relative; color: red; } footer { display: flex; justify-content: center; align-items: center; position: absolute; width: 100%; bottom: 0; background-color: #004990; height: 40px; } footer p { color: white; font-size: 15px; vertical-align: middle; } select:focus{ outline: 0; border: 0; overflow:hidden; } [data-slots] { font-family: 'signika', sans-serif } @media only screen and (max-width: 700px) { table, thead, tbody, th, td, tr { display: block; } input,select{ width: 100%; } .container{ width: 85%; } }