/* CSS FOR THE MOBILE NAVBAR 
----------------------------------------------- */

.header,
.header .nav,
.header .nav .menu,
.header .nav .btn {
  display: flex;
}

.header {
  padding: 10px 0;
  position: absolute;
  width: 100%;
  z-index: 3;
  box-sizing: border-box;
  justify-content: center;
  /* border: 1px solid red; */
}

.cover {
  width: 100%;
  top: 0;
  height: 100%;
  background-color: #fec465;
  position: absolute;
  z-index: -1;
}

.cover-show {
  opacity: 0;
}

.cover-hide {
  transition: all 0.7s;
  opacity: 0.7;
}

.header .nav {
  flex-direction: row;
  width: 75%;
  justify-content: space-between;
  align-items: center;
  /* border: 1px solid blue; */
  margin: 0 auto;
}

.header .nav .logo {
  cursor: pointer;
  margin: 0 0 0 -15px !important;
  width: 150px;
  /* border: 1px solid blue; */
}

/* .header .nav .second .footnav {
  border: 1px solid blue;
} */

.header .nav .menu {
  display: none;
  width: 2.3rem;
  height: 1.7rem;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  /* border: 1px solid blue; */
  transition: transform 650ms ease-out;
}

.header .nav .menu .bar {
  background: white;
  width: 85%;
  height: 4px;
  border-radius: 0.8rem;
  /* margin: 5.7px 0 !important; */
}

/* .header .nav .menu .bar.middle {
  margin: 5.7px 0 !important;
} */

.header .nav .menu .bar.half {
  width: 50%;
}

.header .nav .btn:hover {
  color: #fec465;
}

.close {
  position: absolute;
  /* float: right; */
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: #99a6b7;
  /* text-shadow: 0 1px 0 #fff; */
}

@media screen and (max-width: 767px) {
  .header .nav {
    width: 85%;
  }

  .header .nav .logo {
    width: 125px;
  }

  .header .nav .menu {
    width: 2rem;
    height: 1.5rem;
  }

  .header .nav .second .footnav {
    display: none;
  }
}

@media (max-width: 480px),
screen and (max-width: 480px) {}

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

  .header .nav .menu {
    display: flex;
  }

}

@media (max-width: 1024px),
screen and (max-width: 1024px) {}