@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Square+Peg&display=swap');


body{
  width: 100vw;
  height: 100vh;
  animation-name: bgChg;
  animation-duration: 50s;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-direction: alternate;
  font-family: 'Bebas Neue';
  color: #fff;
  font-size: 1rem;
  text-shadow: 1px 1px 0 #000;
  background-color: #000;
}

h1{
  font-size: 1.2rem;
}

a{
  color: #ff0;
  text-decoration: none;
}

#main_canvas{
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  animation-name: fadeIn;
  animation-duration: 5s;
  animation-delay: 0s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes bgChg {
  0%{
    background-color: rgb(0, 0, 0);
  }
  /* 20%{
    background-color: rgb(255, 142, 142);
  }
  40%{
    background-color: rgb(64, 156, 150);
  }
  60%{
    background-color: rgb(255, 237, 0);
  }
  80%{
    background-color: rgb(130, 130, 130);
  } */
  100%{
    background-color: rgb(255, 255, 255);
  }
}

.profile{
  position: absolute;
  right: 5vw;
  top: 1vw;
  width: 15vw;
}


.profile p span {
  animation-name: textAnime;
  animation-duration: 0.1s;
  animation-timing-function: linear;
  animation-delay: 0s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  animation-direction: alternate;
  opacity: 0;
}

@keyframes textAnime {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0%{
    opacity: 0
  }
  100%{
    opacity: 1
  }
}

@media screen and (max-width:600px) {
  body{
    font-size: 1.4rem;
  }
  h1{
    font-size: 2.4rem;
  }
  .profile{
    width: 30vw;
  }
}
