/*
 *** ANIMATIONS ***
*/

.animate-left,
.animate-right,
.animate-fade,
.animate-bottom,
.animate-left-slow,
.animate-right-slow,
.animate-fade-slow,
.animate-bottom-slow {
  display: block;
}

/*FADE IN*/
.fade-in {
  animation: fade-in-key 1.5s;
  animation-iteration-count: 1;
  animation-direction: alternate; /* or: normal */
  animation-timing-function: lenear; /* or: ease, ease-in, ease-in-out, linear, cubic-bezier(x1, y1, x2, y2) */
  animation-fill-mode: forwards; /* or: backwards, both, none */
}

.fade-in-slow {
  animation: fade-in-key 1.5s;
  animation-delay: 1s;
  animation-delay: 1s;
  animation-iteration-count: 1;
  animation-direction: alternate; /* or: normal */
  animation-timing-function: lenear; /* or: ease, ease-in, ease-in-out, linear, cubic-bezier(x1, y1, x2, y2) */
  animation-fill-mode: forwards; /* or: backwards, both, none */
}

@-webkit-keyframes fade-in-key {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes fade-in-key {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-o-keyframes fade-in-key {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fade-in-key {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*FROM BOTTOM*/
.from-bottom {
  animation: from-bottom-key 1.5s;
  animation-iteration-count: 1;
  animation-direction: alternate; /* or: normal */
  animation-timing-function: lenear; /* or: ease, ease-in, ease-in-out, linear, cubic-bezier(x1, y1, x2, y2) */
  animation-fill-mode: forwards; /* or: backwards, both, none */
}

.from-bottom-slow {
  animation: from-bottom-key 1.5s;
  animation-delay: 1s;
  animation-iteration-count: 1;
  animation-direction: alternate; /* or: normal */
  animation-timing-function: lenear; /* or: ease, ease-in, ease-in-out, linear, cubic-bezier(x1, y1, x2, y2) */
  animation-fill-mode: forwards; /* or: backwards, both, none */
}

@-webkit-keyframes from-bottom-key {
  0% {
    opacity: 0;
    transform: translate(0, 300px);
  }
  33% {
    opacity: 0.5;
  }
  66% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(0, 0px);
  }
}
@-moz-keyframes from-bottom-key {
  0% {
    opacity: 0;
    transform: translate(0, 300px);
  }
  33% {
    opacity: 0.5;
  }
  66% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(0, 0px);
  }
}
@-o-keyframes from-bottom-key {
  0% {
    opacity: 0;
    transform: translate(0, 300px);
  }
  33% {
    opacity: 0.5;
  }
  66% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(0, 0px);
  }
}
@keyframes from-bottom-key {
  0% {
    opacity: 0;
    transform: translate(0, 300px);
  }
  33% {
    opacity: 0.5;
  }
  66% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(0, 0px);
  }
}

/*FROM RIGHT*/
.from-right {
  animation: from-right-key 1.5s;
  animation-iteration-count: 1;
  animation-direction: alternate; /* or: normal */
  animation-timing-function: lenear; /* or: ease, ease-in, ease-in-out, linear, cubic-bezier(x1, y1, x2, y2) */
  animation-fill-mode: forwards; /* or: backwards, both, none */
}

.from-right-slow {
  animation: from-right-key 1.5s;
  animation-delay: 1s;
  animation-iteration-count: 1;
  animation-direction: alternate; /* or: normal */
  animation-timing-function: lenear; /* or: ease, ease-in, ease-in-out, linear, cubic-bezier(x1, y1, x2, y2) */
  animation-fill-mode: forwards; /* or: backwards, both, none */
}

