a {
   text-decoration: none;
}

html {
   line-height: 1.5;
   @media only screen and (min-width: 0) {
      font-size: 14px;
   }
   @media only screen and (min-width: $medium-screen) {
      font-size: 14.5px;
   }
   @media only screen and (min-width: $large-screen) {
      font-size: 15px;
   }
   font-family: "Roboto", sans-serif;
   font-weight: normal;
   color: $off-black;
}

h1,
h2,
h3,
h4,
h5,
h6 {
   font-weight: 400;
   line-height: 1.1;
}
// Header Styles

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
   font-weight: inherit;
}

h1 {
   font-size: $h1-fontsize;
   line-height: 110%;
   margin: ($h1-fontsize / 2) 0 ($h1-fontsize / 2.5) 0;
}

h2 {
   font-size: $h2-fontsize;
   line-height: 110%;
   margin: ($h2-fontsize / 2) 0 ($h2-fontsize / 2.5) 0;
}

h3 {
   font-size: $h3-fontsize;
   line-height: 110%;
   margin: ($h3-fontsize / 2) 0 ($h3-fontsize / 2.5) 0;
}

h4 {
   font-size: $h4-fontsize;
   line-height: 110%;
   margin: ($h4-fontsize / 2) 0 ($h4-fontsize / 2.5) 0;
}

h5 {
   font-size: $h5-fontsize;
   line-height: 110%;
   margin: ($h5-fontsize / 2) 0 ($h5-fontsize / 2.5) 0;
}

h6 {
   font-size: $h6-fontsize;
   line-height: 110%;
   margin: ($h6-fontsize / 2) 0 ($h6-fontsize / 2.5) 0;
}
// Text Styles

em {
   font-style: italic;
}

strong {
   font-weight: 500;
}

small {
   font-size: 75%;
}

.light {
   font-weight: 300;
}

.thin {
   font-weight: 200;
}

.flow-text {
   font-weight: 300;
   $i: 0;
   @while $i <= $intervals {
       @media only screen and (min-width : 360 + ($i * $interval-size)){
         font-size: 1.2rem * (1 + (.02 * $i));
      }
      $i: $i + 1;
   }
   // Handle below 360px screen
   @media only screen and (max-width: 360px) {
      font-size: 1.2rem;
   }
}

@font-face {
   font-family: "Roboto";
   src: local(Roboto Thin), url('#{$roboto-font-path}Roboto-Thin.eot');
   src: url("#{$roboto-font-path}Roboto-Thin.eot?#iefix") format('embedded-opentype'), url("#{$roboto-font-path}Roboto-Thin.woff2") format("woff2"), url("#{$roboto-font-path}Roboto-Thin.woff") format("woff"), url("#{$roboto-font-path}Roboto-Thin.ttf") format("truetype");
   font-weight: 200;
}

@font-face {
   font-family: "Roboto";
   src: local(Roboto Light), url('#{$roboto-font-path}Roboto-Light.eot');
   src: url("#{$roboto-font-path}Roboto-Light.eot?#iefix") format('embedded-opentype'), url("#{$roboto-font-path}Roboto-Light.woff2") format("woff2"), url("#{$roboto-font-path}Roboto-Light.woff") format("woff"), url("#{$roboto-font-path}Roboto-Light.ttf") format("truetype");
   font-weight: 300;
}

@font-face {
   font-family: "Roboto";
   src: local(Roboto Regular), url('#{$roboto-font-path}Roboto-Regular.eot');
   src: url("#{$roboto-font-path}Roboto-Regular.eot?#iefix") format('embedded-opentype'), url("#{$roboto-font-path}Roboto-Regular.woff2") format("woff2"), url("#{$roboto-font-path}Roboto-Regular.woff") format("woff"), url("#{$roboto-font-path}Roboto-Regular.ttf") format("truetype");
   font-weight: 400;
}

@font-face {
   font-family: "Roboto";
   src: url('#{$roboto-font-path}Roboto-Medium.eot');
   src: url("#{$roboto-font-path}Roboto-Medium.eot?#iefix") format('embedded-opentype'), url("#{$roboto-font-path}Roboto-Medium.woff2") format("woff2"), url("#{$roboto-font-path}Roboto-Medium.woff") format("woff"), url("#{$roboto-font-path}Roboto-Medium.ttf") format("truetype");
   font-weight: 500;
}

@font-face {
   font-family: "Roboto";
   src: url('#{$roboto-font-path}Roboto-Bold.eot');
   src: url("#{$roboto-font-path}Roboto-Bold.eot?#iefix") format('embedded-opentype'), url("#{$roboto-font-path}Roboto-Bold.woff2") format("woff2"), url("#{$roboto-font-path}Roboto-Bold.woff") format("woff"), url("#{$roboto-font-path}Roboto-Bold.ttf") format("truetype");
   font-weight: 700;
}
