﻿ 
.tilesWrap {
    padding: 0;
    margin: 50px auto;
    list-style: none;
    text-align: center;
}

    .tilesWrap li {
        display: list-item; 
        padding: 80px 20px 40px;
        position: relative;
        vertical-align: top;
        margin: 10px;
        font-family: 'helvetica', san-serif;
        min-height: 25vh;
        background: #fff;
        border: 1px solid #fff;
        text-align: left;
        cursor:pointer;
    }

        .tilesWrap li h2 {
            font-size: 3em;
            margin: 0;
            position: absolute;
            opacity: 0.2;
            top: 50px;
            right: 10px;
            transition: all 0.3s ease-in-out;
        }

        .tilesWrap li h3 {
            font-size: 20px;
            color: #b7b7b7;
            margin-bottom: 5px;
        }

        .tilesWrap li p {
            font-size: 16px;
            line-height: 18px;
            color: #0000009e;
            margin-top: 5px;
        }

        .tilesWrap li .bton {
            background: #ffffffad !important;
            border: 1px solid #b7b7b7;
            padding: 10px 20px;
            color: #0000009e;
            border-bottom-left-radius: 20px;
            border-top-left-radius: 20px;
            position: relative;
            transition: all 0.3s ease-in-out;
            transform: translateY(-40px);
            opacity: 0;
            cursor: pointer;
            overflow: hidden;
        }

            .tilesWrap li .bton:before {
                border-radius:15px;
                content: '';
                position: absolute;
                height: 100%;
                width: 120%;
                background: #fff;
                color:black;
                top: 0;
                opacity: 0;
                left: -140px; 
                z-index: -1;
                transition: all 0.3s ease-in-out;
            }

        .tilesWrap li:hover .bton {
            transform: translateY(30px);
            opacity: 1;
            color: #0000009e;
            font-weight: bold;
            border: none;
        }

        .tilesWrap li .bton:hover {
            color: #0000009e;
        }

            .tilesWrap li .bton:hover:before {
                left: 0;
                opacity: 1;
            }

        .tilesWrap li:hover h2 {
            top: 0px;
            opacity: 0.6;
        }

        .tilesWrap li:before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            z-index: -1;
            background: #fff;
            transform: skew(2deg, 2deg);
        }

        .tilesWrap li:after {
            content: '';
            position: absolute;
            width: 40%;
            height: 100%;
            left: 0;
            top: 0;
            background: rgba(255, 255, 255, 0.02);
        }

        .tilesWrap li:nth-child(1):before {
            background: #C9FFBF;
            background: -webkit-linear-gradient(to right, #FFAFBD, #C9FFBF);
            background: linear-gradient(to right, #FFAFBD, #C9FFBF);
        }

        .tilesWrap li:nth-child(2):before {
            background: #f2709c;
            background: -webkit-linear-gradient(to right, #ff9472, #f2709c);
            background: linear-gradient(to right, #ff9472, #f2709c);
        }

        .tilesWrap li:nth-child(3):before {
            background: #c21500;
            background: -webkit-linear-gradient(to right, #ffc500, #c21500);
            background: linear-gradient(to right, #ffc500, #c21500);
        }

        .tilesWrap li:nth-child(4):before {
            background: #FC354C;
            background: -webkit-linear-gradient(to right, #0ABFBC, #FC354C);
            background: linear-gradient(to right, #0ABFBC, #FC354C);
        }