@-webkit-keyframes from-right-key {
  0% {
    opacity: 0;
    transform: translate(300px, 0);
  }
  33% {
    opacity: 0.5;
  }
  66% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(0px, 0);
  }
}
@-moz-keyframes from-right-key {
  0% {
    opacity: 0;
    transform: translate(300px, 0);
  }
  33% {
    opacity: 0.5;
  }
  66% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(0px, 0);
  }
}
@-o-keyframes from-right-key {
  0% {
    opacity: 0;
    transform: translate(300px, 0);
  }
  33% {
    opacity: 0.5;
  }
  66% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(0px, 0);
  }
}
@keyframes from-right-key {
  0% {
    opacity: 0;
    transform: translate(300px, 0);
  }
  33% {
    opacity: 0.5;
  }
  66% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(0px, 0);
  }
}

/*FROM LEFT*/
.from-left {
  animation: from-left-key 1.5s;
  animation-iteration-count: 1;
  animation-direction: alternate; /* or: normal */
  animation-timing-function: lenear; /* or: ease, ease-in, ease-in-out, linear, cubic-bezier(x1, y1, x2, y2) */
  animation-fill-mode: forwards; /* or: backwards, both, none */
}

.from-left-slow {
  animation: from-left-key 1.5s;
  animation-delay: 1s;
  animation-iteration-count: 1;
  animation-direction: alternate; /* or: normal */
  animation-timing-function: lenear; /* or: ease, ease-in, ease-in-out, linear, cubic-bezier(x1, y1, x2, y2) */
  animation-fill-mode: forwards; /* or: backwards, both, none */
}

@-webkit-keyframes from-left-key {
  0% {
    opacity: 0;
    transform: translate(-300px, 0);
  }
  33% {
    opacity: 0.5;
  }
  66% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(0px, 0);
  }
}
@-moz-keyframes from-left-key {
  0% {
    opacity: 0;
    transform: translate(-300px, 0);
  }
  33% {
    opacity: 0.5;
  }
  66% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(0px, 0);
  }
}
@-o-keyframes from-left-key {
  0% {
    opacity: 0;
    transform: translate(-300px, 0);
  }
  33% {
    opacity: 0.5;
  }
  66% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(0px, 0);
  }
}
@keyframes from-left-key {
  0% {
    opacity: 0;
    transform: translate(-300px, 0);
  }
  33% {
    opacity: 0.5;
  }
  66% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(0px, 0);
  }
}

