.menu {
  background: black;
  font-family: 'Century Gothic';
}

/* Desktop */
.menu-desktop {
  display: flex;
  padding: 15px 25px;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 1000;
}
.menu-desktop .menu-logo,
.menu-desktop .menu-checkout {
  max-width: 80px;
  width: 100%;
}
.menu-desktop .menu-links {
  flex-grow: 1;
}
.menu-links {
  font-style: italic;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: stretch;
}
.menu-toplinks,
.menu-sublinks {
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  width: 100%;
  font-size:  14px;
}
.menu-toplinks {
  max-width: 800px;
  text-transform: uppercase;
}
.menu-sublinks {
  max-width: 600px;
}
.menu-link {
  color: white;
  text-decoration: none;
  transition: color .2s linear;
}
.menu .menu-link:hover,
.menu .menu-link.active {
  color: #058ECB;
}
.menu-sublinks .menu-link {
  color: #999;
}
.menu-desktop .menu-checkout {
  position: relative;
  display: flex;
  align-items: center;
}
@media(max-width: 767px) {
  .menu-desktop {
    display: none;
  }
  body .menu-mobile {
    display: flex;
  }
}

/* Mobile */
.menu-mobile {
  display: none;
  align-items: center;
  padding: 5px;
  z-index: 1000;
  position:  relative;
}
.menu-hamburger,
.menu-mobile .menu-checkout {
  width: 50px;
}
.menu-mobile .menu-logo {
  flex-grow: 1;
  text-align: center;
}
.menu-logo-image {
  width: calc(100% - 40px);
  max-width:  300px;
}
.menu-hamburger {
  text-align: center;
  cursor: pointer;
}
.menu-hamburger-icon {
  width: 100%;
  max-width: 25px;
  margin-bottom: 4px;
}
.menu-hamburger-text {
  color: #058ECB;
  text-transform: uppercase;
  font-size: 10px;
}

/* Mobile Drawer */
.menu-drawer {
  width: 50%;
  max-width: 240px;
  height: 100vh;
  background: rgba(0, 0, 0, .9);
  position: fixed;
  top: 0;
  z-index: 900;
  font-size: 18px;
  box-sizing: border-box;
  padding-right: 20px;
  padding-top: 60px;
  transform:  translateX(-240px);
  display: none;
  transition: .5s transform cubic-bezier(0.27, 0, 0, 1);
}
.menu-drawer-shown {
  transform:  translateX(0);
}
.menu-drawer-overlay {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top:  0;
  z-index:  10;
  display: none;
}
.menu-drawer-links {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  height:  100%;
}
.menu-drawer-link {
  display: block;
  line-height: 45px;
}
.menu-drawer-link {
  margin-left: 20px;
}
.menu-drawer-sublink {
  margin-left: 50px;
  font-size: 16px;
  color: #999;
}
.menu-terms {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  align-items:  center;
}
.menu-terms-links {
  width:  100%;
  text-align:  center;
  box-sizing: border-box;
  padding-left: 20px;
  padding-bottom:  20px;
}
.menu-terms-link {
  margin: 2px;
  font-size: 11.5px;
  text-decoration: none;
  color: white;
  display: inline-block;
}
.menu-terms-email {
  display:  block;
  white-space: nowrap;
  text-overflow: ellipsis;
  width:  100%;
  overflow: hidden;
  margin-left: 0;
  margin-right: 0;
  margin-top: 7px;
}
@media (max-width: 767px) {
  .menu-drawer {
    display: block;
  }
}

/* Checkout Jar */
.menu-checkout {
  text-align: center;
  display: flex;
}
.menu-checkout-button {
  text-decoration: none;
  position: relative;
  color: #058ECB;
}
.menu-checkout-button:hover {
  color: #058ECB;
}
.menu-checkout-jar {
  width:  100%;
}
.menu-checkout-jar-image {
  width: 100%;
  max-width:  40px;
}
.menu-checkout-jar-number {
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  text-align: center;
}
.menu-checkout-link {
}
.menu-mobile .menu-checkout {
  font-size: 12px;
}
.menu-mobile .menu-checkout-jar-image {
  max-width: 30px;
}
.menu-mobile .menu-checkout-jar-number {
  top: 8px;
}

/* Play pause button */
.menu-play-pause {
  display: flex;
  justify-content: flex-start;
  cursor: pointer;
  width: 70px;
  visibility:  hidden;
}
.menu-play-pause::after {
  width: 0;
  overflow: hidden;
  transition: width .5s ease-in-out;
  content: '';
  display: block;
  margin-left: 5px;
  font-family: 'Arial';
}
.menu-play-pause:hover::after {
  color: white;
  width: 45px;
  content: 'play';
  position: relative;
  bottom: 2px;
}
.menu-play-pause.audio-triggered:hover::after {
  content: 'pause';
}
/* Which button to show on hover */
/* When they hover, show only the play button to make the action clearer */
.menu-play-pause:not(.audio-triggered):hover .menu-pause-wrap,
.audio-triggered:hover .menu-play-wrap {
  display: none;
}
.menu-play-pause:not(.audio-triggered):hover .menu-play-wrap,
.audio-triggered:hover .menu-pause-wrap {
  /* The item that is shown */
  margin-left: 5px;
}
/* PAUSE BUTTON INTERNAL*/
.menu-pause-wrap {
  position: relative;
  z-index: 10;
  width: 7px;
  margin-right: 4px;
}
.menu-pause-under {
  position: absolute;
}
.menu-pause::before ,
.menu-pause::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 16px;
  top: 0;
  background: white;
}
.menu-pause::after {
  margin-left: 3px;
}
.play-pause-animation .menu-pause {
  transition: all .3s ease-in;
  transform: scale(10);
  opacity: 0;
  width: 7px;
}
 body .play-pause-animation .menu-pause-under {
  transform: none;
  opacity: 1;
}
/* Play button */
.menu-play-wrap {
}
.menu-play {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-left: 8px solid white;
  border-bottom: 8px solid transparent;
  position: relative;
  z-index: 10;
}
.menu-play-under {
  position: absolute;
}
.play-pause-animation .menu-play {
  transition: all .3s ease-in;
  transform: scale(10);
  opacity: 0;
}
 body .play-pause-animation .menu-play-under {
  transform: none;
  opacity: 1;
}
