body {
    color: #333333;
    font-family: arial;
    max-width: 650px;
    margin: 0 auto; /*first is top/bottom - second value is left and right */
    padding: 0 16px; /* padding is distance from browser in this case*/

    display: flex;
    flex-direction: column;
    min-height: 100vh; /* vh = viewport height    100 = full broswer height*/
}

footer {
    color: #888888;
    border-top: 1px solid #eeeeee;
    margin-top: 16px;
    padding: 16px 0;
}

h1 {
    font-size: 36px;
    margin-bottom: 16px;
    margin-top: 16px;
    text-align: center;
}

header a {             /* target just <a> tags in header div*/
    color: #888888;
    margin-right: 16px;
    text-decoration: none;;
}

.portrait {
    width: 550px;
}

.main-content {
    flex-grow: 1; /* main content fills whole page = 1 */
}

form {
    text-align: center;

}

input {
    border: 1px solid #cccccc;
    padding: 8px;
}

button {
    cursor: pointer;
    border: 1px solid #888888;
    background: #888888;
    color: white;
    padding: 8px;
}

table {
  font-family: arial, sans-serif;
  font-size: 10px;
  border-collapse: collapse;
  width: 100%;
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 6px;
}

tr:nth-child(even) {
  background-color: #dddddd;
}

.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #00B67A;
  margin-top: -300px;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



/* padding put space between elements inside and surrounding box

margin puts space around the outside elements*/