




  .front{
    background-image: linear-gradient(180deg, rgba(145,141,144,1) 0%, rgba(92,91,94,0) 100%);
    transform: rotateY(0deg) translateZ(160px); 
    border-radius: 34px 3px 0 0;
  }
  
  .right{ 
    background-image: linear-gradient(0deg, rgba(145,141,144,1) 0%, rgba(92,91,94,0) 100%);
    opacity: 0.08;
    transform: rotateY(90deg) translateZ(160px);
    border-radius: 0 0 3px 34px;
  }
  
  .card:hover{
    transform: translateZ(-160px) rotateY( -90deg);
  }
  .card a{

    transform: translateZ(-160px) rotateY( -90deg);

  }
  
  .card:hover .front{
    opacity: 0; 
  }
  
  .card:hover .right{
    opacity: 1; 
  }
  
  h1,h2{
    margin: 0;
    font-size: 38px;
    letter-spacing: -.25px;
    transform: translateX(-44px);
    font-family: 'Sarala'; 
    font-weight: 700;
  }
  
  h2{
    font-size: 21px;
    transform: translateX(-34px);
  }
  


  
 

  @keyframes float{
    0%{
      transform: translateZ(20px);
    }
    100%{
      transform: translateY(-21px) translateX(-13px) translateZ(30px);
    }
  }
  
 
  p{
max-width:100%;

  }

  
  button{
    position: absolute;
    right: 21px; 
    bottom: 34px;
    border: none;
    box-shadow: none;
    background: none;
    color: inherit;
    font-family: 'Exo 2';
    font-weight: 300;
    font-size: 15px;  
    letter-spacing: -.25px;
    font-weight: 700;
    padding: 13px 34px;
    border-radius: 55px 55px 21px 55px;
    background-image: linear-gradient(130deg, rgba(117,51,165,1)  50%, rgba(51,46,57,.89) 100%);
    background-size: 125% 100%;
    background-position: right;
    cursor: pointer;
    box-shadow: 8px 5px 13px rgba(34,34,34,.08);
    transform: scale(0) skewY(13deg);
    transition: all 150ms cubic-bezier(0.390, 0.575, 0.565, 1.000);
    transform-origin: right bottom;
  }
  
  .card:hover button{
     transform: scale(1) skewY(0);
  }
  
  .card:not(:hover) button{
  opacity: 0;
  }
  
  button:hover{
    background-position: left;
  }
  
  .price{
    position: absolute;
    bottom: 34px;
    left: 21px;
    font-size: 34px;
    opacity: .34;
  }
  
  @keyframes fadeIn{
    0%{
      opacity: 0.33;
      transform: scale(.89);
    }
  }
  
  * {
    box-sizing: border-box;
  }
  
  h1,
  h2,
  h3 {
    text-transform: uppercase;
  }
  h2 {
    font-size: 1.125em;
    color: #4a89ca;
    font-weight: 600;
    margin: 0;
  }
  h3 {
    font-size: 1.3em;
    line-height: 1.25em;
    margin-top: .85em;
    margin-bottom: .5em;
  }

  /* ================================= 
    Base Layout Styles
  ==================================== */
  
  /* ---- Layout Containers ---- */
  

  
  .main-header {
    text-align: center;
    padding: 2.8em 0 3.8em;
  }
  .cube-container {
    max-width: 100%;
    text-align: center;
    margin: 0 auto 4.5em;
  }
  /* ---- Page Elements ---- */
  
  .name {
    font-size: 1.65em;
    font-weight: 800;
    margin: 0 0 1.5em;
    line-height: 1;
  }
  .name  {
    font-weight: 300;
    margin-left: -7px;
  }
  .logo {
    width: 45px;
    margin-bottom: .4em;
    cursor: pointer;
  }
  .button {
    font-size: .8em;
    color: #fff;
    width: 90%;
    line-height: 1.15;
    font-weight: 700;
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    padding: .95em 0;
    border-radius: .5em;
    background: rgba(74,137,202, .8);
    margin: auto;
  }
  /* ---- Photo Overlay ---- */
  
  .photo-desc {
    font-size: .85em;
    color: #fff;
    padding: 1.1em 1em 0;
    background: #345d88;
  }
  /* ---- Float clearfix ---- */
  
  
  /* ================================= 
    Media Queries
  ==================================== */
  
  @media (min-width: 769px) {
    .cube-container {
      float: left;
      margin-left: 16.6%;
    }
  }
  @media (min-width: 1025px) {
    .cube-container:first-child {
      margin-left: 0;
    }
    .cube-container:last-child{
      float: right;
    }
    .content {
      max-width: 900px;
      margin: auto;
    }
  }
  
  /* ================================= 
    Button Transitions
  ==================================== */
  
  .button {
    transition: background .3s;
  }
  .button:hover {
    background: rgba(74,137,202, 1);
  }
  
  /* ================================= 
    Photo 3D Transforms & Transitions
  ==================================== */
  
  .cube-container {
    box-shadow: 0 18px 40px 5px rgba(0,0,0,.4);
    perspective: 800px;
  }
  
  .photo-cube {
  transition: transform 2s ease-in-out; 
    width: 220px;
    height: 200px;
    transform-style: preserve-3d;
  }
  
  .photo-cube:hover {
  transform: rotateY(-270deg)!important ;
  }
  
  .front,
  .back,
  .left,
  .right {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  }
  
  .front {
  transform: translate3d(0,0,110px)!important ;
  }
  
  .back {
  transform: translateZ(-110px) rotateY(270deg)!important ;
    transform-origin: center left;
  }
  
  .left {
  transform: rotateY(-270deg) translate3d(110px, 0, 0)!important ;
    transform-origin: top right;
  }
  
  .right {
  transform: translateZ(-110px) rotateY(180deg)!important ;
   }
  