.align-wrapper {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.align-wrapper > * {
  margin-right: 2rem;
  margin-bottom: 2rem;
}

.flex-vertical {
  flex-direction: column;
}

/*------------------------------------*\
    BUTTONS
\*------------------------------------*/

/* NORMAL */
.btn {
  display: inline-block;
  position: relative;
  padding: 1rem 2rem;
  z-index: 1;
}

/* COLORED BUTTON */
.btn-c {
  display: inline-block;
  position: relative;
  padding: 1rem 2rem;
  background: var(--secondary);
  color: #fff;
  transition: 0.2s ease;
  z-index: 1;
}
.btn-c:hover {
  color: #fff;
}

/* QUADRATISCH / SQUARE BUTTON/*/
.btn-square {
  display: flex;
  align-items: center;
  position: relative;
  height: 0;
  padding: 50%;
  z-index: 1;
}

/*------------------------------------*\
    BUTTONS
\*------------------------------------*/

.glanz-hov {
  overflow: hidden;
}

.glanz-hov::before {
  content: "";
  position: absolute;
  background-color: #fff;
  left: 0;
  top: 0;
  height: 100%;
  width: 20%;
  transform: skew(15deg) translate(-200%);
  z-index: -1;
}

.glanz-hov:hover:before {
  left: 100%;
  transform: skew(15deg) translate(100%);
  transition: 0.5s ease;
}

/*------------------------------------*\
    ROUND BORDER
\*------------------------------------*/

.round-border-hov {
  transition: 0.3s ease;
}

.round-border-hov:hover {
  border-radius: 20px;
}

/*------------------------------------*\
    LEFT FILL
\*------------------------------------*/

.left-fill-hov {
  transition: 0.5s ease;
}
.left-fill-hov:hover {
  color: #fff;
}

.left-fill-hov::before {
  content: "";
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  background-color: var(--secondary);
  transition: 0.5s ease;
  z-index: -1;
}

.left-fill-hov:hover::before {
  width: 100%;
}

/*------------------------------------*\
    SWIGGLE
\*------------------------------------*/

.anim-swiggle {
  animation: swiggle 250ms forwards ease;
}

.swiggle-hov:hover {
  animation: swiggle 250ms forwards ease;
}

@keyframes swiggle {
  0% {
    transform: translate(0, 0);
  }
  15% {
    transform: translate(5%, 0);
  }
  35% {
    transform: translate(-5%, 0);
  }
  55% {
    transform: translate(5%, 0);
  }
  80% {
    transform: translate(-5%, 0);
  }
  100% {
    transform: translate(0, 0);
  }
}

/*------------------------------------*\
    BORDER INSET
\*------------------------------------*/

.border-inset-hov {
  transition: 0.3s ease;
}

.border-inset-hov:hover {
  box-shadow: inset 0 0 0 2px var(--secondary);
}

/*------------------------------------*\
    SNAKE BORDER
\*------------------------------------*/

.snake-border {
  list-style: none;
}

.snake-border {
  line-height: 50px;
  text-align: center;
  text-decoration: none;
  margin: 10px;
  vertical-align: center;
  position: relative;
  line-height: 1.4;
}

.snake-border i {
  font-style: normal;
}

.snake-border span {
  position: absolute;
  transition: transform 0.5s;
}

/* OBERE + UNTERE LINIE */
.snake-border span:nth-child(1),
.snake-border span:nth-child(3) {
  width: 100%;
  height: 2px;
  background: var(--secondary);
}

/* LINKE + RECHTE LINIE */
.snake-border span:nth-child(2),
.snake-border span:nth-child(4) {
  width: 2px;
  height: 100%;
  background: var(--secondary);
}

/* OBERE LINIE */
.snake-border span:nth-child(1) {
  top: 0;
  left: 0;
  transform-origin: right;
}

.snake-border:hover span:nth-child(1) {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s;
}

/* UNTERE LINIE */
.snake-border span:nth-child(3) {
  bottom: 0%;
  left: 0;
  transform-origin: left;
}

.snake-border:hover span:nth-child(3) {
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s;
}

/* LINKE LINE */
.snake-border span:nth-child(2) {
  top: 0;
  left: 0;
  transform: scale(0);
  transform-origin: bottom;
}

.snake-border:hover span:nth-child(2) {
  transform: scale(1);
  transform-origin: top;
  transition: transform 0.5s;
}

/* RECHTE LINIE */
.snake-border span:nth-child(4) {
  top: 0;
  right: 0;
  transform: scale(0);
  transform-origin: top;
}

.snake-border:hover span:nth-child(4) {
  transform: scale(1);
  transform-origin: bottom;
  transition: transform 0.5s;
}

/*------------------------------------*\
    INFINITE SNAKE BORDER
\*------------------------------------*/

/* .infinite-snake-border::before {
    display: block;
    content: '';
} */

.infinite-snake-border {
  position: relative;
  overflow: hidden;
  display: inline-block;
  color: var(--secondary);
  text-decoration: none;
  transition: 0.2s;
}

.infinite-snake-border i {
  font-style: normal;
}
.infinite-snake-border:hover {
  color: #fff;
  background: var(--secondary);
  /* box-shadow: 0 0 10px var(--secondary), 0 0 40px var(--secondary), 0 0 80px var(--secondary); */
  transition-delay: 1s;
}
.infinite-snake-border span {
  position: absolute;
  display: block;
}
.infinite-snake-border span:nth-child(1) {
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary));
}
.infinite-snake-border:hover span:nth-child(1) {
  left: 100%;
  transition: 1s;
}
.infinite-snake-border span:nth-child(3) {
  bottom: 0;
  right: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, var(--secondary));
}
.infinite-snake-border:hover span:nth-child(3) {
  right: 100%;
  transition: 1s;
  transition-delay: 0.5s;
}
.infinite-snake-border span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--secondary));
}
.infinite-snake-border:hover span:nth-child(2) {
  top: 100%;
  transition: 1s;
  transition-delay: 0.25s;
}
.infinite-snake-border span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(360deg, transparent, var(--secondary));
}
.infinite-snake-border:hover span:nth-child(4) {
  bottom: 100%;
  transition: 1s;
  transition-delay: 0.75s;
}

