/* GENERAL */

* {
    box-sizing: border-box;
}

html, body {
    width: 100vw;
    height: 100vh;
    padding: 0;
    margin: 0;
    overflow: auto;
}

body.invisible {
    visibility: hidden;
}

/* CABEZERA */

#cabezera {
    position: absolute;
    background: linear-gradient(to right, #000000d7, #0658a0a8);
    height: 5.5vh;
    width: 100vw;
    top: 0;
    right: 0;
    flex-direction: row;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    /* box-shadow: 0 0 0 0.1vh rgba(255, 255, 255, 255); */
}

#subCabIzq {
    width: 60vw;
    height: 5vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: start;
}

#logoInicio {
    width: 10vw;
    object-fit: fill;
    cursor: pointer;
    margin-left: 1.5vw;
}

#textoIOT {
    color: white;
    font-size: 1.1vw;
    margin-right: 1vw;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
}

#textoTelefono {
    color: white;
    font-size: 1.1vw;
    margin-right: 1vw;
    font-family: Arial, Helvetica, sans-serif;
}

#subCabDer {
    width: 40vw;
    height: 5vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: end;
}

#iconosCabezera {
    width: 2vw;
    height: 2vh;
}

.iconosBanderas {
    width: 1.5vw;
    height: auto;
    object-fit: fill;
    margin-right: 0.5vw;
    cursor: pointer;
}

.mantenimiento {
    /* color: rgb(255, 153, 5); */
    color: #ff9905 !important;
}

/* CUERPO */

#mainIndex {
    width: 100vw;
    height: 100vh;
    position: relative;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    overflow: hidden;

}

#divMainPrincipal {
    position: relative;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    border: none;
    top: 0;
    left: 0;
}


#divLetras {
    position: absolute;
    width: 100%;
    top: 6vh;
    right: 0;
    background: rgba(0, 0, 0, 0);
    color: rgb(255, 255, 255);
    z-index: 1;
    display: flex; /* Cambiado a flexbox */
    align-items: center; /* Centrar verticalmente */
    justify-content: start;
}

#letras{
    color: rgb(255, 255, 255);
    font-size: 3.5vw;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    padding-top: 4vh;
    padding-left: 2.5vw;
}

.franjaSeparatoria {
    background: linear-gradient(to right, #ffffff 50%, #d1d1d1 100%);
    width: 100vw;
    height: 0.3vh;
    margin: 0;
    opacity: 1;
    z-index: 999;
}

#hrAbajo {
    transform: translateY(-1vh);
}

#imagenPrincipal {
    height: 47.5vh;
    width: 100vw;
    object-fit: fill;
    cursor: default;
    margin: 0;
}

/* Contenedor de la imagen */
#divImageWrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Asegúrate de que esté detrás del video */
}

#backgroundImage {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra todo el área */
}

/* Contenedor del video */
#divVisorVideo {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 0; /* Asegúrate de que el video esté encima de la imagen */
    margin: 0;
    padding: 0;
    border: none;
}

/* Video */
#videoPrincipal {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;
    object-fit: fill;
    transition: opacity 0.5s ease-in-out; /* Transición para el fundido */
    opacity: 0; /* Inicia oculto */
    z-index: 1; /* Encima del overlay */
}

/* Overlay */
.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 95%;
    background-color: black;
    z-index: 0; /* Asegurar que el overlay esté sobre el vídeo */
    opacity: 0;
    transition: opacity 0.5s ease-in-out; /* Transición para el fundido */
}

/* Spinner de carga */
.video-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    border: 6px solid rgba(255, 255, 255, 0.3);
    border-top: 6px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 3;
    display: none; /* Oculto por defecto */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.fade-in-suave {
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

#divCarrousel {
    position: absolute;
    width: 95vw;
    bottom: 6vh;
    right: 2.5vw;
    background: rgba(0, 0, 0, 0);
    color: white;
    z-index: 1;
    display: flex;
    flex-direction: row; /* Dirección horizontal */
    align-items: center; /* Centrar verticalmente */
    justify-content: space-evenly;
}

.divFlechaIzquierda {
    position: absolute;
    width: 2vw;
    height: 40vh;
    bottom: 6vh;
    left: 0.5vw;
    background: #0658a068;
    color: white;
    z-index: 2;
    display: flex;
    flex-direction: row; /* Dirección horizontal */
    align-items: center; /* Centrar verticalmente */
    justify-content: center;
}

.divFlechaDerecha {
    position: absolute;
    width: 2vw;
    height: 40vh;
    bottom: 6vh;
    right: 0.5vw;
    background: #0658a068;
    color: white;
    z-index: 2;
    display: flex;
    flex-direction: row; /* Dirección horizontal */
    align-items: center; /* Centrar verticalmente */
    justify-content: center;
}

