@font-face {
    font-family: 'Aller Regular';
    src: url('../fonts/Aller/Aller_Std_Rg.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
body {
    display: flex;
    flex-direction: column;
}
.space{
    display: flex;
}
.footer {
    width: 100vw;
    height: 100%;
    position: relative;
    z-index: 60;

}
.background-footer {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-image: url('../webp/pie_oficial.webp'); /* Asegúrate de usar 'background-image' en lugar de 'background' para evitar sobreescribir otros estilos */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}
.footer-container{
    position: relative;
    width: 95%;
    height: 100%;
    display: flex;
    align-items: center;
    margin-left:4vw;
    gap: 2vh;

}
.footer-links{
    display:flex;
    align-items: center;
    justify-content: center;
}
.footer-left{
    position: relative;
    width:20%;
    height:100%;
    display: flex;
    flex-direction: column;
    gap: 15%;
}
.footer-logo-lr{
    margin-top: 70px;
    width: auto;
    height: auto;
}
.footer-logo-mantis{
    width: 50%;
    height: 15%;
}

.footer-right {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20%;
    height: 20vw;
}

.footer-logo-ema {
    width: auto;
    height: 50%;
    pointer-events: none; /* Evita que se haga clic en la imagen */
    user-select: none; /* Evita que se seleccione y se copie la imagen */
}

.footer-links{
    display: flex;
    justify-content:center;
    align-items:center;
    width: 100%;
    height: 100%;
}
.footer-link{
    display:flex;
    justify-content: center;
    align-items:center;
    width:auto;
    padding-left:0.35vw;
    padding-right: 0.35vw;
    border-right: solid 0.15rem #ffffff;
    height: 5vh;
}
.footer-links a{
    font-size: 25px;
    color: white;
    text-decoration: none;
    font-family: 'Aller Regular';
}
.footer-link:last-child {
    border-right: none; /* Elimina el borde del último enlace */
}
.footer-copyright{
    height:auto;
    text-align: center;
    color:white;
    font-size: 20px;
    margin-bottom: 50px;
    position: relative;
}
.footer-copyright p{
    font-family: 'Aller Regular';
    color: white;
}
@media screen and (min-width: 2560px) {
    .footer-links a{
        font-size: 45px;
    }
    .footer-copyright{
        font-size: 40px;
    }
}
@media screen and (min-width: 3440px){
    .footer-logo-mantis{
        margin-top: 70px;
    }
    .footer-link {
        padding-left: 1.35vw;
        padding-right: 1.35vw;
    }
}
@media (max-width:1920px) and (min-width:1441px){
    .footer{
        width: auto;
        height: 450px;
        justify-content:center;
    }
    .background-footer{
        display:flex;
    }
    .footer-container{
        width: 98%;
        height: 70%;
        align-items: unset;
        justify-content: center;
        gap: 1.3%;
        margin:60px 0 0 40px;
        bottom: 0;
    }
    .footer-left{
        width:20%;
        height: 100%;
        margin:0 0 0 5%;
        justify-content: center;
        gap:50px;
    }
    .footer-logo-lr{
        width:100%;
        height: auto;
        margin:0 0 0;
    }
    .footer-logo-mantis{
        width: 50%;
        height:auto;
    }
    .footer-links{
        width:100%;
        height: auto;
        margin:0 0 0 0;
    }
    .footer-links a{
        padding:0 0 0 0;
        font-size: 20px;
    }
    .footer-link{
        width: 100%;
        height: 25%;
    }
    .footer-right{
        width: 20%;
        height: 100%;
        justify-content: flex-end;
        margin-right: 60px;
    }
    .footer-logo-ema{
        width:10vw;
        height: auto;
    }
    .footer-copyright{
        width: 100%;
        height:10%;
        display:flex;
        justify-content: center;
        align-items: flex-end;
        font-size: 100%;
        margin:0 0 0 0;
    }
}
@media (max-width:1440px) and (min-width:769px){
    .footer{
        width: 100%;
        height: 43vh;
        align-items: center;
        gap: 75px;
    }
    .footer-container{
        width: 95%;
        height: 80%;
        margin-top: 0;
        margin-left: 15px;
        margin-right: 15px;
    }
    .footer-left{
        margin-top: 10px;
        width:25%;
        height: 100%;
        justify-content: center;
    }
    .footer-logo-lr{
        margin-top: 15px;
        width:100%;
        height: auto;
    }
    .footer-logo-mantis{
        width: 50%;
        height:auto;
    }
    .footer-links{
        width:100%;
        height: auto;
    }
    .footer-links a{
        padding-left:auto;
        padding-right: 1px;
        font-size: 0.72rem;
    }
    .footer-link{
        width: 100%;
    }
    .footer-right{
        width: 15%;
        height: 100%;
        justify-content: flex-end;
    }
    .footer-logo-ema{
        width:10vw;
        height: auto;
    }
    .footer-copyright{
        width: 100%;
        font-size: 80%;
        margin-bottom: 2%;
    }
}
@media (max-width:768px) and (min-width:426px){
    .footer{
        width: 100%;
        height: auto;
        justify-content: center;
    }
    .footer-container{
        width: 95%;
        height: 35%;
        margin-left: 20px;
        align-items: center;
        justify-content: center;
        gap: 2%;
        margin-top: 10px;
        margin-left: 5%;
    }
    .footer-left{
        width:20%;
        height: 100%;
        margin-top: 0;
        justify-content: center;
        gap: 15px;
    }
    .footer-logo-lr{
        margin-top: 0;
        width:auto;
        height: auto;
    }
    .footer-logo-mantis{
        width: 50%;
        height:auto;
    }
    .footer-links{
        width:50%;
        flex-wrap: wrap;
        gap:10px;
    }
    .footer-link{
        width: 45%;
        height: 40%;
    }
    .footer-links a{
        font-size:0.8rem;
        border-right: none;
    }
    .footer-right{
        width: 30%;
        height: 40%;
    }
    .footer-logo-ema{
        width: 60%;
        height: auto;
    }
    .footer-copyright{
        font-size: 45%;
        margin-bottom: 5px;
    }
    .space {
        display: none;
    }
}
@media (max-width:425px)and ( min-width:320px)  {
    .footer{
        width: 100%;
        height: 100%;
        justify-content: center;
    }
    .footer-container{
        width: 100%;
        height: 45%;
        align-items: center;
        justify-content: center;
        gap: 2%;
        margin:20px 0 0 0;
    }
    .footer-left{
        width:20%;
        height: 10%;
        justify-content: center;
        gap: 10px;
    }
    .footer-logo-lr{
        margin-top:0;
        width:auto;
        height: auto;
    }
    .footer-logo-mantis{
        width: 50%;
        height:auto;
    }
    .footer-links {
        width: 45%;
        height: 30%;
        flex-wrap: wrap;
    }
    .footer-link {
        width: 50%; /* Cada enlace ocupará el 50% del ancho del contenedor, creando dos columnas */
        margin-bottom: 10px;
        border-right: none; /* Elimina el borde derecho para evitar bordes entre columnas */
        height: 80%; /* Ajusta la altura automáticamente */
    }
    .footer-links a{
        font-size: 60%;
        text-align: center;
    }
    .footer-link:last-child {
        border-right:none;
    }
    .footer-right{
        width: 20%;
        height: 40%;
        flex-direction: flex-start;
    }
    .footer-logo-ema{
        width: 80%;
        height: 100%;
    }
    .footer-copyright{
        font-size: 40%;
        margin-bottom: 5px;
    }
    .space {
        display: none;
    }
}
@media screen and (min-width: 7680px){
    .footer-links a {
    font-size: 6rem;
    }
    .footer-copyright {
        font-size: 5rem;
    }
    .footer-link {
        border-right: solid 5px #ffffff;
    }

}