/** CONTROLS HAMBURGER LOCATION **/
.outer-menu {
  position: absolute;
  top: 8px;
  right: 60px;
  z-index: 2;
}

.outer-menu .checkbox-toggle {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  cursor: pointer;
  width: 40px;
  height: 40px;
  opacity: 0;
}

.outer-menu .checkbox-toggle:checked+.hamburger>div {
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}

.outer-menu .checkbox-toggle:checked+.hamburger>div:before,
.outer-menu .checkbox-toggle:checked+.hamburger>div:after {
  top: 0;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

.outer-menu .checkbox-toggle:checked+.hamburger>div:after {
  opacity: 0;
}

.outer-menu .checkbox-toggle:checked~.menu {
  pointer-events: auto;
  visibility: visible;
}

.outer-menu .checkbox-toggle:checked~.menu>div {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition-duration: 0.75s;
  transition-duration: 0.75s;
}

.outer-menu .checkbox-toggle:checked~.menu>div>div {
  opacity: 1;
  -webkit-transition: opacity 0.4s ease 0.4s;
  transition: opacity 0.4s ease 0.4s;
}

.outer-menu .checkbox-toggle:checked:hover+.hamburger>div {
  -webkit-transform: rotate(225deg);
  transform: rotate(225deg);
}

.outer-menu .hamburger {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 50px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border-radius: 5px;
  cursor: pointer;
  -webkit-transition: box-shadow 0.4s ease;
  transition: box-shadow 0.4s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
}

.outer-menu .hamburger>div {
  position: relative;
  -webkit-box-flex: 0;
  flex: none;
  width: 70%;
  /** CONTROLS WIDTH OF ENTIRE HAMBURGER **/
  height: 2px;
  /** CONTROLS HEIGHT OF HAMBURGER LINE MIDDLE **/
  background: #fefefe;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  border-radius: 5px;
}

.outer-menu .hamburger>div:before,
.outer-menu .hamburger>div:after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -7px;
  /** CONTROLS DISTANCE BETWEEN LINES **/
  left: 0;
  width: 100%;
  /** DO NOT ALTER THIS **/
  height: 2px;
  /** CONTROLS HEIGHT OF HAMBURGER LINE TOP/BOTTOM **/
  background: inherit;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  border-radius: 5px;
}

.outer-menu .hamburger>div:after {
  top: 7px;
  /** CONTROLS DISTANCE BETWEEN LINES MUST MATCH ABOVE **/
}

.outer-menu .menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  outline: 1px solid transparent;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
}

.outer-menu .menu>div {
  width: 200vw;
  height: 200vw;
  color: #fefefe;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 50%;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  -webkit-box-flex: 0;
  flex: none;
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
}

.outer-menu .menu>div>div {
  text-align: center;
  max-width: 90vw;
  max-height: 100vh;
  opacity: 0;
  -webkit-transition: opacity 0.4s ease;
  transition: opacity 0.4s ease;
  overflow-y: auto;
  -webkit-box-flex: 0;
  flex: none;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
}

.outer-menu .menu>div>div>ul {
  list-style: none;
  padding: 0 1em;
  margin: 0;
  display: block;
  max-height: 100vh;
}

.outer-menu .menu>div>div>ul>li {
  padding: 0;
  margin: 1em;
  font-size: 24px;
  display: block;
}

.outer-menu .menu>div>div>ul>li>a {
  position: relative;
  display: inline;
  cursor: pointer;
  -webkit-transition: color 0.4s ease;
  transition: color 0.4s ease;
}

.outer-menu .menu>div>div>ul>li>a:hover {
  color: #bc9e39;
}

.outer-menu .menu>div>div>ul>li>a:hover:after {
  width: 100%;
}

.outer-menu .menu>div>div>ul>li>a:after {
  content: "";
  position: absolute;
  z-index: 2;
  bottom: -0.15em;
  left: 0;
  width: 0;
  height: 2px;
  background: #bc9e39;
  -webkit-transition: width 0.4s ease;
  transition: width 0.4s ease;
}

/** ADJUST FOR LARGER SCREENS **/
@media only screen and (max-width: 329px) and (min-width: 320px) {

  /** CONTROLS HAMBURGER LOCATION **/
  .outer-menu {
    right: 60px;
  }
}



/** ADJUST FOR LARGER SCREENS **/
@media only screen and (min-width:641px) {

  /** CONTROLS HAMBURGER LOCATION **/
  .outer-menu {
    top: 15px;
    right: 80px;
  }
}