body,
html {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #144154;
}

#main {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

#question-bg {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}
#escape-room {
  position: absolute;
  left: 0;
  width: 100vw;
  animation: escape-room-keyframes 1.8s cubic-bezier(0.87, 0.07, 0.5, 0.87)
    infinite alternate;
}

#question {
  font-size: 9vw;
  font-family: "Shadows Into Light", cursive;
}

#question label {
  font-weight: bold;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  width: 90vw;
}

#question input {
  width: 90vw;
  padding: 0.5rem;
  font-size: 9vw;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid white;
  border-radius: 10px;
  color: #e2fffc;
  font-family: "Shadows Into Light", cursive;
}

#question-submit {
  width: 50%;
  font-size: 9vw;
  padding: 2vw;
  border-radius: 9px;
  border: none;
  background: #feebdee6;
  font-family: "Shadows Into Light", cursive;
}

#question-input-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;

  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

#surprise {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  opacity: 0;
}

@keyframes escape-room-keyframes {
  from {
    bottom: -4vh;
  }
  to {
    bottom: 7vh;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

audio {
  position: relative;
  left: -100vw;
}
