html, body {
    margin: 0;
    padding: 0;
    height:100%;
}
.header,.footer{
    display: flex;
    align-items: center;    /* Vertically centers children */
    justify-content: center;
    background-color:cyan;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-style:italic;
    font-weight: bold;
    margin:0;
    height:15%;
 
}
.footer{
    position:fixed;
    bottom:0;
    width:100%;
}
form{
    background-color: #f2f2f2;
    padding: 20px;
    height:70%;
    display:flex;
    align-items:flex-start;
    justify-content:center;
    flex-direction:column;
}
input[type=text], select {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type=button] {
  width: 100%;
  background-color: #4CAF50;
  color: white;
  padding: 14px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=button]:hover {
  background-color: #45a049;
}