@keyframes infinite-snake-border {
  0% {
  }
}

/*------------------------------------*\
    GAP LINE
\*------------------------------------*/

.gap-line-hov {
  border: 2px solid var(--secondary);
}

.gap-line-hov::after,
.gap-line-hov::before {
  content: "";
  display: block;
  position: absolute;
  width: 14px;
  height: 2px;
  background: #fff;
  transition: 0.3s ease;
  transform: translate(-50%) skew(15deg);
}

.gap-line-hov::after {
  top: -2px;
  left: 20%;
}

.gap-line-hov::before {
  right: 10%;
  bottom: -2px;
}

.gap-line-hov:hover::after {
  left: 80%;
}

.gap-line-hov:hover::before {
  right: 70%;
}

/*------------------------------------*\
    NEON GLOW
\*------------------------------------*/

.neon-glow {
  border-radius: 2rem;
  box-sizing: border-box;
  /* background-image: linear-gradient(120deg, red,green,pink,yellow,purple,turquoise,red); */
  background-image: linear-gradient(
    120deg,
    var(--secondary),
    var(--primary),
    var(--secondary),
    var(--secondary),
    var(--secondary)
  );
  background-size: 400%;
  /* animation: glowing-bg 2s linear infinite; */
  animation: glowing-bg 12s linear infinite;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  transition: 0.3s ease;
}

.neon-glow:hover {
  color: #fff;
}

@keyframes glowing-bg {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 400%;
  }
}

/*------------------------------------*\
    GLOW SHADOW
\*------------------------------------*/

.glow-shadow {
  border-radius: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--secondary);
  position: relative;
  color: #fff;
  /* z-index: 1; */
}

.glow-shadow::before,
.glow-shadow::after {
  content: "";
  position: absolute;
  top: -5%;
  left: -5%;
  height: 110%;
  width: 110%;
  z-index: -20;
  border-radius: 30rem;
  filter: blur(20px);
  opacity: 0.5;
}
.glow-shadow::before {
  background: black;
  /* background: var(--secondary); */
  z-index: -1;
  animation: glow1 15s ease infinite;
}

.glow-shadow::after {
  background: var(--primary);
  z-index: -2;
  animation: glow2 10s ease infinite;
}

@keyframes glow1 {
  0% {
    transform: translate(10%, 10%) scale(1);
    opacity: 0.5;
  }
  25% {
    transform: translate(10%, -10%) scale(0.5);
    opacity: 0.5;
  }
  50% {
    transform: translate(10%, -10%) scale(1.2);
    opacity: 0.5;
  }
  75% {
    transform: translate(-10%, 10%) scale(0.5);
    opacity: 0.5;
  }
  100% {
    transform: translate(10%, 10%) scale(1);
    opacity: 0.5;
  }
}
@keyframes glow2 {
  0% {
    transform: translate(-10%, -10%) scale(1.2);
    opacity: 0.5;
  }
  25% {
    transform: translate(-10%, -10%) scale(0.5);
    opacity: 0.5;
  }
  50% {
    transform: translate(10%, 10%) scale(1);
    opacity: 0.5;
  }
  75% {
    transform: translate(-10%, 10%) scale(0.5);
    opacity: 0.5;
  }
  100% {
    transform: translate(-10%, -10%) scale(1.2);
    opacity: 0.5;
  }
}
