﻿
.contact-container {
    background: #fff;
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    width: 100vw;
    max-width: 100vw;
    animation: fadeIn 1s ease;
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}

form input,
form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

    form input:focus,
    form textarea:focus {
        border-color: #2c3e50;
        box-shadow: 0 0 5px rgba(44,62,80,0.3);
        outline: none;
    }

form button {
    width: 100%;
    padding: 16px;
    background-color: #2c3e50;
    color: #fff;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

    form button:hover {
        background-color: #34495e;
        transform: translateY(-2px);
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .contact-container {
        padding: 30px 20px;
    }
}




.container-fluid {
    padding: 1% !important;
    width: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.contact-container {
    width: 600px;
    max-width: 100vw; /* ancho máximo del formulario */
    background-color: #f8f9fa; /* opcional, para que resalte */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 15px; /* espacio entre inputs */
}

    #contactForm input,
    #contactForm textarea {
        width: 100%;
        padding: 14px 16px;
        border: 1px solid #ccc;
        border-radius: 10px;
        font-size: 16px;
        transition: border-color 0.3s, box-shadow 0.3s;
    }

        #contactForm input:focus,
        #contactForm textarea:focus {
            border-color: #2c3e50;
            box-shadow: 0 0 5px rgba(44,62,80,0.3);
            outline: none;
        }

    #contactForm button {
        padding: 14px;
        border: none;
        border-radius: 10px;
        background-color: #2c3e50;
        color: white;
        font-size: 16px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

        #contactForm button:hover {
            background-color: #34495e;
        }
