
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.overlay-content {
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    width: 80%;
    max-width: 750px;
    max-height: 700px;
    overflow-y: auto;
    position: relative;
}
.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.overlay-header h4 {
    margin: 0;
}
.overlay-header span {
    font-size: 20px;
}


@media only screen and (max-width: 880px){
    .overlayToggle:checked + label + .overlayContainer{
        max-height: 95%;
        width: 95%;
    }
}