body {
  background-color: rgb(161, 202, 236);
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

h1 {
  color: white;
  text-align: center;
  margin: 20px 0;
  font-family: "Arial Black", Gadget, sans-serif;
}

h2 {
  margin: 0 0 20px 0;
  text-align: center;
  font-family: "Arial Black", Gadget, sans-serif;
  color: rgb(51, 0, 128);
}

footer {
  color: white;
  font-size: 16px;
  line-height: 1.6;
  margin: 20px;
  text-align: center;
}

a {
  color: rgb(51, 0, 128);
}

.advice-container {
  background-color: white;
  border-radius: 3px;
  padding: 100px;
  margin: 10px auto;
  max-width: 800px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-left: 3px solid rgb(51, 0, 128);
  text-align: left;
  display: none; /* hidden by default */
}

.form {
  text-align: left;
  margin: 20px 0;
}

input[type="text"] {
  padding: 10px 15px;
  border: rgb(51, 0, 128);
  border-radius: 7px;
  font-size: 18px;
  width: 300px;
  margin-right: 10px;
}

button {
  padding: 10px 20px;
  background-color: rgb(51, 0, 128);

  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.container {
  max-width: 800px;
  padding: 20px;
  margin: 0px auto;
  text-align: left;
}

/* Blinking effect */



#advice-text {
  font-size: 18px;
  text-align: left;
  margin: 0;
  line-height: 1.6;
  white-space: pre-line; /* keeps line breaks */
}




.blinking {
  font-weight: bold;
  font-size: 20px;
  color: rgb(51, 0, 128);
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.fade-out {
  animation: fadeOutUp 1s forwards;
}

@keyframes fadeOutUp {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px);
    visibility: hidden;
  }
}
