/* Design tokens copied from gui/src/styles/colors.scss, font-mixins.scss and fonts.scss */

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src:
    local('Open Sans'),
    local('OpenSans'),
    url('fonts/open-sans.woff') format('woff');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src:
    local('Open Sans Bold'),
    local('OpenSans-Bold'),
    url('fonts/open-sans-bold.woff') format('woff');
}

@font-face {
  font-family: 'Adelle';
  font-style: normal;
  font-weight: 400;
  src:
    local('Adelle Regular'),
    local('Adelle-Regular'),
    url('fonts/Adelle-Regular.woff') format('woff');
}

:root {
  --primary: #00617f;
  --dark-accent: #003b49;
  --main-accent-3: #aa3219;
  --visited: #75210f;
  --white: #ffffff;
  --black: #000000;
  --text: #343434;
}

html,
body {
  box-sizing: border-box;
  height: 100%;
  margin: 0;
}

*,
:before,
:after {
  box-sizing: inherit;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--white);
  color: var(--text);
  font-size: 1rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1 {
  font-family: 'Open Sans', sans-serif;
  color: var(--primary);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.1;
  margin: 1.5rem 0 0.5rem;
}

@media (min-width: 31rem) {
  h1 {
    font-size: 3rem;
  }
}

p {
  font-family: 'Adelle', serif;
  font-size: 1.2rem;
  line-height: 1.5;
}

a {
  border-bottom: 1px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
}

a:hover,
a:focus {
  border-bottom: 1px solid transparent;
  color: var(--main-accent-3);
}

a:focus {
  outline: 0.125rem solid var(--black);
}

a:visited {
  border-bottom-color: var(--visited);
  color: var(--visited);
}

#main-container {
  flex: 1;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  max-width: 65rem;
  margin: 4rem auto 0;
  padding: 1.25rem;
  text-align: center;
}

footer {
  background-color: var(--primary);
  font-family: 'Open Sans', sans-serif;
}

footer .wrapper {
  max-width: 75rem;
  margin: auto;
  padding: 1.25rem;
  width: 100%;
}

footer .flex-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

footer .logo-section {
  margin-right: 3rem;
  margin-bottom: 1rem;
}

footer .footer-logo {
  width: 181px;
}

footer .info-bottom {
  color: var(--white);
  font-size: 0.75rem;
  text-align: center;
}

footer .info-bottom a,
footer .info-bottom a:visited,
footer .info-bottom a:focus {
  border-bottom: 0;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: normal;
  text-decoration: underline;
}

footer .info-bottom a:hover,
footer .info-bottom a:focus {
  outline: 0.125rem solid var(--white);
  text-decoration: none;
}
