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

.nav{
  display: block;
  width: 100%;
  position: fixed;
  top: 0;
}

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

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

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

.navigation ul li a{
  padding: 10px 15px;
  cursor: pointer;
  font-size: var(--fs-tiny);
  font-family: var(--f-family-h);
  margin: 0;
  color: var(--color-green);
}

.navigation .btn{
  padding: 10px 25px;
  border-radius: 5px;
}

.navigation li a:last-child{
  background: var(--color-green);
  border-radius: 5px;
  margin-left: 30px;
}

.navigation li a:last-child,
.navigation li a:last-child:hover{
  color: white;
}

.navigation ul li a:hover{
  color:var(--color-black);
}

@media screen and (max-width: 1080px){
  .navigation{
    padding: 0px 20px;
  }
  .navigation ul{
    position: absolute;
    width: 300px;
    height: 100vh;
    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;
  }

  .navigation li a:last-child{
    margin-left: 0;
    margin-top: 30px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
  }

}

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

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

.logo img{
  height: 40px;
  margin-top: -15px;
  margin-right: 20px;
}

@media screen and (max-width: 1080px){
  .logo img{
    height: 20px;
    margin-top: -5px;
  }
}

/* ============================================== */
/* LANGUAGE */
/* ============================================== */

.language{
  display: inline-block;
  padding: 10px;
  width: auto;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-grey);
}

.language.active{
  background: var(--color-green);
  border-radius: 5px;
  color: white;
  font-weight: 500;
}

@media screen and (max-width: 520px){
  .language{
    padding: 10px;
  }
}

/* ============================================== */
/* 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: var(--color-black);
}

.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;
}