#divCarrouselNoticias {
    position: absolute;
    width: 95vw;
    bottom: 6vh;
    right: 2.5vw;
    background: rgba(0, 0, 0, 0);
    color: white;
    z-index: 1;
    display: flex;
    flex-direction: row; /* Dirección horizontal */
    align-items: center; /* Centrar verticalmente */
    justify-content: space-evenly;
}

#divFormulario {
    position: absolute;
    width: 100%;
    bottom: 6vh;
    right: 0;
    background: rgba(0, 0, 0, 0);
    color: white;
    z-index: 1;
    flex-direction: row; /* Dirección horizontal */
    align-items: center; /* Centrar verticalmente */
    justify-content: space-around;
}

#formulario{
    width: 45vw;
    height: 40vh;
    background: linear-gradient(to right, #0000008b, #0658a0a8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

#formulario:hover{
    width: 45vw;
    height: 40vh;
    background: linear-gradient(to right, #000000e7, #0658a0e9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

.dividirFormulario{
    width: 45vw;
    height: 18vh;
    /* background: green; */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.formularioCorto{
    width: 20vw;
    height: 18vh;
    /* background: rgb(128, 0, 115); */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.formularioLargo{
    width: 25vw;
    height: 18vh;
    /* background: rgb(109, 128, 0); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding-left: 0.5vh;
}

.inputFormuCorto{
    width: 13vw;
    height: 3vh;
    margin: 0.5vh;
    border: none;
    font-size: 1vw;
    font-family: Arial, Helvetica, sans-serif;
}

.inputFormuLargo{
    width: 24vw;
    height: 11vh;
    margin: 0.5vh;
    resize: none;
    border: none;
    font-size: 1vw;
    font-family: Arial, Helvetica, sans-serif;
}

.divButtonFormulario{
    width: 45vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 0.5vh;
    margin-bottom: 4.5vh;
}

.divEnvio{
    width: 45vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.divTerminosFormulario{
    width: 44vw;
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
}

.botonFormulario {
    background: linear-gradient(to right, #0000008b, #032644a8);
    color: white;
    border: rgb(116, 116, 116) solid 0.1vw;
    padding: 1vh;
    font-size: 1.1vw;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.botonFormulario:hover {
    background: linear-gradient(to right, #202020e7, #56616be9);
    border: rgb(175, 175, 175) solid 0.1vw;
}

#textoContacto{
    font-size: 1.5vw;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0.5vh;
}

.textoFormulario{
    font-size: 1.3vw;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0.5vh;
}

.textoPoliticaFormularioUnderline{
    font-size: 1vw;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: underline;
    font-style: italic;
    cursor: pointer;
}

.textoUsoDatos{
    font-size: 1vw;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 1vh;
}

.textoEnviado{
    font-size: 1vw;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

.textoEnviadoCampos{
    font-size: 1vw;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    margin-left: 0.2vw;
}


.parteTextoFormulario{
    width: 6vw;
    display: flex;

    flex-direction: column;
    justify-content: center;
    align-items: start;
}

.parteInputFormulario{
    width: 14vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

#nombreFormulario{
    width: 40vw;
    height: 5vh;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}

#entidadFormulario{
    width: 40vw;
    height: 5vh;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}

#telefonoFormulario{
    width: 40vw;
    height: 5vh;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}


#emailFormulario{
    width: 40vw;
    height: 5vh;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}

#mensajeFormulario{
    width: 40vw;
    height: 5vh;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}

#politicaFormulario{
    width: 40vw;
    height: 5vh;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}

#faq{
    width: 45vw;
    height: 40vh;
    background: linear-gradient(to right, #0000008b, #0658a0a8);
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding: 0.5vh;
}

#faq:hover{
    width: 45vw;
    height: 40vh;
    background: linear-gradient(to right, #000000e7, #0658a0e9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

.cabezeraFaq{
    font-size: 1.5vw;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    padding: 0.2vw;
}

.textoMedEmpresaPrimero{
    font-size: 1vw;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    padding-top: 1vh;
    /* padding-bottom: 0.1vh; */
}

.textoMedEmpresa{
    font-size: 1vw;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    padding-top: 2vh;
    /* padding-bottom: 0.1vh; */
}

.textoMedFaq{
    font-size: 1vw;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    padding: 0.2vw;
}

.textoContactanosFaq{
    font-size: 1vw;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    padding: 0.2vw;
    font-weight: bold;
}

.textoPeqEmpresa{
    font-size: 0.85vw;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    /* padding: 0.2vw; */
    margin-top: 1vh;
    line-height: 1.15vw;

}

.textoPeqEmpresaUltimo{
    font-size: 0.85vw;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    /* padding: 0.2vw; */
    margin-top: 1vh;
    margin-bottom: 1.5vh;
    line-height: 1.15vw;

}

.textoPeqFaq{
    font-size: 0.85vw;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    padding: 0.2vw;
    font-weight: bold;
    margin-top: 1.2vh;
}

.textoPeqFaqFirst{
    font-size: 0.85vw;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    padding: 0.2vw;
    font-weight: bold;
}

.textoPeqFaqI{
    font-size: 0.85vw;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    padding: 0.2vw;
    font-style: italic;
}

.textoPeqFaqILast{
    font-size: 0.85vw;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    padding: 0.2vw;
    font-style: italic;
    margin-bottom: 1vh;
}

/* #divSelector {
    position: absolute;
    width: 100%;
    height: 5vh;
    bottom: 50vh;
    right: 0;
    background: rgba(0, 0, 0, 0);
    color: white;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
} */

#divSelector {
    width: 49vw;
    height: 5vh;
    color: white;
    display: flex; /* Cambiado a flexbox */
    flex-direction: row; /* Dirección horizontal */
    align-items: center; /* Centrar verticalmente */
    justify-content: center;
}

.selector {
    /* width: 14vw; */
    margin-left: 1vw;
    margin-right: 1vw;
    height: 5vh;
    display: flex; /* Cambiado a flexbox */
    flex-direction: row; /* Dirección horizontal */
    align-items: center; /* Centrar verticalmente */
    justify-content: center;
    /* background-color: #0658a057; */
    /* margin-left: 0.5vw;
    margin-right: 0.5vw; */
}

.selectorCorto {
    /* width: 10vw; */
    margin-left: 1vw;
    margin-right: 1vw;
    height: 5vh;
    display: flex; /* Cambiado a flexbox */
    flex-direction: row; /* Dirección horizontal */
    align-items: center; /* Centrar verticalmente */
    justify-content: center;
    /* background-color: #0658a057; */
    /* margin-left: 0.5vw;
    margin-right: 0.5vw; */
}

.textoSelector {
    color: white;
    font-size: 1.15vw;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
    transition: color 0.3s ease, font-size 0.3s ease;
}

.textoSelectorSin {
    color: rgba(255, 255, 255, 0.467);
    font-size: 1vw;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
    position: relative; /* Necesario para el subrayado */
    transition: color 0.3s ease, font-size 0.3s ease;
}

/* Efecto en hover para .textoSelectorSin */
.textoSelectorSin:hover {
    color: rgba(255, 255, 255, 0.804);
    font-size: 1vw; /* Ajuste del tamaño en hover */
}

/* Subrayado en hover */
.textoSelectorSin::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px; /* Ajusta la posición vertical del subrayado */
    width: 0;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.804); /* Color del subrayado */
    transition: width 0.3s ease;
}

.textoSelectorSin:hover::after {
    width: 100%;
}


#showCarouselBtn {
    background: none;
    border: none;
    cursor: pointer;
}

