/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    background-color: #fff; /* Fondo blanco */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100vh;
    color: #333; /* Texto negro */
}

/* Título de la página */
h1 {
    color: #D4AF37; /* Color oro */
    text-align: center;
    font-size: 3rem; /* Aumenta el tamaño del texto */
    margin-top: 20px;
    margin-bottom: 30px; /* Espacio debajo del título */
}

/* Contenedor principal del formulario */
form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    margin: 20px;
    flex: 1; /* Hace que el formulario ocupe el espacio restante */
    box-sizing: border-box;
}

/* Estilo de las etiquetas */
label {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
    color: #333;
}

/* Estilo de los campos de entrada (input) */
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px;
    margin: 8px 0 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #f9f9f9;
    color: #333;
}

/* Estilo de los campos de texto (textarea) */
textarea {
    resize: vertical;
    min-height: 120px;
}

/* Estilo de los botones */
button {
    background-color: #D4AF37; /* Color oro */
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #C27C3A; /* Color oro oscuro */
}

/* Estilo de mensajes de error y éxito */
.mensaje-exito {
    background-color: #D9534F; /* Color rojo */
    color: #fff;
    font-size: 1.2rem;
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    text-align: center;
}

/* Estilos para pantallas pequeñas */
@media (max-width: 768px) {
    form {
        width: 90%;
        padding: 15px;
    }

    h1 {
        font-size: 2.5rem;
    }

    input[type="text"],
    input[type="email"],
    textarea,
    button {
        font-size: 1rem;
        padding: 10px;
    }
}

/* Estilos para pantallas muy pequeñas (móviles) */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    form {
        width: 100%;
        padding: 10px;
    }

    input[type="text"],
    input[type="email"],
    textarea {
        font-size: 0.9rem;
        padding: 8px;
    }

    button {
        font-size: 1rem;
        padding: 10px;
    }
}
