/*
CONTACTO

- FormaDJRVariable-BannerBlack    *TITULO DE CONTACTO*
- FormaDJRDeck     *NOMBRE, EMAIL, CIUDAD,ETC
- FormaDJRVariable-MicroRegular *boton Enviar*
*/
@font-face {
  font-family: 'Forma DJR Banner Black Testing';
  src: url('../fuentes/FormaDJRBanner-Black-Testing.ttf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Forma DJR Deck Regular Testing';
  src: url('../fuentes/FormaDJRDeck-Regular-Testing.ttf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Forma DJR Banner Regular Testing';
  src: url('../fuentes/FormaDJRBanner-Regular-Testing.ttf');
  font-weight: normal;
  font-style: normal;
}

#formulario {
  background-image: url("../img/avida/contacto_avidaRecorte2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  justify-content: center;
  align-items: center;

  position: relative;

}

.video-container-contact {
  position: absolute;
  right: 0;
  bottom: 0;
  margin-left: 0%;
  left: 0%;
  z-index: -1;
  height: 100%;
  width: 100%;
}

#background-video-contact {
  position: absolute;
  left: 80%;
  transform: translate(-56%, -5.1%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -2;

  overflow: hidden;
}


#title_form {
  font-family: 'Forma DJR Banner Black Testing', sans-serif;
  color: #023400;
}

.contact-form-success,
.contact-form-error {
  display: none;
  margin-top: 10px;
}

.contact-form {
  color: black;
}

#customLabel {
  font-family: 'Forma DJR Deck Regular Testing', sans-serif;
}

#customInput {
  background-color: rgba(255, 255, 255, 0);
  border: none;
  border-bottom: 1px solid black;
  outline: none;
  font-size: 20px;
  transition: border-color 0.3s ease;
  margin-left: 0%;
}

.btn_form {
  font-family: 'Forma DJR Banner Regular Testing', sans-serif;
  background-color: #fafafa00;
  color: rgb(9, 83, 13);
  border-color: rgb(0, 33, 2);
  position: center;
}

/*video que aparece solo para telefonos*/
.mobile-video-container {
  display: none;
  /* Oculto por defecto */
}

@media only screen and (min-width: 320px) {
  .video-container-contact {
    display: none;
  }
  /* Formulario de contacto */
  #title_form {
    font-size: 15px;
    padding: 8% 0;
    margin: 0px;
  }

  #formulario {
    height: cover;
    justify-content: center;
    align-items: center;
    padding-bottom: 1%;

  }

  .contact-form {
    margin-left: 23%;
    margin-right: 50%;
    width: 50%;
    padding: 1px 0;
    padding-bottom: 1%;
  }

  #customLabel {
    font-size: 15px;
    margin-right: 0%;
    padding: 0px 0;
  }

  #customInput {
    font-size: 12px;
  }

  #recaptcha {
    transform: scale(0.5);
    -webkit-transform: scale(0.5);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
  }

  .btn_form {
    font-size: 11px;
    padding: 1px 0;
    border: 2px solid black;
    border-radius: 30px;
    width: 40%;
    height: auto;

  }

  .mobile-video-container {
    position: relative;
    display: block;
    /* Muestra el nuevo video solo en pantallas pequeas */
    overflow: hidden;
    margin-top: -10px;
    margin-bottom: 0%;
  }

  .mobile-video-container video {
    width: 220%;
    height: 185%;
    transform: translate(-53%, 2%);
  }
}


@media only screen and (min-width: 375px) {
  .video-container-contact {
    display: none;
  }
  /* Formulario de contacto */
  #title_form {
    font-size: 35px;
    padding: 8% 0;
    margin: 0px;

  }

  #formulario {
    height: cover;
    justify-content: center;
    align-items: center;
    padding-bottom: 1%;
  }

  .contact-form {
    margin-left: 18%;
    margin-right: 50%;
    width: 50%;
    padding: 1px 0;
    padding-bottom: 1%;

  }

  #customLabel {
    font-size: 20px;
    margin-right: 3%;
    padding: 0px 0;

  }

  #customInput {
    border: none;
    border-bottom: 1px solid black;
    outline: none;
    font-size: 15px;
    transition: border-color 0.3s ease;
    margin-left: 25%;
  }

  #recaptcha {
    transform: scale(0.8);
    -webkit-transform: scale(0.7);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
  }

  .btn_form {
    font-size: 13px;
    padding: 1px 0;
    border: 1px solid black;
    border-color: rgb(0, 33, 2);
    border-radius: 30px;
    width: 30%;
    height: auto;

  }

  .mobile-video-container {
    position: relative;
    display: block;
    /* Muestra el nuevo video solo en pantallas pequeas */
    overflow: hidden;
    margin-top: -10px;
    margin-bottom: 0%;
  }

  .mobile-video-container video {
    width: 220%;
    height: 185%;
    transform: translate(-53%, 2%);
  }

}

