@font-face {
  font-family: scary;
  font-weight: 500;
  src: url(../fonts/scary.ttf);
}

@font-face {
  font-family: scaryBold;
  font-weight: 700;
  src: url(../fonts/scaryBold.ttf);
}

@font-face {
  font-family: code;
  font-weight: 500;
  src: url(../fonts/code.ttf);
}

@font-face {
  font-family: codeBold;
  font-weight: 700;
  src: url(../fonts/codeBold.ttf);
}

@font-face {
  font-family: codeItalic;
  font-weight: 500;
  font-style: italic;
  src: url(../fonts/codeItalic.ttf);
}

@font-face {
  font-family: codeBoldItalic;
  font-weight: 700;
  font-style: italic;
  src: url(../fonts/codeBoldItalic.ttf);
}

:root {
  --acc: rgb(202, 0, 254);
  --fail: rgb(143, 14, 14);
  --blinkFail: rgb(80, 14, 14);
  --bw: 2px;
  --rv: 100px;
  --hW: 500px;
  --bxOff: 180px;
  --hOff: 250px;
  --mhOff: 100px;
  --mbxOff: 80px;
  --fontHName: scary;
  --handFSize: 74px;
  --infoW: 640px;

  --ldur: 5s;
  --l1vert: 5px;
  --l1vertB: -7px;

  --l2vert: -10px;
  --l2vertB: 8px;
}

body {
  background-color: #000;
  margin: 0;
  min-height: 100vh;
}

body.fail {
  animation: failureBlink 250ms ease alternate;
}

.holder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  position: relative;
}

.wrapper {
  display: flex;
  height: 100vh;
  justify-content: center;
  align-items: center;
  position: relative;
}

.box {
  position: absolute;
  top: 0;
  display: inherit;
  margin-top: var(--bxOff);
}

.controls {
  background: var(--acc);
  position: absolute;
  left: 0;
}

