@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*
{ 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    background: #6cb1ff;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: none;
    z-index: 10;
}

.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: #e7ffe0;
    border-radius: 50%;
}

.contentBox .imgBx img {
    position: relative;
    max-width: 250px;
}

.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: #ff4d54;
    line-height: 1em; 
}

.contentBox .content h2 span {
    columns: #333;
    font-size: 0.75em;
    text-transform: uppdercase;
}

.contentBox .content p {
    font-weight: 300;
}

.contentBox .content a {
    display: inline-block;
    padding: 10px 20px;
    background: #ff4d54;
    color: #fff;
    margin-top: 15px;
    text-decoration: none;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #f3f3f3 url(../assets/img/close.png);
    background-repeat: no-repeat;
    background-size: 10px;
    background-position: center;
    cursor: pointer;
    border-radius: 50%;
    z-index: 1;

}

/* Add responsive    */

@media (max-width : 767px)
{
    .contentBox {
        width: 300px;
        height: auto;
        flex-direction: column;
    }

    .contentBox .imgBx {
        height: 200px;
        transform: translateY(-50px);

    }

    .contentBox .imgBx::before {
        background: #fff;
    }

    .contentBox .content {
        height: auto;
        text-align: center;
        padding: 20px;
        padding-top: 0;
    }
    .close {
        top: -50px;
        right: -10px;
        background: #fff url(../assets/img/close.png);
        background-repeat: no-repeat;
        background-size: 10px;
        background-position: center;
    }
}