html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-color: #A164C2;
    color: black;
}

header {
    background-color: #F5004F;
    color: black;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin-top: 0;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 10px 0 0 0;
}

nav a {
    color: aqua;
    text-decoration: underline;
    font-weight: bold;
    padding: 5px 10px;
    transition: background-color 0.2s;
}

nav a:hover {
    background-color: black;
    border-radius: 5px;
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.form-registro {
    background-color: bisque;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-registro h2 {
    text-align: center;
    color: #F5004F;
    margin-bottom: 10px;
    font-size: 24px;
}

.form-registro label {
    font-weight: bold;
    margin-bottom: 5px;
}

.form-registro input[type="text"],
.form-registro input[type="email"],
.form-registro input[type="password"],
.form-registro input[type="tel"],
.form-registro input[type="date"] {
    width: 100%;
    padding: 10px;
    border: 2px solid #F5004F;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease-in-out;
}

.form-registro input:focus {
    border-color: #A164C2;
    box-shadow: 0 0 5px rgba(161, 100, 194, 0.7);
}

.sexo {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sexo span {
    font-weight: bold;
}

.sexo label {
    font-weight: normal;
}

.form-registro button {
    padding: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.2s ease-in-out;
}

button[type="submit"] {
    background-color: #F5004F;
    color: white;
}

button[type="reset"] {
    background-color: #ccc;
    color: black;
}

button[type="button"] {
    background-color: #A164C2;
    color: white;
}

button:hover {
    opacity: 0.9;
    transform: scale(1.03);
}

footer {
    color: white;
    background-color: #19191A;
    text-align: center;
    padding: 15px;
    margin-top: auto;
}

@media (max-width: 600px) {
    .form-registro {
        padding: 25px;
        width: 90%;
    }
}
