body.fixed {
    /*height: 100%;*/
    /*overflow: hidden;*/
}

.modal__container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 11000;
}

.modal__container.is-open {
    display: block;
}

.modal__overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(57, 57, 57, 0.5);
    z-index: 4300;
}

.modal__content {
    position: relative;
    background: #FFFDF8;
    border-radius: 16px;
    filter: drop-shadow(0px 12.8536px 51.4142px rgba(57, 57, 57, 0.16));
    max-width: 95%;
}

@media screen and (max-width: 960px) {
    .modal__overlay {
        justify-content: flex-end;
    }

    .modal__content {
        max-width: 100%;
        width: 100%;
        position: absolute;
        bottom: 0;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }
}

.modal__content h2 {
    font-size: 24px;
    line-height: 36px;
    margin: 0 0 24px;
    text-align: center;
}

.modal__close {
    position: absolute;
    top: 19px;
    right: 19px;
    background: transparent;
    border: none;
    outline: none;
    z-index: 3300;
}

.modal__container[aria-hidden="false"] .modal__overlay {
    animation: fadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.modal__container[aria-hidden="false"] .modal__content {
    animation: fadeIn .3s cubic-bezier(0, 0, .2, 1);
}

.modal__container[aria-hidden="true"] .modal__overlay {
    animation: fadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.modal__container[aria-hidden="true"] .modal__content {
    animation: fadeOut .3s cubic-bezier(0, 0, .2, 1);
}

.modal__container .modal__content,
.modal__container .modal__overlay {
    will-change: opacity;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.modal-content-padding {
    padding: 40px 32px;
    max-width: 525px;
}

@media screen and (max-width: 960px) {
    .modal-content-padding {
        padding: 40px 32px 40px;
        max-width: 100%;
        width: 100%;
    }
}