#divTextoAplicaciones {
    height: 10vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

#divIconos {
    height: 5vh;
    width: 100vw;
    flex-direction: row;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.iconito {
    filter: invert(100%);
    height: 7vh;
    margin-top: 1vh;
    margin-bottom: 1.5vh;
    opacity: 0.7;
}

.imagenIcono {
    height: 4vh;
    width: auto; /* Ajustar el ancho automáticamente */
    margin-top: 1vh;
    margin-bottom: 0.5vh;
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imagenIcono img {
    height: 100%;
    width: auto; /* Mantener la proporción de la imagen */
    object-fit: contain; /* Ajustar la imagen dentro del contenedor */
}

.check {
    height: 4vh;
}

.checkCampos {
    height: 3vh;
}

.logos {
    height: 7vh;
    margin-top: 1vh;
    margin-bottom: 1.5vh;
}

.dBotonFormulario{
    width: 45vw;
    height: 5vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 1vh;
}

.checkEnvio{
    width: 45vw;
    height: 5vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 1vh;
}

#divTextoPeque {
    height: 5vh;
    width: 16vw;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5vh;
    margin-bottom: 0.5vh;
}

.imagenMediana {
    height: 28vh;
    width: 13vw;
    position: relative; /* Añadido para permitir la superposición del div */
}

.overlay {
    position: absolute;
    bottom: 2vh;
    width: 100%;
    height: 50%; /* Ajustar según sea necesario */
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    z-index: 2;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.75vw;
    text-align: center;
    padding-left: 0.1vw;
    padding-right: 0.1vw;
}

