

body {
    color: #333;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
}

main {
    margin: 40px;
}

h1 {
     font-size: 30px;
     margin-bottom: 40px;
}

.button_container {
    border: 1px solid #ddd;
    margin: 0 10px 10px 0;
    padding: 20px;
    width: 300px;
    height: 300px;
    float: left;
    overflow: hidden;
    box-sizing: border-box;
    text-align: center;
    position: relative;
}

a#btn_spotify {
    display: inline-block;
    height: 50px;
    box-sizing: border-box;
    border-radius: 25px;
    margin: auto;
    margin-top: 100px;
    padding: 10px 40px 0 40px;
    background-color: #2ebd59;
    border: 2px solid #2ebd59;
    color: #fff;
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-decoration: none;
    transition: all .5s;
}

a#btn_spotify:hover {
    background-color: #fff;
    border: 2px solid #000;
    color: #000;
}

a#btn_amazon {
    display: block;
    width: 100px;
    height: 100px;
    box-sizing: border-box;
    border-radius: 50px;
    margin: auto;
    margin-top: 75px;
    padding-top: 8px;
    background-color: #232f3e;
    color: #fff;
    text-align: center;
    font-size: 60px;
    transition: all .2s;
}

a#btn_amazon:hover {
    background-color: #fc9a18;
}

a#btn_twitter {
    display: inline-block;
    height: 40px;
    box-sizing: border-box;
    border-radius: 4px;
    margin: auto;
    margin-top: 105px;
    padding: 10px 30px 0 30px;
    background-color: #56cdf1;
    color: #fff;
    font-size: 18px;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    text-decoration: none;
}

a#btn_twitter:hover {

    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#2ebfec+0,28a5cb+100 */
    background: rgb(46,191,236); /* Old browsers */
    background: -moz-linear-gradient(-45deg,  rgba(46,191,236,1) 0%, rgba(40,165,203,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg,  rgba(46,191,236,1) 0%,rgba(40,165,203,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg,  rgba(46,191,236,1) 0%,rgba(40,165,203,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2ebfec', endColorstr='#28a5cb',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

}

a#btn_indiegogo {
    display: inline-block;
    position: relative;
    margin:auto;
    margin-top: 100px;
    padding: 8px 16px;
    background-color: #fff;
    color: #eb1478;
    font-family: 'Ubuntu', sans-serif;
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: -2px;
    transition: all .2s;
}

a#btn_indiegogo:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    z-index: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #eb1478;
    transition: all .5s;
}

a#btn_indiegogo:hover {
    color: #fff;
}

a#btn_indiegogo:hover:before {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

a#btn_indiegogo span {
    position: relative;
    z-index: 10;
}

@import url(https://fonts.googleapis.com/css?family=Montserrat);

a#btn_moo {
    font-family: 'Montserrat', sans-serif;
    color:darkolivegreen;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    font-size: 22px;
    transition: color 0.5s, transform 0.2s, background-color 0.2s;
    outline: none;
    margin: 0px 10px;
    top: 100px;
    padding: 27px 33px 23px 33px;
    border: 1.5px solid transparent;
}

a#btn_moo:active {
    transform: translateY(5px);
}
  
a#btn_moo::after {
    border-radius: 3px;
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 1.5px solid rgb(125, 134, 108);
    opacity: 0;
    z-index: -1;
    transform: scaleX(1.1) scaleY(1.3);
    transition: transform 0.3s, opacity 0.3s;
}

a#btn_moo::before {
    border-radius: 3px;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1.5px solid darken(darkblue, 10%);
    transition: opacity 0.3s, border 0.3s;
}

a#btn_moo:hover {
    box-shadow: none;
    color: rgb(125, 134, 108);
    border-radius: 1.5px;
    border: 1.5px solid transparent;
} 

a#btn_moo:hover::before {
    opacity: 0;
}
   
a#btn_moo:hover::after {
    opacity: 1;
    transform: scaleX(1) scaleY(1);
}

@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@1,700&display=swap');

a#btn_motortrend {
    display: inline-block;
    position: relative;
    margin: auto auto auto 15px;
    margin-top: 100px;
    color: red;
    background-color: #ffffff;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 30px;
    text-decoration: none;
    transition: all 0.2s;
    padding: 0px 10px;
    transform: skewX(-10deg);
    text-transform: uppercase;
}
  
