@use 'variables' as *;
@use 'fonts' as *;

body {
  font-family: var(--base-font-family);
  font-size: var(--base-font-size);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font-family), serif;
}

h1 {
  font-size: 64px;
  font-weight: 500;
  line-height: 130%;
  margin: 0;
  padding: var(--2x-gutter) 0;
}

h2 {
  font-size: 56px;
  font-weight: 400;
  line-height: 130%;
}

h3 {
  font-size: 48px;
  font-weight: 400;
  line-height: 130%;
}

h4 {
  font-size: 32px;
  font-weight: 400;
  line-height: 130%;
}

// @todo at some point, try to make a system here.
// Very small and specific variations in sizes in different places..
@mixin font-accordion-header {
  font-family: var(--base-font-family);
  font-weight: 400;
  font-size: 48px;
}

@mixin font-news-header {
  font-family: var(--heading-font-family);
  font-weight: 400;
  font-size: 32px;
}

@mixin font-person-header {
  font-family: var(--heading-font-family);
  font-weight: 400;
  font-size: 40px;
}

@mixin font-footer-heading {
  font-family: var(--heading-font-family);
  font-size: 38px;
  line-height: 140%;
}

@mixin font-transportation-menu {
  font-family: var(--base-font-family);
  font-size: 22px;
  line-height: 140%;
}

@mixin font-search-result-heading {
  font-size: 22px;
  font-weight: 600;
  line-height: 140%;
}

@mixin font-shortcut-menu {
  font-size: 20px;
  font-weight: 600;
  line-height: 140%;
}

@mixin font-quote {
  font-size: 32px;
  line-height: 140%;
}

@mixin font-quotee {
  font-size: 16px;
}

@mixin font-summary {
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
  @media #{$media-mobile} {
    font-size: 24px;
  }
}
