/* estilos base */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Signika Negative", sans-serif;
  background-color: #f5f5f5;
}

/* header
****************************/
.header {
  width: 100%;
  background-color: #fff;
}
.header a {
  text-decoration: none;
}
.child-header {
  max-width: 1400px;
  padding: 0 5%;
  margin: 0 auto 0;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* logo
****************************/
.link-logo {
  font-weight: 700;
  color: #000;
  font-size: 28px;
}

/* menu de navegacion
****************************/
.box-menu-navegacion {
  width: 50%;
}
.box-menu-navegacion ul {
  margin: 0;
  list-style: none;
  padding: 0;
}
.menu-navegacion {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.item-menu-link {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  color: #999;
  transition: 0.3s linear;
  padding: 1.8rem 0;
  display: inline-block;
}

/* hover */
.item-menu-link:hover {
  color: #13acba;
}
.item-menu-sub-menu:hover i {
  color: #13acba;
  transition: 0.3s linear;
}

/* boton hamburguesa
****************************/
.btn-hamburguesa {
  display: none;
  background-color: transparent;
  height: 30px;
  border: none;
  cursor: pointer;
}
.btn-hamburguesa span {
  height: 2px;
  display: block;
  background-color: #000;
  width: 25px;
  border-radius: 20px;
}
.btn-hamburguesa span:nth-child(2) {
  margin: 0.4rem 0;
}

/* sub menu
****************************/
.item-menu-sub-menu {
  position: relative;
}
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  background-color: #fff;
  transform: scaley(0);
  transform-origin: top;
  transition: transform 0.3s linear;
}
.sub-menu .item-menu-link {
  padding: 0.8rem;
}

/* hover */
.item-menu-sub-menu:hover .sub-menu {
  transform: scaley(1);
}

.fixed-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000; /* Ajusta el valor según sea necesario */
  width: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Agrega una sombra si es necesario */
}
.fixed-menu-active .header-top {
  display: none;
}

@media screen and (max-width: 1300px) {
  /* boton hamburguesa
****************************/
  .btn-hamburguesa {
    display: block;
  }

  /*  header
****************************/
  .header {
    position: relative;
    padding: 1rem 0;
  }

  /*  menu de navegacion
****************************/
  .box-menu-navegacion {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    width: 100%;
    transform: scaley(0);
    transform-origin: top;
    transition: 0.3s linear;
    padding: 0 2rem;
  }
  .menu-navegacion {
    flex-direction: column;
    align-items: flex-start;
  }
  .item-menu-link {
    padding: 1rem 0;
  }
  .item-menu-sub-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
  }
  .angle-view-sub-menu {
    border: 1px solid #000;
    width: 30px;
    display: flex;
    justify-content: center;
    padding: 0.2rem 0;
  }
  .sub-menu {
    width: 100%;
    position: initial;
    transform: scaley(1);
    display: none;
  }

  /*  activador sub menu
****************************/
  .viewMenu {
    transform: scaley(1);
  }

  /*  hover
****************************/
  .item-menu-link:hover,
  .item-menu-sub-menu:hover i {
    color: initial;
  }
}
