* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: none;
}

body {
  width: 100%;
  min-height: 100%;
  background: #333;
  background-size: cover;
  font-size: 15px;
  font-family: 'Arial', sans-serif;
  font-weight: 400;
}

a {
	text-decoration: none;
	color: #fff;
}
a:hover {
	text-decoration: underline;
}
ul, li {
	list-style: none;
	line-height: 1,5;
}
/* Menu */
#nav-menu {
  position: fixed;
  height: 100%;
  width: 100%;
  pointer-events: none;
}

#nav-menu .bg {
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  height: calc(100% - 70px);
  visibility: hidden;
  opacity: 0;
  transition: .3s;
}

#nav-menu:focus-within .bg {
  visibility: visible;
  opacity: 6;
}

#nav-menu * {
  visibility: visible;
}

.button {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 0;
  background: transparent;
  border-radius: 0;
  height: 70px;
  width: 30px;
  cursor: pointer;
  margin-left: 26px;
  touch-action: manipulation;
  pointer-events: auto;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-appearance: none;
  z-index: 99;
}

#nav-menu:focus-within .button {
  pointer-events: none;
}

.icon-bar {
  display: block;
  width: 100%;
  height: 3px;
  background: #f6f6f6f6;
  transition: .3s;
}
.icon-bar + .icon-bar {
  margin-top: 5px;
}

#nav-menu:focus-within .icon-bar:nth-of-type(1) {
  transform: translate3d(0,8px,0) rotate(45deg);
}
#nav-menu:focus-within .icon-bar:nth-of-type(2) {
  opacity: 0;
}
#nav-menu:focus-within .icon-bar:nth-of-type(3) {
  transform: translate3d(0,-8px,0) rotate(-45deg);
}

#content-menu {
  margin-top: 70px;
  padding: 10px;
  width: 100%;
  background: #000000;
  max-width: 300px;
  position: absolute;
  top: 0;
  left: 0;
  height: calc(100% - 70px);
  pointer-events: auto;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  transform: translateX(-100%);
  transition: transform .3s;
  will-change: transform;
  contain: paint;
  opacity: 0.8;
}
#nav-menu:focus-within #content-menu {
  transform: none;
}