a {
  color: inherit;
  text-decoration: none;
}

.menu-item, .menu-open-button {
  background: #000;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  position: absolute;
  text-align: center;
  transform: translate3d(0, 0, 0);
  transition: transform ease-out 200ms;
}

.menu-open {
  display: none;
}

.hamburger {
  width: 15px;
  height: 2px;
  background: white;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -7.5px;
  margin-top: -1px;
  transition: transform 200ms;
}

.hamburger-1 {
  transform: translate3d(0, -6px, 0);
}

.hamburger-2 {
  transform: translate3d(0, 0, 0);
}

.hamburger-3 {
  transform: translate3d(0, 6px, 0);
}

.menu-open:checked + .menu-open-button .hamburger-1 {
  transform: translate3d(0, 0, 0) rotate(45deg);
}
.menu-open:checked + .menu-open-button .hamburger-2 {
  transform: translate3d(0, 0, 0) scale(0.1, 1);
}
.menu-open:checked + .menu-open-button .hamburger-3 {
  transform: translate3d(0, 0, 0) rotate(-45deg);
}

.share-menu {
  overflow: visible;
  box-sizing: border-box;
  font-size: 20px;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}


.menu-item {
  width: 38px;
  height: 38px;
  margin-top: 1px;
  margin-left: 1px;
}
.menu-item img {
  width: 38px;
  height: 38px;
}

.menu-item:hover {
  background: white;
}
.menu-item:nth-child(3) {
  background-color: #495996;
  transition-duration: 180ms;
}
.menu-item:nth-child(4) {
  background-color: #6EC32E;
  transition-duration: 180ms;
}
.menu-item:nth-child(5) {
  background-color: #C71228;
  transition-duration: 180ms;
}

.menu-open-button {
  z-index: 2;
  transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition-duration: 400ms;
  transform: scale(1.0, 1.0) translate3d(0, 0, 0);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-open-button:hover {
  transform: scale(1.1, 1.1) translate3d(0, 0, 0);
}

.menu-open:checked + .menu-open-button {
  transition-timing-function: linear;
  transition-duration: 200ms;
  transform: scale(0.8, 0.8) translate3d(0, 0, 0);
}

.menu-open:checked ~ .menu-item {
  transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}
.menu-open:checked ~ .menu-item:nth-child(3) {
  transition-duration: 190ms;
  transform: translate3d(0, 45px, 0);
}
.menu-open:checked ~ .menu-item:nth-child(3):hover {
  transform: translate3d(3px, 48px, 0);
}
.menu-open:checked ~ .menu-item:nth-child(4) {
  transition-duration: 290ms;
  transform: translate3d(0, 90px, 0);
}
.menu-open:checked ~ .menu-item:nth-child(4):hover {
  transform: translate3d(3px, 93px, 0);
}
.menu-open:checked ~ .menu-item:nth-child(5) {
  transition-duration: 390ms;
  transform: translate3d(0, 135px, 0);
}
.menu-open:checked ~ .menu-item:nth-child(5):hover {
  transform: translate3d(3px, 138px, 0);
}
