body {
  background-color: #ffe100;
  font-family: Helvetica, Arial, sans-serif;
}

.container {
  margin: 80px;
  margin-right: 160px;
}
header {
  margin-bottom: 32px;
}

h1 {
  padding-top: 80px;
  text-align: left;
  font-weight: 800;
  font-size: 90px;
  line-height: 1;
  color: #101010;
}

.form-container {
  display: flex;
  flex-direction: column;
  padding-top: 128px;
  padding-bottom: 128px;
  gap: 16px;
  width: 100%;
  margin-bottom: 40px;
}

.hint {
  display: block;
  font-size: 22px;
  line-height: 1.5;
  opacity: 0.8;
}

form {
  display: flex;
  gap: 24px;
}

.instructions {
  flex: 1;
  padding: 40px;
  background-color: #101010;
  border: 0px solid rgba(40, 40, 40, 0.5);
  border-radius: 99px;
  width: 60%;
  font-size: 40px;
  color: #d8d8d8;
  line-height: 40px;
}

.submit-button {
  min-width: 240px; /* ensures "submit" fits */
  white-space: nowrap; /* prevents text breaking */
  background: #0f0f0f;
  color: #e8e8e8;
  border: none;
  width: 150px;
  font-size: 40px;
  border-radius: 99px;
  padding: 16px 24px;
}

.joke {
  margin-top: 120px;
  margin-bottom: 40px;
  margin-right: 240px;
  font-size: 56px;
  padding: 32px;
  line-height: 1.2;
  border-left: 8px solid #141414;
}

.joke strong {
  color: #141414;
}

.hidden {
  display: none;
}

footer {
  font-size: 14px;
}

.generating {
  animation: blink-animation 1s steps(5, start) infinite;
}

@keyframes blink-animation {
  to {
    visibility: hidden;
  }
}
@-webkit-keyframes blink-animation {
  to {
    visibility: hidden;
  }
}
