:root {
  --clr-primary: #1d2543;
  --clr-accent: #1595f3;
  --clr-secundary: #ffffff;
  --ff-primary: "Poppins", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background-image: linear-gradient(to right, #1d2543, #0d111d, #1d2543);
  font-family: var(--ff-primary);
}

.container-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
}

.imgIzq {
  width: 100%;
  border-radius: 2rem 0 0 2rem;
  position: relative;
}
.imgIzq-span{
  position: absolute;
  top: 26vw;
  left: 0;
  right: 0;
  z-index: 9;
  color: white;
  font-size: 3.3vw;
  width: 100%;
  text-align: center;
  font-weight: bold;
}

.imgContact {
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
  margin-top: 7%;
}

.container-form-data {
  width: 60vw;
  margin-top: -6vw;
  margin-bottom: 3%;
  padding: 2%;
  background: #fff;
  backdrop-filter: blur(0.5rem);
  border-radius: 1rem;
}

.datos {
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  color: #071e41;
  font-family: var(--ff-primary);
  margin-bottom: 1%;
  font-size: 2rem;
  margin-left: 2% !important;
}

.textos {
  color: #3c3c3c !important;
  font-family: var(--ff-primary);
  font-size: 1.3rem;
  padding: 2%;
  line-height: 1.5;
  font-weight: 400;
}

/* input,
.eventInfo {
  color: var(--clr-secundary);
  background-color: transparent;
  font-family: var(--ff-primary);
  text-align: left;
  width: 90%;
  padding: 2%;
  margin: 0 auto;
  border: transparent;
  box-sizing: border-box;
  border-radius: 0;
} */

.invalid {
  background-color: white;
  color: red;
  width: 95%;
  padding: 0.5rem;
  border-radius: 1rem;
  display: none;
  justify-content: center;
  text-align: center;
  margin: 5% auto;
}

textarea {
  padding: 2%;
  margin: 0 auto;
  width: 90%;
  border: transparent;
  border-radius: 0.5rem;
  box-sizing: border-box;
  background-color: transparent;
  color: white;
  resize: none;
  display: inline-block;
  height: 4rem;
  font-family: var(--ff-primary);
  font-size: 0.8rem;
}

.register {
  width: 40%;
  background-color: var(--clr-accent);
  color: var(--clr-secundary);
  padding: 0.5rem 0;
  margin: 10% 0 5% 60%;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transform: translateX(-50%);
  font-family: var(--ff-primary);
  font-size: 1.5rem;
}

.linea {
  width: 90%;
  background-color: var(--clr-accent);
  height: 0.5vh;
  align-self: center;
}

#txtName:hover ~ .lineaName,
#txtName:focus ~ .lineaName,
#txtPhone:hover ~ .lineaPhone,
#txtPhone:focus ~ .lineaPhone,
#txtEmail:hover ~ .lineaEmail,
#txtEmail:focus ~ .lineaEmail,
#txtCompany:hover ~ .lineaCompany,
#txtCompany:focus ~ .lineaCompany,
#txtMessage:hover ~ .lineaMessage,
#txtMessage:focus ~ .lineaMessage {
  width: 100%;
  /* transition: 0.2s ease all; */
}

.inputs {
  margin: 0 0 0 2% !important;
  border: 0.5px solid #707070;
  text-align: left;
}

.register:hover,
.register:focus {
  cursor: pointer;
  /* background-color: #121629; */
  box-shadow: 2px 2px 10px 10px white;
}

.divMailPhone {
  display: flex;
  justify-content: space-around;
}

.izq {
  width: 49%;
  margin: 0 0 0 2%;
}

.der {
  width: 49%;
}

.divLabels {
  display: flex;
  justify-content: space-around;
}

.divInputsMail {
  display: flex;
  justify-content: space-around;
}

.inputsMailPhone {
  width: 98%;
  border: 0.5px solid #707070;
  text-align: left;
}

.divCheckboxes {
  text-align: left;
  width: 80%;
  height: 10%;
  margin: 2% auto 0 2%;
}

@media (max-width: 60em) {
  h2 {
    text-align: center;
  }
  .container-form {
    flex-direction: column !important;
    justify-content: center !important;
  }
  .imgIzq {
    max-width: 90%;
    margin: 15% 5% auto 6% !important;
    border-radius: 2rem;
  }
  .imgContact {
    border-radius: 2rem;
  }
  .container-form-data {
    width: 90%;
    margin: 5% 2% !important;
    border-radius: 2rem;
  }
  .divMailPhone {
    flex-direction: column !important;
  }
  .izq {
    width: 100% !important;
    margin: 0 !important;
  }
  .der {
    width: 100% !important;
  }
  .inputsMailPhone {
    width: 98% !important;
    margin: 0 0 0 2% !important;
    border: 0.5px solid #707070;
    text-align: left;
  }
  .divCheckboxes {
    text-align: center !important;
    margin: 0 auto !important;
    width: 100%;
  }
  .register {
    width: 60%;
    margin: 10% 0 5% 50%;
    font-size: 1rem;
  }
  .imgIzq-span{
    font-size: 20px;
  }
}

@media screen and (max-width: 960px) {
  .imgIzq {
    order: 2;
  }
  .container-form-data {
    order: 0;
    margin-top: 70px !important;
  }
}