a#btn_motortrend:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
    z-index: 1;
    position: absolute;
    top: 0;
    right: 100%;
    background-color: red;
    transition: all 0.2s;
}
  
a#btn_motortrend:hover {
    color: white;
    padding: 0px 6px 0px 20px;
}
  
a#btn_motortrend:hover:before {
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;
}
  
a#btn_motortrend span {
    position: relative;
    z-index: 2;
}

#btn_pastaria {
    transition-property: all;
    transition-duration: .6s;
    transition-timing-function: ease;
    display: inline block;
    font-size: 16px;
    font-weight: 100;
    line-height: 45px;
    margin: 0 0 2em;
    max-width: 160px; 
    position: relative;
    width: 100%; 
    margin: auto;
}

#btn_pastaria a {
    transition-property: all;
    transition-duration: .6s;
    transition-timing-function: ease;
    text-decoration: none;
    text-transform: uppercase;
    color: rgb(23, 103, 149);
}

#btn_pastaria svg {    
    height: 45px;
    left: 0;
    position: absolute;
    top: 0; 
    width: 100%; 
}
    
#btn_pastaria svg rect {
    fill: none;
    stroke: rgb(23, 103, 149);
    stroke-width: 2;
    stroke-dasharray: 422, 0;
    transition: all 0.35s linear;
}
  
#btn_pastaria:hover a {
    font-weight: 700;
    letter-spacing: 1px;
    color: #fc9a18;
}


#btn_pastaria:hover svg rect {
    stroke-width: 5;
    stroke-dasharray: 15, 310;
    stroke-dashoffset: 48;
    transition: all 1.35s cubic-bezier(0.19, 1, 0.22, 1);
}

#btn_samsung {
    position: relative;
}

#btn_samsung:after {
    background: rgb(255, 255, 255, .5);
    content: "";
    height: 155px;
    left: -75px;
    opacity: 1;
    position: absolute;
    top: -50px;
    transform: rotate(35deg);
    width: 50px;
    z-index: 10;
}

#btn_samsung img {
    transition: all 200ms cubic-bezier(0.19, 1, 0.22, 1);
    width: 200px;
    z-index: -10;
}

#btn_samsung:hover img {
    width: 204px;
}

#btn_samsung:hover:after {
    left: 120%;
    transition: all 1000ms cubic-bezier(0.19, 1, 0.22, 1);
}

#btn_pottermore {
    position: relative;
    width: 100px;
    height: 100px;
    margin: auto;
    overflow: hidden;
    border: 1px solid;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 20px;
    transition: 0.5s;
    letter-spacing: 1px;
    border-radius: 50px;
}

#btn_pottermore img {
    position: absolute;
    object-fit: cover;
    width: 2300px;
    height: 100%;
    left: 0;
}

#btn_pottermore a {
    position: relative;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 15px;
    color: white;
    margin: auto;
    top: 35px;
    letter-spacing: 1px;
    font-weight: bold;
    text-decoration: none;
}

@keyframes mask {
       0%   { transform: translateX(-100px); }
       5%  { transform: translateX(-100px); }
       10%  { transform: translateX(-100px); }
       15%   { transform: translateX(-100px); }
       20%  { transform: translateX(-100px); }
       25%  { transform: translateX(-100px); }
       30%   { transform: translateX(-100px); }
       35%  { transform: translateX(-100px); }
       40%  { transform: translateX(-100px); }
       45%  { transform: translateX(-100px); }
       50%  { transform: translateX(-100px); }
       55%   { transform: translateX(-100px); }
       60%  { transform: translateX(-100px); }
       65%  { transform: translateX(-100px); }
       70%   { transform: translateX(-100px); }
       75%  { transform: translateX(-100px); }
       80%  { transform: translateX(-100px); }
       85%  { transform: translateX(-100px); }
       90%  { transform: translateX(-100px); }
       95%   { transform: translateX(-100px); }
       100%  { transform: translateX(-100px); }
  }
   
