header {
  height: 6rem;
  width: 100%;
  background-color: #F5FF65;
}

@media screen and (min-width: 901px) {
  header {
    height: 9rem;
  }
}

header .inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  height: 100%;
  width: 100%;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 2rem;
}

header .inner .logo {
  width: 15vw;
  height:calc(15vw*1/4.36);
}

@media screen and (max-width: 600px) {
  header .inner .logo {
    width: 30vw;
    height:calc(30vw*1/4.36);
  }
}

header .inner .logo img,
header .inner .logo a {
  width: 100%;
  height: 100%;
}

header .inner .gnav {
  height: 100%;
}

header .inner .gnav-ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 50vw;
  height: 100%;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

@media screen and (max-width: 900px) {
  header .inner .gnav-ul {
    position: absolute;
    width: 50vw;
    height: 100vh;
    top: 0;
    right: -80vw;
    z-index: 30;
    background-color: #F5FF65;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding: 15rem 0;
    -webkit-transition: .7s;
    transition: .7s;
  }
}

@media screen and (max-width: 600px) {
  header .inner .gnav-ul {
    position: absolute;
    width: 80vw;
    height: 100vh;
    top: 0;
    right: -80vw;
    z-index: 30;
    background-color: #F5FF65;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding: 15rem 0;
    -webkit-transition: .7s;
    transition: .7s;
  }
}

header .inner .gnav-ul li {
  height: 100%;
}

header .inner .gnav-ul a {
  font-size: 1.5rem;
  color: #333333;
  font-weight: 500;
  text-align: center;
  height: 100%;
  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-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

header .inner .gnav-ul a:before {
  display: block;
  height: 2.5rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  margin-bottom: 0.5rem;
}

header .inner .gnav-ul #gnav-home > a:before {
  content: "";
  background-image: url(../img/nav/home.svg);
}

header .inner .gnav-ul #gnav-list > a:before {
  content: "";
  background-image: url(../img/nav/list.svg);
}

header .inner .gnav-ul #gnav-post > a:before {
  content: "";
  background-image: url(../img/nav/post.svg);
}

header .inner .gnav-ul #gnav-register > a:before {
  content: "";
  background-image: url(../img/nav/registrer.svg);
}

header .inner .gnav-ul #gnav-contact > a:before {
  content: "";
  background-image: url(../img/nav/contact.svg);
}

header .inner .in {
  -webkit-transform: translateX(-80vw);
          transform: translateX(-80vw);
}

header .inner #hamb {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  padding: 1rem;
  cursor: pointer;
  -webkit-transition: 1s;
  transition: 1s;
  background-color: transparent;
  z-index: 100;
}

@media screen and (min-width: 901px) {
  header .inner #hamb {
    display: none;
  }
}

header .inner .hamb_line {
  display: block;
  position: absolute;
  left: 50%;
  -webkit-transform: translate(-50%);
          transform: translate(-50%);
  width: 35px;
  height: 3px;
  background-color: #96CD39;
  -webkit-transition: .7s;
  transition: .7s;
  border-radius: 4px;
}

header .inner #line1 {
  top: 15px;
}

header .inner #line2 {
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

header .inner #line3 {
  bottom: 15px;
}

header .inner .line_1 {
  -webkit-transform: translate(-18px, 13px) rotate(-45deg);
          transform: translate(-18px, 13px) rotate(-45deg);
  -webkit-transform-origin: center;
          transform-origin: center;
  top: 0;
}

header .inner .line_2 {
  opacity: 0;
}

header .inner .line_3 {
  -webkit-transform: translate(-18px, -13px) rotate(45deg);
          transform: translate(-18px, -13px) rotate(45deg);
  -webkit-transform-origin: center;
          transform-origin: center;
  bottom: 0;
}
/*# sourceMappingURL=header.css.map */