
/* Basis-Layout */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: system-ui, sans-serif;
  background: #fff3e0;
  overflow-x: hidden;
}

main {
  text-align: center;
  max-width: 66vw;
  margin: auto;
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 0 20px #ffd54f;
}

/* Responsive Input */
input {
  width: 90%;
  max-width: 500px;
  padding: 0.8rem;
  font-size: 1rem;
  border: 2px solid #ffa726;
  border-radius: 5px;
}

/* Buttons */
button {
  margin-top: 1rem;
  background: #fb8c00;
  color: white;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}

#qrcode {
  text-align: center;
  margin: 2rem 0;
  display: flex;
  justify-content: center;
  align-items: center;  
}
#qrcode > div {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* QR-Canvas */
#qrcode canvas {
  width: 80vw !important;
  height: 80vw !important;
  max-width: 300px;
  max-height: 300px;
  display: block;
  margin: 1rem auto;
}

/* Nach dem Generieren */
#afterGenerate {
  display: none;
  text-align: center;
  margin-top: 1.5rem;
}
#afterGenerate button,
#afterGenerate a {
  margin: 0.7rem auto;
  display: block;
  font-size: 0.95rem;
}
video#preview {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 0 15px #ffb300;
  margin: 1rem auto;
  display: block;
}


/* Headline */
h1 {
  color: black;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Media Query für kleine iPhones */
@media (max-width: 360px) {
  h1 {
    font-size: 1.2rem;
  }
  input {
    font-size: 0.9rem;
  }
  button {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}
		footer {
            background-color: #00000;
            padding: 10px;
            text-align: center;
            width: 98,98%;
        }
        footer a {
            text-decoration: none;
            color: #fff;
        }	