@font-face {
  font-family: 'DIN Alternate Bold';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/DIN-Alternate-Bold.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/SourceSans-Roman.woff2') format('woff2');
}

@font-face {
  font-family: 'Bradley Hand Bold';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/BradleyHand-Bold.woff2') format('woff2');
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font: var(--text-body);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-link);
  text-decoration: none;
}

a:hover {
  color: var(--color-link-hover);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
}

.wrap {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-800);
  color: #fff;
  padding: 12px 20px;
  z-index: 100;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

@media (max-width: 782px) {
  .wrap {
    padding: 0 20px;
  }
}