#btn_pottermore:hover img {
      -webkit-animation: mask 0.7s steps(22) forwards;
      animation: mask 0.7s forwards;
      /* animation-name: mask;
      animation-duration: 0.7s;
      animation-iteration-count: 22; */
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');

a#btn_ideo {
    position: absolute;
    top: 40%;
    left: 25%;
    width: 100px;
    font-family: 'Playfair Display', serif;
    color: black;
    text-transform: uppercase;
    padding: 20px;
    transition: all .3s ease;
    text-decoration: none;
    font-size: 20px;
    border: 2px black solid;
    text-align: center;
}

a#btn_ideo:hover {
    background: rgba(0, 0, 0, 0.725);
    font-family: 'Montserrat', sans-serif;
    color: white;
    letter-spacing: 5px;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');

a#btn_lyft {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 50px;
    border-radius: 1000px;
    background-color: #eb1478;
    text-decoration: none;
    color: white;
    font-size: 20px;
    transition: all 0.1s;
}

a#btn_lyft p {
    padding: 0px;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translate(-50%, -50%);
}

a#btn_lyft:hover {
    width: 80px;
    height: 80px;
    background-color: #5c14eb;
}

a#btn_lyft:hover p {
    top: 17.5px;
    font-weight: bolder;
}

a#btn_bissingers{
    position: relative;
    display: block;
    color: rgb(0, 0, 0);
    font-size: 14px;
    font-family: "montserrat";
    text-decoration: none;
    margin: 30px 0;
    border: 2px solid #000000;
    padding: 14px 60px;
    text-transform: uppercase;
    overflow: hidden;
    transition: color 0.2s ease;
}

a#btn_bissingers::before {
    background: #ce9842;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: -1;
    transition: all 0.4s ease;
    width: 100%;
    height: 0%;
    transform: translate(-50%,-50%) rotate(45deg);
}

a#btn_bissingers:hover {
    color: white;
    border-color: #ce9842;
}

a#btn_bissingers:hover::before{
    color: white;
    border-color: #ce9842;
    height: 500%;
}

#npr_box::after {
    background-color: #225ead;
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: -100;
    width: 90px;
    height: 30px;
}

a#btn_npr {
    width: 90px;
    height: 30px;
    text-align: left;
    position: relative;
    display: block;
    color: rgb(0, 0, 0);
    font-size: 24px;
    text-transform: lowercase;
    font-family: "montserrat";
    font-weight: 900;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.2s ease;
    overflow: visible;
}

a#btn_npr p {
    z-index: 30;
    color: white;
    margin: 0;
    letter-spacing: 13px;
    margin-left: 7px;
    transition: all 0.4s ease;
}

a#btn_npr::before {
    background-color: #c11c1c;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all 0.4s ease;
    width: 34%;
    height: 100%;
}

a#btn_npr::after {
    background-color: #232323;
    content: "";
    position: absolute;
    top: 0;
    left: 30px;
    z-index: -1;
    transition: all 0.4s ease;
    width: 34%;
    height: 100%;
}

a#btn_npr:hover p {
    letter-spacing: 0px;
    margin-left: 40px;
}

a#btn_npr:hover::before {
    background: #c11c1c;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.4s ease;
    width: 10%;
    height: 100%;
}

a#btn_npr:hover::after {
    left: 9px;
    transition: all 0.4s ease;
    width: 10%;
    height: 100%;
}

a#btn_dimeCity {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    display: inline block;
    padding: 20px;
    text-align: center;
    font-size: 20px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    color: white;
    background-color: #c11c1c;
    text-decoration: none;
    text-transform: capitalize;
    transition: all 0.05s ease;
}

a#btn_dimeCity:hover {
    background-color: #b81a1a;
}

a#btn_botanical{
    position: relative;
    display: block;
    color: rgb(0, 0, 0);
    font-size: 10px;
    font-family: "montserrat";
    font-weight: 700;
    text-decoration: none;
    margin: 30px 0;
    background-color: rgb(233, 202, 122);
    border:rgb(233, 202, 122) solid 2px;
    padding: 8px 60px;
    text-transform: capitalize;
    overflow: hidden;
    transition: all 0.2s ease;
    border-radius: 1000px;
}

