/* ============================================== */
/* NAV */
/* ============================================== */

.nav{
  display: block;
  width: 100%;
  position: fixed;
  background: var(--color-purple);
  top: 0;
}

/* ============================================== */
/* NAVIGATION */
/* ============================================== */

.navigation{
  margin:0 auto;
  padding: 10px 20px;
  max-width: 1920px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.navigation ul li,
.navigation ul li a{
  display: inline-block;
  position: relative;
}

.navigation ul li a{
  padding: 10px 15px;
  cursor: pointer;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  font-weight: 500;
  color: var(--color-pearl);
}

.navigation ul li a.active,
.navigation ul li a:hover{
  color:white;
}

@media screen and (max-width: 1080px){
  .navigation{
    padding: 0px 20px;
  }
  .navigation ul{
    position: absolute;
    width: 300px;
    height: 100vh;
    background: var(--color-purple);
    top: 0;
    right: -300px;
    padding: 80px 20px 20px;
    overflow-y: scroll;
  }
  .navigation ul li,
  .navigation ul li a{
    width: 100%;
  }

  .navigation ul.active{
    right: 0;
  }

}

/* ============================================== */
/* LOGO */
/* ============================================== */

.logo img{
  height: 40px;
}

@media screen and (max-width: 1080px){
  .logo img{
    height: 30px;
  }
}

/* ============================================== */
/* HAMBURGUER */
/* ============================================== */

.hamburguer{
  position: relative;
  width:50px;
  height:50px;
  cursor:pointer;
  margin:0;
  display: none;
}

.hamburguer span{
  position:absolute;
  display:block;
  height:2px;
  opacity: 1;
  top:10px;
  left:12px;
  width:50%;
  background: white;
}

.hamburguer span:nth-child(1){top:17px;}
.hamburguer span:nth-child(2){top:24px;}
.hamburguer span:nth-child(3){top:31px;}

.hamburguer.active span:nth-child(1){transform: rotate(135deg);top:24px;}
.hamburguer.active span:nth-child(2){width: 0%;}
.hamburguer.active span:nth-child(3){transform: rotate(-135deg);top:24px;}

@media screen and (max-width: 1080px){
  .hamburguer{
    display: block;
  }
}

/* ============================================== */
/* TRANSITIONS */
/* ============================================== */

nav,
.navigation,
.hamburguer{
  z-index: 999;
}

.hamburguer span,
.navigation ul,
.navigation a{
  -webkit-transition:all 350ms ease;
  -moz-transition:all 350ms ease;
  -ms-transition:all 350ms ease;
  transition:all 350ms ease;
}