.mute, .pause, .unmute, .play {
  display: block;
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

.hide {
  display: none;
}

.mute {
  background-image: url(../icons/mute.svg);
}

.unmute {
  background-image: url(../icons/unmute.svg);
}

.pause {
  background-image: url(../icons/pause.svg);
}

.play {
  background-image: url(../icons/play.svg);
}

.box-form{
  display: flex;
  border: var(--bw) solid rgba(202, 0, 254, 0.5);
  border-radius: var(--rv);
  transition: border 300ms ease;
  position: relative;
  z-index: 50;
}

.in, .go {
  color: var(--acc);
  background: transparent;
  border: 0;
  border-radius: 0;
}

.in {
  width: 180px;
  padding: 0 0 0 20px;
  font-family: var(--fontHName);
  font-size: 36px;
  letter-spacing: 3px;
  position: relative;
  margin-right: -1px;
}

.in:focus, .go:focus {
  outline-width: 0;
}

.go {
  padding: 0 40px;
  -webkit-appearance: none;
  font-family: var(--fontHName);
  font-size: 32px;
  letter-spacing: 5px;
  cursor: pointer;
  position: relative;
}

.go[value] {
  width: 40px;
  height: 70px;
  background-image: url(../img/lupka.svg);
  background-repeat: no-repeat;
  background-position: 70% center;
  background-size: 45%;
  transition: all 300ms ease;
}

.st0 {
  color: var(--acc);
  opacity: 0.5;
}

.hand {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: var(--hW);
  height: 500px;
  background-image: url(../img/hand.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  transform: rotate(15deg);
  left: 40px;
}

.hand::before {
  content: '';
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  width: var(--hW);
  height: 500px;
  background-image: url(../img/hand.png);
  opacity: 0.2;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  position: absolute;
  transform: rotate(5deg);
  animation: hello 6s ease infinite alternate both;
}

.text {
  font-size: var(--handFSize);
  font-family: var(--fontHName);
  color: var(--acc);
  position: absolute;
  width: 100%;
  top: 120px;
  margin: 0 auto;
  text-align: center;
  letter-spacing: 4px;
  transition: color 300ms ease;
}

body.welcome {
  background-image: url(../img/hand.png);
  background-size: 70%;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
}

body.welcome .wrapper {
  background-color: rgba(0, 0, 0, 0.9);
  min-height: 100vh;
  height: auto;
  flex-direction: column;
}

body.welcome .text {
  position: relative;
  top: 40px;
}

.info {
  max-width: var(--infoW);
  color: var(--acc);
  font-family: code;
  margin-top: 80px;
}

.info-text {
  line-height: 1.95;
  font-size: 17px;
}

.info a, .info u {
  color: var(--acc);
  text-decoration: none;
  padding-top: 5px;
  border-bottom: 1px solid;
  transition: color 300ms ease;
}

.info a:hover {
  color: rgba(202, 0, 254, 0.7);
}

.info ul li,
.info ol li {
  line-height: 1.8;
}

.info up {
  display: inline;
  text-transform: uppercase;
}

.info mark {
  background-color: #000;
  color: var(--acc);
  border: 1px dashed var(--acc);
  padding: 3px 5px;
}

.info table {
  padding: 5px 10px;
  border: 1px solid;
}

.info .row {
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 768px) {
  .info .row {
    flex-direction: column;
  }
}

.info .btn {
  padding: 10px 50px;
  background-color: #000;
  border: var(--bw) solid var(--acc);
  font-family: scary;
  font-size: 36px;
  text-align: center;
  margin: 0 auto;
  border-radius: var(--rv);
  margin-bottom: 20px;
}

.info table th {
  text-align: left;
  padding: 10px 0;
  text-transform: uppercase;
  border-bottom: 1px solid;
  font-weight: normal;
}

.info table td {
  padding: 10px 25px 10px 0;
}

.info .columns {
  display: flex;
}

.columns .column {
  padding: 0 40px 0 0;
}

.info hr {
  border-color: var(--acc);
  margin: 40px 0;
}

.text.fail {
  color: var(--fail);
}

.hand .text {
  transform: rotate(-15deg);
}

.hand .box {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-size: var(--handFSize);
  font-family: var(--fontHName);
  color: var(--acc);
  position: relative;
  left: 0;
  letter-spacing: 4px;
  transform: rotate(-15deg) translateY(-80px);
}

.puzzle {
  position: fixed;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}

.puzzle img {
  pointer-events: auto;
}

#vid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

[class^="l"] {
  position: relative;
  display: inline-block;
  animation-duration: var(--ldur);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate-reverse;
}

[class^="l"]:nth-child(odd) {
  animation-name: gl-l1;
}

[class^="l"]:nth-child(even) {
  animation-name: gl-l2;
}


@keyframes hello {
  0% {
    transform: rotate(0);
  }

  20% {
    transform: rotate(2deg);
  }

  40% {
    transform: rotate(4deg);
  }

  60% {
    transform: rotate(6deg);
  }

  80% {
    transform: rotate(-2deg);
  }

  100% {
    transform: rotate(-4deg);
  }
}


@keyframes gl-l1 {
  0%, 100% {
    transform: translateY(var(--l1vert));          /* R */
  }

  50% {
    transform: translateY(var(--l1vertB));
  }
}

@keyframes gl-l2 {
  0%, 100% {
    transform: translateY(var(--l2vert));          /* R */
  }

  50% {
    transform: translateY(var(--l2vertB));
  }
}

@keyframes failureBlink {
  0%, 100% {
    background-color: #000;
  }

  50% {
    background-color: var(--blinkFail);
  }
}

.video iframe {
  transition: all 1s ease;
}

@media screen and (max-width: 1280px) {
  .wrapper {
    overflow-x: hidden;
  }
}

@media screen and (max-width: 1440px) and (min-width: 571px) {

  .text {
    top: 40px;
  }

}

@media screen and (max-width: 570px) {

  .columns {
    flex-direction: column;
  }

  .text {
    top: 40px;
    max-width: 100%;
    font-size: 52px;
  }

  .puzzle img {
    max-height: 150px;
  }

  .hand {
    top: 40px;
    left: 0;
  }

  .hand .box {
    transform: rotate(-15deg) translateY(0);
    margin: 0 auto;
  }

  .box-form { 
    top: 80px;
  }

  .go[value] {
    height: 60px;
  }
}

@media screen and (max-height: 618px) and (orientation: landscape) {

  .text {
    top: 40px;
    font-size: 52px;
  }

  .puzzle img {
    max-height: 150px;
  }

  .hand {
    top: 80px;
    height: 250px;
  }

  .hand .box {
    transform: rotate(-15deg);
    margin: 0 auto;
  }

  .hand::before {
    height: 250px;
  }

  .box-form {
    top: 50px;
  }

  .go[value] {
    height: 50px;
  }

}


::selection {
  background-color: var(--acc);
  color: #000;
}

@keyframes danceMeatBabe {
  0%, 100% {
    transform: scale(1.0, 1.0) rotate(0);
    filter: hue-rotate(0deg);
  }

  25% { 
    transform: scale(0.5, 0.5) rotate(1000deg);
    filter: hue-rotate(2600deg);
  }

  50% {
    transform: scale(1.5, 1.5) rotate(-252deg);
    filter: hue-rotate(-335deg);
  }

  75% {
    transform: scale(1.0, 1.0) rotate(36deg);
    filter: hue-rotate(1216deg);
  }
}

body.omnomnom {
  background-color: #fff;
}

.tasty {
  cursor: pointer;
}

.tasty.yummy {
  animation: danceMeatBabe 1.5s ease 500ms alternate;
}

.back {
  width: 32px;
  height: 32px;
  background-color: var(--acc);
  background-image: url(../icons/back.svg);
  background-position: center center;
  background-size: contain;
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
  z-index: 15;
}

.space {
  display: block;
  margin: 20px 0;
}

.icon {
  width: 32px;
  height: 32px;
  margin: 0 20px;
  text-align: center;
  opacity: 1;
  transition: opacity 300ms ease;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

.icon.fb {
  background-image: url(../icons/fb.svg);
}

.icon.yt {
  background-image: url(../icons/yt.svg);
}

.row.center {
  justify-content: center;
  margin-bottom: 40px;
}

.icon:hover {
  opacity: 0.7;
}

.row.center a {
  border: 0;
}

.v {
  font-size: 18px;
  font-family: scary;
  position: absolute;
  bottom: 120px;
  right: -60px;
}

.break {
  display: block;
  width: 100%;
  height: 10px;
  margin: 0 auto;
}

.signature {
  text-align: right; 
  margin-top: -16px;
}