@charset "utf-8";
/* CSS Document */
*, ::before, ::after {
  box-sizing: border-box;
}

:root {
  --color-bg: #f5f5f5;
  --color-surface: #fff;
  --color-text: #333;
  --color-text-muted: #555;
  --color-text-subtle: #7d7d7d;

  --color-border: #ddd;
  --color-brand: #00509e;
  --color-brand-visited: #003b70;
  --color-brand-hover: #003b8c;
  --color-accent: #ef8114;
}

html, body {
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  margin: 0;
  padding: 0;
}
body {
  background: var(--color-bg);
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-height: 100vh;
}

header {
  align-items: center;
  background: var(--color-surface);
  border-bottom: .0125rem solid var(--color-border);
  border-top: .25rem solid var(--color-brand);
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-start;
  padding: 1.125rem 2rem;
}
#logo {
  height: auto;
  width: 8rem;
}
#content {
  display: grid;
  gap: 2rem 2rem;
  margin: 0 auto auto;
  max-width: 60rem;
  grid-template-columns: 1fr 1fr;
  padding: 0 1rem;
  width: 100%;
}

article {
  background: var(--color-surface);
  border: .0125rem solid var(--color-border);
  border-top: .125rem solid var(--color-accent);
  height: 100%;
  margin: 0 auto auto auto;
  padding: 2rem;
  width: 100%;
}
.services {
  border-top-color: var(--color-brand);
  grid-column-end: 3;
  grid-column-start: 1;
}

p {
  font-size: 1.125rem;
  line-height: 1.5;
  margin-bottom: 0.5em;
  margin-top: 0;
}
p:last-child {
  margin-bottom: 0;
}
ul {
  margin: 0;
  padding: 0 0 0 1.5rem;
}
li {
  font-size: 1.125rem;
  line-height: 1.8;
}
h1 {
  font-size: 1.875rem;
  margin-bottom: .5em;
  margin-top: 0;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: .5em;
  margin-top: 0;
}
time {
  color: var(--color-text-subtle);
}

footer {
  background: var(--color-surface);
  color: var(--color-text-muted);
  border-top: .0125rem solid var(--color-border);
  flex: 0 0 auto;
  font-size: 0.875rem;
  padding: 1rem 2rem;
  text-align: center;
}

/* Default link styling */
a {
  color: var(--color-brand);
  text-decoration: underline;
}

a:visited {
  color: var(--color-brand-visited);
}

a:hover,
a:focus {
  color: var(--color-brand-hover);
  /* text-decoration: none; */
}

@media (max-width: 37rem) {
  header {
    padding: 1rem;
  }
  #content {
    gap: 1rem;
    grid-template-columns: 1fr;
  }
  article {
    padding: 1.5rem;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .services {
    grid-column-end: 2;
    grid-column-start: 1;
  }
}
