.modal {
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    position: fixed;
    z-index: 1000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #131825;
    box-shadow: 0px 2px 4px -1px rgba(19, 24, 37, 0.2), 0px 4px 5px 0px rgba(19, 24, 37, 0.14), 0px 1px 10px 0px rgba(19, 24, 37, 0.12);
    opacity: 1;
    -webkit-transition: opacity 100ms;
    transition: opacity 100ms;
}

.modal.is-lang {
    width: calc(465px);
    height: calc(160px);
}

.lang-conent {
    margin-top: 20px;
}

.modal.close {
    opacity: 0;
    display: none;
    visibility: none;
}

.modal-close {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.modal-close:hover path {
    stroke: #FFFFFF;
}

.modal .btn-content {
    display: flex;
}

.modal .btn-content button {
    margin-left: auto;
    margin-right: 10px;
}

div.modal-content {
    height: calc(100% - 40px);
    width: auto;
    overflow-y: auto;
    margin-left: 20px;
}

.modal .xp-title {
    font-size: 82px;
    margin-bottom: 20px;
}

.modal-message {
    color: var(--xp-color-blured-50);
    font-size: 18px;
    font-weight: 400;
}

.modal-footer-first,
.modal-footer-second  {
    font-size: 18px;
    font-weight: 400;
    color: #FFFFFFBF;
    margin-bottom: 2rem;
}

.modal-footer-second {
    margin-bottom: 4rem;
}

.modal-encourage {
    font-size: 34px;
    font-weight: 700;
    line-height: 34px;
    letter-spacing: 0em;
    text-align: center;
    margin-bottom: 1rem;
}

.modal-please {
    font-size: 22px;
    font-weight: 500;
    line-height: 29px;
    letter-spacing: 0em;
    text-align: center;
    margin-top: 40px;
}

.card-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 60px;
}

.modal-card {
    width: 390px;
    height: 286px;
    margin: 1rem;
    border: 2px solid var(--xp-color-purpule);
    border-radius: 10px;
    margin: 0 20px 20px 0;
    padding: 20px;
}

.modal-card:hover {
    background-color: var(--xp-color-purpule);
}

.modal-card:hover svg {
    border-radius: 50%;
    background-color: #FFFFFF;
}

.modal-card:hover circle {
    fill: #FFFFFF;
}

.card-icon {
    margin-bottom: 10px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
    color: #FFFFFF;
    margin: 10px 0;
}

.card-desc {
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    letter-spacing: 0em;
    text-align: left;
    color: #FFFFFFBF;
    width: 90%;
}

.modal .xp-why-xplode-quote {
    width: calc(100% - 20px);
}

@media screen and (max-width: 786px) {
    div.modal:not(.is-lang) {
        width: 100vw;
        height: 100%;
    }

    div.modal .xp-why-xplode-quote {
        padding-bottom: 60px;
    }

    .choos-lang-header {
        text-align: center;
    }
}

@media screen and (max-width: 465px) {
    div.modal.is-lang {
        width: 100%;
        height: 100%;
    }

    div.modal.is-lang .modal-content {
        margin-left: 0;
    }

    .lang-conent {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .lang-conent .xp-button.xp-button-primary {
        margin-right: 0 !important;
    }

    div.modal.is-lang .xp-button-primary {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 390px) {
    .modal-card {
        width: 100%;
    }
}