* {

  box-sizing: border-box;

}

:root{
  --font-hud:  'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
}

body {
  height: 100%;

  margin: 0;

  font-family: sans-serif;
  
  background-color:#00232a;

  background-image: url(fondo.jpg);

  background-size: 100% 100%;

  background-attachment: fixed;

  overflow:auto;

  display:flex;
  flex-direction:column;

  justify-content: center;

  align-items: center;


}

.layer {
  position: fixed;
  inset: -5%;
  min-width: 200%;
  min-height: 200%;
  margin: -50%;
  will-change: transform;
  transition: transform 0.12s linear;
  z-index:-1;
}

/* Layer 0 – base ambient glow */
.layer-0 {
  background:
    radial-gradient(ellipse 70% 55% at 30% 50%, rgba(2, 136, 136, 0.4) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 75% 60%, rgba(1, 86, 99, 0.3) 0%, transparent 60%);
}

/* Layer 1 – grid lines */
.layer-1 {
  background-image:
    linear-gradient(rgba(44, 253, 253, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 249, 249, 0.1) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Layer 2 – diagonal accent lines */
.layer-2 {
  background-image:
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 120px,
      rgba(23,232,232,0.03) 120px,
      rgba(23,232,232,0.03) 121px
    );
}

/* Layer 3 – large arc decorations */
.layer-3::before,
.layer-3::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(23,232,232,0.07);
}
.layer-3::before {
  width: 80vmax; height: 80vmax;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.layer-3::after {
  width: 50vmax; height: 50vmax;
  top: 60%; left: 65%;
  transform: translate(-50%, -50%);
}

/* Layer 4 – corner brackets (purely decorative, fixed) */
.layer-4::before {
  content: '';
  position: absolute;
  top: 2rem; left: 2rem;
  width: 60px; height: 60px;
  border-top: 2px solid var(--c-border);
  border-left: 2px solid var(--c-border);
}
.layer-4::after {
  content: '';
  position: absolute;
  bottom: 2rem; right: 2rem;
  width: 60px; height: 60px;
  border-bottom: 2px solid var(--c-border);
  border-right: 2px solid var(--c-border);
}

.formulario {

  display:flex;
  
  flex-direction:column;

  justify-content: center;

  align-items: center;

  width: 90vw;

  max-width: 100%;
  
  height: auto;
  
  max-height: 100%;

  margin: 80px 0 80px 0;

  padding: 20px;

  box-shadow: 0 0 20px 1px rgb(120, 255, 246);

  position: relative;

  color:rgb(25, 209, 255);

  background-color: rgba(0, 0, 0, 0.422);
  
  border-radius:3%;

  border: solid 2px rgb(0, 255, 255);
  
  align-items: center;
  
  justify-content: center;

  font-family: var(--font-hud);
}





.imgLogo {

  width: 100px;

  height: 100px;

  border-radius: 150px;

  display: block;

  margin: auto;

  margin-top: 1em;

  margin-bottom: 1em;

  border: 2px solid rgb(195, 255, 0);

  box-shadow: 0 0 20px 1px rgb(120, 255, 246);

}

a {
    text-decoration: none;
    color:aqua;
}

a:active {
    color: rgba(255, 25, 25, 0.512);
}

a:hover {
    color:rgb(204, 255, 0);
}


.formulario__titulo,

.formulario__subtitulo,

.formulario__parrafo {
  font-family: var(--font-hud);
  text-align: center;
  margin-top: 0;

}

.formulario__titulo,

.formulario__subtitulo {
  font-family: var(--font-mono);
  color: rgb(0, 238, 255);

}

.formulario__parrafo {
  font-family: var(--font-mono);
  color: rgb(0, 166, 255);

}

.formulario__input,

.formulario__label {
  font-family: var(--font-mono);
  display: block;

  width: 100%;

  font-size: 1, 3em;

}

.formulario__input {

  font-family: var(--font-mono);
  
  padding: 10px;

  background:rgba(255, 255, 255, 0.97);

  /* 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: 2px solid rgba(255, 0, 0, 0.268);

  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;
  
  font-family: var(--font-mono);

  color: rgb(0, 200, 255);

  margin: 2px;

}

.formulario__submit {

  font-family: var(--font-mono);

  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;

}

