body {
	background-color: rgb(248, 239, 225);
	background-image: url('../rt_pics/buddies3.webp');
    background-attachment: scroll;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
  }

body > div:first-child {
  padding: 1rem;
}

body > div:first-child h1,
body > div:first-child h2,
body > div:first-child h3 {
  overflow-wrap: anywhere;
}

.login-panel {
  box-sizing: border-box;
  width: min(30%, 28rem);
  margin: 0 auto;
  padding: 1.25rem;
  text-align: center;
  font-size: x-large;
  font-weight: bold;
  outline: 1px solid black;
}

.login-field {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 1.75rem;
  margin: 0.5rem auto 0;
  padding: 0.35rem 0.5rem;
  font-size: 1.25rem;
  font-weight: bold;
  text-align: center;
}

input[type="checkbox"] {
  width: auto;
  height: auto;
}

#loginbutton {
  min-width: 8rem;
  min-height: 2.75rem;
  font-size: 1.25rem;
}

form + .auto-style2 {
  overflow-wrap: anywhere;
}

.auto-style2 {
    font-size: x-large;
    text-align: center;
    }

footer {
    text-align: center;
    padding: 3px;
}

@media (max-width: 758px) {
  body {
    background-position: center top;
  }

  body > div:first-child {
    padding: 0.75rem;
  }

  body > div:first-child h1 {
    font-size: clamp(1.5rem, 8vw, 2.25rem);
  }

  body > div:first-child h2 {
    font-size: 1.1rem;
    line-height: 1.35;
  }

  body > div:first-child h3 {
    font-size: 1rem;
    line-height: 1.35;
  }

  .login-panel {
    width: calc(100% - 2rem);
    max-width: 28rem;
    padding: 1rem;
    font-size: 1.15rem;
  }

  .login-field {
    width: 18rem;
    max-width: 100%;
    height: 2.5rem;
    margin: 0.5rem auto 0 !important;
    font-size: 1rem;
  }

  #username,
  #password {
    width: 18rem;
    max-width: 100%;
    height: 2.5rem;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #loginbutton {
    width: 100%;
    max-width: 100px;
    font-size: 1rem;
  }

  .auto-style2 {
    padding: 0 1rem;
    font-size: 1rem;
  }
}
