/* martian-mono-100 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Martian Mono';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/martian-mono-v5-latin-100.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* martian-mono-200 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Martian Mono';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/martian-mono-v5-latin-200.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* martian-mono-300 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Martian Mono';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/martian-mono-v5-latin-300.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* martian-mono-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Martian Mono';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/martian-mono-v5-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* martian-mono-500 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Martian Mono';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/martian-mono-v5-latin-500.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* martian-mono-600 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Martian Mono';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/martian-mono-v5-latin-600.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* martian-mono-700 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Martian Mono';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/martian-mono-v5-latin-700.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* martian-mono-800 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Martian Mono';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/martian-mono-v5-latin-800.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body:after {
  box-shadow: inset 0 0 10em rgba(0, 0, 0, 0.75);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  content: "";
}

.senastebox {
  font-family: Martian Mono, monospace;
  text-transform: uppercase;
  width: 20%;
  background-color: rgba(0, 0, 0, 0.45);
  overflow: hidden;
  position: absolute;
  top: 25%;
  right: 2.5%;
  color: #fff;
  padding: 10px 25px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10000;
}

.senasterubrik {
  text-transform: uppercase;
  font-size: 1.3vw;
  font-weight: 600;
  text-decoration: none;
  font-style: normal;
  color: yellow;
  padding-bottom: 1vh;
  line-height: 100%;
  width: 100%;
}

.senasterubrik::after,
.senasterubrik::before {
  width: 100%;
}

.senasteinner {
  width: 100%;
}


.senasteinner .dailyrow,
.senasteinner .firstrow {
  width: 100%;
  display: flex;
  opacity: 0;
  margin-bottom: 1.2vh;
}

.dailyrow {
  filter: blur(20px);
  transform: translateX(200%);
}

.showdaily {
  opacity: 1 !important;
  filter: blur(0px);
  transform: translateX(0);
  transition: filter 0.5s ease, transform 1s ease, opacity 1.5s ease;
}

.firstrow {
  opacity: 0.85 !important;
  color: red !important;
  padding-bottom: .5em;
  border-bottom: 1px solid red;
  margin: 1em 0;

}

.senasteinner span {
  flex: 1;
  text-align: right;
}

.senasteinner .dailyrow span {
  font-size: 1.2rem;
}

.senasteinner span:first-child {
  font-size: 1rem;
  text-align: left;
}

.senasteinner .dailyrow span:first-child {
  color: yellow;
}

.senaste em,
.senasterubrik em {
  position: relative;
  animation: namnnummer 1s infinite linear alternate-reverse;
}


.senastenummer {
  margin: 1rem 0;
  font-size: 12rem;
  color: rgba(255, 255, 0, 0.8);
}

.senastenummer span {
  animation: namnnummer .5s infinite linear alternate-reverse;
}

@keyframes namnnummer {
  0% {
    color: rgba(255, 255, 0, 0.9);
  }

  100% {
    color: rgba(255, 255, 0, 0.7);
  }

}


.senaste {
  text-transform: uppercase;
  font-size: 1.6rem;
  line-height: 2rem;
  font-weight: 600;
  text-decoration: none;
  font-style: normal;
  text-align: center;
  color: white;
  width: 100%;
}



.p-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.p-wrapper .layer--overlay {
  background: #db6262;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}


.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  animation: blur 30ms infinite, flick 50ms infinite, jump 50ms infinite;
}

.video-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 5;
  background: transparent url(../images/grid.png) repeat;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  background-color: rgba(0, 0, 0, 0.2);

}

.preview__video {
  width: 100%;
  height: 100%;
}

.preview::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(127, 127, 127, 0.5);
  background-image: radial-gradient(black 33%, transparent 33%);
  background-size: 2px 2px;
}


.preview__inner {
  width: 100%;
  height: 100%;
  background: white;
  mix-blend-mode: screen;
  position: absolute;
  top: 0;
  left: 0;
}

.preview .player {
  width: 65vh;
  height: 65vh;
  position: absolute;
  right: 0;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  padding: 10vh;
  z-index: 10;
}



@keyframes color {
  20% {
    background: #3E827E;
  }

  50% {
    background: #05394F;
  }

  70% {
    background: #67565C;
  }
}




h1 {
  font-family: Martian Mono, monospace;
  font-weight: 600;
  position: absolute;
  font-size: 6vw;
  left: 0;
  padding: 2rem 1rem 1.2rem 1rem;
  color: yellow;
  z-index: 100;
  text-transform: uppercase;
  border-bottom: 5px solid rgba(105, 11, 11, 0.95);
}

h1::after,
h1::before {
  padding: 2rem 1rem 2rem 1rem;
}



@keyframes blur {
  0% {
    filter: blur(1px);
    opacity: 0.8;
  }

  50% {
    filter: blur(1px);
    opacity: 1;
  }

  100% {
    filter: blur(1px);
    opacity: 0.8;
  }
}



@keyframes flick {
  50% {
    left: 2px;
  }

  51% {
    left: 0;
  }
}



@keyframes jump {
  30% {
    top: 10px;
  }

  31% {
    top: 0;
  }
}

@keyframes track {
  40% {
    opacity: 1;
    top: 0;
    left: 0;
    transform: scale(1, 1);
    transform: skew(0, 0);
  }

  41% {
    opacity: 0.8;
    top: 0px;
    left: -100px;
    transform: scale(1, 1.2);
    transform: skew(50deg, 0);
  }

  42% {
    opacity: 0.8;
    top: 0px;
    left: 100px;
    transform: scale(1, 1.2);
    transform: skew(-80deg, 0);
  }

  43% {
    opacity: 1;
    top: 0;
    left: 0;
    transform: scale(1, 1);
    transform: skew(0, 0);
  }
}

.screen-bottom {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 100;
}

.line {
  width: 100%;
  height: 3px;
  position: relative;
  animation: appear 1s infinite, flick 1s infinite, big-jump 5ms infinite;
}

.line .white {
  background: white;
  position: relative;
  top: 0;
  left: 0;
  height: 4px;
}

.line .red {
  background: red;
  position: relative;
  top: 0;
  left: 0;
  height: 1px;
}

.line .green {
  background: green;
  position: relative;
  top: 0;
  left: 0;
  height: 1px;
}

@keyframes appear {
  0% {
    filter: blur(5px);
    opacity: 0.85;
  }

  50% {
    filter: blur(3px);
    opacity: 0.85;
  }

  100% {
    filter: blur(4px);
    opacity: 0.85;
  }
}

@keyframes big-jump {
  0% {
    top: 0;
  }

  10% {
    top: -100px;
  }

  12% {
    top: 0;
  }

  54% {
    top: 0;
  }

  55% {
    top: -300px;
  }

  56% {
    top: 0;
  }

  86% {
    top: 0;
  }

  87% {
    top: -600px;
  }

  88% {
    top: 0;
  }
}


body:after {
  box-shadow: inset 0 0 10em rgba(0, 0, 0, 0.75);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  content: "";
}




.statistik {
  position: absolute;
  user-select: none;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  overflow: hidden;
}

.statistik__item:nth-child(1) {
  left: 0%;
  background: rgba(239, 0, 0, 0.2);
}

.statistik__item:nth-child(2) {
  left: 25%;
  background: rgba(239, 0, 0, 0.1);
}

.statistik__item:nth-child(3) {
  left: 50%;
  background: rgba(239, 0, 0, 0.2);
}

.statistik__item:nth-child(4) {
  left: 75%;
  background: rgba(239, 0, 0, 0.1);
}

.statistik__item {
  padding: 10rem 1rem 1rem 1rem;
  font-family: Martian Mono, monospace;
  font-weight: 600;
  transition: all 1s cubic-bezier(0.65, 0.07, 0.33, 0.95);
  position: absolute;
  width: 25%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  align-content: flex-start;
}

.statistik__item__small-title {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  font-size: 1.2rem;
  color: #0087ef;
  text-transform: uppercase;
  line-height: 120%;
  width: 100%;
}

.statistik__item__title {
  text-transform: uppercase;
  font-size: 2.5rem;
  font-weight: 600;
  text-decoration: none;
  font-style: normal;
  color: yellow;
  line-height: 100%;
  margin-top: 1rem;
  width: 100%;
}

.statistik__item__title.small {
  font-size: 1.8rem;
}

.statistik__count {
  color: #fff;
  margin: 2rem 0 2rem 0;
  font-size: 5vw;
  font-weight: 600;
  /* background: #fff; */
  text-decoration: none;
  text-align: left;
  font-style: normal;
  position: relative;

}

