@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Oswald:wght@500;600;700&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;1,400&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
span,
button {
  min-width: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.1;
  margin: 0;
  font-weight: 700; 
  overflow-wrap: anywhere;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  min-width: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive images */
img,
picture,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Skip link visible when focused */
.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  background: var(--color-primary);
  color: var(--color-white);
  padding: .5rem .75rem;
  border-radius: 6px;
  z-index: 9999;
  transform: translateY(-120%);
  transition: transform .18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}