.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 50%;
    display: table-cell;
    text-align: center;
}

.hidden {
    display: none;
}