﻿@charset "UTF-8";
html,
body {
  width: 100%;
  height: 100%;
}

body {
  /* overflow: scroll;  Til brug på iOS enheder der forstørrer baggrundsbilleder */
  -webkit-overflow-scrolling: touch; /* Til brug på iOS enheder der forstørrer baggrundsbilleder */
}

img.bg {
  min-height: 100%;
  min-width: 1024px;
  width: 100%;
  height: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1 !important;
}

.wrapper {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: #A6BF19;
}
.wrapper section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.wrapper section h1 {
  font-size: 4rem;
  color: white;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
}
.wrapper.intro {
  font-family: "Open Sans", sans-serif;
  background: #fafafa;
}

div.description {
  text-align: center;
}

.glitch-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /*background-color: $primary-color;*/
}

.glitch {
  position: relative;
  font-size: 80px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  letter-spacing: 5px;
  z-index: 1;
}

.glitch:before,
.glitch:after {
  display: block;
  content: attr(data-glitch);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.8;
}

.glitch:before {
  animation: glitch-color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
  color: #0ff;
  z-index: -1;
}

.glitch:after {
  animation: glitch-color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
  color: #ff00ff;
  z-index: -2;
}

@keyframes glitch-color {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-3px, 3px);
  }
  40% {
    transform: translate(-3px, -3px);
  }
  60% {
    transform: translate(3px, 3px);
  }
  80% {
    transform: translate(3px, -3px);
  }
  to {
    transform: translate(0);
  }
}
