.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

@media screen and (max-width: 750px) {
    .popup {
        padding: 20px 15px;
    }
}

.popup img {
    vertical-align: middle;
}

.popup-text {
    font-size: 1rem;
    line-height: 2.0;
    margin-bottom: 20px;
    color: #000;
}

.popup-text em {
    font-weight: bold;
    font-size: 1.2rem;
    font-style: normal;
}

.popup-text img {
    width: 170px;
    display: inline-block;
}

.popup-check {
    font-size: 1rem;
    line-height: 1;
    margin: 10px 0 20px;
}

.popup-btn { 
    width: 360px;
    margin: 0 auto;
}
  
.popup-btn a {
    border: 4px solid #fff;
    border-radius: 35px;
    background: #000;
    width: 100%;
    height: 60px;
    padding: 0 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 750px) {
    .popup-btn {
        width: 100%;
    }
}

.popup-close {
    border: none;
    background-image: url(../images/close.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    width: 30px;
    height: 30px;
    color: transparent;
    display: block;
    cursor: pointer;
    transition: .3s;
    position: absolute;
    top: -40px;
    right: 0;
    appearance: none;
}


.popup-close:hover {
    opacity: 0.7;
}

.popup-overlay  {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
}