.json-modal {
    width: calc(100vw - 10px);
    margin: 20px 5px;
    height: calc(100vh - 40px);
    background: #ffffff;
    transition: transform 0.5s ease,  opacity 0.25s linear;
    transform: scale(.01);
    opacity: .1;
    padding: 0;
    display: flex;

}

/*.modal_preview {*/
/*  display: grid;*/
/*  grid-template-columns: 400px 300px;*/
/*  grid-template-rows: 40px 450px auto;*/
/*}*/

@media (min-width : 768px) {
    .json-modal {
        width: calc(100vw - 200px);
        height: calc(100vh - 200px);
    }
    .json-modal_big {
        width: 740px;
        height: 95vh;
    }
}

@media (min-width : 1024px) {
    .json-modal {
        width: 900px;
        height: 600px;
    }
    .json-modal_preview {
        display: grid;
        grid-template-columns: 500px 400px;
        grid-template-rows: 40px 470px auto;
    }
    .json-modal_big {
        width: 990px;
        height: 95vh;
    }
}

@media (min-width : 1230px) {
    .json-modal_big {
        width: 1200px;
        height: 90vh;
    }
}


@media (min-width : 1024px) {

}


.json-modal_active {
    transform: scale(1);
    opacity: 1;
    transition: transform 0.5s ease,  opacity 0.25s linear;
}

.json-modal__close {
    display: flex;
    align-items: center;
    font-size: 48px;
    color: var(--color-danger);
    background-color: rgba(205, 23, 100, 0);
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 2;
    margin-left: 5px;
    /*top: -14px;*/
    /*margin-left: calc(100vw - 38px);*/
    justify-self: center;
    border-radius: 50%;
    transform: rotate(45deg);
    cursor: pointer;
    transition: color 0.5s ease,  background-color 0.25s linear;

}

.json-modal__close:hover {
    color: rgba(205, 23, 100, .6);
}
.json-modal__content {
    width: 100%;
    position: relative;
    z-index: 1;
    padding: 30px 20px;
    box-sizing: border-box;
    height: 100%;
    overflow-y: auto;
}