* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

header {
    text-align: center;
    padding: 30px;
    background-color: #4CAF50;
    color: white;
}

h1 {
    font-size: 2em;
}

.container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas */
    grid-gap: 20px; /* Espacio entre los elementos */
    justify-items: center;
    align-items: center;
    margin-top: 30px;
}

.icon {
    text-align: center;
}

.icon img {
    width: 200px; /* Aumentado al doble */
    height: 200px; /* Aumentado al doble */
    transition: transform 0.3s ease-in-out;
}

.icon img:hover {
    transform: scale(1.1);
}

.icon p {
    margin-top: 10px;
    font-size: 1.1em;
    color: #333;
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
    margin-top: 30px;
}

/* Estilos del scroll flotante en el pie de página */
.scrolling-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: #333;
    padding: 10px;
    font-size: 1.2em;
}

.scrolling-footer p {
    flex: 1;
    text-align: center;
    color: white;
}

.scroll-img-left,
.scroll-img-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 130px; /* Tamaño de las imágenes */
    height: 130px;
}

.scroll-img-left {
    left: -60px; /* Empieza fuera de la pantalla a la izquierda */
    animation: scrollLeftToRight 10s linear infinite;
}

.scroll-img-right {
    right: -60px; /* Empieza fuera de la pantalla a la derecha */
    animation: scrollRightToLeft 10s linear infinite;
}

/* Animaciones de desplazamiento */
@keyframes scrollLeftToRight {
    0% {
        left: -60px;
    }
    100% {
        left: 100%;
    }
}

@keyframes scrollRightToLeft {
    0% {
        right: -60px;
    }
    100% {
        right: 100%;
    }
}
