@import url("https://fonts.googleapis.com/css?family=Dosis");
body {
  /*font-family: "Dosis";
  background: #fcee85;
  display: flex;
  height: 100vh;
  margin: 0;*/
  justify-content: center;
  align-items: center;
}
body .container {
  text-align: center;
  max-width: 550px;
  justify-content: center;
  align-items: center;
}

.social-container {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 36px;
  perspective: 300px;
  font-size: 17px;
  margin: 8px;
}
.social-container .social-cube {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: all 0.333s;
  transform: translateZ(-18px);
}
.social-container .social-cube .front, .social-container .social-cube .bottom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  transition: background 0.333s;
}
.social-container .social-cube .front {
  transform: rotateX(0deg) translateZ(18px);
}
.social-container .social-cube .bottom {
  transform: rotateX(-90deg) translateZ(18px);
}
.social-container:hover .social-cube {
  transform: translateZ(-18px) rotateX(90deg);
}

.social-container.twitter .social-cube .front, .social-container.twitter .social-cube .back {
  background: #4099FF;
}
.social-container.twitter .social-cube .bottom {
  background: #0d7eff;
}
.social-container.twitter:hover .social-cube .bottom {
  background: #4099FF;
}
.social-container.twitter:hover .social-cube .front {
  background: #73b4ff;
}
.social-container.facebook .social-cube .front, .social-container.facebook .social-cube .back {
  background: #3b5998;
}
.social-container.facebook .social-cube .bottom {
  background: #2d4373;
}
.social-container.facebook:hover .social-cube .bottom {
  background: #3b5998;
}
.social-container.facebook:hover .social-cube .front {
  background: #4c70ba;
}
.social-container.youtube .social-cube .front, .social-container.youtube .social-cube .back {
  background: #CC181E;
}
.social-container.youtube .social-cube .bottom {
  background: #9e1317;
}
.social-container.youtube:hover .social-cube .bottom {
  background: #CC181E;
}
.social-container.youtube:hover .social-cube .front {
  background: #e73036;
}
.social-container.asperminds .social-cube .front, .social-container.asperminds .social-cube .back {
  background: #6cdf20;
}
.social-container.asperminds .social-cube .bottom {
  background: #6cdf20;
}
.social-container.asperminds:hover .social-cube .bottom {
  background: #6cdf20;
}
.social-container.asperminds:hover .social-cube .front {
  background: #6cdf20;
}

.social-container.github .social-cube .front, .social-container.github .social-cube .back {
  background: #0077b5;
}
.social-container.github .social-cube .bottom {
  background: #0077b5;
}
.social-container.github:hover .social-cube .bottom {
  background: #0077b5;
}
.social-container.github:hover .social-cube .front {
  background: #0077b5;
}
.social-container.pininterest .social-cube .front, .social-container.pininterest .social-cube .back {
  background: #E60023;
}
.social-container.pininterest .social-cube .bottom {
  background: #E60023;
}
.social-container.pininterest:hover .social-cube .bottom {
  background: #E60023;
}
.social-container.pininterest:hover .social-cube .front {
  background: #E60023;
}
.social-container.codepen .social-cube .front, .social-container.codepen .social-cube .back {
  background: #191919;
}
.social-container.codepen .social-cube .bottom {
  background: black;
}
.social-container.codepen:hover .social-cube .bottom {
  background: #191919;
}
.social-container.codepen:hover .social-cube .front {
  background: #333333;
}