@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: 240px;
    /* margin-bottom: 34px; */
}

.custom-info {
    background-color: var(--footer-info-color);
}

.custom-info p {
    font-size: 16px;
    margin: 0px;
    font-weight: 400;
}

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: 800px;
}

.custom-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 300;
    font-family: "Inter", sans-serif;
    text-transform: uppercase;
}

.custom-links div:has(a):not(.custom-links div:has(a):last-of-type)::after {
    content: "/";
    color: var(--white);
    margin-left: 0.5em;
}

.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-flow: row wrap;
    justify-content: space-evenly;
    max-width: 400px;
    gap: 1em;
    align-items: center;
}

footer .custom-logo {
    /* margin: 3em auto 1em; */
}

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-position: center bottom;
    background-size: cover;
    height: 423px;
    max-width: 100%;
    margin: auto;
    display: grid;
    place-items: center;
}

.prefooter div {
    text-align: center;
    display: grid;
    gap: 1em;
    place-content: center;
    place-items: center;
    align-self: flex-end;
}
a.prefooter-url{
    font-weight: 900;
}
.prefooter-url, .footer_menu a {
    color: var(--white);
    text-transform: uppercase;
    text-decoration: none;
    filter: drop-shadow(var(--black) 0rem 0rem 10px);

}


.about-us {
    display: flex;
    max-width: 1280px;
    width: 100%;
    margin:  auto;
    padding: 2em 0;
    justify-content: space-evenly;
}

.about-us>div {
    height: 200px;
    display: grid;
    gap: 2em;
    grid-template-columns: 1fr;
    grid-template-rows: .15fr .75fr;
    text-align: center;
    place-items: center;
}

.about-us a {
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    word-break: break-word;
}

.about-us img {
    height: 30px;
}

.footer-links-socials {
    display: grid;
    gap: 2em;
    padding: 1em 15px;
}
.footer-links-socials .informacion-contacto .socials .header-buttons{
    display: none;
}
ul#menu-footer_menu, ul#menu-footer_menu-ingles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 530px;
    margin: auto;
    font-size: 14px;
}
@media (max-width: 1280px) {

    .home .custom-footer {
        background-position: center;
    }
}

@media (max-width: 980px) {

    .custom-footer>div {
        padding: 0 15px;
    }

    .custom-links div:has(a):not(.custom-links div:has(a):last-of-type)::after {
        content: "" !important;
        display: none !important;
        height: 0 !important;
        width: 0 !important;
        color: transparent !important;
        visibility: hidden !important;
    }

    .about-us {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5em;
        padding-bottom:1.2em;
    }
    
    .about-us div:not(:last-of-type) {
        height: 100px;
        gap: 1em;
        place-content: start center;
        place-items: start center;
    }

    .about-us div:last-of-type {
        gap: 1em;
        place-content: start center;
        place-items: start center;
    }

    .about-us img {
        height: 40px;
    }

    .custom-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1em;
    }
    
    .socials {
        display: grid;
        /* grid-template-columns: 1fr 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;
    }
}
@media (max-width: 600px) {
    ul#menu-footer_menu{
        grid-template-columns: 1fr;
        gap: 0.5em;
    }
}