.contact-block {
    background: #fff;
    border-radius: 25px;
    border-top: 4px solid #555;
    box-shadow: -5px 0 5px -2px rgba(0, 0, 0, 0.1), 5px 0 5px -2px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  }
  
  .contact-field {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  
  .contact-field h3 {
    font-weight: 700;
    font-size: 30px;
    text-align: center;
  }
  .contact-field p, .contact-field a {
    font-weight: 300;
    color: #000;
  }
  
  .contact-field a {
    color: #336fee;
  }
  
  .field__item {
    width: 100%;
    height: 50px;
    margin-bottom: 20px;
    position: relative;
    display: block;
    border-radius: 5px;
    background-color: #ecf1f7;
  }
  
  .field__item input, .field__item select {
    width: 100%;
    height: 100%;
    padding-left: 17px;
    padding-top: 15px;
    outline: none;
    border-radius: 5px;
    background: #ecf1f7;
    transition: ease .3s;
    font-size: 16px;
    position: absolute;
    bottom: 0;
    color: #444;
  }
  
  .field__item input:focus, .field__item select:focus {
    background: #fff;
    border: 1px solid #444;
    transition: ease .3s;
    box-shadow: none;
  }
  
  .field__item span {
    color: #444;
    position: absolute;
    top: 15px;
    left: 20px;
    font-weight: 400;
    cursor: text;
    transition: ease .3s;
  }
  
  .field__item input:focus + span,
  .field__item input:valid + span {
    top: 0px;
    left: 10px;
    font-size: 12px;
    padding: 0 7px;
  }

  .field__item select:focus + span,
  .field__item select:valid + span {
    top: 0px;
    left: 10px;
    font-size: 12px;
    padding: 0 7px;
  }

  .field__item .is-invalid {
    background-color: #fbe4e3;
  }
  
  .field__item .is-invalid + span {
    color: red;
  }


  .field__item input:focus:not(:placeholder-shown) + span,
  .field__item select:focus:not(:placeholder-shown) + span {
    top: 0px;
    left: 10px;
    font-size: 12px;
    padding: 0 7px;
  }




/* Изменение фона активного чекбокса */
.form-check-input:checked {
    background-color: #ffdd2d;
    border: none;
    box-shadow: none;
}

.form-check-input::before {
    box-shadow: none;
    border: 1px solid #dee2e6;
}

.form-check-input::after {
    box-shadow: none;
    border: 1px solid #dee2e6;
}

.form-check-input:focus {
    box-shadow: none;
    border: 1px solid #dee2e6;
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check-label {
    padding: 5px  0 0 10px;
}

@media (max-width: 768px) {
  .form-button {
    text-align: center;
  }
  .form-button button {
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 15px;
  }
}

/* Стили для устройств с шириной экрана от 769 до 992 пикселей */
@media (min-width: 769px) and (max-width: 991px) {
  .form-button {
    text-align: center;
  }
  .form-button button {
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 15px;
  }
}

/* Стили для устройств с шириной экрана от 993 до 1200 пикселей */
@media (min-width: 992px) and (max-width: 1199px) {
  .form-button {
    text-align: center;
  }
  .form-button button {
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 15px;
  }
}