.fecha {
    position: absolute;
    width: 100%;
    height: 7%;
    bottom: 0vh;
    right: 0vw;
    display: flex;
    align-items: center;
    justify-content: end;
    color: white;
    font-size: 0.75vw;
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0vw 0.2vw;
    /* border-radius: 0.2vw; */
    z-index: 3; /* Asegura que esté por encima de otros elementos */
}

.overlayAplicaciones {
    position: absolute;
    top: 0;
    width: 100%;
    height: 17%; /* Ajustar según sea necesario */
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1vw; /* Ajustar según sea necesario */
    font-weight: bold;
    z-index: 2;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    padding-left: 0.1vw;
    padding-right: 0.1vw;
}

.container {
    position: relative;
    display: inline-block; /* Para ajustar al tamaño de la imagen */
}


#divImagenMediana {
    height: 19vh;
    width: 1vw;
}

/* FOOTER */

#mainFooter {
    display: flex;
    position: absolute;
    width: 100%;
    height: 5vh;
    bottom: 0;
    right: 0;
    background: linear-gradient(to right, #000000d7, #0658a0a8);
    color: white;
    z-index: 1;
    display: flex; /* Cambiado a flexbox */
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.5vh 0 0 rgb(255, 255, 255); /* Borde blanco semitransparente de 0.5vh en la parte superior */
}

#footerA {
    width: 85vw;
    height: 4vh;
    flex-direction: row;
    display: flex;
    align-items: center;
    justify-content: start;
    margin-left: 1vw;
}

#participa {
    font-size: 1vw;
    color: white;
    font-weight: bold;
}

#logoMinisterio {
    height: 4vh;
    object-fit: fill;
}

#copy {
    font-size: 1vw;
    color: white;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    margin-right: 0.5vw;
}

#refInter {
    color: #9fc6ff;
    font-size: 1vw;
    text-decoration: underline;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    margin-right: 0.5vw;
}

#derechos {
    color: white;
    font-size: 1vw;
    font-family: Arial, Helvetica, sans-serif;
    margin-right: 0.5vw;
}

#politica {
    color: #9fc6ff;
    font-size: 1vw;
    text-decoration: underline;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    margin-right: 0.5vw;
}

#logo {
    height: 4vh;
    object-fit: fill;
    padding-right: 1vh;
}

#footerB {
    width: 15vw;
    height: 4vh;
    flex-direction: row;
    display: flex;
    align-items: center;
    justify-content: end;
    margin-right: 1vw;
}

#twitter {
    height: 4vh;
    object-fit: fill;
    cursor: pointer;
    margin-left: 1vh;
    margin-right: 1vh;
}

#facebook {
    height: 4vh;
    object-fit: fill;
    margin-left: 1vh;
    margin-right: 1vh;
    cursor: pointer;
}

#instagram {
    height: 4vh;
    object-fit: fill;
    margin-left: 1vh;
    margin-right: 1vh;
    cursor: pointer;
}

#divDivisor{
    background-color: #FFFFFF;
    width: 0.1vw;
    height: 4vh;
    margin-left: 1vh;
    margin-right: 1vh;
}

#divDivisor2{
    background-color: #FFFFFF;
    width: 0vw;
    height: 4vh;
    margin-left: 1vh;
    margin-right: 1vh;
}

.sellos{
    height: 4vh;
    object-fit: fill;
    margin-left: 1vh;
    margin-right: 1vh;
    cursor: pointer;
}

#patente {
    height: 4vh;
    object-fit: fill;
    margin-left: 1vh;
    margin-right: 1vh;
    cursor: pointer;
}

#appPlus {
    height: 4vh;
    object-fit: fill;
    margin-left: 1vh;
    margin-right: 1vh;
    cursor: pointer;
}

/* ESTILO */

.hidden {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 1s ease;
}

