#container {
    height: 100%;
    position: relative;
}
html,body{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 3px solid #000;
    overflow:hidden;
    display:block;
    box-sizing: border-box;
}
.block {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}