.share-box {
  margin: auto;
}
.share-menu-tg {
  display: none;
}
.share-menu-tg + label {
  transition: all 0.2s linear;
  display: inline-block;
  float: left;
  background: #333;
  border-radius: 50%;
  width: 2.6em;
  line-height: 2.6em;
  text-align: center;
  cursor: pointer;
  color: #fff;
}
.share-menu-tg:checked + label {
  background: #fff;
  color: #333;
}
.share-menu-tg:checked + label + ul {
  transform: translateX(1em);
  transition: all 0.2s linear;
}
.share-menu-tg:checked + label + ul:after {
  opacity: 1;
  transition: all 0.2s linear;
}
.share-menu-tg:checked + label + ul li {
  transform: rotateY(0);
  opacity: 1;
}
.share-menu-tg:checked + label + ul li:nth-child(1) {
  transition-delay: 0;
}
.share-menu-tg:checked + label + ul li:nth-child(2) {
  transition-delay: 0.2s;
}
.share-menu-tg:checked + label + ul li:nth-child(3) {
  transition-delay: 0.4s;
}
.share-menu {
  transition: all 0.2s 0.4s linear;
  list-style: none;
  display: inline-block;
  position: relative;
  perspective: 10em;
}
.share-menu:after {
  transition-delay: 0.4s;
  content: "";
  display: block;
  position: absolute;
  opacity: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  left: -0.5em;
  width: 0;
  height: 0;
  border-right: 0.5em solid #4d64a7;
  border-top: 0.5em solid transparent;
  border-bottom: 0.5em solid transparent;
}
.share-menu-item {
  float: left;
  overflow: hidden;
  transition: all 0.2s linear;
  opacity: 0;
  transform: rotateY(45deg);
  transform-origin: 0 50%;
}
.share-menu-item:nth-child(1) {
  border-radius: 0.4em 0 0 0.4em;
  transition-delay: 0.4s;
}
.share-menu-item:nth-child(2) {
  transition-delay: 0.2s;
}
.share-menu-item:nth-child(3) {
  transition-delay: 0;
  border-radius: 0 0.4em 0.4em 0;
}
.share-menu-item a {
  display: block;
  line-height: 3em;
  min-width: 3em;
  text-align: center;
  color: #fff;
  text-decoration: none;
}
.share-menu [class*="facebook"] {
  background: #4d64a7;
}
[class*="twitter"] {
  background: #55aaf1;
}
[class*="pinterest"] {
  background: #df4938;
}