.preload::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
}

.preload--transitions * {
  transition: 0s !important;
}

.preload--hidden::before {
  /* visibility: hidden; */
  display: none;
}

.loaded:before {
  animation: fadeout .3s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes fadeout {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* LOAD YOUR FONTS HERE */

/* The licence covers three cuts — 300, 600 and 800 — and the weight tokens in config/weight.css
   are 300/400/450/500. Declared at their own single weights, every token would fall back to the
   300 cut, bold included. Each face instead claims a range: regular and medium draw 300, semibold,
   bold and the 650 prices draw 600, and only `mark` in core/global.css asks for 800. */
@font-face {
  src: url('/build-hverslun/fonts/TWKLausanne-300.woff2') format('woff2');
  font-family: 'TWK Lausanne';
  font-display: swap;
  font-weight: 300 449;
  font-style: normal;
}

@font-face {
  src: url('/build-hverslun/fonts/TWKLausanne-600.woff2') format('woff2');
  font-family: 'TWK Lausanne';
  font-display: swap;
  font-weight: 450 699;
  font-style: normal;
}

@font-face {
  src: url('/build-hverslun/fonts/TWKLausanne-800.woff2') format('woff2');
  font-family: 'TWK Lausanne';
  font-display: swap;
  font-weight: 700 1000;
  font-style: normal;
}
