.c-modal, .c-modal * {
    box-sizing: border-box;
}

.c-modal {
    position: fixed;
    top: 0;
    left:  0;
    background: rgba(0,0,0,.7);
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    line-height: initial;
}

.c-modal__container {
    width: 62.5rem;
    max-width: calc(100% - 2rem);
    max-height: calc(100% - 2rem);
    position: relative;
    background: #fff;
    border-radius: 5px;
}

.c-modal__close {
    position: absolute;
    right: 0px;
    top: 0px;
    background: #990000;
    color: #fff;
    font-weight: bold;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    display: flex;
    cursor: pointer;
    border-top-right-radius: 5px;
    font-size: 1rem;
}

.c-modal__content {
    max-height: calc(100vh - 2rem);
    width: 100%;
    overflow-y: auto;
    padding: 2rem;
}