/*============================================================================
                                   Header
  ============================================================================*/

.logo {
  display: inline-block;
  width: 120px;
  height: 42px;
  margin-left: 0.5rem;
  margin-top: -1.0rem;
  z-index: 999999;
}

@media (max-width: 700px) {
 .logo {
  margin-top: 0;
}
}


/*============================================================================
                                 Navigation
                Cite: https://codepen.io/ev3lym/pen/geaGem
============================================================================*/
.navbar {
    padding: 1em;
}
#menu {
  margin: 0;
}
.menu1 {
  margin: 0;
}

#navbar {
  background-color: white;
  color: rgb(110, 119, 131);
  position: fixed;
  top: 0;
  height: 60px;
  line-height: 60px;
  width: 100vw;
  z-index: 10;
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.1);
}

.nav-wrapper {
  margin-right: 10%;
  margin-left: auto;
  text-align: right;
  width: 70%;
} @media(max-width: 768px) {
    .nav-wrapper {
      width: 95%;
      margin-right: 8%;
    }
} @media(max-width: 638px) {
    .nav-wrapper {
      width: 100%;
    }
 } 

#navbar ul {
  list-style: none;
  text-align: right;
  transition: transform 0.5s ease-out;
  -webkit-transition: transform 0.5s ease-out;
} @media(max-width: 640px) {
    #navbar ul {
      display: none;
    }
  } @media(orientation: landscape) {
      #navbar ul {
        display: inline-block;
      }
    }

#navbar li {
  display: inline-block;
}

#navbar li a {
  color: #35200A;
  display: block;
  height: 50px;
  font-size: 1.8rem;
  letter-spacing: 1px;
  margin: 0 20px;
  padding: 0 4px;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
}

#navbar li a:hover {
  color: #4087c2;
  transition: all 1s ease;
  -webkit-transition: all 1s ease;
}

/* Animated Bottom Line */
#navbar li a:before, #navbar li a:after {
  content: '';
  position: absolute;
  width: 0%;
  height: 1px;
  bottom: -1px;
  background: #4087c2;
}

#navbar li a:before {
  left: 0;
  transition: 0.5s;
}

#navbar li a:after {
  background: rgb(255, 201, 82);
  right: 0;
  /* transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1); */
}

#navbar li a:hover:before {
  background: #4087c2;
  width: 100%;
  transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

#navbar li a:hover:after {
  background: transparent;
  width: 100%;
  /* transition: 0s; */
}


/*======================================================
                Hamberger Menu Icon
======================================================*/
@media(max-width: 640px) {
  .menuIcon {
    cursor: pointer;
    display: block;
    position: fixed;
    right: 15px;
    top: 20px;
    height: 23px;
    width: 27px;
    z-index: 12;
  }

/* Icon Bars */
.icon-bars {
  background: #35200A;
  position: absolute;
  left: 1px;
  top: 45%;
  height: 2px;
  width: 20px;
  -webkit-transition: 0.4s;
  transition: 0.4s;
} 

  .icon-bars::before {
    background: #35200A;
    content: '';
    position: absolute;
    left: 0;
    top: -8px;
    height: 2px;
    width: 20px;
/*     -webkit-transition: top 0.2s ease 0.3s;
    transition: top 0.2s ease 0.3s; */
    -webkit-transition: 0.3s width 0.4s;
    transition: 0.3s width 0.4s;
  }

  .icon-bars::after {
    margin-top: 0px;
    background: #35200A;
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    height: 2px;
    width: 20px;
/*     -webkit-transition: top 0.2s ease 0.3s;
    transition: top 0.2s ease 0.3s; */
    -webkit-transition: 0.3s width 0.4s;
    transition: 0.3s width 0.4s;
  }


  /* Toggle Menu Icon */
  .menuIcon.toggle .icon-bars {
    top: 5px;
    transform: translate3d(0, 5px, 0) rotate(135deg);
    transition-delay: 0.1s;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  .menuIcon.toggle .icon-bars::before {
    top: 0;
    transition-delay: 0.1s;
    opacity: 0;
  }

  .menuIcon.toggle .icon-bars::after {
    top: 10px;
    transform: translate3d(0, -10px, 0) rotate(-270deg);
    transition-delay: 0.1s;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  .menuIcon.toggle .icon-bars.overlay {
    width: 20px;
    opacity: 0;
    -webkit-transition: all 0s ease 0s;
    transition: all 0s ease 0s;
  }
}


/*======================================================
                Responsive Mobile Menu 
  ======================================================*/

.overlay-menu {
  background-color: #7da9e3;
  color: rgb(13, 26, 38);
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  padding-right: 15px;
  transform: translateX(-100%);
  width: 100vw;
  height: 100vh;
  -webkit-transition: transform 0.2s ease-out;
  transition: transform 0.2s ease-out;
}

.overlay-menu ul,
.overlay-menu li {
  display: block;
  position: relative;
}

.overlay-menu li a {
  display: block;
  font-size: 1.8em;
  letter-spacing: 4px;
  /*  opacity: 0; */
  padding: 10px 0;
  text-align: right;
  text-transform: uppercase;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
  /*  -webkit-transition: 0.2s opacity 0.2s ease-out;
  transition: 0.2s opacity 0.2s ease-out; */
}

.overlay-menu li a:hover,
.overlay-menu li a:active {
  color: rgb(28, 121, 184);
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}



.goumai {
  width: 10em;
  padding: 10px 30px;
  text-align: center;
  font-size: 18px; 
  background-color: red !important;
  color: white !important;
}

.goumai:hover {
  background-color: grey !important;
  color: black !important;
}

.flex-parent {
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
}
.flex-child {
  flex:1 1 auto;
}
.flex-none {
  flex:none;
}
.flex-basis {
  flex-basis:auto;
}
.flex-center {
  align-items:center;
}
.flex-start {
  align-items:flex-start;
}
.flex-wrap {
  flex-wrap:wrap;
}
.flex-vertical {
  flex-direction:column;
}