form,
fieldset {
  display: block;
}

.titulo {
    text-align: center;
    margin-bottom: 1rem;
}

.titulo h1 {
    font-size: 3rem;
    color: #2c3e50;
}

.titulo p {
    font-size: 1.5rem;
    color: #7f8c8d;
}

form {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: fit-content;
}

fieldset {
    border: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;

    width: fit-content;
}

legend {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 1rem;
    font-weight: 600;
    color: #34495e;
}

input[type="text"],
input[type="email"] {
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    transition: border-color 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #2980b9;
}

button {
  background-color: #00a8ff;
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 27rem;
}

button:hover {
    background-color: #1c5980;
}
