@font-face {
  font-family: "PublicPixel";
  src: url(glitch-assets/publicPixel.ttf);
}
@font-face {
  font-family: "BlueScreen";
  src: url(glitch-assets/blueScreen.ttf);
}

body {
  background-color:black;
}

p {
  font-family: "PublicPixel";
  color: white;
  text-align: center;
  margin-left: 15vh;
  margin-right: 15vh;
}
h3 {
  font-family: "PublicPixel";
  color: white;
  text-align: center;
}

h2 {
  font-family: "PublicPixel";
  color: white;
  text-align: center;
}

h1 {
  font-family: "PublicPixel";
  color: white;
  text-align: center;
}

a {
  font-family: "BlueScreen";
  color: white;
  text-align: center;
}

a:hover {
  color:red;
  animation: cursorMove 0.9s infinite;
}


@keyframes cursorMove{
  0%{
    cursor: url("glitch-assets/walkinggifresize_0006_Layer-1.png") 20 20, auto;
  }
  20%{ 
    cursor: url("glitch-assets/walkinggifresize_0005_Layer-2.png") 20 20, auto;
  }
  40%{ 
    cursor: url("glitch-assets/walkinggifresize_0004_Layer-3.png") 20 20, auto;
  }
  60%{ 
    cursor: url("glitch-assets/walkinggifresize_0003_Layer-4.png") 20 20, auto;
  }
  80%{ 
    cursor: url("glitch-assets/walkinggifresize_0002_Layer-5.png") 20 20, auto;
  }
  100%{ 
    cursor: url("glitch-assets/walkinggifresize_0001_Layer-6.png") 20 20, auto;
  }
}

#btn {
  position: absolute;
  transition: 0.5s;
  padding: 10px;
  height: 40px;
  width: 150px;
}

.block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.warningText {
  font-size: 20px;
  color: red;
  animation: blinker 0.7s linear infinite;
}

.fridgeWarning:hover {
  color: white;
  animation: shake 1s infinite;
  
}

@keyframes shake{
    0%{
      transform: translateX(0);
      transform: rotate(0turn);
    }
    25%{
      transform: translateX(25px);
    }
      
    50%{
      transform: translateX(-25px);
      transform: rotate(0.25turn);
    }
    100%{
      transform: translateX(0px);
      transform: rotate(0turn);
    }
  }

@keyframes blinker {
  50% {
    opacity: 0;
  }
}
