* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

header {
  margin: auto;
  height: 64px;
  background: rgb(0, 13, 91);
  color: #FFF;
  display: flex;
  justify-content: flex-end; 
  align-items: center; 
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500; 
}

#btn-menu {
  display: none;
}

header label {
  font-size: 30px;
  cursor: pointer;
  display: none;
}

.a_img:hover {
  background: rgb(69, 194, 255);
}

header img {
  width: 125px;
  height: 50px;
  padding-top: 10px;
  padding-bottom: 0px;
}

.menu {
  display: flex;
  align-items: center;
}

.menu ul {
  background: rgb(0, 13, 91);
  display: flex;
  list-style: none;
}

.menu ul ul {
  display: none;
  text-align: center;
}

.menu .a_li {
  display: block;
  padding: 15px 20px;
  color: #FFF;
  text-decoration: none;
  line-height: 34px;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
}

.menu a:hover {
  background: rgb(69, 194, 255);
}

.menu .a_li i {
  margin-left: 20px;
}

.menu ul li:hover ul {
  transition: all 0.3s ease;
  display: block;
  position: absolute;
}

/*  */

@media (max-width: 880px) {
  header label {
    display: block;
    padding-top: 16px;
    padding-right: 16px;
    transition: all 0.4s ease;
  }
  
  .menu {
    position: absolute;
    top: 64px;
    left: 0;
    width: 70%;
    transform: translateX(200%);
    transition: all 0.3s;
  }
  
  .menu ul {
    flex-direction: column;
    display: block;
  }
  
 
  
  .menu .a_li i {
    position: absolute;
    right: 16px;
    line-height: 32px;
  }
  
  #btn-menu:checked ~ .menu {
    transform: translateX(76%);
  }
}


