@import "https://fonts.googleapis.com/css2?family=Aleo&display=swap";
* {
  font-family: Aleo, sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
}
html,
body {
  color: #9d988a;
  font-size: 0.9em;
  overflow: hidden;
}
.webgl {
  position: fixed;
  top: 0;
  left: 0;
  outline: none;
}

#container {
  background-image: url(https://assets.codepen.io/262181/intro-bg.jpg);
  background-size: cover;
  background-position: center;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 101;
  position: absolute;
}

#lottie {
  height: 40vh;
  max-height: 400px;
  z-index: 102;
  display: flex;
}

#explanation {
  display: flex;
  width: 66vw;
  max-width: 300px;
  background-color: #00000040;
  padding: 16px;
}

#enter {
  width: auto;
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

button {
  cursor: pointer;
  margin-top: 4px;
  padding: 4px 12px;
  background-color: #9d988a;
  color: #6b2414;
  border-radius: 4px;
  border: none;
  animation: bounce 1.6s infinite ease-in-out;
  transition: transform 0.3s ease;
}

@keyframes bounceClick {
  0%   { transform: scale(1); }
  30%  { transform: scale(0.9) translateY(2px); }
  50%  { transform: scale(1.05) translateY(-5px); }
  70%  { transform: scale(0.95) translateY(1px); }
  100% { transform: scale(1) translateY(0); }
}

button:active {
  animation: bounceClick 0.4s ease;
}