dialog {
    padding-top: 25px;
    position: relative;
    backdrop-filter: blur(10px);
    background-color: #000a;
    color: #fff;
    border: solid 1px #333;
    border-radius: 5px;
}

dialog::backdrop {
    background-color: #0005;
}

dialog::before {
    content: "";
    display: block;
    width: 100%;
    height: 1.4em;
}

.dialog-close-button {
    border: none;
    width: 40px;
    height: 40px;
    background: #0000;
    font-size: 20px;
    text-align: center;
    cursor: pointer;
    position: absolute;
    z-index: 100;
    top: 8px;
    right: 10px;
    border-radius: 100%;
    color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 2.5px;
}
.dialog-close-button:hover {
    background-color: #fffc;
    color: #000;
}

dialog h2 {
    text-align: center;
    margin-top: 0;
}
