h1 {
	font-family: 'Indie Flower', cursive;
	text-align:center;
}

.menu{
    padding:0;
    margin:10px 10%;
    
}
.menu li{
    width: 45%;
    height: 250px;
    overflow: hidden;
    position: relative;
    float:left;
    background: #fff;
	/* sombra para cada li */
    -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    -moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    margin-right: 4px;
	list-style:none;
	
}

.menu li a{
    text-align: left;
    width: 100%;
    height: 100%;
    display: block;
    color: #333;
    position: relative;
}
.icono{
    font-size: 80px;
    color: #333;
    position: absolute;
    top: 30px;
    width: 100%;
    height: 40%;
    text-align: center; /*centra el icono en el li*/
    -webkit-transition: all 400ms linear;
    -moz-transition: all 400ms linear;
    -o-transition: all 400ms linear;
    -ms-transition: all 400ms linear;
    transition: all 400ms linear;
}
.texto{
	font-family: 'Indie Flower', cursive;
    position: absolute;
    left: 0px;
    width: 100%;
    height: 50%;
    top: 50%;
}
.titulo{
    font-size: 40px;
    opacity: 0.8;
    text-align: center;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    transition: all 200ms linear;
}
.subtitulo{
    text-align:center;
    font-size: 20px;
    color: #666;
    line-height: 40px;
    opacity: 0.8;
    position: absolute;
    bottom: 0;
    width: 100%; 
	display:none;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    transition: all 200ms linear;
}
.menu li:hover{
    background-color: #000;
}
.menu li:hover .icono{
    color: #ff2020;
    -webkit-animation: movimiento 300ms ease;
    -moz-animation: movimiento 300ms ease;
    -ms-animation: movimiento 300ms ease;
}
.menu li:hover .titulo{
    color: #ff2020;
    -webkit-animation: pekeGrande 500ms ease;
    -moz-animation: pekeGrande 500ms ease;
    -ms-animation: pekeGrande 500ms ease;
}
.menu li:hover .subtitulo{
	display:block;
    color: #000;
    background-color: #ff2020;
    -webkit-animation: movimiento 1s ease;
    -moz-animation: movimiento 1s ease;
    -ms-animation: movimiento 1s ease;
}
@-webkit-keyframes pekeGrande{
    from {
        -webkit-transform: scale(0.1);
    }
    to {
        -webkit-transform: scale(1);
    }
}
@-moz-keyframes pekeGrande{
    from {
        -moz-transform: scale(0.1);
    }
    to {
        -moz-transform: scale(1);
    }
}
@-ms-keyframes pekeGrande{
    from {
        -ms-transform: scale(0.1);
    }
    to {
        -ms-transform: scale(1);
    }
}

@-webkit-keyframes movimiento {
    from {
        -webkit-transform: translateY(150%);
    }
    to {
        -webkit-transform: translateY(0%);
    }
}
@-moz-keyframes movimiento {
    from {
        -moz-transform: translateY(150%);
    }
    to {
        -moz-transform: translateY(0%);
    }
}
@-ms-keyframes movimiento {
    from {
        -ms-transform: translateY(150%);
    }
    to {
        -ms-transform: translateY(0%);
    }
}


