.share-button {
  position: absolute;
  width: 50px;
  margin: 20px;
  right: 0;
}

.share-button .toggle {
    position: relative;
    width: 40px;
    height: 40px;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
    cursor: pointer;
    color: #e67e22;
    transition: all 0.5s ease;
    font-size: 26px;
}
.share-button .toggle:hover {
    box-shadow: inset 0 0 0 39px #14467a;
    color: #F4F3ED;
}

.share-button .toggle-input {
  display: none;
}

/* Change icon when checked */
.toggle .icon-share {
  display: block;
}
.toggle .icon-close {
  display: none;
}
.toggle-input:checked + .toggle .icon-share {
  display: none;
}
.toggle-input:checked + .toggle .icon-close {
  display: block;
}

/* Network list */
.network-list {
  position: absolute;
  z-index: 9;
  top: 0;
  left: 25px;
  width: 150px;
  margin: 0;
  padding: 0;
  border-radius: 26px;
  overflow: hidden;
  opacity: 0;
  backface-visibility: hidden;
  transition: all 0.4s cubic-bezier(0.43, 0.26, 0.37, 1.73);
  transform-origin: 0% 50%;
  transform: perspective(600px) rotateY(90deg);
}
.network-list li {
  display: block;
  width: 40px;
  height: 40px;
  float: left;
  list-style-type: none;
}
.network-list a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  text-decoration: none;
  color: #fff;
  background-color: #95a5a6;
  font-size: 18px;
  transition: background-color 0.25s ease-in-out;
}
.network-list .twitter a:hover {
  background-color: #00C3F3;
}
.network-list .facebook a:hover {
  background-color: #2C609B;
}
.network-list .googleplus a:hover {
  background-color: #EC3F25;
}
.network-list .linkedin a:hover {
  background-color: #0A66C2;
}

input:checked ~ .network-list {
  left: -130px;
  opacity: 1;
  transform: perspective(600px) rotateY(0deg);
}