.nav__mobile {
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  z-index: 5;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-color: rgba(9, 50, 112, 0.95);
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  height: 180px;
  -webkit-transition: all .5s ease-out;
  transition: all .5s ease-out;
  display: none;
}

.nav__mobile .nav__mobile__ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-right: 20px;
}

.nav__mobile .nav__mobile__ul a {
  text-decoration: none;
}

.nav__mobile .nav__mobile__li {
  list-style-type: none;
  margin: 1rem 0 0 0;
  text-align: center;
  -webkit-transition: all .5s ease-out;
  transition: all .5s ease-out;
  color: #eee;
  border-bottom: 1px solid #fff;
}

.nav__mobile .nav__mobile__li:hover {
  color: #c9c9c9;
}

.nav__mobile--shown {
  display: block;
}

.menu-bar {
  display: none;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 20;
  cursor: pointer;
  -webkit-transition: -webkit-transform .3s ease-out;
  transition: -webkit-transform .3s ease-out;
  transition: transform .3s ease-out;
  transition: transform .3s ease-out, -webkit-transform .3s ease-out;
  -webkit-animation: barUp 2s ease-out 1s;
          animation: barUp 2s ease-out 1s;
  -webkit-animation-fill-mode: backwards;
          animation-fill-mode: backwards;
}

@media screen and (max-width: 750px) {
  .menu-bar {
    display: block;
  }
}

.menu-bar:hover {
  -webkit-transform: scale(0.9);
          transform: scale(0.9);
}

.menu-bar::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 20px;
  height: 3px;
  background-color: #fff;
  -webkit-transition: all .3s ease-out;
  transition: all .3s ease-out;
}

.menu-bar--bar {
  position: absolute;
  top: 0px;
  left: 0;
  width: 20px;
  height: 3px;
  background-color: #fff;
  -webkit-transition: all .3s ease-out;
  transition: all .3s ease-out;
}

.menu-bar::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 0;
  width: 20px;
  height: 3px;
  background-color: #fff;
  -webkit-transition: all .3s ease-out;
  transition: all .3s ease-out;
}

.menu-bar--close::before {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  top: 5px;
  background-color: #fff;
}

.menu-bar--close .menu-bar--bar {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  top: 5px;
  background-color: #fff;
}

.menu-bar--close::after {
  opacity: 0;
}
