* {
  box-sizing: border-box;
  font-family: 'Work Sans', sans-serif;
  color: var(--primary-color);
  line-height: 1.5;
}

@media all and (max-width: 768px) {
  :root {
    font-size: 15px;
  }
}

html, body {
  padding: 0;
  margin: 0;
  height: 100%;
  line-height: normal;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: var(--max-container-width);
  margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: var(--default-spacing);
  line-height: 44px;
  font-weight: var(--normal-weight);
}

h1, h2, h3, h4 {
  font-size: var(--heading-md);
}

h5, h6 {
  font-size: var(--heading-sm);
}

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

ul {
  padding: 0;
  margin: 0;
}

li {
    list-style: none;
}

p {
  margin: 0;
  font-size: var(--text-md);
}

address {
  font-style: normal;
}

.large-heading {  font-size: var(--heading-lg);
  line-height: 60px;
  max-width: 560px;
  overflow-wrap: break-word;
  word-break: break-word;
}

@media all and (max-width: 572px) {
  .large-heading {
    font-size: var(--heading-md);
    line-height: 44px;
  }
}

.ordered-list {
    padding-left: var(--large-gap);
}

.ordered-list li {
    list-style: disc;
    font-size: var(--text-md);
}

.large-inner-container, .inner-container {
  width: 100%;
  margin: 0 auto;
}

.large-inner-container {
  max-width: var(--max-container-width);
}

.inner-container {
  max-width: var(--max-inner-container-width);
}

.text-bold {
  font-weight: var(--bold-weight);
}

.text-light {
  color: var(--light-color);
}

.additional-spacing {
    margin-bottom: var(--large-spacing);
}

.visually-hidden {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.visually-hidden:focus {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
}

:root {
  /* Font size */
  --heading-lg: 3.5rem; /* 56px */
  --heading-md: 2.5rem; /* 40px */
  --heading-sm: 2rem; /* 32px */
  --text-lg: 1.25rem; /* 20px */
  --text-md: 1.125rem; /* 18px */
  --text-sm: 1rem; /* 16px */

  /* Colors */
  --primary-color: #002E5D;
  --accent-color: #90CDF1;
  --light-color: #FFFFFF;
  --error-color: #FF5055;
  --separator-color: #ADC1D8;

  /* Gaps */
  --base-gap: 0.125rem; /* 2px */
  --extra-small-gap: 0.25rem; /* 4px */
  --small-gap: 0.5rem; /* 8px */
  --medium-gap: 0.75rem; /* 12px */
  --default-gap: 1rem; /* 16px */
  --large-gap: 1.25rem; /* 20px */
  --extra-large-gap: 1.5rem; /* 24px */
  --default-spacing: 2rem; /* 32px */
  --large-spacing: 2.5rem; /* 40px */
  --extra-large-spacing: 3rem; /* 48px */

  /* Radiuses */
  --radius-sm: 8px;
  --radius-md: 40px;
  --radius-lg: 64px;
  --radius-xl: 128px;
  --radius-xxl: 200px;

  /* Sizes */
  --max-container-width: 1920px;
  --max-inner-container-width: 1360px;
  --accent-decoration-size: 100px;
  --page-up-icon-size: 80px;
  --underline-size: 4px;

  /* Breakpoints - for reference only because they can't be passed to media query */
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;

  --bold-weight: 600;
  --normal-weight: 400;
}
