.PopUpDialog {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    touch-action: none;
    -ms-touch-action: none;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 440px;
    min-height: 317px;
    background-color: black;
    font-size: 16px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    -webkit-box-shadow: inset 0px 0px 2px 2px rgb(91, 111, 109);
    -moz-box-shadow: inset 0px 0px 2px 2px rgb(91, 111, 109);
    box-shadow: inset 0px 0px 2px 2px rgb(91, 111, 109);
}

.textContent {
    min-height: 130px;
    padding: 10px;
}

.content div {
    word-wrap: break-word;
}

.content h1 {
    text-transform: none;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 18px;
}

.content span {
    color: #c3d2ff;
}

.buttonsContainer {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    padding: 10px;
}

.button {
    min-width: 90px;
    margin-left: 5px !important;
    margin-right: 5px !important;
    background-color: black;
    font-size: 14px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 6px;
    -webkit-box-shadow: inset 0px 0px 2px 2px rgb(91, 111, 109);
    -moz-box-shadow: inset 0px 0px 2px 2px rgb(91, 111, 109);
    box-shadow: inset 0px 0px 2px 2px rgb(91, 111, 109);
    padding: 10px;
}

@media (max-width: 870px) {
    .content {
        width: 347px;
        min-height: 250px;
        font-size: 14px;
    }
    .content h1 {
        font-size: 16px;
    }
}

@media (max-width: 320px) {
    .content {
        width: 270px;
        min-height: 214px;
        font-size: 12px;
    }
    .content h1 {
        font-size: 14px;
    }
    .textContent {
        padding: 5px;
    }
    .button {
        min-width: 80px;
        font-size: 12px;
    }
    .buttonsContainer {
        padding: 5px;
    }
}