@charset "UTF-8";

html, body {
  margin: 0;
  height: 100%;
}

.top-nav {
  display: flex;
  flex-direction:row-reverse;
  align-items: center;
  justify-content: space-between;
  background-color: #FFF;
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  font-family: Hark-Regular, sans-serif;
  color: #781;
  height: 133px;
  padding: 1em;
}

.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 87px 0 0 0;
}

.menu > li {
  margin: 0 1rem;
  overflow: hidden;
  background-color: transparent;
  color: #bc5;
}

.menu > li a {
  color: #781;
  text-decoration: none;
}

.menu > li a:hover { 
	color:#E75012; 
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 32px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #bc5;
  position: absolute;
  height: 5px;
  width: 30px;
  transition: all 275ms ease-in-out;
  border-radius: 3px;
}

.menu-button::before {
  content: '';
  margin-top: -10px;
}

.menu-button::after {
  content: '';
  margin-top: 10px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(135deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-135deg);
}


@media (max-width:1400px) {
  .top-nav {
    height: 100px;
  }
  .menu {
    padding: 63px 0 0 0;
  }
}

@media (max-width: 1000px) {
  .menu-button-container {
    display: flex;
  }
  .menu {
    position: absolute;
    top: 0;
    margin-top: 100px;
	padding: 0;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  #menu-toggle ~ .menu li {
	width: 85%;
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: all 225ms ease-in-out;
  }
  #menu-toggle:checked ~ .menu li {
	width: 85%;
    padding: 1.5em 0 3em 0;
    transition: all 225ms ease-in-out;
  }
  .menu > li {
    display: flex;
    justify-content: center;
    width: 100%;
	font-size: 1.25em;
    color: #ab4;
    background:rgba(119,136,17,0.95);
	z-index: 2000;
  }
  .menu > li a {
	color: #FFF;
	text-decoration: none;
  }
  .menu > li a:hover {
	color: #F86A23;
  }
}