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

nav{
  display: flex;
  justify-content: space-between;
  position: fixed;
  width: 100%;
  top:0;
  left: 0;
  z-index: 9999;
  float: left;
  padding: 0 30px;
}

@media screen and (max-width: 768px) {
  nav{
    padding: 0;
  }
}

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

.navigation{
  display: block;
  position: fixed;
  height: 100vh;
  width: 800px;
  background: var(--color-grey);
  right:-800px;
  z-index: 999;
}

.navigation.cerrado {
  -webkit-transition-delay: 0.8s;
  transition-delay: 0.8s;
}

.navigation ul{
  display: block;
  float:left;
  top: 50%;
  padding: 20px;
  width: 100%;
  position: relative;

  -webkit-transform: translate(0%, -50%);
  -moz-transform: translate(0%, -50%);
  -o-transform: translate(0%, -50%);
  -ms-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
}

.navigation ul li{
  display: block;
  float: left;
  position: relative;
  width: 100%;
  left: 10px;
  opacity: 0;
}

.navigation.active ul li{
  left: 0;
  opacity: 1;
}

.navigation ul li:nth-child(1) {
 -webkit-transition-delay: 0s;
  transition-delay: 0s;
}
.navigation ul li:nth-child(2) {
 -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
}
.navigation ul li:nth-child(3) {
 -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
.navigation ul li:nth-child(4) {
 -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}


.navigation.active ul li:nth-child(1) {
 -webkit-transition-delay: 0.4s;
  transition-delay: 0.4s;
}
.navigation.active ul li:nth-child(2) {
 -webkit-transition-delay: 0.5s;
  transition-delay: 0.5s;
}
.navigation.active ul li:nth-child(3) {
 -webkit-transition-delay: 0.6s;
  transition-delay: 0.6s;
}
.navigation.active ul li:nth-child(4) {
 -webkit-transition-delay: 0.7s;
  transition-delay: 0.7s;
}

.navigation ul li a{
  padding: 5px 20px;
  width: auto;
  color:var(--color-white);
  position: relative;
  display: block;
  cursor: pointer !important;
  opacity: 1;
  margin: 0;
  font-size: 80px;
  line-height: 80px;
  text-transform: uppercase;
}

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

.navigation ul li a:after{
  content: " ";
  width: 0%;
  height: 5px;
  background: var(--color-gold);
  position: absolute;
  top:48%;
  left: 0;
}

.navigation ul li a:hover:after{
  width: 50%;
}

.navigation.active{
  right:0px;
}

@media screen and (max-width: 768px) {

  .navigation ul li a{
    font-size: 40px;
    line-height: 50px;
  }

  .navigation{
    padding:60px 40px;
    width: 100%;
    right:-100%;
  }

}

/* ============================================== */
/* BODY */
/* ============================================== */

body.active{
  overflow-y:hidden;
  position: relative;
}

.logo{
  float: left;
  z-index: 9999;
  position: relative;
  display: block;
  width: 60px;
  height: 60px;
  background: var(--color-black);
  padding: 10px;
}

.menu-logo{
  display: block;
  float: left;
  width: auto;
  position: relative;
}

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

.language{
  z-index: 999;
  position: relative;
  display: block;
  float: left;
}

.language a{
  padding: 15px 10px;
  float: left;
  width: 60px;
  height: 60px;
  font-size: 14px;
  text-align: center;
  background: var(--color-black);
  margin-left: 1px;
  overflow: hidden;

  -webkit-transition:all 350ms ease;
  -moz-transition:all 350ms ease;
  -ms-transition:all 350ms ease;
  transition:all 350ms ease;
}

.language a:hover{
  color:var(--color-white);
}

.language a.active{
  color:var(--color-gold);
}

/* ============================================== */
/* BTN */
/* ============================================== */

.btn{
  color: var(--color-white);
  text-align: center;
  width:200px;
  padding: 15px 15px 16px;
  cursor:pointer;
  position: relative;
  float: left;
  margin-right:1px;
  display: block;
  font-weight: 700;
  background-size: 200% auto;

  -webkit-transition:all 350ms ease;
  -moz-transition:all 350ms ease;
  -ms-transition:all 350ms ease;
  transition:all 350ms ease;
}

.btn{background-image: linear-gradient(to right, #1D7A8B 0%, #55BAAB 51%, #1D7A8B 100%);}
.btn:hover{background-position: right center;}

@media screen and (max-width: 768px) {
  .btn{
    width:auto;
    padding: 19px 12px;
  }
}

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

.hamburguer{
  background: var(--color-black);
  width:60px;
  height:60px;
  cursor:pointer;
  float: left;
  position: relative;
  margin:0;
  display: block;
  z-index: 9999;
}

.hamburguer:hover span:nth-child(2){
  left: 10px;
}

.hamburguer span{
  position:absolute;
  display:block;
  height:2px;
  left: 15px;
  background: var(--color-gold);
  width:30px;

  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  border-radius: 5px;
}

.hamburguer span:nth-child(1){top:25px;}
.hamburguer span:nth-child(2){top:30px;}
.hamburguer span:nth-child(3){top:35px;}

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

@media screen and (max-width: 768px) {
  .hamburguer,
  .menu-logo{
    top:0;
  }
}

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

.hamburguer span,
.navigation,
.navigation ul li,
.navigation ul li a,
.navigation ul li a:after{
  -webkit-transition:all 350ms cubic-bezier(0.645, 0.045, 0.355, 1);
  -moz-transition:all 350ms cubic-bezier(0.645, 0.045, 0.355, 1);
  -ms-transition:all 350ms cubic-bezier(0.645, 0.045, 0.355, 1);
  transition:all 350ms cubic-bezier(0.645, 0.045, 0.355, 1);
}







