@font-face {
    font-family: "Perfect DOS VGA 437 Win";
    src: url('PerfectDOSVGA437Win.ttf') format('truetype');
}

:root {
  --shadows1: 5px 5px white;
  --shadows2: 5px 5px white;
  --shadows3: 5px 5px white;
}

body {
    margin: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: white;
    font-family: "Perfect DOS VGA 437 Win", Menlo, Consolas, monospace;
    background-color: black;
}

pre {
    margin: 0 auto;
    padding: 25px;
    font-family: "Perfect DOS VGA 437 Win", Menlo, Consolas, monospace;
    animation: 7s linear infinite colortext;
    -webkit-animation: 7s linear infinite colortext;
    width: fit-content;
}

@media screen and (max-width: 700px) {
  #header {
    font-size: x-small;
  }
}

@media screen and (max-width: 400px) {
  #header {
    font-size: 50%;
    padding: 25px 0 25px 0;
  }
}


.gradient {
    background: linear-gradient(270deg, #ff67ef, #6efa99, #fafc47, #ffa244, #ff6890);
    background-size: 1000% 1000%;
    -webkit-animation: gradientanim 7s ease infinite;
    animation: gradientanim 7s ease infinite;
}

main {
    margin-top: 10px;
    padding: 25px;
}

#space {
  position: fixed;
  z-index: -1;
  background: black;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
.particle, .particle::after {
  position: absolute;
  background: magenta;
}
.particle::after {
  content: "";
  right: 100vw;
}
.particle:nth-child(1){
  animation: move 15s infinite linear;
}
.particle:nth-child(2){
  animation: move 30s infinite linear;
}
.particle:nth-child(3){
  animation: move 60s infinite linear;
}
.particle:nth-child(1), .particle:nth-child(1)::after{
  box-shadow: var(--shadows1);
  width: 2px;
  height: 2px;
}
.particle:nth-child(2), .particle:nth-child(2)::after{
  box-shadow: var(--shadows2);
  width: 4px;
  height: 4px;
  z-index: -2;
}
.particle:nth-child(3), .particle:nth-child(3)::after{
  box-shadow: var(--shadows3);
  width: 5px;
  height: 5px;
  z-index: -3;
}
@keyframes move {
  from {transform: translateX(0vw);}
  to {transform: translateX(100vw);}
}

footer {
    position: fixed;
    bottom: 0%;
    width: 100vw;
    text-align: center;
    color: black;
    height: 25px;
}

footer a{
    color: black;
}

footer a:hover{
    text-shadow: white 1px 1px 3px;
    transition: 0.25s;
    animation: vibrate 0.3s linear infinite both;
}
#content {
    display: grid;
    grid-template-columns: auto auto;
    grid-row-gap: 25px;
    justify-items: center;
}

#content button{
    display: block;
    border: none;
    background-color: #222;
    width: 35vw;
    height: fit-content;
    font-family: "Perfect DOS VGA 437 Win", Menlo, Consolas, monospace;
    font-size: 40px;
    transition: 0.3s;
    box-shadow: 0px 0px 0px; 
}

button a{
    text-decoration: none;
    color: #ff67ef;
}

#content button:hover{
    transition: 0.3s;
    box-shadow: 5px 5px 0px;
}

#content button:nth-child(1){
    color: #ff67ef;
    text-decoration: none;
}
#content button:nth-child(2){
    color: #6efa99;
}
#content button:nth-child(3){
    color: #fafc47;
}
#content button:nth-child(4){
    color: #ffa244;
}

main p{
    font-size: 24px;
}

@keyframes colortext{
    0% {color: #ff67ef;}
    20%{color: #6efa99;}
    40%{color: #fafc47;}
    60%{color: #ffa244;}
    80%{color: #ff6890;}
    100%{color: #ff67ef;}
}
@-webkit-keyframes colortext{
    0% {color: #ff67ef;}
    20%{color: #6efa99;}
    40%{color: #fafc47;}
    60%{color: #ffa244;}
    80%{color: #ff6890;}
    100%{color: #ff67ef;}
}

@-webkit-keyframes gradientanim {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@keyframes gradientanim {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-webkit-keyframes vibrate {
  0% {
    -webkit-transform: translate(0);
            transform: translate(0);
  }
  20% {
    -webkit-transform: translate(-2px, 2px);
            transform: translate(-2px, 2px);
  }
  40% {
    -webkit-transform: translate(-2px, -2px);
            transform: translate(-2px, -2px);
  }
  60% {
    -webkit-transform: translate(2px, 2px);
            transform: translate(2px, 2px);
  }
  80% {
    -webkit-transform: translate(2px, -2px);
            transform: translate(2px, -2px);
  }
  100% {
    -webkit-transform: translate(0);
            transform: translate(0);
  }
}
@keyframes vibrate {
  0% {
    -webkit-transform: translate(0);
            transform: translate(0);
  }
  20% {
    -webkit-transform: translate(-2px, 2px);
            transform: translate(-2px, 2px);
  }
  40% {
    -webkit-transform: translate(-2px, -2px);
            transform: translate(-2px, -2px);
  }
  60% {
    -webkit-transform: translate(2px, 2px);
            transform: translate(2px, 2px);
  }
  80% {
    -webkit-transform: translate(2px, -2px);
            transform: translate(2px, -2px);
  }
  100% {
    -webkit-transform: translate(0);
            transform: translate(0);
  }
}
