body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: #f9f9f9;
  color: #333;
  min-height: 100vh;
  padding: 20px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #000;
  text-align: center;
  font-weight: bold;
}

button {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

button#generate-quote-btn {
  background-color: #007bff;
  color: #fff;
  margin-bottom: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button#generate-quote-btn:hover {
  background-color: #0056b3;
}

button#add-quote {
  background-color: #fff;
  color: #000;
  border: 2px solid #000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

button#add-quote:hover {
  background-color: #f0f0f0;
}

.displayed-quote-container {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
  max-width: 600px;
  text-align: center;
  margin-bottom: 20px;
}

#displayed-quote {
  font-size: 1.5rem;
  font-style: italic;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.6;
}

#displayed-quote::before {
  content: "\201C";
  font-size: 2rem;
  color: #ccc;
  vertical-align: top;
  margin-right: 5px;
}

#displayed-quote::after {
  content: "\201D";
  font-size: 2rem;
  color: #ccc;
  vertical-align: bottom;
  margin-left: 5px;
}

form {
  background: #fff;
  padding: 25px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  width: 100%;
  display: none;
  flex-direction: column;
  gap: 15px;
  margin-top: 10px;
}

form input,
form textarea {
  width: 90%;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s ease;
  margin-bottom: 10px;
}

form input:focus {
  border-color: #007bff;
}

form button {
  align-self: flex-start;
  background-color: #28a745;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

form button:hover {
  background-color: #218838;
}

#errMsg {
  color: red;
  font-size: 1rem;
  margin-top: 15px;
}

.btns {
  text-align: center;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  button {
    font-size: 1rem;
    padding: 12px 20px;
  }

  .displayed-quote-container {
    padding: 20px;
  }

  #displayed-quote {
    font-size: 1.2rem;
  }

  form {
    padding: 20px;
    width: 100%;
  }

  form input {
    font-size: 0.95rem;
  }

  form button {
    font-size: 0.95rem;
    padding: 10px 20px;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  button {
    font-size: 0.9rem;
    padding: 10px 15px;
  }

  .displayed-quote-container {
    padding: 15px;
  }

  #displayed-quote {
    font-size: 1rem;
  }

  form {
    padding: 15px;
    width: 100%;
  }

  form input {
    font-size: 0.9rem;
  }

  form button {
    font-size: 0.9rem;
    padding: 10px 15px;
  }
}
