﻿

.tile {
    width: 100%;
    height: 263px;
    margin: 20px auto;
    background-color: #0e9e7a;
    display: inline-block;
    background-size: cover;
    position: relative;
    cursor: pointer;
    transition: all .4s ease-out;
    box-shadow: 0 35px 77px -17px rgba(0,0,0,.44);
    overflow: hidden;
    color: #fff
}

    .tile img {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
        transition: all .4s ease-out
    }

    .tile .text {
        z-index: 2;
        position: absolute;
        padding: 30px 20px;
    }

    .tile h1 {
        font-weight: 300;
        text-shadow: 2px 2px 10px rgba(0,0,0,.3);
        font-size: 28px;
        position: absolute;
        z-index: 11;
        left: 60px;
        top: 1px;
    }



    .tile p {
        font-weight: 300;
        margin-top: 35px;
        line-height: 25px;
        transform: translateX(-200px);
        transition-delay: .2s;
    }

.animate-text {
    opacity: 0;
    transition: all .6s ease-in-out
}

.tile:hover {
    box-shadow: 0 35px 77px -17px rgba(0,0,0,.64);
    transform: scale(1.05)
}

    .tile:hover img {
        opacity: .2
    }



    .tile:hover .animate-text {
        transform: translateX(0);
        opacity: 1;
    }



.tile:hover span {
    opacity: 1;
    transform: translateY(0px)
}

