* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(226, 36%, 60%);
  padding: 30px;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.maximg {
  max-width: 100%;
  height: auto;
  text-align: center;
}

.container {
  position: relative;
  max-width: 850px;
  width: 100%;
  background: #fdf6e3;
  padding: 40px 30px;
  box-shadow: 0 3px 6px rgb(0 0 0 / 15%), 0 2px 4px rgb(0 0 0 / 12%);
  border-radius: 10px 10px 10px 10px;
}
.cover {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 50%;
  border-radius: 0 10px 10px 0;
}

.cover img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 0 10px 10px 0;
}

.forms {
  height: 100%;
  width: 100%;
  background: #fdf6e3;
}
.form-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.login-form {
  width: calc(100% / 2 - 25px);
  padding-left: 10px;
  padding-right: 10px;
}

.input-boxes {
  margin-top: 50px;
}
.input-box {
  display: flex;
  align-items: center;
  height: 50px;
  width: 100%;
  margin: 10px 0;
  position: relative;
}
input {
  height: 100%;
  width: 100%;
  outline: none;
  border: none;
  padding: 0 30px;
  font-size: 16px;
  font-weight: 400;
  border-bottom: 2px solid rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  background-color: #fdf6e3;
}
input:focus {
  border-bottom: 4px solid hsl(226, 36%, 35%);
}
h2.login {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  color: hsl(226, 36%, 35%);
  font-weight: 500;
  padding: 10px;
  padding-top: 0px;
  margin: 0;
}
p.text,
a.text {
  text-decoration: none;
  color: hsl(226, 36%, 35%);
  font-size: 16px;
  font-weight: 500;
  display: block;
  text-align: center;
  padding-top: 10px;
}
a.text:hover {
  color: hsl(226, 36%, 15%);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.button {
  margin-top: 40px;
}
.button input {
  font-weight: 400;
  color: lemonchiffon;
  cursor: pointer;
  padding: 5px 25px 5px 25px;
  margin: auto;
  background-color: hsl(226, 36%, 45%);
  border: 1px solid hsl(226, 36%, 35%);
  font-size: 16px;
  border-radius: 0.25rem;
  height: 46px;
  padding-left: 20px;
  padding-right: 20px;
  min-width: 50px;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), 0 3px 6px rgba(0, 0, 0, 0.1);
}

.button input:hover {
  color: white;
  background-color: hsl(226, 36%, 50%);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), 0 3px 6px rgba(0, 0, 0, 0.1);
}

.button input:active {
  color: white;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

@media (max-width: 730px) {
  body {
    padding: 0px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 20px;
  }
  .container .cover {
    display: none;
  }

  .container {
    position: relative;
    background: #fdf6e3;
    padding: 30px 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px 10px 10px 10px;
    max-width: 90%;
  }
  .login-form {
    width: 100%;
  }
}
p.reset {
  text-align: center;
  font-size: 16px;
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
  padding: 2px;
  margin-top: 15px;
  text-align: center;
  width: 100%;
  word-wrap: break-word;
}
.tooltip:hover {
  background-color: hsl(41, 86%, 84%);
  cursor: pointer;
}
.tooltip .tooltiptext {
  visibility: hidden;
  width: 150px;
  background-color: hsl(226, 36%, 35%);
  color: antiquewhite;
  text-align: center;
  border-radius: 6px;
  padding: 7px;
  position: absolute;
  z-index: 1;
  top: 85px;
  left: 100px;
  margin-left: -50px;
}
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 7px;
  border-style: solid;
  border-color: transparent transparent darkslategray transparent;
}
.tooltip:hover .tooltiptext {
  visibility: visible;
}

/* ========Start Alertboxes==========*/
.alertwarning {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  background-color: hsl(43, 77%, 90%);
  border: 1px solid hsl(43, 77%, 40%);
  color: hsl(43, 77%, 40%);
  padding: 18px;
  text-align: left;
  border-radius: 5pt;
  margin: 0px;
}
.fade-in {
  animation: fadein linear 1s;
  opacity: 1;
}
@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.fade-out {
  animation: fadeout linear 0.5s;
  opacity: 1;
}
@keyframes fadeout {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/* ==========Alertmodals============ */
.alertmodal {
  display: block; /* Hidden by default */
  position: relative; /* Stay in place */
  z-index: 600; /* Sit on top */
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 12px;
  text-align: left;
  min-width: 320px;
  border-radius: 5pt;
  margin: 5px;
}

.alertwarning {
  background-color: hsl(43, 77%, 90%);
  border: 1px solid hsl(43, 77%, 40%);
  color: hsl(43, 77%, 40%);
}
.alertdanger {
  background-color: hsl(360, 77%, 90%);
  border: 1px solid hsl(360, 77%, 38%);
  color: hsl(360, 77%, 38%);
}
.alertsuccess {
  background-color: hsl(84, 77%, 90%);
  border: 1px solid hsl(84, 77%, 38%);
  color: hsl(84, 77%, 38%);
}

.alertinfo {
  background-color: hsl(200, 77%, 90%);
  border: 1px solid hsl(200, 77%, 38%);
  color: hsl(200, 77%, 38%);
}
/* ========END Alertmodals==========*/

/* ==========The Modal W3S ==============*/
.modal {
  display: none;
  position: fixed;
  z-index: 900;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: hsla(60, 93%, 25%, 0.4);
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
}
.modal-content {
  position: relative;
  z-index: 901;
  margin: auto;
  padding: 0;
  width: 80%;
  animation-name: animatetop;
  animation-duration: 0.4s;
  max-width: 650px;
  background-color: #fdf6e3;
  padding: 30px 30px;
  box-shadow: 0 3px 6px rgb(0 0 0 / 15%), 0 2px 4px rgb(0 0 0 / 12%);
  border-radius: 10px 10px 10px 10px;
}
@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}
.modal-footer {
  margin-left: 34px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 10px;
}
/* ==========END The Modal W3S ==============*/
