:root {
  --text: rgb(252, 252, 252);
  --bg: black;
}
* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style-type: none;
}
html {
  scroll-behavior: smooth !important;
}
body {
  max-width: 100vw;
  overflow-x: hidden;
  font-family: "VT323", monospace, -apple-system, BlinkMacSystemFont, Segoe UI,
    Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue,
    sans-serif;
  background-color: var(--bg);
  color: var(--text);
  display: grid;
  align-items: center;
  justify-content: center;
}
h1 {
  font-size: 2.8em;
  margin: 2em 0;
  text-align: center;
  letter-spacing: 0.24em;
}
button {
  border: none;
  background: none;
}
img {
  width: 8em;
}
footer a {
  position: absolute;
  bottom: 25px;
  right: 40px;
  font-size: 1.8em;
  color: rgb(50, 50, 50);
}
footer a:hover {
  text-decoration: underline;
}

#mushrooms {
  display: flex;
  justify-content: space-around;
}

.wobble-hor-bottom {
  -webkit-animation: wobble-hor-bottom 0.8s both;
  animation: wobble-hor-bottom 0.8s both;
}

/* ----------------------------------------------
 * Generated by Animista Licensed under FreeBSD License.
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */
@-webkit-keyframes wobble-hor-bottom {
  0%,
  100% {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
  }
  15% {
    -webkit-transform: translateX(-30px) rotate(-6deg);
    transform: translateX(-30px) rotate(-6deg);
  }
  30% {
    -webkit-transform: translateX(15px) rotate(6deg);
    transform: translateX(15px) rotate(6deg);
  }
  45% {
    -webkit-transform: translateX(-15px) rotate(-3.6deg);
    transform: translateX(-15px) rotate(-3.6deg);
  }
  60% {
    -webkit-transform: translateX(9px) rotate(2.4deg);
    transform: translateX(9px) rotate(2.4deg);
  }
  75% {
    -webkit-transform: translateX(-6px) rotate(-1.2deg);
    transform: translateX(-6px) rotate(-1.2deg);
  }
}
@keyframes wobble-hor-bottom {
  0%,
  100% {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
  }
  15% {
    -webkit-transform: translateX(-30px) rotate(-6deg);
    transform: translateX(-30px) rotate(-6deg);
  }
  30% {
    -webkit-transform: translateX(15px) rotate(6deg);
    transform: translateX(15px) rotate(6deg);
  }
  45% {
    -webkit-transform: translateX(-15px) rotate(-3.6deg);
    transform: translateX(-15px) rotate(-3.6deg);
  }
  60% {
    -webkit-transform: translateX(9px) rotate(2.4deg);
    transform: translateX(9px) rotate(2.4deg);
  }
  75% {
    -webkit-transform: translateX(-6px) rotate(-1.2deg);
    transform: translateX(-6px) rotate(-1.2deg);
  }
}

@media (max-width: 700px) {
  h1 {
    margin: 2.8em 0;
    font-size: 2em;
    letter-spacing: 0.2em;
  }
  img {
    width: 6em;
  }
}

@media (prefers-reduced-motion) {
  .wobble-hor-bottom {
    -webkit-animation: none;
    animation: none;
  }
}