.flex {
    display: flex;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.ocultar {
    display: none;
}

.mostrar {
    display: flex;
}

.frameVideo {
    position: absolute;
    top: 8vh;
    right: 4vw;
    width: 31vw; /* Ajusta el ancho según tus necesidades */
    height: 35.7vh; /* Ajusta la altura según tus necesidades */
    background: linear-gradient(to right, #0228497d, #0658a078);
    z-index: 1000; /* Asegúrate de que esté en la parte superior */
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.vc {
    width: calc(100% - 1vw); /* 1 punto menos en anchura que el contenedor padre */
    height: calc(98% - 1vh); /* 1 punto menos en altura que el contenedor padre */
    background-color: black;
    z-index: 1001; /* Asegurar que el overlay esté sobre el vídeo */
    margin: 0;
    padding: 0;
    object-fit: fill; /* No mantener la proporción */
}

.cerrarFrame {
    width: calc(5%); /* 1 punto menos en anchura que el contenedor padre */
    z-index: 1001; /* Asegúrate de que esté en la parte superior */
    opacity: 0.5;
}

.cerrarFrame:hover {
    width: calc(5.5%); /* 1 punto menos en anchura que el contenedor padre */    
    z-index: 1001; /* Asegúrate de que esté en la parte superior */
    cursor: pointer;
    opacity: 1;
}

.mosca {
    position: absolute;
    top:32vh;
    right: 1vw;
    width: calc(20%); /* 1 punto menos en anchura que el contenedor padre */    
    z-index: 1001; /* Asegúrate de que esté en la parte superior */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.tituloNoticiaVideo {
    width: calc(95%); /* 1 punto menos en anchura que el contenedor padre */
    z-index: 1001; /* Asegúrate de que esté en la parte superior */
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2vw;
    font-weight: 700;
    opacity: 0.5;
}

.tituloNoticiaVideo:hover {
    width: calc(95%); /* 1 punto menos en anchura que el contenedor padre */
    z-index: 1001; /* Asegúrate de que esté en la parte superior */
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2vw;
    font-weight: 700;
}

.barraSuperiorFrame {
    position: absolute;
    top: 1vh;
    left:  calc(2.5%);
    width: calc(95%); /* 1 punto menos en anchura que el contenedor padre */
    height: calc(10%); /* 1 punto menos en anchura que el contenedor padre */
    z-index: 1003; /* Asegúrate de que esté en la parte superior */
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
}

.barraSuperiorFrame:hover {
    position: absolute;
    top: 1vh;
    left:  calc(2.5%);
    width: calc(95%); /* 1 punto menos en anchura que el contenedor padre */
    height: calc(10%); /* 1 punto menos en anchura que el contenedor padre */
    z-index: 1003; /* Asegúrate de que esté en la parte superior */
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
    opacity: 1;
}


/* ---- ----- ----- Pelicula Principal ----- ----- ----- */


.contenedor {
    position: absolute;
    width: 100vw;
    bottom: 4vh;
    right: 0;
    z-index: 1004;
}

.contenedor-noticias {
    position: absolute;
    width: 100vw;
    bottom: 6vh;
    right: 0;
    z-index: 1004;
}

/* ---- ----- ----- Contenedor Titulo y Controles ----- ----- ----- */
.contenedor-titulo-controles {
    display: flex;
    justify-content: end;
}

.indicadores{
    display: flex;
    justify-content: end;
    align-items: center;
    height: 2vh;
    margin-right: 0.5vw;
}

.contenedor-titulo-controles .indicadores button {
	background: #fff;
	height: 0.5vh;
	width: 1.5vw;
	cursor: pointer;
	border: none;
	margin-right: 0.2vw;
    padding: 0;
}

.contenedor-titulo-controles .indicadores button:hover,
.contenedor-titulo-controles .indicadores button.activo {
	background: red;
}


/* ---- ----- ----- Contenedor Principal y Flechas ----- ----- ----- */
.aplicaciones-recomendadas .contenedor-principal {
    display: flex;
    align-items: start;
    position: relative;
    justify-content: center;
}

.aplicaciones-recomendadas .contenedor-principal .flecha-izquierda,
.aplicaciones-recomendadas .contenedor-principal .flecha-derecha {
	border: none;
	background: #0658a099;
	height: 35vh;
	/* top: calc(50% - 25%); */
	width: 2vw;
	color: #fff;
	cursor: pointer;
	z-index: 500;
	transition: .2s ease all;
    margin: 0;
    padding: 0;
}

.aplicaciones-recomendadas .contenedor-principal .flecha-izquierda:hover,
.aplicaciones-recomendadas .contenedor-principal .flecha-derecha:hover {
    opacity: 1 !important; /* Asegura que la opacidad se mantenga */
    animation-play-state: paused; /* Pausa la animación en hover */
}

.button-disabled {
	border: none;
	background: #0658a068;
	height: 40vh;
	/* top: calc(50% - 25%); */
	width: 2vw;
	color: #fff;
	cursor: pointer;
	z-index: 500;
	transition: .2s ease all;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.button-disabled:hover {
	border: none;
	background: #0658a068;
	height: 40vh;
	/* top: calc(50% - 25%); */
	width: 2vw;
	color: #fff;
	cursor: pointer;
	z-index: 500;
	transition: .2s ease all;
    margin: 0;
    padding: 0;
    pointer-events: none;
    cursor: default;
}

.aplicaciones-recomendadas .contenedor-principal .flecha-izquierda {
	left: 0.5vw;
}

.aplicaciones-recomendadas .contenedor-principal .flecha-derecha {
	right: 0.5vw;
}

/* ---- ----- ----- Carousel ----- ----- ----- */
.aplicaciones-recomendadas .carousel-aplicaciones {
    width: calc(14vw * 6 + 0.8vw * 12); /* Adjust this calculation if margins are different */
    overflow: hidden;
    scroll-behavior: smooth;
    height: 44vh;
}

/* .carrElement styling for proper alignment */
.carrElement {
    background: #0658a099;
    height: 35vh;
    width: 14vw;
    margin: 0 0.8vw;
    justify-content: start;
    align-items: center;
    display: flex;
    flex-direction: column;
    transition: 0.25s ease;
}

.carrElement:hover {
    background: #0658a0e4;
    height:35vh;
    width: 14vw;
    /* margin-top: 1vh; */
    margin-right: 0.8vw;
    margin-left: 0.8vw;
    justify-content: start;
    align-items: center;
    display: flex;
    flex-direction: column;
    /* border: #ff9b057b solid 0.3vh; */
    /* border-radius: 0.5vh; */
    transition: 0.25s ease;
    transform: scale(1.02); /* Mover hacia arriba 2vh */
    transform-origin: center;
    cursor: pointer;
}

.carrElementDestacado {
    background: #0658a0ab;
    height: 40vh;
    width: 14vw;
    /* margin-top: 1vh; */
    margin-right: 0.8vw;
    margin-left: 0.8vw;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    /* border: #ff9b057b solid 0.3vh; */
    /* border-radius: 0.5vh; */
    transition: 0.25s ease;
    transform: scale(1.04) translateY(-1vh); /* Mover hacia arriba 2vh */
    cursor: default;
}

.aplicaciones-recomendadas .contenedor-carousel .carousel-aplicaciones {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: start;
}

.aplicaciones-recomendadas .contenedor-carousel .carousel-aplicaciones .aplicacion {
    min-width: 14vw;
    margin: 0 0.8vw;
}

.aplicaciones-recomendadas .contenedor-carousel .carousel-aplicaciones .aplicacion.hover {
	transform: scale(1.2);
	transform-origin: center;
}

.aplicaciones-recomendadas .contenedor-carousel .carousel-aplicaciones .aplicacion img {
	/* width: 100%; */
	vertical-align: top;
}

:root {
	--rojo: #E50914;
	--fondo: #141414;
}

.flechas{
    filter: invert(100%);
    margin: 0;
    padding: 0;
    border: none;
    width: 1vw;
    height: 5vh;
    }

.visible{
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.novisible{
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 1s ease;
}


/* ---- ----- ----- Noticias ----- ----- ----- */

.carrElementNoticias {
    background: #0658a099;
    height: 40vh;
    width: 14vw;
    margin: 0 0.8vw;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    transition: 0.25s ease;
}

.carrElementNoticias:hover {
    background: #0658a0e4;
    height: 40vh;
    width: 14vw;
    /* margin-top: 1vh; */
    margin-right: 0.8vw;
    margin-left: 0.8vw;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    /* border: #ff9b057b solid 0.3vh; */
    /* border-radius: 0.5vh; */
    transition: 0.25s ease;
    transform: scale(1.02); /* Mover hacia arriba 2vh */
    transform-origin: center;
    cursor: pointer;
}

.carrElementNoticiasDestacado {
    background: #0658a0ab;
    height: 40vh;
    width: 14vw;
    /* margin-top: 1vh; */
    margin-right: 0.8vw;
    margin-left: 0.8vw;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    /* border: #ff9b057b solid 0.3vh; */
    /* border-radius: 0.5vh; */
    transition: 0.25s ease;
    transform: scale(1.04) translateY(-1vh); /* Mover hacia arriba 2vh */
    cursor: default;
}

.noticias-recomendadas .contenedor-principal {
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
}

.noticias-recomendadas .contenedor-principal .flecha-izquierda,
.noticias-recomendadas .contenedor-principal .flecha-derecha {
	border: none;
	background: #0658a099;
	height: 40vh;
	/* top: calc(50% - 25%); */
	width: 2vw;
	color: #fff;
	cursor: pointer;
	z-index: 500;
	transition: .2s ease all;
    margin: 0;
    padding: 0;
}

.noticias-recomendadas .contenedor-principal .flecha-izquierda:hover,
.noticias-recomendadas .contenedor-principal .flecha-derecha:hover {
    animation-play-state: paused;
    opacity: 1 !important;
}

.noticias-recomendadas .contenedor-principal .flecha-izquierda {
	left: 0.5vw;
}

.noticias-recomendadas .contenedor-principal .flecha-derecha {
	right: 0.5vw;
}

.noticias-recomendadas .carousel-noticias {
    width: calc(14vw * 6 + 0.8vw * 12); /* Adjust this calculation if margins are different */
    overflow: hidden;
    scroll-behavior: smooth;
    height: 44vh;
}

.noticias-recomendadas .contenedor-carousel .carousel-noticias {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
}

.noticias-recomendadas .contenedor-carousel .carousel-noticias .noticia {
    min-width: 14vw;
    margin: 0 0.8vw;
}

.noticias-recomendadas .contenedor-carousel .carousel-noticias .noticia.hover {
	transform: scale(1.2);
	transform-origin: center;
}

/* CARROUSEL IMAGENES */

.frameCarrousel {
    display: flex;
    position: absolute;
    top: 8vh;
    right: 4vw;
    width: 31vw; /* Ajusta el ancho según tus necesidades */
    height: 35.7vh; /* Ajusta la altura según tus necesidades */
    background: linear-gradient(to right, #0228497d, #0658a078);
    z-index: 1000; /* Asegúrate de que esté en la parte superior */
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.carousel-container-image {
    width: 100%;
    height: 100%;
    z-index: 1001; /* Asegurar que el overlay esté sobre el vídeo */
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.divCarouselImage {
    display: flex;
    flex-direction: row;
    width: 100%; /* 100% por cada imagen */
    height: 100%;
    transition: transform 0.5s ease;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: fill; /* Hace que la imagen se estire para llenar el contenedor */
    flex-shrink: 0; /* No permita que las imágenes se reduzcan */
}

.frameImagen {
    position: absolute;
    top: 8vh;
    right: 4vw;
    width: 31vw; /* Ajusta el ancho según tus necesidades */
    height: 35.7vh; /* Ajusta la altura según tus necesidades */
    background: linear-gradient(to right, #0228497d, #0658a078);
    z-index: 1000; /* Asegúrate de que esté en la parte superior */
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Asegúrate de ocultar las imágenes fuera del contenedor */
}


.carouselImg {
    position: relative;
    width: calc(100% - 1vw); /* 1 punto menos en anchura que el contenedor padre */
    height: calc(98% - 1vh); /* 1 punto menos en altura que el contenedor padre */
}

.imagenFrameFotos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* .carouselImg img:nth-child(1) {
    animation: slide 15s infinite;
}
.carouselImg img:nth-child(2) {
    animation: slide 15s infinite 5s;
}
.carouselImg img:nth-child(3) {
    animation: slide 15s infinite 10s;
} */

@keyframes slide {
    0%, 33.33%, 100% { opacity: 0; }
    11.11%, 22.22% { opacity: 1; }
}


.frameImagenEstatica {
    position: absolute;
    top: 8vh;
    right: 4vw;
    width: 31vw; /* Ajusta el ancho según tus necesidades */
    height: 35.7vh; /* Ajusta la altura según tus necesidades */
    background: linear-gradient(to right, #0228497d, #0658a078);
    z-index: 1000; /* Asegúrate de que esté en la parte superior */
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Asegúrate de ocultar las imágenes fuera del contenedor */
    transition: opacity 1s ease-in-out;
}


.carouselImgEstatica {
    position: relative;
    width: calc(100% - 1vw); /* 1 punto menos en anchura que el contenedor padre */
    height: calc(98% - 1vh); /* 1 punto menos en altura que el contenedor padre */
}

.imagenFrameFotosEstatica {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.toggleDiv {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    flex-direction: column; /* Esto es necesario para el display: flex */
}

.toggleDiv.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.carousel-container2 {
    width: 98vw;
    overflow: hidden;
    position: absolute;
    background-color: #0658a068;
    border: 2px solid #ccc;
    z-index: 1005;
    top: 89vh;
    right: 1vw;
}

.carousel-track {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 4vw;
    animation: scroll 20s linear infinite;
    margin-left: 4vw;
}

.carousel-container2 img {
    width: 5vw; /* Ajusta el tamaño según lo necesites */
    height: auto;
}

.slider {
    position: absolute;
    width: 98vw;
    height: auto;
    margin: auto;
    overflow: hidden;
    z-index: 1005;
    top: 89vh;
    right: 1vw;
    background-color: #0658a068;
}

.slider .slide-track {
    display: flex;
    animation: scroll 40s linear infinite;
    width: calc(15vw * 42); /* 200px por el número total de slides, incluidos los duplicados */
}

.slider .slide {
    width: 12vw;
}

.slider .slide img {
    width: 11vh;
    height: auto;
    padding-top: 0.2vh;
    padding-bottom: 0.2vh;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 21)); /* Desplazamos el total de la mitad de los slides */
    }
}

@keyframes logosC-slideD {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
  
  .logosTopC {
    position: absolute;
    width: 98vw;
    height: 6.5vh;
    margin: auto;
    overflow: hidden;
    z-index: 1005;
    top: 88vh;
    right: 1vw;
    background-color: #0658a099;

  }

  .logosC {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 98vw;
    height: 6.5vh;
    display: flex;
    align-items: center;
  }
  
  .logosC:before,
  .logosC:after {
    position: absolute;
    top: 0;
    width: 5vw;
    height: 6.5vh;
    content: "";
    z-index: 1006;
  }
  
  .logosC:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), #0658a0);
  }
  
  .logosC:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #0658a0);
  }
  
  .logosC:hover .logosC-slide {
    animation-play-state: paused;
  }
  
  .logosC-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    animation: 35s logosC-slideD infinite linear;
}

  
  .logosC-slide img {
    width: auto;
    height: 5.5vh;
    margin: 0 0.5vw;
  }

  .logosC-slide a {
    color: #00000000;
    width: auto;
    height: 5.5vh;
  }

.carLog {
    display: none;
    opacity: 0;
}

.carLog.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

@keyframes parpadeo {
    0% { 
        opacity: 1;
        background-color: #EB7409; /* Color inicial */
    }
    50% { 
        opacity: 1;
        background-color: #0658a0de; /* Color intermedio */
    }
    100% { 
        opacity: 1;
        background-color: #EB7409; /* Color final */
    }
}

.btnParpadeo{
    animation: parpadeo 3s infinite;
  }

  /* #flecha-izquierda-aplicaciones:hover {
    animation: parpadeo 2s infinite;
  }

  #flecha-derecha-noticias:hover {
    animation: parpadeo 2s infinite;
  }

  #flecha-izquierda-noticias:hover {
    animation: parpadeo 2s infinite;
  } */

  #divEmpresa {
    position: absolute;
    width: 100%;
    bottom: 6vh;
    right: 0;
    background: rgba(0, 0, 0, 0);
    color: white;
    z-index: 1;
    flex-direction: row; /* Dirección horizontal */
    align-items: center; /* Centrar verticalmente */
    justify-content: space-around;
}

#Empresa{
    width: 45vw;
    height: 40vh;
    background: linear-gradient(to right, #0000008b, #0658a0a8);
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    overflow: auto;
    padding: 0 0.5vw;
}

#Empresa:hover{
    width: 45vw;
    height: 40vh;
    background: linear-gradient(to right, #000000e7, #0658a0e9);
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    overflow: auto;
    padding: 0 0.5vw;
}

#Empresa::-webkit-scrollbar {
    display: none; /* Oculta la barra de scroll en navegadores basados en WebKit */
}

#Empresa {
    -ms-overflow-style: none;  /* Oculta la barra de scroll en IE y Edge */
    scrollbar-width: none;  /* Oculta la barra de scroll en Firefox */
}

#imagenEmpresa{
    width: 45vw;
    height: 40vh;
    background: linear-gradient(to right, #0000008b, #0658a0a8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5vh;
}

#imagenEmpresa:hover{
    width: 45vw;
    height: 40vh;
    background: linear-gradient(to right, #000000e7, #0658a0e9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#divInnovacion {
    position: absolute;
    width: 100%;
    bottom: 6vh;
    right: 0;
    background: rgba(0, 0, 0, 0);
    color: white;
    z-index: 1;
    flex-direction: row; /* Dirección horizontal */
    align-items: center; /* Centrar verticalmente */
    justify-content: space-around;
}

#Innovacion{
    width: 45vw;
    height: 40vh;
    background: linear-gradient(to right, #0000008b, #0658a0a8);
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    overflow: auto;
    padding: 0 0.5vw;
}

#Innovacion:hover{
    width: 45vw;
    height: 40vh;
    background: linear-gradient(to right, #000000e7, #0658a0e9);
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    overflow: auto;
    padding: 0 0.5vw;
}

#Innovacion::-webkit-scrollbar {
    display: none; /* Oculta la barra de scroll en navegadores basados en WebKit */
}

#Innovacion {
    -ms-overflow-style: none;  /* Oculta la barra de scroll en IE y Edge */
    scrollbar-width: none;  /* Oculta la barra de scroll en Firefox */
}

#imagenInnovacion{
    width: 45vw;
    height: 40vh;
    background: linear-gradient(to right, #0000008b, #0658a0a8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5vh;
}
#tiktok {
    height: 4vh;
    object-fit: fill;
    margin-left: 1vh;
    margin-right: 1vh;
    cursor: pointer;
}
#imagenInnovacion:hover{
    width: 45vw;
    height: 40vh;
    background: linear-gradient(to right, #000000e7, #0658a0e9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.imgImagenInnovacion{
    width: 34vw;
    height: auto;
    object-fit: fill;

}

.imgImagenEmpresa{
    width: 43vw;
    height: auto;
    object-fit: fill;

}

.textoCabezera{
    height: 5vh;
    font-size: 1vw;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    align-items: center;
}