/* Estilos comunes */

.hamburguesa
{
    font-size: 2.67rem;
    color: rgb(124, 124, 124);
    right: 1rem;
    font-weight: lighter;
}

.equis
{
    font-size: 2.67rem;
    color: rgb(230, 230, 230);
    right: 1rem;
    font-weight: bolder;
}


.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    z-index: 9999999999999999;
    visibility: hidden;
  }
  
  
  
  /* Estilos Escritorio */
  @media all and (min-width: 701px) {
  
    /* Oculta botón de abrir o cerrar */
    .nav__button,
    .header__button-nav--open {
      display: none;
    }
  
    /* Adapta el nav en horizontal */
    .nav__ul {
      display: flex;
      list-style: none;
      padding: 0;
    }
  
    .nav__link {
      display: block;
      padding: 0.5rem 1rem;
      text-decoration: none;
      color: black;
      transition: 0.5s;
    }
  
    .nav__link:hover {
      opacity: 0.5;
    }
  }

  @media (max-width: 767px) /*celulares*/
  {
  
    .header 
    {
        visibility: visible;
    }

    .nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgb(0, 59, 115);
      opacity: 1;
      transform: translateX(-100vw);
      transition: 0.5s;
    }
  
    /* Muestra el nav */
    .nav--show {
      transform: translateX(0);
    }
  
    .nav__button {
      text-align: right;
      margin: 1rem;
    }
  
    .nav__ul {
      
      height: 80%;
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-flow: column;
      justify-content: space-around;
      align-items: center;
      text-align: center;
      font-weight: 400;
    }
  
    .nav__link {
      display: block;
      padding: 1rem;
      font-family: 'Open Sans';
      font-size: 2rem;
      font-weight: bolder;
      text-align: center;
      text-decoration: none;
      color: rgb(230, 230, 230);
    }
  }

