html, body { height: 100%; width: 100%; margin: 0; }

.blue{
    background-color: #5BCEFA;
}
.pink{
    background-color: #F5A9B8;
}
.whit{
    background-color: #ffffff;
}

.block{
    height: 20%;
    width: 100%;
    float:left;
    text-align: center;
}

#text{
    position: absolute;
    top:45%;
    left: 45%
}