﻿.box {
    text-align: center;
    overflow: hidden;
    position: relative;
}

    .box:after {
        content: "";
        width: 100%;
        height: 100%;
        background: radial-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.9) 75%);
        opacity: 0;
        position: absolute;
        top: 0;
        left: 0;
        transform: scale(2);
        transition: all 0.3s ease-out 0s;
    }

    .box:hover:after {
        opacity: 1;
        transform: scale(1);
    }

    .box img {
        width: 100%;
        height: auto;
    }

    .box .box-content {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }

    .box .inner-content {
        padding: 7px 0;
        text-align: right;
        position: absolute;
        bottom: 5px;
        left: 15px;
    }

    .box .title {
        font-size: 22px;
        font-weight: 700;
        color: #fff;
        letter-spacing: 1px;
        margin: 0;
        opacity: 0;
        transform: translateX(-50px);
        transition: all 0.2s ease 0s;
    }

    .box .post {
        display: inline-block;
        font-size: 16px;
        font-style: italic;
        color: #ffd800;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.2s ease 0s;
    }

    .box:hover .title,
    .box:hover .post {
        opacity: 1;
        transform: translateX(0);
    }

    .box .icon {
        padding: 0;
        margin: 0;
        list-style: none;
        position: absolute;
        top: 50%;
        left: 50%;
        opacity: 0;
        transform: translateX(-50%) translateY(-50%) rotate(270deg);
        transition: all 0.3s ease 0s;
    }

    .box:hover .icon {
        opacity: 1;
        transform: translateX(-50%) translateY(-50%) rotate(0);
    }

    .box .icon li {
        display: inline-block;
        margin: 0 5px;
    }

        .box .icon li a {
            display: block;
            width: 40px;
            height: 40px;
            line-height: 36px;
            background: #f44178;
            border: 2px dotted transparent;
            border-radius: 50%;
            margin-bottom: 10px;
            font-size: 18px;
            color: #fff;
            transform: rotate(360deg);
            position: relative;
            transition: all 0.3s ease 0s;
        }

            .box .icon li a:hover {
                text-decoration: none;
                background: #fff;
                color: #f44178;
                border: 2px dotted #f44178;
                transform: rotate(0);
            }

@media only screen and (max-width:990px) {
    .box {
        margin-bottom: 30px;
    }
}
