body {
  background-color: lavenderblush;

  /* font-family: "Tangerine", cursive;
  font-size: 30px; */
  margin-bottom: 30px;
}
.header{
    color:rgb(246, 82, 130) ;
}
a {
  color: rgb(246, 82, 130);
  text-decoration: underline;
}
a:hover {
  color: darkmagenta;
  text-decoration: none;
}

.container {
  margin: 120px auto;
  max-width: 600px;
}
h1 {
  font-family: "Petit Formal Script", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 45px;
  line-height: 1.5;
  text-align: center;
}
header {
  margin-bottom: 30px;
}
/*.form-container {
  background-color: aliceblue;
  margin-bottom: 30px;
   border-radius: 60px 5px;
  box-shadow: 0px 20px 60px rgba(65, 50, 100, 0.08);
}
*/

form {
  padding: 16px;
  background-color: aliceblue;
  border-radius: 60px 5px;
  box-shadow: 10px 10px 20px rgba(87, 25, 75, 0.2);
  display: flex;
  margin-bottom: 30px;
}
.search-bar {
  padding: 10px;
  border: 1px solid rgba(39, 33, 66, 0.5);
  font-size: 16px;
  font-family: "Petit Formal Script", cursive;
  border-radius: 60px 5px;
  line-height: 20px;
  width: 80%;
  text-align: center;
}
.submit-button {
  font-size: 15px;
  font-weight: 300;
 font-family: "Petit Formal Script", cursive;
  color: rgba(50, 50, 52, 0.878);
  margin-left: 10px;
  border: none;
  border: 1px solid gray;
  background: linear-gradient(
    109.6deg,
    rgb(255, 221, 225) 11.2%,
    rgb(255, 255, 255) 92.2%
  );
  border-radius: 60px 5px;
  padding: 14px 24px;
  width: 150px;
}

.submit-button:hover {
  cursor: pointer;
  background: linear-gradient(
    109.6deg,
    rgb(255, 182, 193) 11.2%,
    rgb(255, 240, 245) 92.2%
  );
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
}
.poem {
 color: rgba(50, 50, 52, 0.804);
  font-size: 32px;
  font-family: Tangerine;
  background-color: aliceblue;
  padding: 20px;
  line-height: 1.5;
  border-radius: 60px 5px;
  border-left: 4px solid pink;
  border-right: 4px solid pink;
  box-shadow: 10px 10px 20px rgba(87, 25, 75, 0.2);
  /* opacity: 0;
  transition: opacity 0.8s ease-in-out;
  */
}
.poem.show {
  opacity: 1;
}

.hidden {
    display: none;
}
footer {
  text-align: center;
  font-size: 12px;
  font-family: 'Courier New', Courier, monospace;
  margin-top: 30px;
}

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

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