
/* NAV................... */



/* PORTADA VIDEO */


/* Video a pantalla completa */

.bloquePortada{
    height: 100vh;
     position: relative;  
    overflow: hidden;   
}
/* #video-bloque1 {
   
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;           
}

  #video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.2);

}   
.contenido {
    position: relative;
    z-index: 2;          
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;        
    text-align: center;
    perspective: 800px;
    padding: 15px;
} */

/* contenedor principal (ajusta height según tu layout) */
.bloquePortada{
  position: relative;
  width: 100%;
  height: 100vh; /* o la altura que necesites */
  overflow: hidden;
}

/* vídeo: apilados unos encima de otros */
.carousel-video{
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease; /* duración del fade */
  will-change: opacity;
}

/* vídeo visible */
.carousel-video.active{
  opacity: 1;
  pointer-events: auto;
}

/* overlay semi-transparente (si lo quieres oscuro/claro ajusta background) */
#video-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25); /* sombreado sobre el vídeo */
  z-index: 1;
}

/* contenido encima de todo */
.contenido{
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  color: #fff;
  pointer-events: none; /* evita interferir con hover si no quieres */
}


.titulo{
    font-size: 5rem;
    color:white;
    text-align: center;
        display: inline-block;         
    border-bottom: 2px solid white; 
    padding-bottom: 0.2em;       
}
.subTitulo{
    font-size: 6rem;
    color:white;
    text-align: center;
}
.navbar-default .navbar-nav>.active>a{
    background-color: rgba(0, 0, 255, 0) !important;
    color:#12b4da !important
}



.contacta-titulo {
    font-size: 18px;
border-bottom: 1px solid black;
}



@media (max-width: 1200px) {
.bloquePortada{
    height: 50vh;

}

.titulo{
 font-size: 4rem;
}

.subTitulo{
    font-size: 5rem;
}


}

@media (max-width: 990px) {

.titulo{
 font-size: 3rem;
}

.subTitulo{
    font-size:4rem;
}


}



@media (max-width: 750px) {

.bloquePortada{
    height: 60vh;

}
.titulo{
 font-size: 2.5rem;
}

.subTitulo{
    font-size: 3rem;
}



.padding-one-top {
    padding-top: 35px !important;
}



}



@media (max-width: 340px) {


.titulo{
 font-size: 1.8rem;
}

.subTitulo{
    font-size: 2rem;
}


}