/* Shared Menu Type Styles */

.emblemmatic-menu {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 1em;
  position: fixed;
  box-sizing: border-box;
  width: 100%;
  top: 0;
  right: 0;
  left: 0;
  padding: 2rem 2rem 2.1rem;
  border-bottom: 2px solid rgba(0, 0, 0, .1);
  /*background-color: rgba(30, 30, 30, 1);*/
  transition: transform .5s;
  z-index: 100000;
}

.emblemmatic-menu.scrolledUp {
  transform: translate3d(0, -100%, 0)
}

/* Logo Styling */

.emblemmatic-menu > .current-project-name {
  position: relative;
  height: 1em;
  float: left;
  font-size: 1.5rem;
  padding: 0;
  margin: 0;
  color: rgba(0, 0, 0, .5);
}

.emblemmatic-menu > .current-project-name > img {
  position: relative;
  top: 50%;
  transform: translate3d(0, -50%, 0);
  height: 2.5em;
}

/* Local Menu Styling */

.emblemmatic-menu > .local-menu {
  padding: 0;
  margin: 0;
  margin-right: 6rem;
  font-size: 1.5rem;
  text-align: right;
  float: right;
}

 .emblemmatic-menu > .local-menu > .menu-item {
   display: inline-block;
   margin-left: 2rem;
   text-decoration: none;
   color: rgba(0, 0, 0, .5);
 }

@media (max-width: 768px) {
    .emblemmatic-menu > .local-menu {
      width: 100%;
      float: left;
      text-align: left;
      padding-top: 1rem;
      right: auto;
      opacity: .5;
    }

     .emblemmatic-menu > .local-menu > .menu-item {
       margin-right: 1rem;
       margin-left: 0;
     }
}

/* Global Menu Styling */

.emblemmatic-menu > .global-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  background: black;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}

.emblemmatic-menu.open > .global-menu {
  opacity: 1;
  pointer-events: all;
}

.emblemmatic-menu > .global-menu > .menu-item {
  display: block;
  position: relative;
  padding: 0 10%;
  text-align: center;
  text-decoration: none;
  opacity: 1;
  box-sizing: border-box;
  width: 50%;
  float: left;
  transition: background-color .5s;
  height: 50vh;
}

@media (max-width: 768px) {
    .emblemmatic-menu > .global-menu > .menu-item {
      width: 100%
    }
}

.emblemmatic-menu > .global-menu > .menu-item > .wrapper {
  position: relative;
  display: block;
  top: 50%;
  transform: translate3d(0, -50%, 0);
  transition: transform .25s;
}

.emblemmatic-menu > .global-menu > .menu-item:hover > .wrapper {
  /*transform: scale(1.125) translate3d(0, -45%, 0);*/
}

.emblemmatic-menu > .global-menu > .menu-item-emblemmatic:hover {
  background-color: rgba(40, 40, 40, 1)
}

.emblemmatic-menu > .global-menu > .menu-item-aopn:hover {
  background-color: rgba(255, 50, 0, 1)
}

.emblemmatic-menu > .global-menu > .menu-item-emojimoji:hover {
  background-color: rgba(255,150,150, 1)
}

.emblemmatic-menu > .global-menu > .menu-item-markmaker:hover {
  background-color: rgba(0,47,167, 1)
}

.emblemmatic-menu > .global-menu > .menu-item > .wrapper > .hidden {
  display: none
}

.emblemmatic-menu > .global-menu > .menu-item > .wrapper > .logo {
  fill: white;
  transition: all .25s;
}

.emblemmatic-menu > .global-menu > .menu-item > .wrapper > .caption {
  display: block;
  color: white;
  opacity: .5;
  margin: 5% auto 0;
  transition: all .5s;
}

.emblemmatic-menu > .global-menu > .menu-item:hover > .wrapper > .caption {
  opacity: 1
}

/* Hamburger Widget Styling */

.emblemmatic-menu > .hamburger > .stroke {
  background-color: rgba(0, 0, 0, .5)
}

.emblemmatic-menu > .hamburger {
  position: absolute;
  top: 50%;
  transform: translate3d(0, -50%, 0);
  right: 2rem;
  height: 2rem;
  width: 2rem;
  z-index: 1000;
}

.emblemmatic-menu > .hamburger > .stroke {
  position: absolute;
  width: 100%;
  height: .25rem;
  transition: transform .25s, background-color .25s;
}

.emblemmatic-menu > .hamburger > .stroke-1 {
  transform: translate3d(0, 0, 0)
}

.emblemmatic-menu > .hamburger > .stroke-2 {
  transform: translate3d(0, 300%, 0)
}

.emblemmatic-menu > .hamburger > .stroke-3 {
  transform: translate3d(0, 600%, 0)
}

.emblemmatic-menu.open > .hamburger > .stroke {
  background-color: rgba(255, 255, 255, 1)
}

.emblemmatic-menu.open > .hamburger > .stroke-1 {
  transform: translate3d(0, 300%, 0) rotate(45deg)
}

.emblemmatic-menu.open > .hamburger > .stroke-2 {
  transform: translate3d(0, 300%, 0) rotate(-45deg)
}

.emblemmatic-menu.open > .hamburger > .stroke-3 {
  transform: translate3d(0, 1200%, 0) rotate(-20deg);
  background-color: rgba(255, 255, 255, 0);
}
