body{
    padding:16px;
}

.centered {
    position: fixed;
    top: 50%;
    left: 50%;
    padding:10px;
    transform: translate(-50%, -50%);
}

