@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient( 177.8deg,  rgba(255,128,0,1) 9.2%, rgba(232,211,59,1) 86.8% );

}


.passcode-container {
  width: 300px;
  height: auto;
  padding: 40px 30px;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  z-index: 3;
}

h4 {
  font-size: 20px;
  color: #121212;
}

.form {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
}

.input_field_box {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.input_field_box input {
  border: none;
  max-width: 20%;
  height: 60px;
  text-align: center;
  border-radius: 5px;
  background: #f0f0f0;
  font-size: 25px;
}

.input_field_box input::-webkit-inner-spin-button,
.input_field_box input::-webkit-outer-spin-button {
  display: none;
}

.input_field_box input:focus {
  outline: 1.5px solid #00b991;
  outline-offset: 2px;
}

form button {
  margin-top: 25px;
  width: 92%;
  color: #525252;
  font-size: 16px;
  padding: 10px 0;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  pointer-events: none;
  cursor: pointer;
  background: #e9d585;
  transition: all 0.2s ease;
}

form button.active {
  background: #ffcc00;
  pointer-events: auto;
  color: #000000;
}

form button:hover {
  background: #e6b801;
}

.author {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  display: none;
  opacity: 50%;
}

/* Message */
.message-container {
  width: calc(100% - 32px);
  height: auto;
  padding: 30px 8px 20px 8px;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  z-index: 3;
  display: none;
  z-index: 3;
}


h2 {
  padding: 12px 12px;
  margin-bottom: 5px;
  font-size: 0.8rem;
  word-break: break-all;
}

h1 {
  font-size: 1.3rem;
  font-weight: bold;
  color: purple;
}

h2 span {
  color: purple;
}

.button-next {
  width: 50px;
  height: 30px;
  color: #525252;
  font-size: 20px;
  margin-top: 5px;
  /* margin-left: 300px; */
  padding-bottom: 2.5px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: #ffcc00;
  transition: all 0.2s ease;
  position: static;
  display: inline;
  float: right;

}

.message {
  display: none;
}


/* chooloate rain */
#rain-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
  /* Lower z-index */
}

#rain {
  position: relative;
  width: 100%;
  height: 100%;
}

.drop {
  position: absolute;
  opacity: 0;
  animation: fall linear infinite;
}

@keyframes fall {
  0% {
    transform: translateY(-30vh);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}