.modal-content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content__inner {
    max-width: 450px;
    position: relative;
    background-color: #fff;
    padding: 30px 40px 20px;
    border-radius: 12px;
    margin: 20px !important;
    width: calc(65% - 20px);
}

.modal-content__inner h3 {
    color: var(--gray);
    font-family: 'Cormorant SC', serif;
    font-size: clamp(18px, 3vw, 32px);
    font-weight: 500;
    line-height: 100%;
    text-align: center;
    margin-bottom: 24px;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    height: 14px;
    width: 14px;
    border: none;
    background-color: transparent;
}

.modal-close span {
    position: absolute;
    height: 1px;
    width: 100%;
    background-color: var(--gray);
}

.modal-close span:first-child {
    right: 0;
    transform: rotate(45deg);
}

.modal-close span:last-child {
    right: 0;
    transform: rotate(-45deg);
}

.modal-close:hover span:first-child {
    right: 0;
    transform: rotate(180deg);
}

.modal-close:hover span:last-child {
    right: 0;
    transform: rotate(-180deg);
}