.statistik__count .plus {
  content: '+';
  position: relative;
  opacity: 0;
  color: #fff;
  font-weight: 600;
  font-family: Martian Mono, monospace;
  animation-name: visaplus;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-delay: 5s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
}




@keyframes visaplus {

  0%,
  100% {
    filter: blur(1px);
    opacity: 0.5;
    color: #fff;
  }

  50% {
    filter: blur(0px);
    opacity: 0.8;
    color: #fff;
  }
}

.blixt .flicka,
.blixt .pojke,
.blixt .man,
.blixt .kvinna,
.blixt .press,
.blixt .sjukhuspersonal {
  animation: person 1.5s normal forwards;
  animation-delay: 0.3s;

}

.blixt .flickablixt,
.blixt .pojkeblixt,
.blixt .manblixt,
.blixt .kvinnablixt,
.blixt .pressblixt,
.blixt .sjukhuspersonalblixt {
  animation: personblixt 1.5s normal forwards;
  animation-delay: 0.3s;

}

.blixt .person,
.blixt .person1,
.blixt .person2 {
  animation: tilt-shaking 0.15s 6 forwards;
  animation-delay: 0.3s;

}

@keyframes tilt-shaking {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(5deg);
  }

  50% {
    transform: rotate(0deg);
  }

  75% {
    transform: rotate(-5deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

@keyframes person {


  0% {
    opacity: 1;
    filter: blur(0px) brightness(0);
  }



  100% {
    opacity: 1;
    filter: blur(20px) brightness(0);
  }



}

@keyframes personblixt {

  0% {
    opacity: 0;
    filter: blur(10px);
  }

  10% {
    filter: blur(0px);
    opacity: 1;
  }


  100% {
    opacity: 1;
    filter: blur(0px);
  }
}

.personinfo {
  width: 100%;
  display: flex;
  flex-direction: row;
}


.persontext {
  width: auto;
}


.personinfo .statistik__count {
  font-size: 4rem;
  margin-right: 2rem;
}

.person {
  max-height: 50vh;
  max-width: 25vw;
  height: 50vh;
  aspect-ratio: 5 / 8;
  z-index: 15;
  position: absolute;
  top: -10%;
  left: 23%;
}

.personbarn {
  height: 100%;
  top: 8%;
  left: 40%;
}

.personbarn .flicka,
.personbarn .flickablixt {
  background-position: 5% 0%;
}

.personbarn .pojke,
.personbarn .pojkeblixt {
  background-position: 95% 0%;
}

.person1 {
  width: 10%;
  aspect-ratio: 5 / 8;
  z-index: 15;
  position: relative;
}

.person2 {
  width: 10%;
  margin-left: 1rem;
  margin-right: 2rem;
  aspect-ratio: 5 / 8;
  z-index: 15;
  position: relative;
}

.flicka {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80%;
  background-image: url(../images/flicka.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 15;
  filter: none;
  position: relative;
}

.flickablixt {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80%;
  background-image: url(../images/flicka-skelett.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 20;
  opacity: 0;
  transition: all 0.1s ease-in-out;
}


.man {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/man.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 15;
  filter: none;
  position: relative;
}

.manblixt {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/man-skelett.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 20;
  opacity: 0;
  transition: all 0.1s ease-in-out;
}


.sjukhuspersonal {
  position: absolute;
  top: 5%;
  left: 0;
  width: 100%;
  height: 90%;
  background-image: url(../images/sjukhuspersonal.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 15;
  filter: none;
  position: relative;
}

.sjukhuspersonalblixt {
  position: absolute;
  top: 5%;
  left: 0;
  width: 100%;
  height: 90%;
  background-image: url(../images/sjukhuspersonal-skelett.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 20;
  opacity: 0;
  transition: all 0.1s ease-in-out;
}

.press {
  position: absolute;
  top: 5%;
  left: 0;
  width: 100%;
  height: 90%;
  background-image: url(../images/press.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 15;
  filter: none;
  position: relative;
}

.pressblixt {
  position: absolute;
  top: 5%;
  left: 0;
  width: 100%;
  height: 90%;
  background-image: url(../images/press-skelett.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 20;
  opacity: 0;
  transition: all 0.1s ease-in-out;
}


.kvinna {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/kvinna.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 15;
  filter: none;
  position: relative;
}

.kvinnablixt {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/kvinna-skelett.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 20;
  opacity: 0;
  transition: all 0.1s ease-in-out;
}

.pojke {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80%;
  background-image: url(../images/pojke.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 15;
  filter: none;
  position: relative;
}

.pojkeblixt {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80%;
  background-image: url(../images/pojke-skelett.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 20;
  opacity: 0;
  transition: all 0.1s ease-in-out;
}

.statistiktopp {
  position: relative;
  font-family: Martian Mono, monospace;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
}


.statistiktopp p {
  margin-bottom: 1rem;
  margin-left: 2rem;
}

.statistiktopp .statistik__item__title {
  font-size: 2vw;
  width: 15%;
  line-height: 0.75;
}

.statistiktopp .statistik__count {
  width: 35%;
  text-align: right;
  padding-right: 3rem;
}

.statistiktopp .statistik__count .glitch,
.statistiktopp .statistik__count .glitch::before,
.statistiktopp .statistik__count .glitch::after {
  text-align: right;
  width: 90%;
  padding-right: 3.1rem;
}

.statistiktopp .statistik__count .glitch::before,
.statistiktopp .statistik__count .glitch::after {
  opacity: 0.45;
}


.statistikrad {
  position: relative;
  width: 50%;
}

.statistik::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 10;
  transition: all 0.5s ease-in-out;
}

.blixt .statistik::after {
  animation: blixt 1s normal forwards ease-in-out;

}

@keyframes blixt {
  0% {
    background: rgba(0, 0, 0, 0);
  }

  1% {
    background: rgba(255, 255, 255, 1);
  }

  2% {
    background: rgba(0, 0, 0, 1);
  }

  3% {
    background: rgb(246, 255, 0.5);
  }

  4% {
    background: rgba(0, 0, 0, 0.5);
  }

  100% {
    background: rgba(0, 0, 0, 0);
  }

}


.blixt .bullet {
  display: block;
}


.bullets {
  width: 75%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;

}

.bullet {
  display: none;
  width: 8%;
  padding-top: 8%;
  position: absolute;
  background: url('../images/bullet.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: 10000;
  animation: bullet 1s forwards ease;
}

.bullet1 {
  bottom: 59%;
  left: 7%;
  animation-delay: 0.1s;
}

.bullet2 {
  bottom: 39%;
  left: 25%;
  animation-delay: 0.2s;
  transform: rotate(-30deg);
}

.bullet3 {
  bottom: 36%;
  left: 43%;
  animation-delay: 0.3s;
  transform: rotate(15deg);

}

.bullet4 {
  bottom: 32%;
  left: 62%;
  animation-delay: 0.4s;
  transform: rotate(22deg);
}

.bullet5 {
  bottom: 40%;
  left: 88%;
  animation-delay: 0.5s;
  transform: rotate(88deg);


}



@keyframes bullet {
  0% {
    opacity: 0;
  }


  75% {
    opacity: 1;
  }

  100% {
    opacity: 0.75;
  }

}