@import url('./root.css');

.informacion-contacto {
    max-width: 980px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr;
    place-content: center;
    place-items: center;
    color: var(--white);
    gap: 2em;
}

.informacion-contacto ul {
    text-align: center;
}

.informacion-contacto li,
.informacion-contacto li a,
.informacion-contacto li a:hover,
.informacion-contacto li a:active,
.informacion-contacto li a:focus {
    color: var(--white);
    text-decoration: none;
}

.business-info {
    margin: 2em 0 0 0;
    color: var(--white);
}

.business-info div:first-of-type {
    margin-bottom: 14px
}

.custom-footer {
    text-align: center;
    background-color: var(--footer-color);
}

.custom-logo {
    width: 180px;
    margin-bottom: 34px;
}

.custom-info p {
    font-size: 1.1em;
    margin: 0px;
}

p.text-footer-delirium,
p.text-footer-delirium a {
    font-size: 1.4rem;
    text-decoration: none;
    color: var(--white);
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.custom-links {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    padding: 37px 0 44px;
    display: grid;
    grid-template-columns: repeat(5, auto);
    max-width: 650px;
}

.custom-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 300;
    font-family: "Inter", sans-serif;
}

.custom-kit {
    background-color: var(--footer-color);
    padding-top: 30px;
}

.custom-kit * {
    color: var(--white) !important;
}

.programa-kit>a {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    text-decoration: none;
    color: var(--white);
    margin: 20px auto;
}

.footer-logos {
    margin: 2em auto 0;
    padding: 0 0 50px;
    max-width: 980px;
    display: flex;
    justify-content: center;
    gap: 3em;
}

.footer-logos img {
    width: 181px;
    margin: 0 20px;
}

.footer-logos img:first-child {
    width: 255px;
}

.socials a, .socials p {
    text-decoration: none;
    color: var(--white);
}

.mb-1 {
    margin: 0 0 1em;
}

.socials {
    display: flex;
    gap: 1em;
    flex-flow: row;
}

.socials img {
    height: 50px;
}

/* IMAGEN DEL FOOTER */

.footer-image-bg {
    display: grid;
    place-items: center;
    place-content: center;
}

.citacion {
    z-index: 1;
    max-width: 65%;
}

.citacion p {
    z-index: 1;
    color: var(--white);
    font-size: 26px;
    text-wrap: balance;
    text-align: center;
    margin: 0;
}

.footer-image-bg {
    position: relative;
    background:
    linear-gradient(to top, var(--black) 40%, var(--white) 40%) /* Mitad superior en blanco */;
    background-repeat: no-repeat;
    background-position: center;
    height: 430px;
    max-width: 1920px;
    margin: auto;
}

/* La imagen se establece en la plantilla */

.footer-image-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 2s ease-in-out;
}

.sociales {
    display: grid;
    place-content: center;
}

.sociales h3 {
    margin: 2em auto;
}

.redes-sociales {
    display: flex;
    flex-direction: row wrap;
    justify-content: space-evenly;
    max-width: 400px
}

footer .custom-logo {
    margin: 3em auto;
}

footer div:not(.custom-kit) p, footer div:not(.custom-kit) li, footer div:not(.custom-kit) a, footer div:not(.custom-kit) {
    color: var(--white)
}

.prefooter {
    background-repeat: no-repeat;
    background-size: cover;
    height: 300px;
    max-width: 1920px;
    margin: auto;
}

.footer-pdf-links {
    max-width: 1280px;
    width: 100%;
    margin: auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    padding: 37px 15px 0;
}

.footer-pdf-links a {
    color: white;
    text-decoration: none;
}

@media (max-width: 1280px) {

    .home .custom-footer {
        background-position: center;
    }
}

@media (max-width: 980px) {
    .custom-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    
    .socials {
        grid-template-columns: 1fr;
    }

    .footer-logos {
        display: grid;
        gap: 1em;
        place-items: center;
    }

    .citacion {
        max-width: 95%;
    }

    .programa-kit>a {
        width: 95%;
        margin: auto;
        display: block;
    }

    .informacion-contacto {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2em;
    }

    .programa-kit {
        text-wrap: balance;
    }
}


@media (max-width: 600px) {
    .custom-links {
        grid-template-columns: 1fr;
        gap: .5em;
    }
}