.web-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(16, 37, 57, 0.65);
}

.web-popup__box {
    position: relative;

    width: 100%;
    max-width: 700px;

    padding: 65px 50px 45px;

    background: #fff;
    border-radius: 10px;

    text-align: center;
}

.web-popup__close {
    position: absolute;
    top: 0;
    left: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 56px;
    height: 56px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #005FFF;
    color: #fff;

    font-size: 38px;
    font-weight: 200;
    line-height: 1;

    cursor: pointer;

    transform: translate(-50%, -50%);
}

.web-popup h2 {
    margin: 0 0 15px;

    font-size: 40px;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -1.5px;

    color: #000;
}

.web-popup__text {
    margin: 0 auto 28px;

    max-width: 450px;

    font-size: 25px;
    line-height: 1.5;

    color: #333b47;
}

.web-popup__text p {
    margin: 0 0 8px;
}

.web-popup__text p:last-child {
    margin-bottom: 0;
}

.web-popup__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 58px;

    padding: 0 30px;

    border-radius: 50px;

    background: #005FFF;
    color: #fff;

    font-size: 17px;
    text-decoration: none;

    transition: opacity 0.2s ease;
}

.web-popup__button:hover {
    color: #fff;
    opacity: 0.85;
}

body.web-popup-open {
    overflow: hidden;
}


/* Mobile */
@media (max-width: 767px) {

    .web-popup {
        padding: 25px;
    }

    .web-popup__box {
        max-width: 430px;

        padding: 48px 25px 40px;
    }

    .web-popup h2 {
        font-size: 35px;
        line-height: 1.05;
    }

    .web-popup__text {
        margin-bottom: 26px;

        font-size: 20px;
    }

    .web-popup__button {
        min-height: 58px;

        padding: 0 25px;

        font-size: 16px;
    }
}

@media (max-width: 400px) {

    .web-popup {
        padding: 20px;
    }

    .web-popup h2 {
        font-size: 40px;
    }
}

/* fer que tardi en aparèixer */
.web-popup {
    display: flex !important;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.web-popup.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.web-popup-open {
    overflow: hidden;
}