@media only screen and (min-width: 425px) {
  .video-container-contact {
    display: none;
  }

  /* Formulario de contacto */
  #title_form {
    font-size: 35px;
    padding: 8% 0;
    margin: 0px;

  }

  #formulario {
    height: cover;
    justify-content: center;
    align-items: center;
    padding-bottom: 1%;
  }

  .contact-form {
    margin-left: 18%;
    margin-right: 50%;
    width: 50%;
    padding: 1px 0;
    padding-bottom: 1%;

  }

  #customLabel {
    font-size: 20px;
    margin-right: 3%;
    padding: 0px 0;

  }

  #customInput {
    border: none;
    border-bottom: 1px solid black;
    outline: none;
    font-size: 15px;
    transition: border-color 0.3s ease;
    margin-left: 25%;
  }

  #recaptcha {
    transform: scale(0.8);
    -webkit-transform: scale(0.7);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
  }

  .btn_form {
    font-size: 13px;
    padding: 1px 0;
    border: 1px solid black;
    border-color: rgb(0, 33, 2);
    border-radius: 30px;
    width: 30%;
    height: auto;

  }

  .mobile-video-container {
    position: relative;
    display: block;
    /* Muestra el nuevo video solo en pantallas pequeas */
    overflow: hidden;
    margin-top: -15px;
    margin-bottom: 0%;
  }

  .mobile-video-container video {
    width: 220%;
    height: 185%;
    transform: translate(-53%, 2%);
  }


}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .video-container-contact {
    display: block;
  }
  /* Formulario de contacto */
  #title_form {
    font-size: 25px;
    padding: 3% 0;
    margin: 0px;
  }

  #formulario {
    height: 450px;
    width: 748px;
    padding-bottom: 1%;

  }

  .contact-form {
    margin-left: 24%;
    width: 50%;
    padding: 1px 0;
    padding-bottom: 1%;

  }

  #customLabel {
    font-size: 15px;
    margin-right: 0px;
    padding: 0px 0;

  }

  #customInput {
    border: none;
    border-bottom: 1px solid black;
    outline: none;
    font-size: 15px;
    transition: border-color 0.3s ease;
    margin-left: 1%;
  }

  #recaptcha {
    transform: scale(0.8);
    -webkit-transform: scale(0.7);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
  }

  .btn_form {
    font-size: 10px;
    padding: 1px 0;
    border: 1px solid black;
    border-color: rgb(0, 33, 2);
    border-radius: 30px;
    width: 19%;
    height: auto;

  }
 

  /*video que aparece solo para telefonos*/
  .mobile-video-container {
    display: none;
    /* Oculto por defecto */
  }



}

@media only screen and (min-width: 1024px) {

  /* Formulario de contacto */
  #title_form {
    font-size: 40px;
    padding: 8% 0;
    margin: 0px;
  }

  #formulario {
    height: 550px;
    width: 800px;
    padding-bottom: 1%;
  }

  .contact-form {
    margin-left: 35%;
    margin-right: 50%;
    width: 50%;
    padding: 1px 0;
    padding-bottom: 1%;

  }


  #customLabel {
    font-size: 20px;
    margin-right: 2%;
    padding: 0px 0;

  }

  #customInput {
    border: none;
    border-bottom: 1px solid black;
    outline: none;
    font-size: 10px;
    transition: border-color 0.3s ease;
    margin-left: 0%;
  }

  .btn_form {
    font-size: 12px;
    padding: 1px 0;
    border: 2px solid black;
    border-radius: 30px;
    width: 16%;
    height: auto;
  }

}

@media only screen and (min-width: 1440px) {

  /* Formulario de contacto */
  #title_form {
    font-size: 50px;
    padding: 8% 0;
    margin: 0px;

  }

  #formulario {
    height: 650px;
    width: 1100px;
    padding-bottom: 1%;

  }

  .contact-form {
    margin-left: 35%;
    margin-right: 25%;
    color: black;
    width: 50%;
    padding: 1px 0;
    padding-bottom: 1%;

  }

  #customLabel {
    font-size: 20px;
    margin-right: 3%;
    padding: 1px 0;

  }

  #customInput {
    border: none;
    border-bottom: 1px solid black;
    outline: none;
    font-size: 20px;
    transition: border-color 0.3s ease;
    /*margin-left: 5%;*/
  }

  .btn_form {
    font-size: 13px;
    padding: 1px 0;
    border: 2px solid black;
    border-color: rgb(0, 33, 2);
    border-radius: 30px;
    width: 19%;
    height: auto;
  }

}

@media only screen and (min-width: 1600px) {

  /* Formulario de contacto */
  #title_form {
    font-size: 60px;
    padding: 8% 0;
    margin: 0px;
  }

  #formulario {
    height: 700px;
    width: 1300px;
    padding-bottom: 1%;
  }

  .contact-form {
    margin-left: 35%;
    margin-right: 50%;
    width: 45%;
    padding: 1px 0;
    padding-bottom: 1%;
  }

  #customLabel {
    font-size: 25px;
    margin-right: 0%;
    padding: 10px 0;

  }

  #customInput {
    margin-left: 3%;
  }

  .btn_form {
    font-size: 18px;
    padding: 1px 0;
    border: 2px solid black;
    border-color: rgb(0, 33, 2);
    border-radius: 30px;
    width: 19%;
    height: auto;

  }

}