.ivo {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .navbar {
  position: fixed;
  flex-wrap: wrap;
  padding: 0;
  top: 10px;
  width: 90%;
  margin: 0 auto; /* Centramos horizontalmente */
  vertical-align: middle;
  z-index: 1050; /* Mantenerlo por encima del resto */
  padding-top: 30px;
  padding-bottom: 30p ;
  }

  /* Ensure text fits and stays aligned to the middle of the navbar */
  .navbar-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center; /* Ensures vertical alignment */
    align-self: center; /* Centers the hamburger button vertically */
  }

  .nav-link {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem; /* Slightly smaller font size */
    text-overflow: ellipsis; /* Adds ellipsis if the text is too long */
    line-height: 1.5; /* Keeps the text vertically centered */
    padding-top: 0; /* Remove additional padding */
    padding-bottom: 0; /* Remove additional padding */
  }
    .navbar-toggler {
    position: relative;
    flex-wrap: wrap !important; /* Sobrescribe cualquier herencia */
    align-self: center; /* Centers the hamburger button vertically */
    margin-left: auto; /* Empuja el botón a la derecha */
    z-index: 1050; /* Asegura que siempre quede visible encima */
    
  }

  .navbar-custom {
    flex-wrap: nowrap !important; /* Sobrescribe flex-wrap heredado */
  }