.centered {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -28px;
    margin-left: -28px
}