/******************************* HEADER ESCRITORIO *****************************/
header{
  position: relative;
  width: 100%;
  z-index: 44;
  margin: 0 auto;
  height: 0px;
  display: flex;
  justify-content: center;
}

.header2 {
    position: fixed;
    z-index: 99999999999999;
    box-sizing: content-box;
    padding-left: 10%;
    padding-right: 10%;
    width: 80%;
    height: 64px;
    background: white;
    transition: .3s;
}

.header_logo {
  transition: .3s;
  display: flex;
  justify-content: space-between;
}

.header2 ul.menu-escritorio li{float: left;}
.header2 ul.menu-escritorio li a{text-decoration: none; color: #000; margin-right: 20px;}

.header2.small {
  height: 71px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.9);
  box-sizing: content-box;
  background: rgb(0, 0, 0);
  padding-left: 12%;
  padding-right: 12%;
  width: 76%;
  padding-top: 5px;
}

.header2.small ul.menu-escritorio li{float: left;}
.header2.small ul.menu-escritorio li a{text-decoration: none; color: white; margin-right: 20px;}

.header2 .logo-header {
  background-image: url(../img/logo-negro.png);
  background-size: 100%;
  background-repeat: no-repeat;
  height: 64px; 
  width: 221px;
  transition: .3s;
  display: block;
}

.header2.small .logo-header {
  background-image: url(../img/logo-blanco.png);
  background-repeat: no-repeat;
  height: 65px;
  width: 220px;
}

ul.menu-escritorio {
  float: right;
  list-style-type: none;
  padding-top: 5px;
  height: 28px;
  margin-top: 14px;
  position: relative;
  z-index: 99999;
}

header ul.menu {text-align: center;}
header ul.menu a{text-decoration: none; color: #392e10;}



@media (max-width: 768px){
  .header2 {
    padding-left: 5%;
    padding-right: 5%;
    width: 90%;
    height: 46px;
    padding-top: 5px;
  }

  .header2 .logo-header {
    height: 45px;
    width: 150px;
  }

  .header2.small {
    height: 44px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    padding-left: 8%;
    padding-right: 10%;
    width: 82%;
  }

  .header2.small .logo-header {
    background-image: url(../img/logo-blanco.png);
    height: 40px;
    width: 130px;
  }

  .header2.small #burger .bar {
    background: white;
  }
}


@media (max-width: 480px){
    .header2 .logo {height: 50px; width: auto!important; transition: .3s;}
    .header2.small .logo {height: 40px; width: auto!important; margin-top: 0; margin-left: -5px;}

}






/******************************* HEADER MOBILE*****************************/
.window {
    position: absolute;
    z-index: 99;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: transparent;
}


