.form-wrapper {
  background: white;
  margin: 100px auto 50px;
  max-width: 500px;
  box-shadow: 0 2px 12px rgba(33, 89, 111, 0.2);
  border-radius: 16px;
  overflow: hidden;
}

.form-logo img {
  width: 40%;
  margin: 0px auto;
  padding-top: 30px;
  display: flex;
}

h1 {
  text-align: center;
  padding: 30px 0 0;
  margin: 0;
  color: rgb(50, 175, 223);
  font-size: 18px;
  font-weight: bold;
}

.panel h1 {
  padding: 30px 0;
}

h1 img {
  padding: 16px 0 0;
  margin: 0 auto;
  display: flex;
  width: 200px;
  height: 56.7px;
}

h2 {
  text-align: center;
  padding: 20px 0px 36px;
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}

.alert {
  margin: 0 0 8px 0;
  text-align: center;
  font-size: 14px;
  color: rgb(237, 81, 81);
  line-height: initial;
}

.form-wrapper form {
  padding: 0 40px 40px;
}

.form-item {
  margin-bottom: 0.75em;
  width: 100%;
}

.form-item label {
  font-size: 13px;
  font-weight: bold;
}

.form-item input,
.form-item select {
  box-sizing: border-box;
  border: none;
  outline: none;
  background-color: rgb(235, 250, 255, 0.5);
  border-bottom: 2px solid lightgray;
  color: #666;
  border-radius: 3px;
  margin-top: 12px;
  padding-left: 5px;
  font-size: 16px;
  height: 40px;
  transition: border-color 0.3s;
  width: 100%;
}

.form-item input:focus {
  border-bottom: 2px solid rgb(50, 175, 223);
  background-color: rgb(235, 250, 255);
  outline: none;
}

.button-panel {
  margin: 2em 0 0;
  width: 100%;
}

.button-panel .button {
  background: rgb(50, 175, 223);
  border: none;
  color: #fff;
  cursor: pointer;
  height: 42px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  transition: background 0.3s ease-in-out;
  width: 100%;
}

.button:hover {
  background: rgb(50, 175, 223, 0.7);
  transition: 0.3s;
}

.form-footer {
  font-size: 12px;
  padding: 20px 0 10px;
  text-align: center;
}

.form-footer a {
  color: rgb(50, 175, 223);
  text-decoration: none;
  transition: border-color 0.3s;
  display: block;
}

.form-footer2 {
  font-size: 14px;
  margin-top: 15px;
  text-align: center;
  border: 1px solid rgb(50, 175, 223);
}

.form-footer2 a {
  color: rgb(50, 175, 223);
  text-decoration: none;
  transition: border-color 0.3s;
  display: block;
  line-height: 40px;
}

::placeholder {
  color: lightgray;
  letter-spacing: 1px;
}

.color_bar {
  display: flex;
}

.blue {
  width: 20%;
  background: rgb(50, 175, 223);
  color: rgb(50, 175, 223);
  line-height: 10px;
  text-align: center;
  font-size: 1px;
  user-select: none;
}

.yellow {
  width: 20%;
  background: rgb(243, 205, 79);
  color: rgb(243, 205, 79);
  line-height: 10px;
  text-align: center;
  font-size: 1px;
  user-select: none;
}

.black {
  width: 20%;
  background: rgb(72, 79, 87);
  color: rgb(72, 79, 87);
  line-height: 10px;
  text-align: center;
  font-size: 1px;
  user-select: none;
}

.green {
  width: 20%;
  background: rgb(50, 200, 150);
  color: rgb(50, 200, 150);
  line-height: 10px;
  text-align: center;
  font-size: 1px;
  user-select: none;
}

.red {
  width: 20%;
  background: rgb(237, 81, 81);
  color: rgb(237, 81, 81);
  line-height: 10px;
  text-align: center;
  font-size: 1px;
  user-select: none;
}

.login_img {
  position: absolute;
  bottom: 0px;
  right: 0;
  width: 100%;
  width: -webkit-fill-available;
  z-index: -1;
}

@media screen and (max-width: 1024px) {
  .form-wrapper {
    margin: 100px auto 50px;
    width: 420px;
    box-shadow: 0 2px 12px rgba(33, 89, 111, 0.2);
    /* border-radius: 3px; */
  }
}
@media screen and (max-width: 770px) {
  .login_img {
    width: auto;
    height: 355px;
  }
}

@media screen and (max-width: 480px) {
  h1 img {
    padding: 0;
  }
  .form-logo img {
    width: 50%;
    margin: 0px auto;
    padding-top: 30px;
    display: flex;
  }
  .form-wrapper {
    padding: 0;
    width: 88%;
    margin-top: 70px;
  }
  .form-wrapper form {
    padding: 0 25px 30px;
  }
  .form-item input,
  .form-item select,
  .button-panel .button {
    height: 40px;
  }
  .form-footer2 a {
    line-height: 38px;
  }
  .alert {
    margin: 0 18px 12px;
    text-align: left;
  }
  .login_img {
    height: 223px;
  }
}
