body {
  background-color: #ececf3;
  font-family: cursive;
}

h1 {
  font-size: 3rem;
}
.text {
  margin: 20px;
  padding: 20px;
  text-align: center;
}
.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  margin: 20px;
}
.ball {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #1a1a2e, #000);
  margin: 20px auto;
  position: relative;
  box-shadow: 10px 0 90px #391b5a;
}
button,
input {
  background-color: #dcdce4;
  padding: 20px;
  border-radius: 10px;
  /* color: #202887; */
  font-size: 1.1rem;
}
input {
  width: 500px;
}
.window {
  position: absolute;
  width: 160px;
  height: 160px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: 70px;
  left: 70px;
  color: #fff;
  font-size: 1.2rem;
  text-align: center;
  line-height: 160px;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.ball.shake {
  animation: shake 0.6s;
}

@keyframes shake {
  0% {
    transform: translate(1px, 1px) rotate(0deg);
  }
  10% {
    transform: translate(-1px, -2px) rotate(-1deg);
  }
  20% {
    transform: translate(-3px, 0px) rotate(1deg);
  }
  30% {
    transform: translate(3px, 2px) rotate(0deg);
  }
  40% {
    transform: translate(1px, -1px) rotate(1deg);
  }
  50% {
    transform: translate(-1px, 2px) rotate(-1deg);
  }
  60% {
    transform: translate(-3px, 1px) rotate(0deg);
  }
  70% {
    transform: translate(3px, 1px) rotate(-1deg);
  }
  80% {
    transform: translate(-1px, -1px) rotate(1deg);
  }
  90% {
    transform: translate(1px, 2px) rotate(0deg);
  }
  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}

.show-answer {
  opacity: 1;
}
.glow {
  font-size: 80px;
  color: #fff;
  text-align: center;
  animation: glow 1s ease-in-out infinite alternate;
}

@-webkit-keyframes glow {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60073,
      0 0 40px #e60073, 0 0 50px #e60073, 0 0 60px #e60073, 0 0 70px #e60073;
  }

  to {
    text-shadow: 0 0 20px #fff, 0 0 30px #ff4da6, 0 0 40px #ff4da6,
      0 0 50px #ff4da6, 0 0 60px #ff4da6, 0 0 70px #ff4da6, 0 0 80px #ff4da6;
  }
}
