.form{
    background: url('../img/bg-form.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #ffffff;
    padding-block: 110px;
    font-size: 16px;
    font-weight: 200;
}
.form__header{
    text-align: center;
}
.form__header h4{
    font-size: 32px;
    font-weight: bold;
    margin-block: 0px 35px;
}
.form__header p{
    font-size: 21px;
    font-weight: 200;
}
.form__content{
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    margin-block: 90px 60px;
}
.form__content-elem{
    max-width: calc((100% / 4) - 27px);
    width: 100%;
}
input[type=text]{
    all: unset;
    padding: 13px 0px;
    background-color: transparent;
    margin: 5px 0px 0px 0px;
    color: #ffffff;
    border-bottom: 1px solid #aaaaaa;
    max-width: 100%;
    width: 100%;
    outline: 0px;
    font-size: 16px;
    font-weight: 200;
}
input[type=radio]{
    -webkit-appearance: none;
    appearance: none;
    width: 2vw;
    min-width: 2vw;
    height: 2vw;
    min-height: 2vw;
    border: 1px solid #ffffff;
    border-radius: 100%;
    cursor: pointer;
}
input[type=radio]:checked{
    background: url(../img/elem/select-circle-s.webp);
    background-color: #00B0F0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-color: #ffffff;
}
input[type=checkbox] {
  position: relative;
}
input[type=checkbox]::after {
  content: ' ';
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 4px;
  position: absolute;
  top: -2px;
  left: -3px;
  background-color: #fff;
  text-align: center;
  border: 1px solid #AAAAAA;
}
input[type=checkbox]:checked::after {
  background: #00B0F0 url(../img/elem/icon-check.svg) 50% 50% no-repeat;
  border: 1px solid #00B0F0;
  background-size: 50%;
}
.form__models{
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    max-width: 100%;
    width: 100%;
    margin-block: 50px;
}
.form__models-elem{
    display: grid;
    grid-template-rows: 1fr auto;
    max-width: calc((100% / 4) - 27px);
    width: 100%;
    cursor: pointer;
}
.form__models-elem--image{
    display: flex;
    align-items: center;
    justify-content: center;
}
.form__models-elem--name{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 20px;
    color: #ffffff;
    padding-block: 0px 15px;
    border-bottom: 1px solid #aaaaaa;
}
.form_text{
    font-size: 14px;
}
.form__button-wrap{
    text-align: center;
    margin-block: 50px 0px;
}
.form__button{
    max-width: 248px;
    width: 100%;
    border-radius: 22px;
    background-color: transparent;
    border: 1px solid #ffffff;
    margin: 0 auto -23px auto;
    padding: 12px 15px;
    text-align: center;
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
}
.form__button:hover{
    background-color: #ffffff;
    color: #001e50;
}
.text-error {
    font-size: 12px;
    font-weight: bold;
    color: #f00;
}
@media(min-width: 2100px){
    .form{
        font-size: 20px;
    }
    .form_text {
        font-size: 16px;
    }
}

@media(max-width: 1440px){
    .form__header h4 {
        font-size: 26px;
    }
    .form__header p {
        font-size: 18px;
    }
    .form__models {
        gap: 50px 35px;
    }
    .form__models-elem {
        max-width: calc((100% / 2) - 27px);
    }
}

@media(max-width: 960px){
    .form{
        padding-block: 50px;
    }
    .form__header h4 {
        font-size: 22px;
    }
    .form__header p {
        font-size: 16px;
    }
    input[type=radio]{
        width: 4.17vw;
        min-width: 4.17vw;
        height: 4.17vw;
        min-height: 4.17vw;
    }
    .form__content {
        display: flex;
        flex-wrap: wrap;
        margin-block: 50px;
    }
    .form__content-elem {
        max-width: calc((100% / 2) - 27px);
        width: 100%;
    }
}

@media(max-width: 550px){
    .form__models-elem {
        max-width: 100%;
    }
    input[type=radio]{
        width: 20px;
        min-width: 20px;
        height: 20px;
        min-height: 20px;
    }
    .form__content-elem {
        max-width: 100%;
        width: 100%;
    }
}