html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  color: #fff;
  background: #f0f0f0;
  font: bold 9pt/1.45 Arial, Helvetica, sans-serif;
}

#container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(280px, 90vw, 600px);
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 20px 40px;   
  background: #6db33f;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
}

#container::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 20px;
  background: #000;
  z-index: 0;
}

.note {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 20px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  line-height: 1;
  color: #fff;
  font-weight: bold;
  z-index: 1;
}

.info {
  margin: 10px 0;
  text-align: center;
  font-weight: bold;
}

form {
  width: 100%;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

label {
  margin: 10px 0 10px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

input {
  font-size: 12px;
  font-weight: bold;
  outline: none;
  background: #fff;
  border: 1px solid #fff;
}

input[type="text"],
input[type="password"] {
  width: 90%;
  max-width: 300px;
  height: 35px;
  margin-bottom: 12px;
  padding-left: 10px;
  color: #000;
  caret-color: #000;
}

input::placeholder {
  color: #fff;
}

input[type="text"]:focus,
input[type="password"]:focus {
  border: 1px solid #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .3);
  outline: none;
}


input[type="password"] {
  margin-bottom: auto;   
}

input[type="submit"] {
  margin-top: auto;      
  width: 80px;
  height: 30px;
  font-size: 14px;
  cursor: pointer;
  background: #fff;
  color: #6db33f;
  border: none;
  transition: opacity .2s;
}

input[type="submit"]:hover {
  opacity: .85;
}

@media (max-width: 420px) {
  body {
    font: bold 8.5pt/1.45 Arial, Helvetica, sans-serif;
  }
  label {
    font-size: 13px;
  }
  .info {
    font-size: 13px;
  }
  .note {
    font-size: 11px;
  }
  input[type="text"],
  input[type="password"] {
    width: 100%;
  }
}
