* {

  box-sizing: border-box;

}

body {

  margin: 0;

  font-family: sans-serif;
  
  background-color:#000000;

  background-image: url(fondo.jpg);

  background-size: 100vw 100vh;

  background-attachment: fixed;
  
  position: absolute;
  
  top: 50%;
  
  left: 50%;
  
  transform: translate(-50%, -50%);

}

.formulario {

  display:flex;
  
  flex-direction:column;

  width: 90vw;

  max-width: 100%;
  
  height: 750px;
  
  max-height: 100%;

  margin: auto;

  margin-top: 30px;

  padding: 20px;

  box-shadow: 0 0 20px 1px yellow;

  position: relative;

  background-color: rgba(255, 255, 255, 0.97);
  
  border-radius:3%;
  
  align-items: center;
justify-content: center;
}





.imgLogo {

  width: 100px;

  height: 100px;

  border-radius: 150px;

  display: block;

  margin: auto;

  margin-top: 1em;

  margin-bottom: 1em;

  /*border: 1px solid rgba(109, 86, 10, 0.7);*/

}



.formulario__titulo,

.formulario__subtitulo,

.formulario__parrafo {

  text-align: center;

  margin-top: 0;

}

.formulario__titulo,

.formulario__subtitulo {

  color: rgba(0, 0, 0, 0.7);

}

.formulario__parrafo {

  color: rgba(0, 0, 0, 0.5);

}

.formulario__input,

.formulario__label {

  display: block;

  width: 100%;

  font-size: 1, 3em;

}

.formulario__input {

  padding: 10px;

  background: transparent;

  /* puedo colocar otro color pero con transparencia asi: background: rgba(0,0,0,0.1) porque sino no se ven las label, aunque ya no es necesario porque ya no estan sobre los input y ademas le quite el z-index*/

  border: 1px solid rgba(0, 0, 0, 0.3);

  margin-bottom: 15px;

  border-radius: 10px;

}

.formulario__input:focus {

  /*outline: 1px solid rgba(0,0,0,0.7);*/

  outline: none;

  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.7);

}

/*.formulario__input:focus + .formulario__label{

    margin-top: -120px;

}*/

.formulario__label {

  padding-left: 15px;

  /*position: absolute;*/

  /*margin-top: -78px;*/

  /*z-index: -20;*/

  color: rgba(0, 0, 0, 0.7);

  /*transition: all 0.2s;*/

  margin: 2px;

}

.formulario__submit {

  background: rgba(0, 0, 0, 0.7);

  color: white;

  padding: 10px 20px;

  cursor: pointer;

  border: none;

  border-radius: 20px;

  display: block;

  width: 50%;

  font-size: 1, 3em;

}



/*Centrar los campos del formulario (Los input y el boton de Enviar al WhatsApp, que tambien es un input)*/



.formulario__input,

.formulario__submit {

  margin-left: auto;

  margin-right: auto;

}



/*.fijar {

    margin-top: -120px;

} */



/* respuesta del formulario */

#respuesta {

  width: 100%;

  height: 50px;

  margin: 5px;

  padding: 5px;

}

#respuesta.fail {

  color: red;

}

#respuesta.send {

  color: green;

}

