.layover {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

@media (max-width: 600px) {
    .layover {
        align-items: flex-start; 
        padding-top: 20px;
    }
}

.layover-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 450px;
    width: 100%;
    box-sizing: border-box;
}

.layover-content h2 {
    margin-bottom: 15px;
    margin-top: 0;
}

.layover-content button {
    float:right; 
    margin-right: 5px;
}