.se-modal-window__backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000000;
    display: none;
    background-color: rgba(0, 0, 0, .4);
}

.se-modal-window__backdrop.active {
    display: block;
    overflow: scroll;
}

.se-modal-window__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

body.modal-active {
    overflow: hidden;
}

.se-modal-window__close-button {
    position: absolute;
    top: 36px;
    right: 32px;
    z-index: 2;
    width: 24px;
}

.se-modal-window__close-button:hover {
    cursor: pointer;
}

.se-modal-window__close-button path {
    fill: #fff;
}

@media screen and (max-width: 1199px) {
    .se-modal-window__content {
        top: 20px;
        transform: translate(-50%, 0);
        padding-bottom: 20px;
    }
}

@media screen and (max-width: 767px) {
    .se-modal-window__content {
        position: static;
        transform: none;
        padding-bottom: 0;
    }

    se-.modal-window__close-button {
        position: absolute;
        top: 14px;
        right: 14px;
        display: block;
    }

    .se-modal-window__close-button path {
        fill: var(--se-heading-color);
    }
}