@import url(style.css);

main {
    background-color: var(--blanco);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px; 
}

#form-contacto form {
    background-color: #ffffff;
    width: 100%;
    width: 800px; 
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid var(--gris-claro);
}

#form-contacto h2 {
    color: var(--marron);
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

label {
    color: var(--verde);
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    min-width: 100%; 
    max-width: 100%; 
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 2px solid var(--gris-claro);
    border-radius: 8px;
    box-sizing: border-box;
    background-color: #fafafa;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus, 
textarea:focus {
    border-color: var(--verde);
    background-color: #fff;
}

textarea {
    min-height: 120px; 
    resize: none;
    overflow-y: auto; 
}

.form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.form-buttons button {
    flex: 1;
    width: 100%;
}

.btn-reset {
    background-color: transparent;
    color: var(--verde);
    border: 2px solid var(--verde);
}

.btn-reset:hover {
    background-color: #f1f8e9; 
    color: var(--verde);
}