/* Font-face sirve para importar fuentes, tienen que estar en formato .woff o .woff2 */
@font-face {
    font-family: "Adventor";
    src: url(texgyreadventor-regular.woff) format('woff');
  }
  
  html {
    font-family: 'Adventor';
    scroll-behavior: smooth;
  }
  
  :root {
    --primary-color: #333;
  }
  
  .logo_visorpreparados {
    width: 85px; 
    height: 30.11px;
    float: left; 
    margin-right: 15px;
    padding-left: 10px;
    padding-top: 3px;
  }
  
  h1 {
    font-size: 100%;
    color: #333;
    float: left; 
    text-align: center;
    padding-right: 30px;
    
  }
  
  h2 {
    font-size: 100%;
    margin: 15px 0 20px 0;
  }
  
  .descripcion {
    font-size: 80%;
    hyphens: auto;
  }
  
  strong {
    font-weight: bold;
  }
  
  b{
    color: #dd0479;
  }
  
  
  h4 {
    font-size: 90%;
    margin: 15px 0 20px 0;
  }
  
  
  a {
    color: #dd0479; /* Color del texto */
    font-weight: bold; /* Negrita */
    text-decoration: none; /* Eliminar subrayado predeterminado */
    transition: text-decoration 0.3s ease; /* Transición animada para el subrayado */
  }
  
  /* Estilo al pasar el mouse sobre los enlaces */
  a:hover {
    text-decoration: underline; /* Subrayado al pasar el mouse */
  }
  
  
  header {
    background-color: #F1F1F1;
    overflow: auto; 
    text-align: right;
    height: 40px;
    overflow: hidden;
    border-bottom: 1px solid #000000;
  
  }
  
  #header-buttons button {
   float: right;
    border: none;
    color: black;
    padding: 14px 14px;
    text-decoration: none;
    font-size: 15px;
    width: 13,5%;
  }
  
  #header-buttons button:hover {
    color: #dd0479;
    background-color: lightgray;
  }
  
  .panel {
      display: none;
      padding: 12px;
      margin-top: 40px;
      position: fixed;
      top: 0;
      left: auto; /* Asegúrate de que la propiedad left esté en 'auto' para evitar conflictos */
      height: 100%;
      overflow-y: auto; /* Agrega desplazamiento vertical si el contenido es largo */
      z-index: 1;
      transition: right 0.5s; /* Aplica la transición al estilo right */
      max-width: 270px;
      text-align: justify;
      scroll-behavior: smooth;
  
  }
  
  #contenido {
    transition: margin-left 0.5s;
    height: 100vh important!;
  }
  
  .contenido {
    margin-left: 0;
  }
  
  .panel p {
    margin: 0;
  }
  
  .protector {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  
  body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100vh;
  }
  
  #myContainer {
    width: 100%;
    height: calc(90% - 30px);
    margin: auto;
    border: 0.5px solid #000000;
    border-style: solid;
    background-color: #FFFFFF;
    margin-top: 60px; /* Ajusta segÃēn el tamaÃąo del header */
    z-index: -2;
  }


  
  /* Estilos generales para la página */
body {
    
    margin: 01px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
}


/* Estilo para preguntas actividades */
.question {
    font-size: 13px;
    margin-bottom: 10px;
    text-align: justify;
    hyphens: auto;
    word-wrap: break-word;  
    padding: 2%;

}

/* Estilo para el contenedor del desplegable */
.dropdown {
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    padding: 10px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-size: 13px;
    box-sizing: border-box;
}

/* Estilo para la respuesta (oculta inicialmente) */
.answer {
    display: none;
    padding: 10px;
    background-color: #e9f7fd;
    border: 1px solid #b3d9ff;
    margin-top: 10px;
    transition: max-height 0.3s ease-out;
    max-height: 0;
    overflow: hidden;
    font-size: 13px;
    text-align: justify;
    hyphens: auto;
    word-wrap: break-word;  
}

/* Flecha de desplegable */
.arrow {
    float: right;
    transition: transform 0.3s;
}

/* Rotación de la flecha cuando se despliega la respuesta */
.open .arrow {
    transform: rotate(180deg);
}


.scrollable {
  height: 100%; /* Altura fija para permitir el desplazamiento */
  overflow-y: auto; /* Habilita el scroll vertical */
  border: 1px solid #ddd; /* Opcional, para darle un borde */
}


