.popup-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    top: 0;
    left: 0;
    transition: all .5s ease;
}

.popup-background.popup-active{
    pointer-events: all;
    opacity: 0.5;
}

.popup-form-wrapper {
    position: fixed;
    top: 350%;
    left: 50%;
    z-index: 100000;
    background: white;
    width: 100%;
    transform: translate(-50%, -50%);
    max-width: 640px;
    max-height: calc(100% - 80px);
    border: solid 5px var(--popup-color2);
    --popup-color: red;
    --popup-color2: darkred;
    border-radius: 30px;
    box-sizing: border-box;
    transition: all .5s ease;
    pointer-events: none;
    width: calc(100% - 40px);
    display: flex;
}

.popup-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--popup-color2);
    transform: translate(50%, -50%);
    border-radius: 50%;
    text-align: center;
    border: solid 3px var(--popup-color2);
    cursor: pointer;
    z-index: 5;
    color: white;
}

.popup-form-wrapper.popup-active{
    top: 50%;
    pointer-events: all;
}

.popup-form-wrapper .wpcf7 {
    overflow-y: scroll;
    overflow-x: hidden;
}


.popup-form-wrapper  p:last-of-type {
    margin-bottom: 0;
}
.popup-form-wrapper input, .popup-form-wrapper textarea, .sgpb-gdpr-info, .sgpb-gdpr-label-wrapper, .popup-form-wrapper select {
    width: 100% !important;
    background: #f2f2f2;
    border-radius: 0;
    border-style: solid;
    border-width: 1px;
    box-shadow: none;
    display: block;
    font-size: 18px;
    letter-spacing: -0.015em;
    margin: 0;
    max-width: 100%;
    padding: 15px 20px;
    width: 100%;
    box-sizing: border-box;
    border: solid 2px #ccc;
    box-sizing: border-box;
    font-family: 'Mukta';
    border-radius: 10px;
}
.popup-form-wrapper  h3 span {
    color: white;
    display: block;
    font-weight: 300;
}

.popup-form-wrapper  input.wpcf7-submit {
    padding: 15px 20px;
    text-align: center;
    box-sizing: border-box !important;
    color: white;
    font-size: 24px;
    text-transform: capitalize;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    background: var(--popup-color);
    font-weight: 400;
    border: solid 1px var(--popup-color);
    box-shadow: none !important;
    text-shadow: none;
    margin-top: 20px;
    cursor: pointer;
    -webkit-appearance: inherit;
    text-align: left;
}

.popup-form-wrapper  .wpcf7-response-output {
    margin-top: 0 !important;
}

.popup-form-wrapper  label {
    font-size: 18px;
}

.popup-form-wrapper  textarea {
    max-height: 150px;
}

.popup-form-wrapper  h3 {
    font-weight: 600;
    text-align: center;
    margin: 0px auto 30px;
    font-size: 40px;
    line-height: 40px;
    color: white;
    padding: 35px 0px 30px;
    background: var(--popup-color);
    width: 100%;
    border-top-left-radius: 30px;
}