.window .header {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  height: 50px;
  width: 100%;
  background: transparent;
  overflow: hidden;
  transition: all 0.5s ease-out, background 1s ease-out;
  transition-delay: 0.2s;
  z-index: 1;
}
.window .header .burger-container {
  position: relative;
  display: inline-block;
  height: 50px;
  width: 15%;
  margin-left: 85%;
  cursor: pointer;
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
  transition: all 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99);
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.window .header .burger-container #burger {
  width: 18px;
  height: 8px;
  position: relative;
  display: block;
  margin: -4px auto 0;
  top: 50%;
}
.window .header .burger-container #burger .bar {
  width: 100%;
  height: 1px;
  display: block;
  position: relative;
  background: #000;
  transition: all 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99);
  transition-delay: 0s;
}
.window .header .burger-container #burger .bar.topBar {
  -webkit-transform: translateY(0px) rotate(0deg);
          transform: translateY(0px) rotate(0deg);
}
.window .header .burger-container #burger .bar.btmBar {
  -webkit-transform: translateY(6px) rotate(0deg);
          transform: translateY(6px) rotate(0deg);
}
.window .header .icon {
  display: inline-block;
  position: absolute;
  height: 100%;
  line-height: 50px;
  width: 50px;
  height: 50px;
  text-align: center;
  color: #FFF;
  font-size: 22px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
.window .header .icon.icon-bag {
  right: 0;
  top: 0;
  left: auto;
  -webkit-transform: translateX(0px);
          transform: translateX(0px);
  transition: -webkit-transform 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99);
  transition: transform 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99);
  transition: transform 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99), -webkit-transform 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99);
  transition-delay: 0.65s;
}
.window .header ul.menu {
  position: relative;
  display: block;
  padding: 0px 48px 0;
  list-style: none;
  margin-top: 30vw;
}
.window .header ul.menu li.menu-item {
  margin-top: 5px;
  -webkit-transform: scale(1.15) translateY(-30px);
          transform: scale(1.15) translateY(-30px);
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4, 0.01, 0.165, 0.99), -webkit-transform 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99);
  transition: transform 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99), opacity 0.6s cubic-bezier(0.4, 0.01, 0.165, 0.99);
  transition: transform 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99), opacity 0.6s cubic-bezier(0.4, 0.01, 0.165, 0.99), -webkit-transform 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99);
}
.window .header ul.menu li.menu-item:nth-child(1) {
  transition-delay: 0.49s;
}
.window .header ul.menu li.menu-item:nth-child(2) {
  transition-delay: 0.42s;
}
.window .header ul.menu li.menu-item:nth-child(3) {
  transition-delay: 0.35s;
}
.window .header ul.menu li.menu-item:nth-child(4) {
  transition-delay: 0.28s;
}
.window .header ul.menu li.menu-item:nth-child(5) {
  transition-delay: 0.21s;
}
.window .header ul.menu li.menu-item:nth-child(6) {
  transition-delay: 0.14s;
}
.window .header ul.menu li.menu-item:nth-child(7) {
  transition-delay: 0.07s;
}
.window .header ul.menu li.menu-item a {
  display: block;
  position: relative;
  font-weight: 100;
  text-decoration: none;
  font-size: 20px;
  line-height: 36px;
  font-weight: 400;
  width: 100%;
  text-align: center;

}
.window .header.menu-opened {
  height: 100%;
  background-color: #fff;
  transition: all 0.3s ease-in, background 0.5s ease-in;
  transition-delay: 0.25s;
}
.window .header.menu-opened .burger-container {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}
.window .header.menu-opened .burger-container #burger .bar {
  transition: all 0.4s cubic-bezier(0.4, 0.01, 0.165, 0.99);
  transition-delay: 0.2s;
}
.window .header.menu-opened .burger-container #burger .bar.topBar {
  -webkit-transform: translateY(4px) rotate(45deg);
          transform: translateY(4px) rotate(45deg);
}
.window .header.menu-opened .burger-container #burger .bar.btmBar {
  -webkit-transform: translateY(3px) rotate(-45deg);
          transform: translateY(3px) rotate(-45deg);
}
.window .header.menu-opened ul.menu li.menu-item {
  -webkit-transform: scale(1) translateY(0px);
          transform: scale(1) translateY(0px);
  opacity: 1;
}
.window .header.menu-opened ul.menu li.menu-item:nth-child(1) {
  transition-delay: 0.27s;
}
.window .header.menu-opened ul.menu li.menu-item:nth-child(2) {
  transition-delay: 0.34s;
}
.window .header.menu-opened ul.menu li.menu-item:nth-child(3) {
  transition-delay: 0.41s;
}
.window .header.menu-opened ul.menu li.menu-item:nth-child(4) {
  transition-delay: 0.48s;
}
.window .header.menu-opened ul.menu li.menu-item:nth-child(5) {
  transition-delay: 0.55s;
}
.window .header.menu-opened ul.menu li.menu-item:nth-child(6) {
  transition-delay: 0.62s;
}
.window .header.menu-opened ul.menu li.menu-item:nth-child(7) {
  transition-delay: 0.69s;
}
.window .header.menu-opened .icon.icon-bag {
  -webkit-transform: translateX(75px);
          transform: translateX(75px);
  transition-delay: 0.3s;
}
.window .content {
  font-family: 'Cairo', sans-serif;
  padding: 67px 4% 0;
  text-align: justify;
  overflow: scroll;
  max-height: 100%;
}
.window .content::-webkit-scrollbar {
  display: none;
}
.window .content h2 {
  margin-bottom: 0px;
  letter-spacing: 1px;
}
.window .content img {
  width: 95%;
  position: relative;
  display: block;
  margin: 75px auto 75px;
}
.window .content img:nth-of-type(2) {
  margin: 75px auto;
}
@media (max-width: 600px) {
  .window {
    width: 100%;
    height: 0;
    margin: 0;
    border-radius: 0px;
  }
  .window .header {
    position: fixed;
  }
}

@media (min-width: 992px) {
  .window {
    display: none;
  }
}

@media (max-width: 992px){
  div.burger {
    display: block;
  }

  ul.menu-escritorio{
    display: none;
  }
}

@media (max-width: 768px){
  .window .header.menu-opened {
    background-color: white;
  }

  .window .header ul.menu li.menu-item a {
    color: black;
  }

  .header.small .burger-container #burger .bar {
    background: white;
  }

  .window .header.small.menu-opened {
    background-color: black;
  }

  .window .header.small ul.menu li.menu-item a {
    color: white;
  }

  .header .menu{
    margin-top: 35vw;
  }

  .header.small .menu{
    margin-top: 40vw;
  }

  .logo-visible-blanco{
    display: block;
  }

  .logo-visible-negro{
    display: none;
  }

  .logo-visible-blanco.oculto{
    display: none;
  }

  .logo-visible-negro.visible{
    display: block;
  }



}
