.backgroundContact{
    margin-top: 79px;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #032A57;
}

.containerContact{
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    padding: 20px 0;
}
.logoContact > img{
    width: 100%;
    max-width: 350px;
}

#contact-form {
    max-width: 1208px;
    width: 100%;
    color: white;
  }
#contact-form h2{
  margin-bottom: 20px;
}
  #contact, label, input[name="submit"] {
    position: relative;
  }
  label > span, input, textarea, button {
    box-sizing: border-box;
  }
  label {
    display: block;
  }
  label > span {
    display: none;
  }
  input, textarea, button {
    width: 100%;
    padding: 0.5em;
    border: none;
  }
  input[type="text"], input[type="email"], textarea {
    margin: 0 0 1em;
    border: 1px solid #ccc;
    outline: none;
  }
  input.invalid, textarea.invalid {
    border-color: #d5144d;
  }
  textarea {
    height: 6em;
  }
  input[type="submit"], button {
    background: white;
    color: #333;
  }
  input[type="submit"]:hover, button:hover {
    cursor: pointer;
  }
  label > span {
    vertical-align: top;
    display: inline-block;
    width: 26.3736%;
    padding: 0.5em 0;
    border: 1px solid transparent;
    text-align: left;
  }

  @media screen and (max-width: 1250px) {

    .backgroundContact{
        padding: 20px 0;
    }

    .containerContact{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0 20px;
    }

    #contact-form{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #contact{
        width: 100%;
    }

    #contact-form h2{
        margin: 0;
    }
    #contact-form label{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #contact-form input, #contact-form textarea{
        width: 100%;
        max-width: 640px;
    }

    #contact-form label span{
        text-align: left;
        width: 100%;
        max-width: 640px;
        padding:0 0 10px;
    }

    .enviar{
        margin:0 !important;
    }
  }
  /* @media screen and (min-width: 48em) {
    #contact-form {
      text-align: justify;
      line-height: 0;
    }
    #contact-form:after {
      content: '';
      display: inline-block;
      width: 100%;
    }
    #contact-form h2 {
      margin-left: 17.2661%;
    }
    #contact-form form, #contact-form aside {
      vertical-align: top;
      display: inline-block;
      width: 65.4676%;
      text-align: left;
      line-height: 1.5;
    }
    #contact-form aside {
      width: 30.9353%;
    }
  } */


/* @media (max-width: 780px){
    .containerContact{
        flex-direction: column-reverse;
    }
    .contact{
        width: 100%;
    }
    .logoContact{
        width: 80%;
    }
    form > div {
        width: 85%;
    }
}

@media (max-width: 480px){
    .logoContact{
        display: none;
    }

    .contact > form {
        display: flex;
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }

    form > button{
        height: 25px;
        width: 30%;
        font-size: 15px;
    }
}
 */