/* Header */
header{
  background-color: rgb(255, 255, 255);
  padding: 20px;
}

#bt-menu{
  display: none;
}

#logo{
  display: inline-block;
}

#logo a img{
  width: 280px;
  height: auto;
}

header nav{
  display: inline;
  float: right;
  padding: 25px;
}

header nav ul{
  display: inline;
}

header nav ul li{
  display: inline;
}

header nav ul li a{
  text-decoration: none;
  color: rgb(0, 0, 0);
  padding: 0px;
  font-size: 18px;
  padding: 15px;
  letter-spacing: 2px;
  position: relative;
}

header nav ul li a::after{
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background:rgb(0, 195, 255);
  /* Animación */
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 0.2s ease-in-out;
}

header nav ul li a:hover{
  color: rgb(0, 195, 255);
}

header nav ul li a:hover::after{
  transform: scaleX(1);
}

@media screen and (max-width:1024px){
  /*Header*/
  header nav{
    position: fixed;
    z-index: 2;
    top: 80px;
    right: -50%;
    width: 50%;
    height: 100%;
    background-color: rgb(255, 255, 255);
    float: none;
    transition: right 0.75s;
  }

  header nav ul{
    display: block;
  }
  header nav ul li{
    display: block;
  }

  header nav ul li a{
    display: block;
    border-bottom: 1px solid rgb(0, 0, 0);
  }

  #bt-menu{
    display: inline;
    padding:12px;
    float: right;
  }

  #bt-menu img{
    width: 40px;
  }
}

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

  #bt-menu img {
    width: 30px;
  }

  #slide-menu{
    display: none;
  }

  #bt-menu{
    padding:5px;
  }

  #logo a img{
    width: 200px;
    height: auto;
  }
}