.contact-container {
    padding: 84px 100px 85px 115px;
}


.contact-container {
    position: relative;
    display: grid;
    min-height: 650px;
    grid-template-columns: 1fr 1fr;
    grid-gap: 120px;
    grid-template-rows: auto;
    background-color: #E5E5E5;
  }
  
@media (max-width: 1024px) {
  .contact-container {
    padding: 45px 40px 85px 40px;
    grid-template-columns: 1fr;
    grid-gap: 25px;
  }
}

@media only screen and (max-width: 375px) {
  .contact-header-text {
    font-size: 40px;
  }

  .contact-header-text {
    font-size: 40px;
    padding-bottom: 32px;
  }
}

  .contact-decorator {
    font-family: 'Red Hat Display', sans-serif;
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
  }

  .contact-header-text {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 90px;
    padding-bottom: 32px;
  }

  @media (max-width: 1024px) {
    .contact-header-text {
      font-size: 40px;
    }
  }

  .contact-text {
    padding-bottom: 40px;
    font-size: 20px;
    line-height: 1.4;
    color: #2D2D2D;
    max-width: 651px;
  }

  
  .contact-mail, .contact-phone {
    display: block;
    position: relative;
    padding: 0 0 30px 50px;
    font-weight: bold;
    font-size: 20px;
  }

  .contact-phone::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url('/img/phone-icon.svg');
    width: 27px;
    height: 27px;
  }

  .contact-mail::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url('/img/mail-icon.svg');
    width: 26px;
    height: 21px;
  }

  .contact-form-container {
    padding-top: 25px;
  }

  .contact-form-container > h3 {
    font-size: 30px;
    padding-bottom: 30px;
    font-weight: bold;
    color: #2D2D2D;
  }

  @media (max-width: 1024px) {
    .contact-form-container > h3 {
      font-size: 18px;
    }
  }

  @media (max-width: 375px) {
    .contact-form-container > h3 {
      font-size: 16px;
    }
    .contact-mail, .contact-phone, .contact-text {
      padding-bottom: 40px;
      font-size: 18px;
    }
  }

  .contact-form {
    display: flex;
    flex-wrap: wrap;
  }

  .vaid-message {
    color: #A70101;
    padding-left: 10px;
    font-size: 12px;
  }

  .input-valid-container {
    flex: 1 40%;
  }

  .input-valid-container > input {
    width: 100%;
    padding: 20px;
    font-size: 18px;
    outline: none;
    border-radius: 0;
    /* margin-bottom: 20px; */
    height: 47px;
  }

  .input-valid-container  > input::placeholder {
    font-family: 'Red Hat Text', sans-serif;
    color: #B5B5B5;
    font-size: 18px;
    opacity: 1;
  }

  .input-valid-container r > input:-ms-input-placeholder {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 18px;
    color: #B5B5B5;
  }

  .input-valid-container  > input::-ms-input-placeholder {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 18px;
    color: #B5B5B5;
  }

  .input-valid-container:nth-child(even) {
    margin: 0 0 20px 12px;
  }

  @media (max-width: 1394px) {
    .contact-form > .input-valid-container {
      margin: 0 0 20px 0px;
    }

    .input-valid-container {
      flex: 1 100%;
    }
    .contact-form-container {
      padding-top: 0;
    }
  }

  .contact-message {
    font-family: 'Red Hat Text', sans-serif;
    padding: 20px;
    font-size: 18px;
    outline: none;
    border-radius: 0;
    flex: 1 100%;
    margin-bottom: 20px;
    height: 100px;
    resize: none;
  }

  .contact-message::placeholder {
    font-family: 'Red Hat Text', sans-serif;
    color: #B5B5B5;
    font-size: 18px;
    opacity: 1;
  }

  .action-button {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .action-button > button {
    cursor: pointer;
    border-radius: 0;
    color: #FFFFFF;
    width: 143px;
    height: 44px;
  }

  @media (max-width: 375px) {
    .action-button > button, .custom-file-upload {
      width: 125px;
      height: 44px;
    }
  }

  input[type='file'] {
    display: none;
  }

  .file-container {
    display: flex;
    align-items: center;
  }

  .file-name {
    max-width: 350px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 15px;
    font-size: 14px;
  }

  @media (max-width: 1440px) {
    .file-name {
      max-width: 200px;
    }
  }
  
  @media (max-width: 1024px) {
    .file-container {
      flex-direction: column;
      align-items: flex-start;
    }
    .file-name {
      max-width: 140px;
      padding: 15px 0 0 0;
    }
  }
  
  .custom-file-upload {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #2D2D2D;
    background-color: transparent;
    color: #2D2D2D;
    font-size: 20px;
    width: 143px;
    height: 44px;
  }

  .custom-file-upload:hover {
    background-color: #2D2D2D;
    color: #FFFFFF;
  }

  .action-button > button:last-child {
    background-color: #2B70A6;
    color: #FFFFFF;
    font-size: 20px;
  }

  .apply-checkbox-contact-container > .first-rules-contact-button {
    width: 30px;
    height: 12px;
  }

  .first-rules-contact-button, .second-rules-contact-button {
    display: block;
  }

  .apply-checkbox-contact-container label {
    display: block;
    padding-left: 45px;
    font-size: 12px;
    color: #8E8E8E;
  }

  .apply-checkbox-contact-container > .first-rules-contact-button {
    width: 30px;
    height: 12px;
  }

  .first-rules-contact-container, .second-rules-contact-container {
    font-size: 12px;
    color: #8E8E8E;
  }

  .check-all-contact-field-text {
    display: none;
    padding-left: 45px;
    font-size: 10px;
    color: #A70101;
    max-width: 230px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .check-all-contact-field-text {
    display: none;
    padding: 15px 0 15px 45px;
    font-size: 10px;
    color: #A70101;
  }

  .rules-info-contact-text {
    display: block;
    padding-left: 45px;
    font-size: 12px;
    color: #8E8E8E;
    padding: 0 0 30px 45px;
  }

  .container-contact-checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 25px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  .container-contact-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }

  .checkmark-contact {
    position: absolute;
    top: 0;
    left: 0;
    height: 14px;
    width: 14px;
    background-color: #eee;
    border: 1px solid #2D2D2D;
  }

  .container-contact-checkbox:hover input ~ .checkmark-contact{
    background-color: #ccc;
  }

  .container-contact-checkbox input:checked ~ .checkmark-contact {
    background-color: #2D2D2D;
  }

  .checkmark-contact:after {
    content: "";
    position: absolute;
    display: none;
  }

  .container-contact-checkbox input:checked ~ .checkmark-contact:after {
    display: block;
  }

  .container-contact-checkbox .checkmark-contact:after {
    left: 4.8px;
    top: 0px;
    width: 3px;
    height: 8px;
    border: solid white;
    border-width: 0 1px 1px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

