.popup-wrapper {
    position: relative;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, .4);
    z-index: 999;
    display: none;
}

.popup-closeBtn {
    position: absolute;
    bottom: 110px; left: 50%;
    transform: translate(-50%, 0);
    width: 70rem;
    height: 70rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 0 30rem rgba(0, 0, 0, .2);
    cursor: pointer;
    z-index: 20;
}

.popup-closeBtn img {
    width: 40%;
}

.popup {
    width: 600rem;
    max-height: 65vh;
    padding: 60rem;
    border-radius: 5px;
    background-color: #fff;
    overflow-y: auto;
}

.popup-contents {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.semupp-text h5 {
    color: var(--main-color);
    font-size: 40px;
    font-weight: 800;
    font-family: 'Paperozi';
    text-align: center;
}

.semupp-text p {
    color: #333;
    padding: 30px;
    font-size: 19px;
    line-height: 1.5;
    border-radius: 5px;
    background-color: #f2f2f2;
    margin: 20px 0;
}

.semupp-text p b {
    color: #dd1717;
    text-decoration: underline;
}

.semupp-text span {
    display: block;
    color: #555;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-top: 10px;
}

.popupBtn {
    color: #fff;
    padding: 18px;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    outline: none;
    border-radius: 5px;
    background-color: var(--main-color);
}

.popup-personal h5 {
    font-size: 30rem;
}

.popup-personal p {
    color: #333;
    font-size: 16rem;
    line-height: 1.5;
    margin-top: 35rem;
}


/*==================================================*/
@media (max-width: 768px) {
    .popup-closeBtn {
        bottom: unset;
        top: 30rem;
        width: 60rem;
        height: 60rem;
        box-shadow: none;
        border-radius: 5px;
        background-color: #111;
    }

    .popup-closeBtn img {
        filter: invert(1);
    }

    .popup {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        padding-top: 130rem;
        border-radius: 0;
    }
}


@media (max-width: 550px) {
    .semupp-text h5 {
        font-size: 55rem;
    }

    .semupp-text p {
        font-size: 26rem;
    }

    .semupp-text span {
        font-size: 24rem;
    }
    
    .popupBtn {
        padding: 25rem;
        font-size: 32rem;
    }

    .popup-personal h5 {
        font-size: 40rem;
    }
    
    .popup-personal p {
        font-size: 20rem;
    }
}