/* Reset based on CSS Remedy */

/* Global Remedies */

/* Use border-box by default, globally */
*, ::before, ::after { 
    box-sizing: border-box; 
  }
  
  /*
  * Consistent line spacing...
  * CSS Inline Layout Module Level 3: https://drafts.csswg.org/css-inline-3/#line-sizing-property
  */
  html { 
    line-height: 1.6 ; 
  }
  
  /* Remove the tiny space around the edge of the page */
  body { 
    margin: 0; 
  }
  
  
  /* Headings */
  
  /* Balance headings */
  h1, h2, h3, h4, h5, h6, blockquote {
    text-wrap: balance;
  }
  
  /* Switch to rem units for headings */
  /* @@@ Initial values are based on existing browser defaults */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.17rem; }
  h4 { font-size: 1.00rem; }
  h5 { font-size: 0.83rem; }
  h6 { font-size: 0.67rem; }
  
  /* Keep h1 margins consistent, even when nested */
  h1 { margin: 0.67em 0; }
  
  /* Typography */
  
  /* Overflow by default is bad */
  pre { white-space: pre-wrap; }
  
  /*
  * 1. Solid, thin horizontal rules
  * 2. Remove Firefox `color: gray`
  * 3. Remove default `1px` height, and common `overflow: hidden`
  */
  hr {
    border-style: solid;
    border-width: .01em 0 0;
    color: inherit;
    height: 0;
    overflow: visible;
  }
  
  /* Embedded Elements */
  
  /*
  * 1. Block display is usually what we want
  * 2. Remove strange space-below when inline
  * 3. Responsive by default
  */
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    max-width: 100%;
  }
  
  /*
  * Maintain intrinsic aspect ratios when `max-width` is applied
  * (iframe, embed, and object have no intrinsic ratio, set height explicitly)
  */
  img, svg, video, canvas {
    height: auto;
  }
  
  /*
  * There is no good reason elements default to 300px,
  * and audio files are unlikely to come with a width attribute
  */
  audio { width: 100%; }
  
  /* Old Browsers
  ***************/
  
  /* Remove the border on images inside links in IE 10 and earlier */
  img { border-style: none; }
  
  /* Hide the overflow in IE 10 and earlier */
  svg { overflow: hidden; }
  
  /* Default block display on HTML5 elements */
  article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
    display: block;
  }
  
  /*
  * 1. Add the correct box sizing in IE 10
  * 2. Remove the padding in IE 10
  */
  [type='checkbox'],
  [type='radio'] {
    box-sizing: border-box;
    padding: 0;
  }
  
  /* reduce animation for users that don't like it */
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }