.view {
    /* width: 300px; */

    /* height: 200px; */
    margin: 10px;
    display: inline-block;
    overflow: hidden;
    position: relative;
    text-align: center;
    box-shadow: 1px 1px 2px #e6e6e6;
    cursor: default;
    background: #fff url("../images/bgimg.jpg") no-repeat center center;
}

.view .mask,.view .content {
    /*   width: 300px;
       height: 200px; */
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
}

.view img {
    display: block;
    position: relative;
}

.view h2 {
    /* text-transform: uppercase; */
    color: #d28774;
    font-family: lobster, "trebuchet ms", arial, sans-serif;
    text-align: center;
    position: relative;
    font-size: 17px;
    padding: 10px;
    background: rgb(0 0 0 / 80%);
    margin: 20px 0 0;
}

.view p {
    font-style: italic;
    font-size: 14px;
    position: relative;
    color: #99afbf;
    padding: 10px 20px 20px;
    text-align: center;
}

.view a.info {
    display: inline-block;
    text-decoration: none;
    padding: 10px 20px;
    background: #d28774;
    color: #fff;
    font-family: lobster, "trebuchet ms", arial, sans-serif;
    font-size: 18px;
    border-radius: 6px;
    border: 1px solid white;
}

.view a.info:hover {
    box-shadow: 0 0 5px #000;
}


/* demo 10 */

.view-tenth img {
    transform: scaleY(1);
    transition: all 0.7s ease-in-out;
}

.view-tenth .mask {
    background-color: rgb(255 231 179 / 30%);
    transition: all 0.5s linear;
    opacity: 0;
    width: 100%;
    height: 100%;
}

.view-tenth h2 {
    border-bottom: 1px solid rgb(0 0 0 / 30%);
    background: transparent;
    margin: 20px 40px 0;
    transform: scale(0);
    color: #333;
    transition: all 0.5s linear;
    opacity: 0;
}

.view-tenth p {
    color: #333;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s linear;
}

.view-tenth a.info {
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s linear;
}

.view-tenth:hover img {
    transform: scale(10);
    opacity: 0;
}

.view-tenth:hover .mask {
    opacity: 1;
}

.view-tenth:hover h2,.view-tenth:hover p,.view-tenth:hover a.info {
    transform: scale(1);
    opacity: 1;
}
