@font-face {
  font-family: "Century Gothic";
  src: url("fonts/Century_Gothic_Regular.TTF") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Century Gothic";
  src: url("fonts/Century_Gothic_Bold.TTF") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Century Gothic", Arial, sans-serif;
  font-weight: 500;
}

.splashloginmenu {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: clamp(24px, 5vh, 64px) 16px 16px;
  overflow-x: hidden;
  background: #eef9f0 url("images/backdropgreen.png") center / cover no-repeat;
}

.position_center {
  width: min(100%, 364px);
  margin: auto;
}

.applogo {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto clamp(28px, 5vh, 55px);
}

.enterusernametextbox,
.enterpasswordtextbox,
.loginbutton {
  display: block;
  width: 100%;
  height: 53px;
  border-radius: 5px;
  font: 700 16px "Century Gothic", Arial, sans-serif;
}

.enterusernametextbox,
.enterpasswordtextbox {
  margin-bottom: clamp(18px, 3vh, 31px);
  padding: 0 26px;
  border: 1px solid #4c3797;
  background: #fff;
}

.loginbutton {
  cursor: pointer;
  border: 1px solid #4cba5d;
  background: #4cba5d;
  transition: color 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease;
}

.position_center a {
  color: inherit;
  text-decoration: none;
}

.loginbutton:hover,
.loginbutton:focus-visible {
  border-color: #4c3797;
  background: #fff;
  color: #4c3797;
}

.forgotpassword {
  width: max-content;
  margin: 24px auto 0;
  color: #4c3797;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.forgotpassword:hover {
  color: #4cba5d;
}

.developeddesignedbys {
  color: #4c3797;
  font-size: clamp(11px, 2.8vw, 16px);
  font-weight: 700;
  text-align: left;
}

.developeddesignedbys p {
  margin: 16px 0 0;
}

@media (max-width: 480px) {
  .splashloginmenu {
    padding-inline: 24px;
  }

  .position_center {
    width: min(100%, 340px);
  }

  .enterusernametextbox,
  .enterpasswordtextbox {
    padding-inline: 18px;
  }

  .developeddesignedbys {
    text-align: center;
  }
}

@media (max-height: 650px) {
  .splashloginmenu {
    padding-block: 20px 12px;
  }

  .applogo {
    width: min(100%, 260px);
    margin-bottom: 20px;
  }

  .enterusernametextbox,
  .enterpasswordtextbox {
    margin-bottom: 14px;
  }

  .forgotpassword {
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loginbutton {
    transition: none;
  }
}
