/* latin */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v18/JTURjIg1_i6t8kCHKm45_cJD3gnD_vx3rCs.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v18/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v18/JTURjIg1_i6t8kCHKm45_ZpC3gnD_vx3rCs.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v18/JTURjIg1_i6t8kCHKm45_dJE3gnD_vx3rCs.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(196, 40%, 20%);
  padding: 30px;
  font-family: "Montserrat";
  font-weight: 400;
}

.maximg {
  max-width: 100%;
  height: auto;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 10px;
}

.container {
  position: relative;
  max-width: 850px;
  width: 100%;
  background: hsl(35, 84%, 90%);
  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: hsl(35, 84%, 90%);
}
.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: 20px;
}
.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: 15px;
  font-weight: 400;
  border-bottom: 2px solid rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  background-color: hsl(35, 84%, 95%);
}
input:focus {
  border-bottom: 4px solid hsl(196, 40%, 30%);
}
div.digits {
  margin-left: 20px;
  margin-right: 20px;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 15px;
}
input.digits {
  padding: 10px 5px 10px 5px;
  height: 100%;
  font-size: 15px;
  font-weight: 400;
  border: 2px solid rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  background-color: #fdf6e3;
  text-align: center;
}
input.digits:focus {
  border: 4px solid hsl(196, 40%, 30%);
}
h2.login {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  color: hsl(196, 40%, 30%);
  font-weight: 500;
  padding: 10px;
  padding-top: 0px;
  margin: 0;
}
p.host {
  text-align: center;
  margin-bottom: 20px;
  color: hsl(196, 40%, 30%);
  font-weight: 100;
  padding: 10px;
  padding-top: 0px;
  margin: 0;
}
div.host {
  margin: auto;
}
a.text {
  text-decoration: none;
  color: hsl(196, 40%, 40%);
  font-size: 16px;
  display: block;
  text-align: center;
  padding-top: 10px;
}
a.text:hover {
  /* color: hsl(196, 40%, 20%); */
  color: hsl(12, 35%, 39%);
}

.button {
  color: #fff;
  margin-top: 40px;
}
.button input {
  font-weight: 400;
  line-height: 1.5;
  color: white;
  cursor: pointer;
  padding: 0.375rem 0.75rem;
  margin: auto;
  background-color: hsl(196, 40%, 30%);
  border: 1px solid hsl(196, 40%, 25%);
  font-size: 16px;
  letter-spacing: 0.05rem;
  border-radius: 0.25rem;
  height: 43px;
  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;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), 0 3px 6px rgba(0, 0, 0, 0.1);
}

.button input {
  font-weight: 400;
  line-height: 1.5;
  color: white;
  cursor: pointer;
  padding: 0.375rem 0.75rem;
  margin: auto;
  background-color: hsl(196, 40%, 30%);
  border: 1px solid hsl(196, 40%, 25%);
  font-size: 16px;
  letter-spacing: 0.05rem;
  border-radius: 0.25rem;
  height: 43px;
  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;
  display: flex;
  align-items: center;
  justify-content: center;
  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(196, 40%, 25%);
  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:active1 {
  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: hsl(35, 84, 90);
    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: 14px;
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
  padding: 2px;
  margin-top: 15px;
  text-align: center;
}
.tooltip:hover {
  background-color: hsl(41, 86%, 84%);
  cursor: pointer;
}
.tooltip .tooltiptext {
  visibility: hidden;
  width: 150px;
  background-color: darkslategray;
  color: antiquewhite;
  text-align: center;
  border-radius: 6px;
  padding: 7px;
  position: absolute;
  z-index: 1;
  top: 150%;
  left: 50%;
  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 ==============*/