a#btn_botanical::before {
    background: rgb(233, 202, 122);
    border-radius: 100%;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: -1;
    width: 0px;
    height: 0px;
    transition: all 0.6s ease;
    transform: translate(-50%,-50%) rotate(45deg);
}

a#btn_botanical:hover {
    margin: 26px 0;
    color: rgb(68, 68, 68);
    background-color: rgb(255, 255, 255, 0);
}

a#btn_botanical:hover::before{
    height: 300px;
    width: 300px;
}

a#btn_electra{
    position: relative;
    display: block;
    color: rgb(49, 49, 49);
    font-size: 18px;
    width: 94px;
    text-align: right;
    font-family: "montserrat";
    font-weight: 100;
    text-decoration: none;
    text-transform: capitalize;
    transition: all 0.2s ease;
}

a#btn_electra::before {
    border: rgb(153, 153, 153) solid 2px;
    color: rgb(153, 153, 153);
    border-radius: 13px;
    content: " →";
    text-align: left;
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translate(-50%);
    z-index: -1;
    width: 23px;
    height: 23px;
    transition: all 0.6s ease;
    transform: translate(-0%,-50%);
}

a#btn_electral:hover {
    color: rgb(68, 68, 68);
    background-color: rgb(255, 255, 255, 0);
}

a#btn_electra:hover::before{
    width: 100px;
}

.scene {
  width: 220px;
  height: 100px;
  perspective: 100px;
}

.cube {
  width: 100px;
  height: 100px;
  position: relative;
  transform-style: preserve-3d;
  transform: translateZ(-50px);
  transition: transform 0.4s;
  margin: 0;
}

#btn_CN:hover .scene .cube #C {
    transform: translateZ(-50px);
}

#btn_CN:hover .scene .cube #N {
    transform: translateZ(+50px);
}

#btn_CN:hover .cube.show-front {
  transform: translateZ(-50px) rotateY(   0deg);
}

#btn_CN:hover .cube.show-top {
  transform: translateZ(-50px) rotateX( -90deg);
}

#C .cube__face--front {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 2px solid black;
  line-height: 100px;
  font-size: 94px;
  font-weight: bolder;
  color: white;
  text-align: center;
  background: rgb(  0, 0, 0, 1);
  transform: rotateY(  0deg) translateZ(50px);
}

#C .cube__face--top {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 2px solid black;
  line-height: 100px;
  font-size: 94px;
  font-weight: bolder;
  color: black;
  text-align: center;
  background: rgb(  255, 255, 255, 1);
  transform: rotateX( 90deg) translateZ(50px);
}

#N .cube__face--top {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid black;
    line-height: 100px;
    font-size: 94px;
    font-weight: bolder;
    color: white;
    text-align: center;
    background: rgb(  0, 0, 0, 1);
    transform: rotateY(  0deg) translateZ(50px);
 }
  
#N .cube__face--front {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid black;
    line-height: 100px;
    font-size: 94px;
    font-weight: bolder;
    color: black;
    text-align: center;
    background: rgb(  255, 255, 255, 1);
    transform: rotateX( 90deg) translateZ(50px);
}

a#btn_mk {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    display: inline block;
    padding: 20px;
    text-align: center;
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: rgb(0, 0, 0);
    border: black 2px solid;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

a#btn_mk:hover {
    border: rgb(146, 112, 0) 5px solid;
    padding: 17px;
}

@import url('https://fonts.googleapis.com/css2?family=Cookie&display=swap');

a#btn_instagram {
    background-color: #000000;
    border-radius: 20px;  
    color: #fff;
    padding: 12px 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: 'Cookie', cursive;
    font-size: 24px;
}

a#btn_instagram:hover {
    background-color: #00000000;
    background-image: linear-gradient(90deg, #00C0FF 0%, #FFCF00 49%, #FC4F4F 80%, #00C0FF 100%);
    animation:slidebg 5s linear infinite;
 }

 @keyframes slidebg {
    to {
      background-position:20vw;
    }
  }

a#btn_tesla {
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    position: absolute;
    display: block;
    color: rgb(49, 49, 49);
    font-size: 25px;
    text-align: right;
    font-family: "montserrat";
    font-weight: 700;
    text-decoration: none;
    text-transform: capitalize;
    transition: all 0.2s ease;
    color: rgba(0, 0, 0, 1);
}

