* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .65);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 20px;
}

.popup-box {
    background: #fff;
    width: 900px;
    max-width: 100%;
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    animation: popup .4s ease;
}

@keyframes popup {

    from {
        transform: scale(.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }

}

.popup-image {
    width: 45%;
}

.popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.popup-content {
    width: 55%;
    padding: 40px;
}

.popup-content h2 {
    font-size: 42px;
    margin-bottom: 15px;
    font-family: 'Libre Caslon Text';
}

.popup-content p {
    color: #666;
    margin-bottom: 25px;
    font-family: var(--font-serif);
}

.popup-content input,
.popup-content textarea {

    width: 100%;
    padding: 14px 0;
    margin-bottom: 12px;
    border: none;
    border-bottom: 1px solid #ddd;
    outline: none;
    font-size: 15px;
    font-family: var(--font-serif);

}

.popup-content textarea {
    height: 100px;
    resize: none;
    font-family: var(--font-serif);
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 12px;

}

.input_block label {
    color: #051A3E;
    font-family: 'Libre Caslon Text';
}

.popup-content button {

    background: #000;
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 16px;

}

.close-popup {

    position: absolute;
    top: 15px;
    right: 18px;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;

}

body.popup-open {
    overflow: hidden;
}

/* ====responsive-css==== */

/* Tablet */

@media(max-width:992px) {

    .popup-box {
        width: 95%;
    }

    .popup-content {
        padding: 25px;
    }

    .popup-content h2 {
        font-size: 34px;
    }

}


/* Mobile */
@media(max-width:768px) {

    .popup-box {

        flex-direction: column;
        max-height: 90vh;
        overflow: auto;

    }

    .popup-image,
    .popup-content {

        width: 100%;

    }

    .popup-content {
        padding: 25px;
    }

    .popup-content h2 {
        font-size: 30px;
    }

    .popup-content button {
        width: 100%;
    }
}