body {
  font-family: sans-serif, Arial, Helvetica;
  margin: 0;
  padding: 0;
  /* background: url('../images/hrc_bg2.jpg') no-repeat center center fixed; */
  background-color:#B4B4B4;
 /* background-size: cover; */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding-top: 2rem;
}

/*.container {
  background: white;
  border: 1px solid black;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  box-sizing: border-box;
}*/


.container {
  background: white;
  border: 1px solid black;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  padding: 2rem;
  width: 100%;
  box-sizing: border-box;
  margin: 0 1rem;
}

/* On wider screens, center and limit width */
@media (min-width: 768px) {
  .container {
    max-width: 600px;
    width: 50%;
    margin: 2rem auto;
  }
}

h2 {
  font-size: 1.5rem;
  margin-top: 0;
}

label {
  font-weight: bold;
  margin-top: 1rem;
}

input,
select {
  padding: 0.5rem;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 6px;
}

button {
  margin-top: 1rem;
  padding: 0.75rem;
  font-size: 1rem;
  background-color: #004aad;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background-color: #00337f;
}

#result {
  font-weight: bold;
  margin-top: 1rem;
  color: green;
}

#explanation {
  margin-top: 2rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  body {
    padding-top: 1rem;
  }

  .container {
    padding: 1.25rem;
    width: 95%;
  }

  input,
  select,
  button {
    font-size: 1rem;
  }

  h2 {
    font-size: 1.25rem;
  }
}
