/* ============================================== */
/* ANCHORS */
/* ============================================== */

section:not(:first-child) .anchor{  transform: translateY(2px);  }

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

.nav{
  top:0;
  display: block;
  width: 100%;
  position: fixed;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--color-blue-line);
}

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

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

.language{
  margin-left: 20px;
  flex-shrink: 0;
}

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

.language a,
.navigation ul li a{
  padding: 10px 15px;
  cursor: pointer;
  font-size: var(--fs-base);
  margin: 0 5px;
  color:white;
  opacity: 0.7;
  border-radius: 10px;
}

.language a.active,
.navigation ul li a.active{
  background: var(--color-grey);
  opacity: 1;
}

.navigation ul li a:hover{
  opacity: 1;
}

@media screen and (max-width: 1080px){
  .navigation{
    padding: 0px 30px;
  }
  .navigation ul{
    position: absolute;
    width: 300px;
    height: 100vh;
    top: 0;
    right: -300px;
    padding: 80px 20px 20px;
    overflow-y: auto;
    background-color: rgba(24, 24, 33, 0.9);
    backdrop-filter: blur(10px);
  }
  .navigation ul li,
  .navigation ul li a{
    width: 100%;
  }

  .navigation ul li a{
    margin: 5px 0;
  }

  .navigation ul.active{
    right: 0;
  }

  .language{
    margin-left: 14px;
  }

  .language a{
    padding: 8px;
    margin: 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;
}




