.cartoon-card {
    position: relative;
    display: block;
    transition: transform .3s;
}

.cartoon-card:hover,
.cartoon-card:focus
{
    transform: scale(1.2);
    z-index: 1;
    box-shadow: 0 .25em 1em 0 #000;
}

.cartoon-card__img {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    background: #eee no-repeat center;
    background-size: cover;
}

.cartoon-card__title {
    box-sizing: border-box;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    padding: 1rem;
    background: rgba(0, 0, 0, .5);
    background: linear-gradient(to bottom, rgba(0,0,0,0.0) 0%,rgba(0,0,0,.5) 100%);
    font-weight: bold;
    font-size: 85%;
    line-height: 1;
    text-shadow: 0 0 1px #000, 0 0 .5em #000, 0 0 1em #000;
    overflow: hidden;
    text-overflow: ellipsis;
}
