/*
@import url(https://fonts.googleapis.com/css?family=Raleway);
html, body {
  margin: 0;
  height: 100%;
}
*/

* {
/*  font-family: "Raleway";*/
  box-sizing: border-box;
}
.nav-header {
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 99999;
}
.top-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  /*background: rgba(255,255,255,0.3);*/ 
background: rgba(0,0,0,1);
background: -moz-linear-gradient(top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,0,0,1)), color-stop(100%, rgba(0,0,0,0)));
background: -webkit-linear-gradient(top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
background: -o-linear-gradient(top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
background: -ms-linear-gradient(top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
background: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=0 );
/*  background: linear-gradient(to left, #f46b45, #eea849);*/
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  color: #fff;
  height: 100px;
  padding: 1em;
    transition: all ease-in-out 200ms; -moz-transition: all ease-in-out 200ms; -webkit-transition: all ease-in-out 200ms; -o-transition: all ease-in-out 200ms; -ms-transition: all ease-in-out 200ms;
}

.top-nav div{max-width: 350px;}
.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu > li {
  margin: 0 1rem;
}
.menu > li a{color: #fff; text-decoration: none;}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  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: #292929;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#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(-405deg);
}
.top-nav.fixed-nav {
	position: fixed;
	background: #fff;
	width: 100%;
	height: 50px;
	transition: all ease-in-out 200ms; -moz-transition: all ease-in-out 200ms; -webkit-transition: all ease-in-out 200ms; -o-transition: all ease-in-out 200ms; -ms-transition: all ease-in-out 200ms;
	box-shadow: 0 0 3px 3px rgba(0,0,0,0.2); -moz-box-shadow: 0 0 3px 3px rgba(0,0,0,0.2); -ms-box-shadow: 0 0 3px 3px rgba(0,0,0,0.2); -o-box-shadow: 0 0 3px 3px rgba(0,0,0,0.2); -webkit-box-shadow: 0 0 3px 3px rgba(0,0,0,0.2);
}
.top-nav.fixed-nav #menu-toggle:checked + .menu-button-container .menu-button{
    background: rgba(0, 0, 0, 0);
}
.top-nav.fixed-nav .menu-button,
.top-nav.fixed-nav .menu-button::before,
.top-nav.fixed-nav .menu-button::after {
  background-color: #333;
}
@media (max-width: 1079px) {
    .top-nav div {
	max-width: 250px;
}
  .menu-button-container {
    display: flex;
  }
    .top-nav{background: transparent; color: #fff;}
    .menu > li a {color: #fff; background: #000;}
    .top-nav.fixed-nav .menu{margin-top: 50px;}
  .menu {
    position: absolute;
    top: 0;
    margin-top: 60px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
    .menu li a, .menu li{display: none;}
    #menu-toggle:checked ~ .menu li a{display: block;}
  #menu-toggle:checked ~ .menu li {
    border: 1px solid #333;
    height: 2.5em;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: white;
    background-color: #222;
  }
  .menu > li:not(:last-child) {
    border-bottom: 1px solid #444;
  }
}