
/*EL CUERPO MANTIENE EL TIPO DE LETRA */
body {
    /* LETRA ARIAL */
    font-family: Arial, sans-serif;
    /* MARGEN O DE SEPARACION*/
    margin: 0;
    /* AÑADE ESPACION ENTRE 2 ELEMENTROS */
    padding: 0;
    /*SE AÑADE TODA LA PANTALLA */
    display: flex;
    /*DIRECCION */
    flex-direction: column;
    /* PORCENTAJE DE PANTALLA OCUPADA MANTENER EN 100 */
    min-height: 100vh;
}
/* ESTA PARTE ES PARA LOS ENCABEZADOS PRINCIPALES*/
header {
    background-image: url(KT.png); /* Ruta de la imagen */
    background-size: cover; /* Ajusta el tamaño de la imagen para cubrir el área del encabezado */
    background-position: center; /* Centra la imagen */
    color: rgb(255, 247, 0); /*Color del encabezado*/
    padding: 2rem; /*espacio interno de margen*/
    text-align: center; /*Alineacion de texto */
}

/* CONSIDERANDO LA PARTE PRINCIPAL*/
main {
    flex: 1;
    padding: 1rem;
}

/* CONSIDERAMOS EL COLOR DE FONDO, DE TEXTO Y EL MARGEN PARA EL PIE DE PAGINA */
footer {
    /* COLOR DEL CUADRO*/
    background-color: #000000;
    /*COLOR DEL TEXTO*/
    color: rgb(255, 255, 255);
    /*ALINEACION DEL TEXTO*/
    text-align: center;
    /*MARGEN DEL TEXTO*/
    padding: 0.5rem;
}
/*BOTONES DEL ENCABEZADO*/
button {
    padding: 0.5rem 1rem;
    background-color: transparent;/* Sin relleno*/
    color: rgb(255, 255, 255);
    border: none; /* Sin borde*/
    cursor: text;
    font-weight: bold; /* El texto en negritas */
    border-radius: 10px;
    font-size: 1rem;

}
/*AL PASAR POR EL BOTON */
button:hover {
    background-color: #424242; /*Color grisaseo cuando pase por ahí */
    text-decoration: underline; /*El texto sera subrayado*/
}
/* PERSONALIZAR LA IMAGEN DEL CATALOGO*/
img {
    width: 200px; /* Cambia el ancho de la imagen */
    height: auto; /* Mantiene la proporción de aspecto */
    border: 2px solid #333; /* Un borde sólido de 2px de grosor y color gris oscuro */
    box-shadow: 2px 2px 5px rgb(255, 255, 0); /* Crea una sombra suave */
    margin: 20px; /* Aplica un margen de 20px alrededor de la imagen */
}
/*PARA QUE SE PONGAN EN FILAS DE 3 IMAGENES*/
.fil{
    display: grid; /* Usa el modelo de caja tipo grid */
    grid-template-columns: repeat(3, 1fr); /* Tres columnas iguales */
    gap: 10px; /* Espacio entre los cuadros */
    justify-items: center; /* Centra los elementos horizontalmente en cada celda */
    text-align: center; /* Centra el texto horizontalmente */
}

.cuadro {
    background-color: #e3e3e3; /* Fondo azul claro */
    padding: 15px; /* Espaciado interno */
    border: 1px solid #828282; /* Borde ligero */
    border-radius: 8px; /* Bordes redondeados */
    max-width: 300px; /* Ancho máximo del cuadro */
    box-shadow: 0 0 10px #e3e3e3; /* Sombra ligera */
}

.cuadro img {
    max-width: 100%; /* Ajusta el ancho máximo de la imagen */
    border-radius: 8px; /* Bordes redondeados para la imagen */
    margin-bottom: 10px; /* Espacio inferior para separar del texto */
}

.cuadro p {
    font-size: 16px; /* Tamaño del texto */
    line-height: 1.6; /* Espaciado entre líneas */
}

body {
    font-family: Arial, sans-serif;
}

/* Estilos para las pestañas */
.tab {
    overflow: hidden; 
    border-bottom: 1px solid #ccc;
    background-color: #f1f1f1;
}

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
}

.tab button:hover {
    background-color: #ddd;
}

.tab button.active {
    background-color: #ccc;
}

.tabcontent {
    display: none;
    padding: 20px;
    border: 1px solid #ccc;
    border-top: none;
}

/* Estilos para mostrar el PDF */
#pdf-container {
    width: 100%;
    height: 100vh; /* Ajustar la altura al 100% de la ventana */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    position: relative; /* Necesario para posicionar las flechas */
}

#pdf-canvas {
    border: 1px solid black;
    width: auto; /* Cambiar ancho automático */
    height: 100%; /* Ajustar la altura al 100% */
}

#text-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#pdf-controls {
    position: absolute; 
    top: 50%; 
    width: 100%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    pointer-events: none; 
    z-index: 10; /* Asegurar que las flechas estén sobre el PDF */
}

.pdf-arrow {
    font-size: 50px; 
    cursor: pointer; 
    opacity: 0.2; 
    transition: opacity 0.3s; 
    pointer-events: auto; 
    background-color: rgba(0, 0, 0, 0.5); 
    padding: 15px; 
    color: white; 
    border-radius: 50%;
}

.pdf-arrow:hover {
    opacity: 1;
}

.header-img-right {
    float: right;
    position: relative;
    top: 160px; /* Mueve la imagen hacia abajo */
    margin: 10px;
    height: 150px; /* tamaño de imajen */
}