@font-face {
    font-family: 'Pixeled';
    src: url('../fonts/Pixeled.woff2') format('woff2'),
        url('../fonts/Pixeled.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}



html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: relative;
    font-family: 'Pixeled';
    font-weight: normal;
    font-style: normal;
    -webkit-font-smoothing: none;
}

html {
    /* background: linear-gradient(-45deg, #31faf9, #f129f1, #42fe42, #31faf9, #f129f1);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;*/
    background-color: #000;
}

body {
    background-color: #31faf9;
    background-image: url("../images/bg-03.png");
    background-repeat: repeat;
    background-position: 0px 0px;
    animation: slide 60s linear infinite; 
    clip-path: circle(100% at center);
    transition: all 0.5s ease;
}
body.ohnooo {
  clip-path: circle(0% at center);
}
body.phase2 {
  clip-path: circle(100% at center);
  background-color: #000;
  transition: all 0.0000000001s ease;
}

#demo {
  text-transform: uppercase;
  font-size: 24px;
  color: #ccc;
  text-align: left;
  line-height: 48px;
  width: 500px;
  display: none;
}

#demo .visible {
  color: #fefe0c;
}

@keyframes slide{
0% {
    background-position: 0px 0px;
}
100% {
    background-position: -200% -200%;
}
}


@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .centered a {
    display: block;
    background: #fefe0c;
    color: #000;
    text-decoration: none;
    padding: 5px 24px 12px 24px;
    text-transform: uppercase;
    font-size: 24px;
    margin: 0;
    border: 4px solid #000;
    transition: all 0.2s linear;
    box-shadow: 
      4px 4px 0 #000,
      8px 8px 0 #000,
      12px 12px 0 #000,
      16px 16px 0 #000;
      transform: transale3d(0,0,0);
  }

  .centered a:hover {
    box-shadow: 4px 4px 0 #000;
    margin: 12px 0 0 12px;
    animation: shake 0.5s;
    animation-iteration-count: infinite;
  }

  .centered a:active {
    box-shadow: inset 4px 4px 0 #000;
    margin: 16px 0 0 16px;
    padding: 9px 20px 9px 27px;
    transition: all 0.1s linear;
  }

  .centered a::selection {
    background: #fefe0c;
  }

  @keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
  }

  @media only screen and (max-width: 600px)  { 
    .centered a {
      font-size: 18px;
      box-shadow: 
      3px 3px 0 #000,
      6px 6px 0 #000,
      9px 9px 0 #000,
      12px 12px 0 #000;
      transform: transale3d(0,0,0);
      border: 3px solid #000;
    }
    .centered a:hover {
      box-shadow: 3px 3px 0 #000;
      margin: 9px 0 0 9px;
    }
    .centered a:active {
      box-shadow: inset 3px 3px 0 #000;
      margin: 12px 0 0 12px;
      padding: 8px 21px 9px 27px;
    }
    #demo {
      width: 400px;
      font-size: 18px; 
      line-height: 36px;
    }
  
  }
