.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;

    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease;
}

.popup.show {
    visibility: visible;
    opacity: 1;
}

.contentBox {
    position: relative;
    width: 600px;
    height: 400px;
    background: #fff;
    border-radius: 20px;
    dispLay: flex;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contentBox .imgBx {
    position: relative;
    width: 300px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contentBox .imgBx::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: #fed400;
    border-radius: 50%;
}

.contentBox .imgBx img {
    position: relative;
    max-width: 250px;
    z-index: 1;
}

.contentBox .content {
    position: relative;
    width: 300px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contentBox .content h3 {
    color: #333;
    Line-height: 1em;
    font-weight: 300;
    font-size: 2em;
}

.contentBox .content h2 {
    font-size: 4em;
    color: #004366;
    line-height: 1em;
}

.contentBox .content h2 span {
    color: #333;
    font-size: 0.75em;
    text-transform: uppercase;
}

.contentBox .content {
    font-weight: 300;
}


.contentBox .content a {
    display: inline-block;
    padding: 10px 20px;
    background: #004366;
    color: #fff;
    margin-top: 15px;
    text-decoration: none;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    width;
    40px;
    height: 40px;

    cursor: pointer;
    border-radius: 5%;
    z-index: 10;
}

@media (max-width : 767px) {
    .contentBox {
        width: 300px;
        height: auto;
        flex-direction: column;
    }

    .contentBox .imgBx {
        height: 200px;
        transform: translateY(-50px);
    }

    .contentBox .content {
        height: auto;
        text-align: center;
        padding: 20px;
        padding-top: 0;
    }

    .contentBox .imgBx::before {
        background: #fff;
    }

    .close {
        top: -50px;
        right: -10px;

    }
}