.form-bg{
    background-image: url('../images/bg-form.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #ffffff;
}
.form{
    max-width: 840px;
    width: 100%;
    padding: 150px 0px;
}
.form__header{
    font-size: 45px;
    font-weight: bold;
    margin-bottom: 100px;
}
.form__flex{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.form__input{
    width: 100%;
    max-width: calc((100% / 2) - 50px);
    margin-bottom: 50px;
}
.form__input.full-width{
    max-width: 100%;
}
input[type=text],textarea{
    font-family: "PorscheNext", Arial;
    font-size: 18px;
    line-height: 18px;
    outline: 0px;
    background-color: transparent;
    border: 0px;
    border-bottom: 1px solid #ffffff;
    width: 100%;
    padding: 15px 0px;
    color: #ffffff;
}
input[type=text]::placeholder, textarea::placeholder{
    font-family: "PorscheNext", Arial;
}
.form__accepts{
    font-size: 12px;
}
.form__accepts label{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}
.form__accepts-flex{
    display: flex;
    align-items: center;
    gap: 30px;
}
input[type="checkbox"] {
    appearance: none;
    background-color: transparent;
    margin: 0;
    width: 22px;
    height: 21px;
    background-color: transparent;
    border: 1px solid #ffffff;
}
input[type="checkbox"]:checked{
    background-color: #ffffff;
}
.text__error{
    font-size: 14px;
    color: red;
}

@media(max-width: 1440px){
    .form {
        padding: 100px 0px;
    }
    .form__header {
        font-size: 35px;
        margin-bottom: 50px;
    }
}

@media(max-width: 960px){
    .form {
        padding: 100px 0px 50px 0px;
    }
    .form__input {
        max-width: 100%;
        margin-bottom: 30px;
    }
    .form__header {
        font-size: 25px;
        margin-bottom: 30px;
    }
}