* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}

*::selection {
  background-color: #506070;
  color: #FFFFFF;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #F0F0F0;
  color: #000000CC;
}

header, main, footer, section, article, div {
  display: flex;
  flex-wrap: wrap;
}

section {
  max-width: 1000px;
  width: 100%;
}

header, footer {
  width: 100%;
  background-color: #506070;
  font-size: 1.2rem;
  color: #FFFFFF;
  line-height: 2;
}

header a, footer a {
  color: #FFFFFF;
  text-decoration: none;
}

header a:hover, footer a:hover {
  text-decoration: underline;
}

header {
  position: fixed;
  top: 0;
  justify-content: center;
}

header section {
  align-items: flex-end;
  justify-content: flex-end;
}

header span {
  margin: 0 1.5rem 0 0.5rem;
}

footer section {
  margin: 0 auto;
  padding: 2rem 1rem;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
}

footer article {
  flex-direction: column;
}

footer article:first-child {
  align-items: flex-start; 
}

footer article:last-child {
  align-items: flex-end;
  margin: 1.5rem 0 0 0;
}

address {
  text-align: left;
  font-style: normal;
  display: flex;
  flex-direction: column;
}

.icon:before {
  font-family: "Material Icons";
  position: relative;
  margin-right: 0.6rem;
  top: 0.2rem;
  text-decoration: none;
}

.email:before { content: "\e0be"; }
.phone:before { content: "\e0cd"; }
.location:before { content: "\e0c8"; }

#home {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #F0F0F0;
  margin: 5rem auto 3.2rem auto;
}

#headline {
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

#tagline {
  max-width: 35rem;
  margin: 1rem 1.5rem;
}

#services {
  flex-direction: column;
}

#services article {
  align-items: center;
  justify-content: space-around;
  margin: 4rem 0 2rem 0;
}

#services article:nth-child(odd) { flex-direction: row-reverse; }
#services article:nth-child(even) { flex-direction: row; }

#services div:last-child {
  flex-direction: column;
  max-width: 30rem;
  margin: 0 1.5rem;
}

#services p {
  text-align: justify;
}

svg {
  margin: 0 1.5rem;
}

h1 {
  color: #000000;
  font-size: 2.9rem;
  font-weight: 900;
  line-height: 1.3;
}

h2 {
  font-size: 2.4rem;
  font-weight: 900;
  margin: 1rem 0;
}

p {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 0.3rem 0;
}

strong {
  font-weight: 700;
}

/* Policy Pages */

.policy {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #F0F0F0;
  margin: 2rem auto 2rem auto;
}

.policy section {
  flex-direction: column;
  padding: 0 1.5rem;
}

.policy article {
  margin: 0.5rem 0;
}

.policy a {
  color: #506070;
}

.policy h1 {
  font-size: 2rem;
  font-weight: 400;
}

.policy h2 {
  font-size: 1.8rem;
  font-weight: 400;
}

.policy table {
  border-collapse: collapse;
  font-size: 1.1rem;
}

.policy tr {
  border-bottom: 1px solid #50607020;
}

.policy td, .policy th {
  padding: 10px 50px 10px 10px;
}

.policy th {
  text-align: left;
  color: #000000;
}

/* Responsive */

@media (max-width: 800px) {
  html { font-size: 15px; }
  #home { text-align: center; }
}

@media (max-width: 600px) { 
  html { font-size: 14px; } 
  header { display: none; } 
  footer section, footer article:last-child { flex-direction: column; align-items: flex-start; }
  .icon:before { display: none; }
  .footnote article { display: none; }
}

/* Fonts */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  src: local('Roboto'), url('/assets/fonts/roboto.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  src: local('Material Icons'), url('/assets/fonts/icons-round.woff2') format('woff2');
  font-display: swap;
}