/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: white;
  color: black;
  font-family: Verdana;
  animation: welcome 1s linear;
}

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

.card {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 1s;
  transform-style: preserve-3d;
  perspective: 60rem;
  border: 1px solid black;
}

.card-text {
  margin: 10px;
  padding: 10px;
  border: 1px solid black;
}

.card:hover {
  transform: rotateY(180deg);
}

.card:hover > .card-text {
  transform: rotateY(0deg);
}

#bounce {
  width: 100%;
  position: fixed;
  bottom: 0;
  text-align: center;
  color: #000;
  font-size: 5cqw;
  text-shadow: 0 0 10px #000;
  animation: bounce 1s infinite;
}

.snail {
  opacity: 0;
  transform: translateX(-20%);
  transition: all 2s ease-out;
  height: 20vh;
  margin-top: 80vh;
  position: relative;
  padding-left: 0;
}

.startCrawl {
  opacity: 1;
  transform: translateX(25%);
}

.enabled {
  color: #000;
  background-color: pink;
  position: sticky;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

.rise {
  animation: rising 2s ease;
}

@keyframes rising {
  from {
    transform: translateY(20%);
  }
  to {
    transform: translateY(0%);
  }
}