img{
    position : relative;
    top: 50%;
    transform: translateY(-50%);
}