* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #e0eafc, #cfdef3);
  display: flex;
  flex-direction: column;
}

header {
 justify-content: center;
}


header h1 {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #007BFF;
}



#scanner-container {
  position: relative;
  width: 90%;
  max-width: 360px;
  aspect-ratio: 1;
  margin: 20px auto;
}

#qr-reader {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.overlay-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  z-index: 5;
}

.overlay-text span {
  font-size: 3rem;
  margin-top: 10px;
}

.btn-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 400px;
  margin: 10px auto;
}

.verify-btn {
  background-color: #007BFF;
  color: white;
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
  flex: 1 1 120px;
  transition: background-color 0.3s ease;
}

.verify-btn:hover {
  background-color: #0056b3;
  transform: scale(1.05);
  
}

.foot{
  color: #222;
  text-align: center;
  margin: 10px;
}

.foot a{
  color: #00acee;
  font-weight: bold;
}

.foot a:hover{
  text-decoration: underline;
}

.image{
  height: 30px;
  margin-bottom: 40px; 
}

.center-logo {
  display: grid;
  justify-content: center; 
}

.marquee {
  display: block;
  color: #eee;
  background-color: #222;
  position: fixed;
  bottom: 0;
  width: 100%;
  border-top: 1px dashed #fff;
  padding: 2px 0;
}