/* Base styles */
body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: #f0f0f0;
  padding: 20px;
  box-sizing: border-box;
  overflow: hidden; /* Disable overflow */
}

.container {
  text-align: center;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px; /* Increased max-width for larger screens */
}

h1 {
  margin-bottom: 20px;
}

button {
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: white;
  cursor: pointer;
  width: 100%;
  max-width: 250px; /* Increased button width */
  margin: 10px 0;
}

button:hover {
  background-color: #0056b3;
}

#password {
  font-weight: bold;
  color: #333;
  margin-top: 20px;
  word-wrap: break-word;
}

/* Small devices (phones, up to 600px) */
@media (max-width: 600px) {
  h1 {
    font-size: 24px;
  }
  button {
    font-size: 16px;
    padding: 10px 20px;
  }
  #password {
    font-size: 20px;
  }
}

/* Medium devices (tablets, 600px to 1024px) */
@media (min-width: 600px) and (max-width: 1024px) {
  h1 {
    font-size: 26px;
  }
  button {
    font-size: 17px;
    padding: 11px 22px;
  }
  #password {
    font-size: 22px;
  }
}

/* Large devices (laptops/desktops, 1024px and up) */
@media (min-width: 1024px) {
  .container {
    max-width: 600px; /* Further increased max-width for laptops */
  }
  h1 {
    font-size: 28px;
  }
  button {
    font-size: 18px;
    padding: 12px 24px;
  }
  #password {
    font-size: 24px;
  }
}
