.body {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background-color 1s ease-in-out;
}

#video-container {
  width: 50vw;
}

#qr-video {
  width: 100%;
  height: 100%;
}
.video {
  width: 10%;
}
.videocontainer {
  line-height: 0;
}
header{
    width: 100%;
    display: flex;
    justify-content: center;
}

.img {
    max-width: 50%; /* La imagen se redimensionará automáticamente */
    height: auto;
    position: fixed;
    top: 0;
}
#canvas{
  margin-top: 30vh; /*Mueve la camara de lugar*/
}
.titulo {
  font-size: clamp(2.5rem, 12vmin, 6rem);
  font-family: sans-serif;
  color: hsl(0 0% 98%);
  text-align: center;
  margin: 0%;
  margin-top: 12vw;
}
h1{/*Update*/
  font-family: Arial, sans-serif; 
  /*position: fixed; /* Establece la posición fija */
  text-align: center; /* Centra el texto dentro del título */
  color: black;
  white-space: nowrap; /* Evitar el salto de línea del título */
}

.data {
  padding: 0px;
  width: 0%;
  height: 0%;
  appearance: none;
  visibility: hidden;
}
data:focus {
  border-color: transparent;
  outline: transparent;
}

.form {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0%;
}

.imgfoot {
  display: flex;
  position: fixed;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  top: 35%;
  left: 0%; /*Update(Mueve el container de las imagenes)*/
}
.escanea {
  position: fixed;
  top: 0%;
}

.btn {
  border-color: transparent;
  background-color: transparent;
  color: transparent;
}

.niño1 { /*Update (Animacion de imagen)*/
  width: 25%;
  transform: scale(1);
  animation: pulse 4.5s infinite;
}
.niño2 { /*Update (Animacion de imagen)*/
  width: 25%;

  transform: scale(1);
  animation: pulse 4.9s infinite;
}

@keyframes pulse {/*Update (Animacion de imagen)*/
  0% {
    transform: rotate(10deg);
  }

  50% {
    transform: rotate(-10deg);
  }

  100% {
    transform: rotate(10deg);
  }
}

.ok {
  margin-top: 5%;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

::-webkit-scrollbar {
  display: none;
}

.test {
  background-color: #29f696;
}
.logo {/*Update*/
  position: absolute; /* o relative, o fixed */
  top: 16px;
  width: 10%;
  left: 10%; /* Ajusta el espacio entre la imagen y el texto */
}
.footer1 {/* Update Pie de pagina*/
  background-color: #333;
  color: white;
  padding: 20px;
  width: 100%;
  text-align: center;
  margin-top: 20px; /* Subir el pie de página */
}
@media only screen and (max-device-width: 820px) and (max-device-height: 1180px) {
    
     header{
    width: 100%;
    display: flex;
    justify-content: center;
       
}

.img {
    max-width: 100%; /* La imagen se redimensionará automáticamente */
    height: auto;
    position: fixed;
    top: 0;
  
}
  .titulo{
    margin-top: 25vw;
  }
 #canvas{
  margin-top: 5vh; /*Mueve la camara de lugar*/
}
   .imgfoot {
  display: flex;
  position: fixed;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  top: 40%;
  left: 0%; /*Update(Mueve el container de las imagenes)*/
}
  .footer{
  display:flex;
  position: fixed;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width:100%;
  margin-top: -20%;
}
body{
  background: linear-gradient(-45deg, #ee7752,  #ff9966, #23a6d5, #23d5ab);
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
	height: 100vh;
}
@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}
}
