/*El todo de Im_JVallejo */
body {
    margin: 0;
}

.footer {
    background: black;
    color: white !important;
}

.foocontainer {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 10px !important;
    font-family: 'Poppins', sans-serif !important;
}

/* El top */
.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.izquierda {
    margin-top: 30px;
    flex: 1;
    text-align: left;
}

.izquierda p {
    margin: 0;
}

.derecha {
    margin-top: 30px;
    flex: 1;
    text-align: right;
}

.derecha p a {
    text-align: right;
    text-decoration: none;
    font-weight: 400;
    font-size: 10px !important;
    font-family: 'Poppins', sans-serif !important;
    color: white;
}

.espaciado {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* El divider*/
.divider {
    width: 100%;
    height: 1px;
    background-color: white;
    margin: 20px 0;
}

/* El bottom */
.txtout {
    margin-top: 30px;
    color: white;
    text-align: center;
    font-size: 10px !important;
    font-family: 'Poppins', sans-serif !important;
}

.bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    /* Permite que los elementos se envuelvan */
}

.bottom img {
    max-width: 130px;
    height: auto;
}

/* El copyright */
.copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.copyright .text {
    margin: 0;
    text-align: center;
    color: white;
    font-weight: 400;
    margin-bottom: 20px;
}

/* Media Queries */
@media (max-width: 1536px) {
    .foocontainer {
        padding: 0 15px;
    }
}

@media (max-width: 1280px) {
    .foocontainer {
        padding: 0 10px;
    }
}

@media (max-width: 1260px) {
    .foocontainer {
        max-width: 90%;
    }
}


@media (max-width: 1024px) {
    .bottom {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .top {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .izquierda,
    .derecha a {
        text-align: left;
    }

    .bottom {
        text-align: center;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        justify-items: center;
    }

    .bottom img {
        max-width: 130px;
    }

    .copyright {
        flex-direction: column;
        align-items: center;
    }

    .copyright .text {
        margin-bottom: 10px;
    }
}

@media (max-width: 640px) {
    .top {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .izquierda,
    .derecha a {
        text-align: left;
    }

    .bottom {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }

    .bottom img {
        max-width: 110px;
    }
}

@media (max-width: 420px) {
    .foocontainer {
        max-width: 100%;
    }

    .top {
        flex-direction: column;
        align-items: center;
    }

    .izquierda p,
    .derecha p {
        text-align: center;
    }

    .bottom {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .bottom img {
        max-width: 120px;
    }
}
