
/* Fuente externa aplicada */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    background: linear-gradient(to right, #74ebd5, #ACB6E5);
    color: #2d3436;
}

/* Grid Layout */
.grid-container {
    display: grid;
    grid-template-areas: 
        "header"
        "contenido"
        "footer";
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
}

.header {
    grid-area: header;
    width: 100%;
}

.contenido {
    grid-area: contenido;
    padding: 20px;
}

.footer {
    grid-area: footer;
    background-color: #2d3436;
    color: white;
    text-align: center;
    padding: 10px;
}

.footer .redes a {
    color: #81ecec;
    text-decoration: none;
    margin: 0 10px;
}

.footer .redes a:hover {
    text-decoration: underline;
}

/* Banner responsivo */
.banner {
    position: relative;
    width: 100%;
    height: 30vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
}

.slide.active {
    display: block;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Columnas CSS */
.texto-columnas {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.columna {
    flex: 1 1 30%;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.columna img {
    width: 100%;
    height: auto;
    margin-top: 10px;
}

/* Animación con keyframes */
.titulo-animado {
    animation: zoomColor 3s infinite alternate;
    text-align: center;
    margin-bottom: 20px;
}

@keyframes zoomColor {
    from { transform: scale(1); color: #2d3436; }
    to { transform: scale(1.2); color: #0984e3; }
}

/* Estilo formulario simple */
input[type="text"], input[type="email"] {
    width: 90%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="submit"] {
    background-color: #0984e3;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #74b9ff;
}
