::selection {
  background: #315F86;
  color: #FAFAFA;
  text-shadow: none;
}

html {
  font-size: 15px;
  line-height: 1.5;
  color: #315F86;
}

body {
  background: #FAFAFA;
  margin: 0 auto;
  padding: 50px 0 50px 0;
  font-family: "Helvetica Neue", "Helvetica", sans-serif;
}

h1 {
  font-size: 65px;
  text-align: center;
  margin: 0;
  text-shadow: 2px 2px 4px #7A97B0;
}

p {
  margin: 1em 0;
}

a {
  color: #315F86;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  font-weight: bold;
}
a:hover {
  border-bottom: 1px dotted;
}

.header {
  width: 75%;
  margin: 0 auto;
}
.content {
  width: 400px;
  margin: 0 auto;
  padding: 25px 0 25px 0;
}
.address-and-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  background: #7A97B0;
  padding: 25px 0 25px 0;
  color: #FAFAFA;
}
.address-and-contact--address {
  padding: 0 25px;
}
.address-and-contact--contact {
  padding: 0 25px;
}
.footer {
  display: flex;
  width: 75%;
  margin: 0 auto;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  padding: 50px 0 50px 0;
}
.footer--copyright {
  padding: 0 25px;
}
.footer--credit {
  padding: 0 25px;
}

@media screen and (max-width: 768px) {

  .content {
    width: 90%;
    margin: 0 5%;
  }
  .address-and-contact {
    flex-direction: column;
    align-items: center;
  }
  .address-and-contact--address {
    padding: 10px 0;
    text-align: center;
  }
  .address-and-contact--contact {
    padding: 10px 0;
    text-align: center;
  }
  .footer {
    flex-direction: column;
    align-items: center;
    padding: 25px 0 25px 0;
  }
  .footer--copyright {
    padding: 10px 0;
    text-align: center;
  }
  .footer--credit {
    padding: 10px 0;
    text-align: center;
  }

}

@media screen and (max-width: 529px) {

  h1 {
    font-size: 50px;
  }

}

@media screen and (max-width: 406px) {

  h1 {
    font-size: 40px;
  }

}
