
h1{
  font-weight: 200;
}

.cajas {
  min-height: 30vh;
  text-align: center;
  overflow: hidden;
  color: white;
}

.caja {
  position: absolute;
  width: 20%;
  min-height: 30vh;
  overflow: hidden;
  cursor: pointer;
}

.caja:nth-child(1) {
  left: 0;
}
.caja:nth-child(2) {
  left: 20%;
}
.caja:nth-child(3) {
  left: 40%;
}
.caja:nth-child(4) {
  left: 60%;
}
.caja:nth-child(5) {
  left: 80%;
}

.caja:nth-child(1) .contenido {
  background: #244F75;
  transform: translate3d(-100%, 0, 0);
  animation-name: columna1;
  animation-delay: 0.1s;
}
.caja:nth-child(2) .contenido {
  background: #60BFBF;
  transform: translate3d(0, 100%, 0);
  animation-name: columna2;
  animation-delay: 0.2s;
}
.caja:nth-child(3) .contenido{
  background: #8C4B7E;
  transform: translate3d(0, -100%, 0);
  animation-name: columna3;
  animation-delay: 0.3s;
}
.caja:nth-child(4) .contenido {
  background: #F8BB44;
  transform: translate3d(0, 100%, 0);
  animation-name: columna4;
  animation-delay: 0.4s;
}
.caja:nth-child(5) .contenido{
  background: #F24B4B;
  transform: translate3d(100%, 0, 0);
  animation-name: columna5;
  animation-delay: 0.5s;
}

/*efecto brillo*/
.cajas .contenido {

  animation-duration: 1s;
  animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
  animation-fill-mode: both;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
.cajas .contenido:hover:before {
  transform: skew(0deg) scale(3) translate(0, 0);
  opacity: 0.1;
}
.cajas .contenido:before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0.05;
  transform-origin: center center;
  transform: skew(30deg) scaleY(1) translate(0, 0);
}
/* efecto brillo*/


.cajas .contenido:hover:before {
  transform: skew(0deg) scale(3) translate(0, 0);
  opacity: 0.1;
 }
 
 
 .cajas .contenido:before {
   content: "";
   position: absolute;
   z-index: 1;
   top: 0;
   left: 0%;
   width: 100%;
   height: 100%;
   background: white;
   opacity: 0.05;
   transform-origin: center center;
   transform: skew(30deg) scaleY(1) translate(0, 0);
   transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);}

/*Animación*/

@keyframes columna1 {
  0% { transform: translate3d(-100%, 0, 0);}
  100% { transform: translate3d(0, 0, 0);}
}
@keyframes columna2 {
  0% { transform: translate3d(0, 100%, 0);}
  100% {transform: translate3d(0, 0, 0);}
}
@keyframes columna3 {
  0% {transform: translate3d(0, -100%, 0);}
  100% { transform: translate3d(0, 0, 0);}
}
@keyframes columna4 {
  0% {transform: translate3d(0,-100,0);}
  100% { transform: translate3d(0, 0, 0);}
}
@keyframes columna5 {
  0% {transform: translate3d(0, 0, 100%);}
  100% { transform: translate3d(0, 0, 0);}
}



.boton {
  background:#126BCB;
  box-shadow: 0 0 0 5px #669ae1;
  margin: 3% auto 0;
  border-radius: 25px;
  border: 2px dashed #fff;
  width:130px;
  height:55px;
  font-size:1.2em;
  margin: 20px;
  color:#fff;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-family: 'Century gothic', sans-serif;

}


.boton:hover {
  background: #3498DB ;
  border-radius: 25px;
  border:2px solid #1E81EB;
   -webkit-transform:translateZ(0);
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}