a#btn_tesla::before {
    display: block;
    content: "ESLA";
    text-align: left;
    position: absolute;
    font-weight: 700;
    top: 50%;
    right: -80px;
    transform: translateY(-50%);
    z-index: 4;
    transition: all 0.4s ease;
    color:rgba(0, 0, 0, 0);
    letter-spacing: 10px;
}

a#btn_tesla:hover::before{
    right: -120px;
    color:rgba(0, 0, 0, 1);

}

a#btn_fitbit {
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: all .6s ease;
    font-size: 24px;
    font-weight: 100;
    text-decoration: none;
    text-transform: lowercase;
    color: black;
    overflow: show;
}

a#btn_fitbit::after {
    content: "";
    height: 2px;
    width: 0%;
    left: 2px;
    bottom: -4px;
    z-index: 10;
    position: absolute;
    transition: all .4s ease;
    background-color:rgb(0, 0, 0, 1);
}

a#btn_fitbit:hover::after {
    width: 90%;
}

a#btn_hsn {
    font-family: 'Montserrat', sans-serif;
    display: block;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    margin: auto;
    margin-top: 75px;
    padding: 40px 0 -20px 0;
    background-color: #3d81ff;
    color: #3d81;
    transition: all .2s ease;
    text-decoration: none;
}

a#btn_hsn::after {
    display: block;
    content: "HSN";
    text-align: center;
    position: absolute;
    text-align: center;
    font-size: 46px;
    letter-spacing: -5px;
    font-family: 'Montserrat', sans-serif;
    color: white;
    top: 50%;
    left: 50%;
    transform: translate(-52%, -60%);
    z-index: 4;
}

a#btn_hsn:hover {
    background-color: rgb(255, 73, 197);
    color: rgb(255, 73, 197);
}

a#btn_oldnavy {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    display: inline block;
    text-align: center;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    color: rgb(0, 0, 0);
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

a#btn_oldnavy:hover {
    top: 49%;
    letter-spacing: 2px;
}

.flip-card {
    background-color: transparent;
    width: 90px;
    height: 50px;
    perspective: 400px;
  }
  
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}
  
.flip-card:hover .flip-card-inner {
    transform: rotateX(180deg);
}
  
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
  
.flip-card-front {
    font-family: 'Playfair', serif;
    text-transform: capitalize;
    font-weight: 100;
    font-size: 18px;
    line-height: 20px;
    background-color: orange;
    border-radius: 6px;
    color: white;
    padding-top: 10px;
}
  
.flip-card-back {
    font-family: 'Playfair', serif;
    text-transform: capitalize;
    font-weight: 100;
    font-size: 30px;
    background-color: rgb(76, 164, 76);
    border-radius: 6px;
    color: white;
    transform: rotateX(180deg);
    padding-top: 10px;
}

.cn {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 120px;
    height: 60px;
    margin-top: 40px;
    perspective: 1800px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 50px;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
}
 
 .cn .qube {
    position: relative;
    height: 60px;
    width: 120px;
    perspective: 1800px;
 }
 
 .cn .qube .front, .cn .qube .back {
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transform: rotateX(-90deg);
    transition: transform 0.3s ease;
    position: absolute;
    color: white;
    line-height: 60px;
    text-align: center;
 }
 
 .cn .qube .front {
    background-color: black;
 }
    
 .cn .qube .front::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    content: '';
    display: block;
    z-index: -1;
 }
 
 .cn .qube .front::after {
    background:white;
    content: '';
    height: 155px;
    left: -75px;
    opacity: .4;
    position: absolute;
    top: -50px;
    transform: rotate(35deg);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    width: 50px;
    z-index: 1;
 }
 
 .cn .qube .back {
    background-color: white;
    color: black;
    transform: rotateX(0deg) translateZ(60px);
 }
 
 .cn:hover #first .front{
    transform: rotateX(0deg) translateZ(30px);
 }
 
 .cn:hover #first .back {
    transform: rotateX(90deg) translateZ(30px);
 }
 
 .cn:hover #second .front{
    transform: rotateX(0deg) translateZ(30px);
 }
 
 .cn:hover #second .back {
    transform: rotateX(-90deg) translateZ(30px);
 }