///////////////////////////////////////
////////
///////     ELEMENTS -BASE
//////
/////////////////////////////////////

@import "../../settings/includes/breakpoints";
@import "../../settings/includes/font-sizes";
@import "../../settings/includes/typography";
@import "../../tools/includes/font-size";

html {
  font-size: $base-font-size;
  font-family: $base-font-family;
}

@media screen and (max-width: $breakpoint-xxs-max) {
  html,
  body {
    font-size: $font-size-tiny !important;
  }
}

@media screen and (min-width: $breakpoint-xs) and (max-width: $breakpoint-sm-max) {
  html,
  body {
    font-size: $font-size-small !important;
  }
}

@media screen and (min-width: $breakpoint-md) and (max-width: $breakpoint-lg-max) {
  html,
  body {
    font-size: 13px !important;
  }
}

@media screen and (min-width: $breakpoint-xlg) {
  html,
  body {
    font-size: $font-size-paragraph !important;
  }
}

#__nuxt {
  @media screen and (max-width: $breakpoint-xxs-max) {
    @include font-size($font-size-paragraph, $font-size-tiny);
  }

  @media screen and (min-width: $breakpoint-xs) and (max-width: $breakpoint-sm-max) {
    @include font-size($font-size-paragraph, $font-size-small);
  }

  @media screen and (min-width: $breakpoint-md) and (max-width: $breakpoint-lg-max) {
    @include font-size($font-size-paragraph, 13px);
  }

  @media screen and (min-width: $breakpoint-xlg) {
    @include font-size($font-size-paragraph);
  }
}
