body {
  background-image: url("../images/background.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-blend-mode: lighten;
  background-color: rgba(255, 255, 255, 0.5);
  font-family: Helvetica, Arial, sans-serif;
}

a {
  color: #16592f;
  text-shadow: #3fae6e;
}

.main-container {
  margin: 30px auto;
  max-width: 850px;
}

.form-container {
  background-color: white;
  margin-bottom: 20px;
  border-radius: 30px;
  box-shadow: 0px 20px 60px rgba(65, 50, 100, 0.08);
  padding: 15px 20px;
}

form {
  display: flex;
  border-color: #173523;
}

.hint {
  line-height: 1.5;
  margin-top: 5px;
  opacity: 0.6;
  font-size: 12px;
  margin-left: 15px;
}

.card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.hidden {
  display: none;
}

header {
  margin-bottom: 30px;
}

h1 {
  margin-top: 100px;
  padding-top: 20px;
  background: linear-gradient(135deg, #173523, #5fc986);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #5fc986;
  border-radius: 2px;
  margin: 10px auto 0;
}

.recipe-input {
  flex: 1;
  padding: 14px 20px;
  font-size: 16px;
  border-radius: 30px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  outline: none;
  transition: all 0.3s ease;
}

.recipe-input:focus {
  border-color: #5fc986;
  box-shadow: 0 0 10px rgba(95, 201, 134, 0.3);
}

.submit-button {
  padding: 14px 24px;
  border-radius: 30px;
  border: none;
  background-color: #5fc986;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background-color: #3fae6e;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(95, 201, 134, 0.3);
}

.recipe {
  background-color: #f9f7fe;
  padding: 20px;
  border-radius: 20px;
  border-left: 4px solid #5fc986;
}

.recipe:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

footer {
  text-align: center;
  font-size: 15px;
  margin-top: 200px;
  color: #173523;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.5);
  padding: 15px;
  border-radius: 10px;
}

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

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