body { margin: 0;}

.bar {
  background:#1c1815; /*color of background*/
  width:100%;
  position: fixed;
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,.4);
  z-index: 3;
}
.menu {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  text-align: center;
  list-style-type: none;
}
.menu li {
  display: block;
  padding-top: 20px;
  padding-bottom: 20px;
}
.menu a {
  text-decoration: none;
  padding: 20px;
  font-size: 16px;
	color: white; /*color of font*/
	font-family: Century gothic, verdana,arial,sans-serif;
  transition: background-color .5s ease-out;
}

.bar li:hover,
.bar .menu-btn:hover {
  background-color: #120f0d; /*color of hover*/
}

.current {
  background: #0a0907;
}

/* menu */

.bar .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}

/* menu icon */

.bar .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 28px 20px;
  position: relative;
  user-select: none;
}

.bar .menu-icon .navicon {
  background: white; /*color of burger*/
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

.bar .menu-icon .navicon:before,
.bar .menu-icon .navicon:after {
  background: white; /*color of buns*/
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.bar .menu-icon .navicon:before {
  top: 5px;
}

.bar .menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

.bar .menu-btn {
  display: none;
}

.bar .menu-btn:checked ~ .menu {
  max-height: 240px;
}

.bar .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.bar .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.bar .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.bar .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.bar .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

/* 48em = 768px */

@media (min-width: 48em) {
  .menu li {
    display: inline;
  }
  .bar li a {
    padding: 40px;
  }
  .bar .menu {
    clear: none;
    max-height: none;
    padding: 20px;
  }
  .bar .menu-icon {
    display: none;
  }
}
