#leavePopup {
    display: none;
    -webkit-animation: fadeIn .2s ease-in;
    animation: fadeIn .2s ease-in;
    z-index: 16777271;
    position: fixed;
    top: 0;
    left: 0;
    background: #fff;
    height: 100vh;
    justify-content: space-between;
    flex-direction: column;
    background: linear-gradient(180.59deg, #F76F64 0%, #FE5295 100%);
}

#leavePopup .popup_content {
    flex-direction: row;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    height: 100vh;
    justify-content: flex-start;
}

#leavePopup .close {
    position: absolute;
    top: 45px;
    right: 70px;
    cursor: pointer;
}

.popup_content h2.heading_popup {
    font-size: 64px;
    color: #fff;
    line-height: 110%;
}

.popup_top_holder{
    flex-direction: row;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 45%;
    margin-left: 10%;
}

.form_holder {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 405px;
    width: 100%;
}

.form-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.form-content .button{
    width: 218px;
    height: 78px;
    background: #fff;
    box-sizing: border-box;
    border-radius: 50px;
    border: none;
    line-height: 100%;
    outline: none;
    margin-top: 20px;
    cursor: pointer;
    
}

.popup_input {
    border: 1px solid #fff;
    box-sizing: border-box;
    border-radius: 50px;
    width: 350px;
    height: 78px;
    background: transparent;
    padding: 30px 40px;
    line-height: 100%;
    color: #F0F2F4;
    outline: none;
    margin-right: 20px;
    margin-top: 20px;
}

.form-content input::-webkit-input-placeholder,
.popup_input {
  font-size: 18px;
  font-weight: 100;
  color: #F0F2F4;
}

.form-content input:-ms-input-placeholder,
.popup_input {
  font-size: 18px;
  font-weight: 100;
  color: #F0F2F4;
}

.popup_content .button > p {
    width: auto;
    color: #121212!important;
    font-size: 18px;
    line-height: 100%;
}

.popup_images_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 589px;
    margin-top: 20px;
}

.popup-img {
    width: 400px;
    height: 620px;
    margin-left: 95px;
    background: url(../png/free-book-cover.png);
    background-repeat: no-repeat;
    background-size: 492px 703px;
    box-shadow: 50px 50px 40px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 1320px) {
    #leavePopup .popup_content {
        justify-content: center;
    }

    .popup_top_holder {
        margin: 0;
    }

    .popup_images_container {
        max-width: 450px;
    }

    .popup-img {
        display: none;
    }

    #leavePopup .close {
        top: 70px;
    }
}

@media screen and (max-width: 500px) {

    .popup_content h2.heading_popup {
        font-size: 55px;
    }

    .popup_input {
        width: 290px;
    }
    .form-content input::-webkit-input-placeholder,
    .popup_input {
        font-size: 14px;
    }

    .popup_images_container {
        flex-direction: column;
    }

}
