  /* Contenedor de subtítulos personalizados */
  .custom-subtitles {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    font-size: clamp(16px, 7vw, 50px);
    font-weight: bold;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10;
    display: inline-block;
    width: 100%;
    border-radius: 10px;
}

/* Estilo de las palabras resaltadas */
.highlight {
    /* color: yellow; */
    font-weight: bold;
    cursor: pointer;
    position: relative;
    z-index:999;
}

/* Tooltip estilo */
.tooltip {
    visibility: hidden;
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(0 0 0 / 84%);
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
    z-index: 20;
    width: 200px;
    color: #fff;
    border: 2px solid #5b5b5b;
}

/* Flecha del tooltip */
.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #5b5b5b;
}

/* Mostrar el tooltip al hacer clic */
.highlight.active .tooltip {
    visibility: visible;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden; /* Evita barras de desplazamiento */
}

.video-container {
    position: relative;
    width: 100vw; /* 100% del ancho de la ventana */
    height: 100vh; /* 100% de la altura de la ventana */
    overflow: hidden;
    background: black; /* Color de fondo opcional */
    display:flex !important;
}

.video-js {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: containr; /* Llena el contenedor sin distorsionar */
    transform: translate(-50%, -50%); /* Centra el video */
}
