.popupForm {
    position: fixed;
    z-index: 10;
    top: 50%;
    right: 2.5%;
    transform: translateY(-50%) translateX(120%);
    transition: transform .7s ease;
}

.popupForm.active {
    transform: translateY(-50%) translateX(0);
}

.popupForm-wrap {
    position: relative;
}

.popupForm-closer {
    width: 15px;
    height: 15px;
    padding: 10px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    background: rgb(225 225 225 / 40%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: -40px;
    cursor: pointer;
}

.popupForm-content {
    max-width: 25vw;
    padding: 25px 50px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    background: rgb(225 225 225 / 40%);
}

.popupForm-logo,
.popupForm-title,
.popupForm-subtitle {
    text-align: center;
}

.popupForm-title {
    text-transform: uppercase;
    font-size: 28px;
    font-weight: bold;
    margin: 15px 0;
}

@media screen and (min-width: 1900px) {
    .popupForm-title {
        font-size: 35px;
    }
}

.popupForm-subtitle {
    text-align: center;
    line-height: 1.2;
    font-size: 15px;
}

.popupForm-fields {
    margin-top: 25px;
}

.popupForm .input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 70px;
    margin-top: 5px;
    background: #FFF;
    border: 0;
    padding: 10px 25px;
    color: #000;
    font-size: 14px;
    text-align: left;
    line-height: 1;
    outline: none;
}

.popupForm .error .input {
    background: #ffcccc;
}

@media screen and (min-width: 1900px) {
    .popupForm .input {
        font-size: 18px;
        height: 80px;
    }
}

.popupForm .button-bg {
    height: auto;
}

.popupForm .rf-form-send {
    margin-top: 25px;
}

.popupForm .submitbutton {
    display: block;
    width: 100%;
    border-color: #000;
    color: #000;
    padding: 23px 0;
}

.popupForm .submitbutton:hover {
    border-color: #FFF;
    color: #FFF;
}

.popupForm .rf-agreement {
    margin-top: 25px;
    font-size: 12px;
    font-size: .7vw;
    line-height: 1.7;
    opacity: 1;
    text-align: center;
}

.complete .rf-title {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-top:25px;
}

.complete .popupForm-fields {
    display: none;
}

@media screen and (max-width: 1300px) {
    .popupForm-content {
        max-width: 35vw;
    }
}

@media screen and (max-width: 1200px) {
    .popupForm-content {
        max-width: 35vw;
    }
    .popupForm .input {
        height: 55px;
    }
    .popupForm-title {
        font-size: 23px;
    }
    .popupForm .submitbutton {
        padding: 20px 0;
        font-size: 14px;
    }
}

@media screen and (max-width: 1050px) {
    .popupForm-title {
        font-size: 16px;
    }
    .popupForm .rf-agreement {
        font-size: 10px;
        line-height: 1.2;
    }
}

@media screen and (max-width: 800px) {
    .popupForm {
        top: 55px;
        right: 0;
        transform: translateY(-50%) translateX(120%);
    }

    .popupForm.active {
        transform: translateY(70px) translateX(0);
    }

    .popupForm-content {
        max-width: 45vw;
    }

    .popupForm-closer {
        z-index: 2;
        top: 10px;
        right: 10px;
        -webkit-backdrop-filter: blur(0);
        backdrop-filter: blur(0);
        background: transparent;
        padding: 0;
        width: 25px;
        height: 25px;
    }

    .popupForm-closer svg {
        width: 30px;
        height: 30px;
    }

    .rf-title {
        font-size: 14px;
    }
}

@media screen and (max-width: 600px) {
    .popupForm-content {
        max-width: 55vw;
    }
}

@media screen and (max-width: 500px) {
    .popupForm-content {
        max-width: 90%;
        padding: 25px;
    }
}