:root {
  --blue: #0067A6;
  --darkblue: #00416A;
  --lightestblue: #E0E8F3;
  --white: #FFFFFF;

  --site-width: 1140px;
}

@font-face {
  font-family: 'PTSansPro';
  src: url('fonts/PTSansPro-Bold.woff2') format('woff2'),
       url('fonts/PTSansPro-Bold.woff') format('woff'),
       url('fonts/PTSansPro-Bold.otf') format('opentype');
  font-display: swap;
  font-weight: 700;
}

@font-face {
  font-family: 'PTSansPro';
  src: url('fonts/PTSansPro-Regular.woff2') format('woff2'),
       url('fonts/PTSansPro-Regular.woff') format('woff'),
       url('fonts/PTSansPro-Regular.otf') format('opentype');
  font-display: swap;
  font-weight: 400;
}

BODY {
  margin: 0;
  padding: 0;
  background: var(--white) url(images/whitelines.webp);
  color: var(--blue);
  font-family: 'PTSansPro', sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1;
  display: flex; flex-direction: column; min-height: 100vh;
}

IMG { border: 0; }

A { text-decoration: none; }

.site-width {
  width: var(--site-width); margin: 0 auto;

  @media (max-width: 1200px) { & { width: 96%; } }
}

HEADER {
  background: var(--white); text-align: center; padding-top: 2rem;
}

HEADER A {
  display: inline-block; width: 11.25rem; aspect-ratio: 800 / 507;
  background: url(images/logo.webp) no-repeat center; background-size: contain;
}

H1 {
  margin: 3.125rem auto 2.3125rem; padding: 0 2%;
  color: var(--darkblue); font-size: 1.875rem;
}

H2 {
  margin: 0; padding: 0.6em 2%; background: var(--lightestblue);
  color: var(--blue); font-size: 2.5rem; text-transform: uppercase;
}

#content { flex-grow: 1; }

#locations {
  display: flex; justify-content: space-between; flex-wrap: wrap;
  width: 800px; margin: 0 auto; padding: 2.5rem 0;

  @media (max-width: 832px) { & { width: 96%; } }
  @media (max-width: 700px) { & { flex-direction: column; align-items: center; } }
}

#locations > DIV {
  width: 310px; text-align: center; padding: 2rem 0;
  border-top: 0.25rem solid var(--lightestblue);

  @media (max-width: 332px) { & { width: 100%; } }
}

#locations > DIV:first-of-type { border-top: 0; }

#locations > DIV:nth-of-type(2) {
  border-top-width: 0;

  @media (max-width: 700px) { & { border-top-width: 0.25rem; } }
}

H3 {
  margin: 0 0 0.5em; font-size: 1.375rem; text-transform: uppercase;
}

.button {
  display: inline-block; box-shadow: 0 0 0.4375rem 0 rgb(0 0 0 / 26%);
  outline: 0; border: 0; border-radius: 0.35em; box-sizing: border-box;
  margin-top: 1.375rem; padding: 0.725em 2.3em 0.725em 2.4em; 
  background-color: var(--blue); color: var(--white);
  font-weight: 700; font-size: 1.25rem; line-height: 1; letter-spacing: 0.1em;
  text-transform: uppercase; text-align: center;
  
}

.button:hover { background-color: var(--darkblue); color: var(--white); }

FOOTER {
  padding: 1.5em 0; background: var(--darkblue);
  color: var(--white); font-size: 1rem;
}

FOOTER SECTION {
  display: flex; justify-content: space-between; align-items: center; gap: 1em;

  @media (max-width: 640px) { & { flex-direction: column; } }
}

FOOTER A { color: var(--white); }
FOOTER A:hover { color: var(--lightestblue); }