@charset "UTF-8";
/* CSS Document */


/* aquí se colocan los estilos que sean solo de esta UAPA para que no se mezclen con la plantilla general */

/* *****Estilos Extra***** */

.pie-portada {
    display: none;
    color: #FFF;
    opacity: .5;
    font-size: 0.7rem;
    line-height: 1.1rem;
    width: 80%;
    margin: 0 auto;
}

/* **************************** animación **************************** */
.scroll--bloque{
    animation: aparece 1s linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}
@keyframes aparece {
    from {
        opacity: 0;
        scale: 0.4;
        /* transform: translateX(0); */
    }
    to {
        opacity: 1;
        scale: 1;
        /* transform: translateX(-100px); */
    }
}

.mensaje {
    border-top: 1px  dotted black;
    border-bottom: 1px  dotted black;
}

.muestra--1{
    view-timeline-name: --reveal;
    animation-name: muestra;
    animation-fill-mode: both;
    animation-timeline: --reveal;
    animation-range: entry 25% cover 50%;

}
@keyframes muestra {
    from {
        opacity: 0;
        scale: 0.4;
    }
    to {
        opacity: 1;
        scale: 1;
    }
}


/* altura de actividad 1 */
@media (max-width: 767px) {
    .embed-iframe-act iframe {
        min-height: 500px;
    }
}

@media (min-width: 768px) {
    .embed-iframe-act iframe {
        min-height: 800px;
    }
}

@media (min-width: 992px) {
    .embed-iframe-act iframe {
        min-height: 750px;
    }
}
@media (min-width: 1200px) {
    .embed-iframe-act iframe {
        min-height: 650px;
    }
}

/* altura de actividad 2 */
@media (max-width: 767px) {
    #act-2 .embed-iframe-act iframe {
        min-height: 800px;
    }
}

@media (min-width: 768px) {
    #act-2 .embed-iframe-act iframe {
        min-height: 800px;
    }
}

@media (min-width: 992px) {
    #act-2 .embed-iframe-act iframe {
        min-height: 750px;
    }
}
@media (min-width: 1200px) {
    #act-2 .embed-iframe-act iframe {
        min-height: 650px;
    }
}





/* altura de autoevaluación */
@media (max-width: 767px) {
    .embed-iframe-autoe iframe {
        min-height: 800px;
    }
}

@media (min-width: 768px) {
    .embed-iframe-autoe iframe {
        min-height: 1000px;
    }
}

@media (min-width: 1200px) {
    .embed-iframe-autoe iframe {
        min-height: 850px;
    }
}

/* ***Pie portada*** */
@media (min-width:768px) {
    .pie-portada {
        display: block;
    }
}


/*botones flotantes*/
#tools {
    /* display: none; */
    position: fixed;
    top: 198px;
    right: 0;
    margin-right: 20px;
    width: 46px;
    height: 200px;
    z-index: 9999;
    border-radius: 20px 0px 0px 20px;
    cursor: pointer !important;
    font-size: 10px !important;

}
#tools a:hover{
    opacity:0.90;
}
/*botones flotantes*/
.line{
    border: 0;
    border-top: 2px solid #fff;
    
    margin: 0 auto;
    margin-bottom: 30px;
    /* border: 0;
    height: 2px;
    background-image: linear-gradient(to right, #f0f0f0, #ffffff); */
}
.autores {
    font-size: 1rem;
    margin-bottom: 20px;
}
.custom-tooltip {
    --bs-tooltip-bg: var(--bs-gray-200);
    --bs-tooltip-color: #444444;
    --bs-tooltip-max-width: 500px;
    --bs-tooltip-opacity: 1;
    -webkit-filter: drop-shadow(2px 4px 0.5rem #444);
    filter: drop-shadow(2px 4px 0.5rem #444);

    font-family: 'Open Sans', sans-serif;
    font-size: 1em;

    min-width: 300px;
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.custom-tooltip>.tooltip-inner>h1,
.custom-tooltip>.tooltip-inner>p,
.custom-tooltip>.tooltip-inner>ul,
.custom-tooltip>.tooltip-inner>ol {
    text-align: left;
    color: #444444;
}

.custom-tooltip>.tooltip-inner>h1 {
    font-size: 1em;
    font-weight: 300;
}

/* **************************** VideoMockup Component **************************** */
.video-mockup-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3rem auto;
    gap: 0; /* Eliminamos gap para permitir overlap en móvil */
    max-width: 1000px;
    padding: 0 1rem;
    position: relative;
}

.video-mockup-image {
    z-index: 10;
    flex-shrink: 0;
    width: 100%;
    max-width: 180px; /* Un poco más pequeño en móvil para que no ocupe tanto */
    transition: all 0.3s ease;
    margin-bottom: -50px; /* Overlap en móvil: el celular "flota" sobre la caja */
}

.video-mockup-btn {
    background: transparent !important;
    border: none !important;
    padding: 0;
    cursor: pointer;
    display: block;
    width: 100%;
    outline: none;
}

.video-mockup-btn:hover {
    transform: scale(1.02);
}

.video-mockup-btn:focus {
    outline: 2px solid #0d6efd !important;
    outline-offset: 4px;
    border-radius: 1rem;
}

.mockup-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
    border: none !important;
}

.video-mockup-content {
    width: 100%;
    z-index: 5;
}

.video-mockup-btn-box {
    width: 100%;
    background: transparent !important;
    border: none !important;
    padding: 0;
    cursor: pointer;
    text-align: left;
    display: block;
    text-decoration: none;
    outline: none;
}

.video-mockup-box {
    background-color: #0d6efd; /* Color original restaurado */
    color: white;
    border-radius: 1rem;
    padding: 4rem 2rem 2rem 2rem; /* Padding superior extra para compensar el overlap del celular */
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.15);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    position: relative;
    border: none !important;
}

.video-mockup-btn-box:hover .video-mockup-box {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(13, 110, 253, 0.25);
}

.video-mockup-btn-box:focus .video-mockup-box {
    outline: 2px solid #0d6efd;
    outline-offset: 4px;
}

.video-mockup-text {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 500;
    text-align: center; /* Centrado en móvil para balancear con la imagen centrada */
}

.video-mockup-hint {
    display: block;
    opacity: 0.9;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-align: center;
}

/* Desktop Layout (Tablets and up) */
@media (min-width: 768px) {
    .video-mockup-container {
        flex-direction: row;
        align-items: center;
        gap: 0;
        padding: 0 2rem;
    }

    .video-mockup-image {
        max-width: 240px;
        margin-bottom: 0; /* Reset margen móvil */
        margin-right: -80px; /* Overlap lateral escritorio */
    }

    .video-mockup-box {
        padding: 2.5rem 2rem 2.5rem 7rem; /* Padding izquierdo para overlap lateral */
        min-height: 180px;
        text-align: left; /* Reset alineación texto */
    }

    .video-mockup-text,
    .video-mockup-hint {
        text-align: left;
    }
}

/* Large Desktop */
@media (min-width: 992px) {
    .video-mockup-image {
        max-width: 260px;
        margin-right: -90px;
    }

    .video-mockup-box {
        padding-left: 8rem;
    }

    .video-mockup-text {
        font-size: 1.2rem;
    }
}

/* Extra Large Desktop */
@media (min-width: 1200px) {
    .video-mockup-image {
        max-width: 280px;
        margin-right: -100px;
    }

    .video-mockup-box {
        padding-left: 9rem;
    }
}

