.header{
  background-color: var(--color-principal);
  color: white;
  display: flex;
  align-items: center;
  padding-block: 10px;
  position: sticky;
  width: 100%;
  top: 0;
  min-height: 140px;
}

.contenedor-items {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
 }

ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
}

.nav-list {
  display: flex;
  justify-content: center;
}

.nav{
  flex-grow: 1;
  justify-content: center;
}

.logo, .header-actions {
  padding-inline: 20px;
}

.imgLogo {
  width: 150px;
}

.logoWhatsapp{
  font-size: 50px;
}

.relative {
    position: relative;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.hamburguesa {
  position: absolute;
  flex-direction: column;
  cursor: pointer;
  padding-left: 20px;
  right: 0px;
  display: none;
}

.bar {
  height: 4px;
  width: 30px;
  background-color: white;
  margin: 4px 0;
  border-radius: 2px;
}

.item-bar-container {
  position: relative;
  width: 100%;
}

.li-item{
  position: relative;
  margin-inline: 30px;
}

.li-item::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 3px;
  background-color: var(--color-secundario);
  bottom: -6px;
  left: 0px;
  transition: width 0.3s ease-in-out;
}

.li-item:hover::after, .li-item.active::after {
    width: 100%;
}

.transicion {
  transition: all 0.3s ease-in-out;
}


@media (max-width: 1074px) {
  .nav-list {
    display: block;
  }

  .nav-list {
    padding-left: 0px;
    text-align: center;
  }

  .nav li {
    margin-block: 15px;
    margin-inline: 0px;
  }

  .header{
    flex-direction: column;
    align-items: center;
  }

  .logo {
    display: flex;
    width: 100%;
    text-align: center;
  }

  .hamburguesa {
      display: block;
  }

  .oculto {
    display: none;
    /* margin-top: -500px; */
  }

  .nav-list, .header-actions {
    transition: all 0.3s ease-in-out;
  }

}