@mixin center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@mixin horizontal-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

@mixin vertical-center {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
