html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: sans-serif;
}

.header-logo {
  background-color: #ffffff;
  border-color: #154f8f;
  border-style: solid;
  border-width: 2em 0 0 0;
  color: #154f8f;
  padding: 0.2em;
  font-weight: bold;
  text-align: center;
  display: flex;
  justify-content: space-evenly;
}


.header-logo img {
  height: 1.5em;
  vertical-align: text-bottom;
}

.header-contact {
  background-color: #154f8f;
  color: #ffffff;
  padding: 1em;
  font-weight: bold;
  text-align: center;
  display: flex;
  justify-content: space-evenly;
}

.header-contact a {
  color: #ffffff;
  text-decoration: none;
}

#front-wide {
  display: inline;
  width: 100%;
}

#front-tall {
  display: none;
  width: 100%;
}

.footer {
  font-size: 0.8em;
  margin-top: 2em;
  margin-bottom: 2em;
  display: flex;
  justify-content: space-evenly;
}

h1 {
  text-align: center;
  font-size: 2.5em;
  margin: 0.5em;
}

.text {
  padding: 1em 8em;
  margin: 1em;
  line-height: 1.4;
}

.text li {
  line-height: 1.8;
}

@media only screen and (max-width: 957px) {
#logo2 {
  display: none;
}

}

@media only screen and (orientation: portrait) {

#logo1 {
  height: 6em;
  padding: 2em;
  display: block;
}

#logo2 {
  display: none;
}

h1 {
  font-size: 1.2em;
}

.header-contact {
  display: block;
  line-height: 2.4;
  font-size: 1.2em;
}

#front-wide {
  display: none;
}

#front-tall {
  display: inline;
}

.text {
  padding: 2em;
  font-size: 1.2em;
}

.footer {
  font-size: 1.2em;
  display: block;
  padding: 2em 4em;
}

}
