/* 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: 90%;
  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;
}


#popup-container {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 20000;
  max-height: 80%; /* Puedes ajustar este valor según tus necesidades */
  overflow-y: auto; /* Agregamos el desbordamiento vertical */
  scroll-behavior: smooth;
}

#popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
}

#cerrar-popup-btn {
  background-color: transparent;
  border: none;
  color: #dd0479;
  cursor: pointer;
  font-size: 16px; /* Ajusta el tamaño del texto según sea necesario */
  display: block;
  margin: auto;
  padding: 10px 20px; /* Ajusta el padding según sea necesario */
  transition: background-color 0.3s ease;
}

#cerrar-popup-btn:hover {
  background-color: #dd0479;
  color: #ffffff; /* Cambia el color del texto al hacer hover */
}