@font-face {
  font-display: swap;
  font-family: 'firasans_ultralight';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/fira-sans-v16-latin-200.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/fira-sans-v16-latin-200.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@font-face {
  font-display: swap;
  font-family: 'firasans_light';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/fira-sans-v16-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/fira-sans-v16-latin-300.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@font-face {
  font-display: swap;
  font-family: 'firasans_normal';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/fira-sans-v16-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/fira-sans-v16-latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@font-face {
  font-display: swap;
  font-family: 'firasans_bold';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/fira-sans-v16-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/fira-sans-v16-latin-500.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'merriweather_light_italic';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/merriweather-v30-latin-300italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/merriweather-v30-latin-300italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'merriweather_regular_italic';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/merriweather-v30-latin-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/merriweather-v30-latin-italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'merriweather_bold_italic';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/merriweather-v30-latin-700italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/merriweather-v30-latin-700italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

:root {
  --color-black: #000;
  --color-beige: #f9f8f4;
  --color-border: #e2ddca;
  --fontsize-small: 1rem;
}

*, *::before, *::after { background: none; border: none; box-sizing: border-box; color:initial; font-size: 100%; font-style:normal; margin:0; padding:0; vertical-align:baseline; }

html { scroll-behavior: smooth; font-size: 62.5%; }
body { color: #333; font-family: 'firasans_light', sans-serif; font-size: 1.6rem; -webkit-font-smoothing: antialiased; }
html, body { margin: 0;	padding: 0; min-height: 100%; width: 100%; }


img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
a, button, details, input[type=button], input[type=checkbox], input[type=file], input[type=image], input[type=radio], input[type=range], input[type=reset], input[type=submit], label, select { cursor: pointer; }

p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
article, aside, audio, canvas, details, figcaption, figure, footer, header, main, nav, rt,ruby, section, summary { display:block; }
a { text-decoration: none; }
em { font-style: italic; }
ol, ul { list-style: none; }
table { border-collapse:collapse; }

button, select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.sr-only { 
  position: absolute; 
  white-space: nowrap; 
  width: 1px; 
  height: 1px; 
  overflow: hidden; 
  border: 0; 
  padding: 0; 
  clip: rect(0 0 0 0); 
  clip-path: inset(50%); 
  margin: -1px;
}

/* Site */

.container {
  max-width: 111rem;
  margin-right: auto;
  margin-left: auto;
  padding-left: 2.7rem;
  padding-right: 2.7rem;
}

.header {
  background-color: var(--color-beige);
}

  .header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

    .header__brand {
      display: flex;
    }

    .headernav {
      align-items: center;
      display: flex;
      justify-content: flex-end;
    }
    
      .headernav__menu {
        display: flex;
      }
      
        .headernav__item {
          position: relative;
        }
        
        .headernav__item::after {
          content: "";
          display: block;
          height: .3rem;
          background-color: var(--color-border);
          position: absolute;
          left: 1.25rem;
          right: 1.25rem;
          bottom: -.5rem;
          transform-origin: 0 50%;
          transform: scaleX(0);
          transition: transform .3s cubic-bezier(.86, 0, .07, 1);
          }
        
        .headernav__item:hover::after {
          transform: scaleX(1);
        }
        
        .headernav__item--active::after {
          background-color: var(--color-border);
          transform: none;
        }
        
          .headernav__link {
            align-items: center;
            display: flex;
            padding: .75rem 1.25rem;
            line-height: 1;
            position: relative;
            transition: color .2s linear;
            white-space: no-wrap;
          }

footer {
  background-color: var(--black);
}

@media (min-width: 670px) {
.header {
  padding: 5rem 0;
}
  
}