body {
  background: linear-gradient(to top right, #efefef, #999);
  font-family: "Mulish", sans-serif;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.perspective {
  width: 100%;
  perspective: 1000px;
}

.rotate {
  animation: rotation 16s infinite linear;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

#top {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.card {
  width: 500px;
  height: 500px;
  margin: auto;
  box-shadow: 0 70px 63px -60px #494848; /* was #494848 */
  transform-style: preserve-3d;
  transition: transform 0.05s linear;
}
.card .thumb {
  background-size: cover;
  height: 100%;
  width: 100%;
  border-radius: 15px;
  box-shadow: #6d7377 2px 0px 5px;
}
.card .thumb-cd{
  position: fixed;
  z-index: -1;
  left: 120px;  
  box-shadow: none;
}
.card .thumb:after {
  background: inherit;
  content: "";
  display: block;
  position: absolute;
  left: -60px;
  bottom: -20px;
  width: 120%;
  height: 28%;
  z-index: -1;
  opacity: 0.75;
  filter: blur(55px);
}
.card h2 {
  position: absolute;
  top: 30px;
  right: -10px;
  font-size: 20px;
  font-weight: 100;
  transform: translateZ(60px);
}
.card span {
  position: absolute;
  /*bottom: 40px;
  right: -80px;*/
  top: 70px;
  right: -30px;
  font-size: 37px;
  font-weight: 600;
  transform: translateZ(80px);
}

.dribbble {
  position: fixed;
  top: 25px;
  right: 25px;
}
.links{
  position: fixed;
  bottom:50px;
  left:auto;
  display: flex;
}
.links a{
  color:white;
  margin-right:20px;
}
.links img{
  width:40px;
  background-color: white;
  border-radius: 25px;
}
.dribbble  a, .dribbble  span {
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: none;
  color: white;
}

.dribbble  a:hover, .dribble a:focus{
  text-decoration: underline;
  color: white;
}

img {
  margin: auto;
  display: block;
  border-radius: 15px;
}


@media (max-width: 425px){

  .dribbble > a {
    font-size: 40px;
  }
    .dribbble {
    top: 50px;
    margin: auto;
    right: auto;
  }

.links{
  bottom:10vh;}

.links a{
    margin-right: calc((100vw - 240px)/7);

  }
  .links a:last-child{
    margin-right: 0px;
    
  }
  .links img{
    width: 120px;
    max-width: calc(100vw / 9);
    
  }  

}

@media all and (orientation:portrait){

  .dribbble > a {
    font-size: 40px;
  }
  .dribbble {
    top: 50px;
    margin: auto;
    right: auto;
  }

.links{
  bottom:10vh;}

  .links a{
    margin-right: calc((100vw - 240px)/7);

  }
  .links a:last-child{
    margin-right: 0px;
    
  }
  .links img{
    width: 120px;
    max-width: calc(100vw / 9);
    
  }

}