.dialog-background {
    position: fixed;
    z-index: 100;
    width: 100%;
    height: 100%; /* Full height */
    background-color: rgb(216, 216, 216);
    background-color: rgba(216, 216, 216, 0.5);
    left: 0;
    top: 0;
}

.dialog {
    position: fixed; /* Stay in place */
    z-index: 2; /* Sit on top */
    padding: 1em;
    padding-top: 100px; /* Location of the box */
    width: 100%;
    height: 100%;
    overflow-y: auto; /* Enable scroll if needed */
    box-sizing: border-box;
}

.dialog-wrapper {    
    box-sizing: content-box;
    padding: 20px 24px;
    background-color: #fff;
    border-radius: 20px;
    border: 1px solid gainsboro;

    max-width: 500px;
    margin-right: auto;
    margin-left: auto;
}

.dialog-container {
    box-sizing: content-box;
    max-width: 350px;
    margin-right: auto;
    margin-left: auto;

    padding-bottom: 24px;
}