/* Estilos generales del logo */
.navbar-brand img {
    max-width: 150px;  
    height: auto;      
}
.pdf-title {
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
  color: #0B2538;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
  padding-top: 20px;
}
  
/* Redes sociales flotantes */
.social-icons {
  position: fixed;
  right: 10px;
  top: 40%;
  display: flex;
  flex-direction: column;
  gap: 5px; 
  z-index: 1000;
}

/* Estilo base para los íconos redondos */
.social-icons a, .more-button {
  display: inline-block;
  width: 45px; 
  height: 45px;
  line-height: 45px;
  border-radius: 50%;
  background-color: #3b5998; 
  color: white;
  text-align: center;
  font-size: 20px; 
  transition: all 0.3s;
}

.social-icons a:hover, .more-button:hover {
  transform: scale(1.1); 
}

.social-icons a:hover.facebook {
  background-color: #2d4373;
}

.social-icons a:hover.instagram {
  background-color: #bc2a8d;
}

.social-icons a:hover.whatsapp {
  background-color: #1ebe57;
}

.social-icons a:hover.youtube {
  background-color: #FF0000;
}

.social-icons a:hover.tiktok {
  background-color: black;
}

/* Botón de más redes */
.more-button {
  background-color: #555;
}

.more-button:hover {
  background-color: #333;
}

/* Redes sociales adicionales (ocultas inicialmente en pantallas grandes) */
.additional-icons {
  display: none;
  flex-direction: column;
  gap: 5px;
}

/* Mostrar redes adicionales cuando están activas */
.additional-icons.active {
  display: flex;
}
/* Fin de redes flotantes */


@media (max-width: 320px) {
 
  .social-icons {
      position: static; 
      margin: 10px auto; 
      display: grid;
      grid-template-columns: repeat(3, 1fr); 
      gap: 5px; 
      justify-content: center;
      align-items: center;
  }

  .social-icons a {
      margin: 0 auto; 
  }

  /* Ocultar el botón de desplegar en pantallas pequeñas */
  .more-button {
      display: none;
  }

  /* Mostrar siempre todos los íconos en pantallas pequeñas */
  .additional-icons {
      display: flex;
      flex-direction: row; 
      grid-column: span 3;
  }

  .social-icons a {
      width: 40px; /* Iconos más pequeños */
      height: 40px;
      line-height: 40px;
      font-size: 20px;
  }
}

.main-container {
  width: 100%;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
  background-color: #f0f0f0;
  text-align: center;
}

.responsive-image {
  max-width: 90%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.footer-title {
  font-size: 1.2rem; 
  margin-bottom: 10px; 
}

footer p {
  font-size: 0.9rem; 
  margin: 5px 0; 
}

footer .small-text {
  font-size: 0.8rem; 
  opacity: 0.7; 
}


html, body {
  height: 100%; 
  margin: 0;
  display: flex;
  flex-direction: column;
}


main {
  flex: 1; 
}


footer {
  background-color: #0B2538; 
  color: white;
  padding: 20px 10px;
  margin-top: auto; 
}

