.preview{
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
}
.preview__plug{
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.40);
}
.preview__content{
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.content__body{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Заголовок и описание */
.preview__header h1,
.preview__header h2{
    color: #fff;
}
.preview__text{
    max-width: 700px;
    padding-right: 20px;
    color: #fff;
}
/* Форма обратной связи */
.preview__form{
    width: 320px;
    height: 100%;
    background: #eeeeee;
    border-radius: 15px;
    padding: 20px;
}
.preview-form__content{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.form__title{
    font-size: 24px;
    text-align: center;
    padding-bottom: 10px;
}
.form__content .select{
    margin-bottom: 15px;
}
.form__content input{
    height: 35px;
    padding-left: 10px;
    border-radius: 5px;
    border: 1px solid #262626;
    font-size: 18px;
    margin: 2px 0;
}
.form__content .phone{
    margin-bottom: 15px;
}
.form__content [type="text"]:focus {
    outline: none;
    border-color: blue;
}
.form__content input.error{
    border-color: red;
}

.form__content input.ok{
    border-color: rgb(0, 255, 96);
}
.preview__button{
    width: 100%;
    height: 55px;
    margin-top: 20px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    background: rgb(0, 255, 96);
    user-select: none;
    cursor: pointer;
}
.preview__button:focus{
    outline: none;
    border: 1px solid blue;
}
.preview__button:active{
    background-color: rgb(0, 160, 0);
}
@media (max-width: 970px) {
    .preview {
        height: 720px;
    }
}
@media (max-width: 768px) {
    .preview {
        height: 930px;
    }
    .content__body {
        flex-direction: column;
    }
    .preview__form {
        border-radius: 0;
        margin-top: 25px;
    }
}
@media (max-width: 552px) {
    .preview {
        height: 1030px;
    }
}
@media (max-width: 425px) {
    .preview {
        height: 1130px;
    }
}
@media (max-width: 320px) {
    .preview {
        height: 1219px;
    }
}