@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Dongle:wght@300;400;700&family=Montserrat:wght@400;500;700&family=Orbitron&family=Prompt:wght@400;500;700&display=swap");
:root {
  --color-p: #3a5cd1;
  --color-white: #fff;
  --color-light-gray: #eff2f5;
  --color-mid-gray: #96a0b5;
  --color-dark-gray: #6d7d93;
  --color-dark: #182550;
  --color-red: #d13a3a;
  --usa-red: #3E682E;
  /* --usa-red-hover: #a00f1b; */
  --usa-red-hover: #a10714;
}

h1 {
  font-size: 2.441rem;
  line-height: 1.4rem;
}

h2 {
  /* font-size: 1.953rem; */
  font-size: 1.5rem;
  color: #fff;
}

h3 {
  font-size: 1.563rem;
}

h4 {
  font-size: 1.25rem;
}

a {
  text-decoration: none;
  color: var(--color-p);
  transition: all 0.3s ease-out;
}
a:hover {
  color: var(--color-dark);
}

.text-center {
  text-align: center;
}

.text-underline {
  text-decoration: underline;
}

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

html {
  font-size: 24px;
}

body {
  background: var(--color-white);
  color: var(--color-dark);
  font-size: 1‬rem;
  font-family: Dongle, sans-serif;
  line-height: 1.3rem;
  margin: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
  width: 10rem;
}

.wrapper {
  min-height: 100vh;
  display: grid;
  /* grid-template-columns: repeat(2, 1fr); */
  grid-template-columns: 1fr 2fr;
  text-align: center;
}

.left {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: all 0.3s ease-out;
}
.left h1 {
  font-weight: 700;
  margin-bottom: 1rem;
}
.left .social-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  gap: 1rem;
}
.left .social-buttons a {
  padding: 8px;
  display: inline-block;
  background-color: var(--color-light-gray);
  border-radius: 4px;
}

.left-inner {
  display: flex;
  flex-flow: column wrap;
  width: 75%;
}

.seperator {
  position: relative;
}

.form-group {
  margin-bottom: 1rem;
  text-align: left;
}

label {
  display: block;
  color: var(--color-dark-gray);
}

input {
  background-color: var(--color-light-gray);
  padding: 0.4rem;
  border: 1px solid transparent;
  width: 100%;
  border-radius: .25rem;
  font-size: 1rem;
  font-family: Dongle, sans-serif;
}
input:focus {
  color: var(--color-dark);
  background-color: var(--color-white);
  border-color: var(--color-mid-gray);
  outline: 0;
  border: 1px solid var(--color-mid-gray);
}
input.error {
  border: 1.5px solid var(--color-red);
}

.form-radio,
.form-checkbox {
  appearance: none;
  display: inline-block;
  position: relative;
  background-color: var(--color-white);
  border: 2px solid #bdbcc0;
  height: 24px;
  width: 24px;
  border-radius: 50px;
  cursor: pointer;
  margin: 0 10px 0 0;
  outline: none;
  padding: 0;
}

.form-radio:checked::before,
.form-checkbox:checked::before {
  position: absolute;
  left: 5px;
  top: 1px;
  content: "⅃";
  font-size: 14px;
  transform: rotate(40deg);
}

.form-radio:hover,
.form-checkbox:hover {
  background-color: var(--color-mid-gray);
  outline: none;
}

.form-radio:checked,
.form-checkbox:checked {
  background-color: var(--color-p);
  border-color: var(--color-dark);
  color: var(--color-white);
  z-index: 2;
}

.form-radio {
  border: 2px solid #bdbcc0;
  top: 6px;
}

.form-checkbox {
  border-radius: 4px;
}

.error-text {
  display: block;

  margin-top: 0.5rem;
  
  color: var(--color-red);
}

.form-outline .field-icon {
  top: 50%;
  transform: translateY(-50%);
}


.remember-forgot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.remember {
  display: flex;
  align-items: center;
  visibility: hidden;
}
.remember label {
  display: inline-block;
  line-height: 1;
}

.forgot {
  line-height: 1;
  text-align: right;
}



.right {
  /* background-image: linear-gradient(to right bottom, #b51422, #c43026, #d3452a, #e2592f, #f06c34); */
  /* background-image: linear-gradient(to right bottom, #3E682E, #d52c12, #de4412, #e75814, #f06b18, #f06b18, #f06b18, #f06b18, #e75814, #de4412, #d52c12, #3E682E); */
  background-image: linear-gradient(to right bottom, #005818, #1d4c2a, #1b502a, #035018, #104c20);

  box-shadow:
  1.7px 0.3px 2.4px rgba(0, 0, 0, 0.025),
  4.2px 0.7px 5.7px rgba(0, 0, 0, 0.036),
  7.9px 1.3px 10.8px rgba(0, 0, 0, 0.045),
  14.1px 2.2px 19.2px rgba(0, 0, 0, 0.054),
  26.3px 4.2px 35.9px rgba(0, 0, 0, 0.065),
  63px 10px 86px rgba(0, 0, 0, 0.09);

  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  padding: 3rem;
}
.right svg {
  margin: auto;
}
.right h2 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
}
.right p {
  max-width: 50vw;
  margin: 0 auto;
  line-height: 1rem;
}

.sign-in-form,
.forgot-pass-form,
.sign-up-form {
  display: none;
}
.sign-in-form.active,
.forgot-pass-form.active,
.sign-up-form.active {
  display: block;
}

.sign-in-form {
    max-width: 100%;
}

.dark-mode-btn svg {
  filter: invert(67%) sepia(7%) saturate(757%) hue-rotate(182deg) brightness(95%) contrast(88%);
  width: 16px;
  height: 16px;
}
.dark-mode-btn.active {
  background-color: var(--color-p);
  border-color: var(--color-p);
}
.dark-mode-btn.active svg {
  filter: invert(91%) sepia(31%) saturate(1482%) hue-rotate(328deg) brightness(102%) contrast(101%);
}

.dark-mode-on .left {
  background-color: var(--color-dark);
  color: var(--color-white);
}
.dark-mode-on input {
  background-color: transparent;
  border: 1px solid var(--color-mid-gray);
}

.dark-mode-on button:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
}

.ndduLogo {
    margin: 0 auto;
    width: 14rem !important;
}

.usaHashtag {
    margin: 0 .25rem;
}

.usaText {
    transition: all 0.3s ease-out;
    color: #fff !important;
}

/* 125.625 = 2010px */
@media screen and (max-width: 125.625rem) {
    h2 {
        font-size: 1.3rem;
    }

    .usaHashtag {
        font-size: 85%;
    }

    .left-inner {
        width: 55%;
    }
}

/* 74.25rem = 1188px */
@media screen and (max-width: 74.25rem) {
  .wrapper {
    grid-template-columns: 1fr;
  }

  .left-inner {
    width: 60%;
  }

  .right {
    display: none;
  }
}

/* 48rem = 768px */
@media screen and (max-width: 48rem) {
    .left-inner {
        width: 85%;
    }
}

#resetBtn {
  background: white;
  padding: 8px 24px;
  border-radius: 6px;
  cursor: pointer;
  float: right;
  font-weight: bold;
}

#backBtn {
  background: white;
  padding: 8px 24px;
  border-radius: 6px;
  cursor: pointer;
  float: right;
  font-weight: bold;
}

#forgot-password-div * {
  color: white !important;
}
