.c-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 9px;
    border: none;
    padding: 1rem;
    width: min(68rem, 90vw);
}

.c-dialog::backdrop {
    background: rgba(0, 0, 0, 0.3);
}

.dialog__actions {
    display: flex;
    width: 100%;
    justify-content: stretch;
    margin-block-start: 0.5rem;
}

.dialog__actions button {
    text-align: center;
    flex: 1 1 0;
    padding: 0.6rem 1 rem;
    min-inline-size: 0;
    font-size: 2.4rem;
    justify-content: center;
    align-items: center;
}

.btn--cancel-dialogue {
    border: 1px solid black;
    background: white;
    color: black;
}

.btn--cancel-dialogue:hover {
    background-color: white;
}

.dialog__content {
    padding: 4rem;
    display: grid;
    gap: 0.75rem;
    grid-column: 1;
}

.c-dialog h2,
.c-dialog p {
    margin: 0;
    line-height: 1.4;
    text-align: center;
}

.c-dialog h2{
    font-size: 3.6rem;
}

.c-dialog p{
    font-size: 2.4rem;
}

.dialog__actions {
    display: flex;
    margin-block-start: 0.5rem;
    row-gap: 2rem;
    column-gap: 3rem;
}

@media (max-width: 519.9px) {
    .dialog__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .dialog__actions .btn {
        width: 100%;
    }
}