h1 {
    text-align: center;
    font-family: Raleway;
    color: #34495e;
}

.container {
    display: flex;
    justify-content: center;
}


div.item {
    position: relative;
    float: left;
    overflow: hidden;
    margin: 10px 1%;
    min-width: 220px;
    max-width: 310px;
    width: 100%;
    background: #000000;
    text-align: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

div.item:hover img {
    opacity: 0.3;
    filter: grayscale(100%)
}

div.item:hover i {
    transform: translate(-50%, -50%) scale(1);
    transition: transform 300ms 100ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

div.item * {
    box-sizing: border-box;
    transition: all .5s ease-in-out;
}

div.item img {
    max-width: 100%;
    vertical-align: top;
    height: 210px;
}

div.item i {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    font-size: 34px;
    color: #000000;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: #ffffff;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);


}

div.item a {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
}

div.item.blue {
    background-color: #34495e;
}

div.item.blue i {
    color: #34495e;
}

div.item.red {
    background-color: #e74c3c;
}

div.item.red i {
    color: #e74c3c;
}

div.item.green {
    background-color: #16a085;
}

div.item.green i {
    color: #16a085;
}