@font-face {
  font-family: "inter";
  src: url("../fonts/Inter-Regular.ttf");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: inter, "Helvetica", Arial, sans-serif;
}

a {
  text-decoration: none;
}

b {
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif;
}

input:focus {
  outline: none;
}

img {
  display: block;
  width: 100%;
}

input:-webkit-autofill {
  animation-name: autoFill;
}

@keyframes autoFill {
  from {
  }
  to {
  }
}

:root {
  --white: rgb(255, 255, 255);
  --main-lightgray: rgb(243, 245, 246);
  --main-darkgray: rgb(73, 73, 73);
  --main-blue: rgb(105, 201, 255);
  --borda1: rgb(240, 85, 44);
  --borda2: rgb(85, 149, 159);
  --main-green: rgb(64, 219, 163);
  --main-green-linear-gradient: linear-gradient(
    180deg,
    rgba(64, 219, 163, 0.1) 0%,
    rgba(84, 223, 173, 0.1) 100%
  );
  --main-green-linear-gradient-hover: linear-gradient(
    180deg,
    rgba(64, 219, 163, 0.8) 0%,
    rgba(84, 223, 173, 0.8) 100%
  );
  --main-red: rgb(228, 117, 109);
  --notificationBg: linear-gradient(180deg, #ed6e76 0%, #ec816a 100%);
  --form-requiment-icon-bg: linear-gradient(180deg, #40dba3 0%, #54dfad 100%);
  --main-blue--linear-gradient: linear-gradient(
    180deg,
    rgba(105, 201, 255, 0.1) 0%,
    rgba(120, 207, 255, 0.1) 100%
  );
}

/* FONTS */

.font-title {
  font-size: 36px;
  color: var(--main-darkgray);
}

.font-detail {
  font-size: 13px;
  color: var(--main-darkgray);
}

.font-mini-title {
  font-size: 11px;
  color: var(--main-darkgray);
  opacity: 0.6;
}

.font--bold {
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif;
}

.font-error {
  font-size: 9px;
  color: var(--main-red);
}

.font-green {
  font-size: 36px;
  color: var(--main-green);
  opacity: 0.8;
}

/* TEXT INPUT */

.form-input__body {
  position: relative;
  margin: 20px 0;
}

.form-input__input {
  width: 100%;
  background-color: var(--main-lightgray);
  border-radius: 8px;
  border: none;
  height: 40px;
  padding: 8px;
  font-size: 13px;
  color: var(--main-darkgray);
  caret-color: var(--main-blue);
}

/* .form-input__input[type="password"] {
  font-size: 25px;
} */

.form-input__body.active .form-input__input {
  background-color: rgba(var(--main-lightgray), 0.1);
}

.form-input__line {
  position: absolute;
  transition: all 300ms ease;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--main-blue);
  transition: 0.4s;
}

.form-input__body.active .form-input__line {
  width: auto;
  transition: 0.4s;
  left: 8px;
  right: 8px;
}

.form-input__label {
  position: absolute;
  left: 8px;
  top: 10px;
  transition: all 0.3s ease;
  font-size: 13px;
  color: var(--main-darkgray);
  opacity: 0.8;
  cursor: text;
}

.form-input__body.active .form-input__label {
  top: 0;
  font-size: 9px;
  color: var(--main-blue);
}

.form-input__validate {
  position: absolute;
  left: -6px;
  bottom: 14px;
  width: auto;
}

.form-input__error {
  position: absolute;
  bottom: -14px;
  left: 9px;
}

/* CHECKBOX */

.form-checkbox {
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  grid-gap: 5px;
  position: relative;
  padding: 4px 12px;
  background-color: var(--main-lightgray);
  border-radius: 24px;
  cursor: pointer;
  user-select: none;
}

.form-checkbox__box {
  width: 16px;
  position: relative;
}

.form-checkbox__checkbox {
  visibility: hidden;
  position: absolute;
}

.form-checkbox__text {
  font-size: 11px;
  color: var(--main-darkgray);
  cursor: pointer;
}

/* GREEN BUTTON */
.green-button {
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-gap: 2rem;
  align-items: center;
  border: none;
  padding: 0 8px;
  border-radius: 20px;
  background: var(--main-green-linear-gradient);
  transition: all 0.3s ease;
  height: 40px;
}

.green-button p {
  color: var(--main-green);
  font-size: 11px;
  text-transform: uppercase;
}

.green-button:hover {
  background: var(--main-green-linear-gradient-hover);
}

.green-button:hover p {
  color: var(--main-lightgray);
}

.green-button.disable {
  background: rgba(var(--main-darkgray), 0.6);
}

.green-button.disable p {
  color: var(--main-darkgray);
  opacity: 0.1;
}

.green-button img {
  background-color: var(--white);
  border-radius: 50%;
}

.green-button__plain {
  background: var(--white);
}

.green-button__plain p {
  color: var(--main-darkgray);
}

.green-button__plain:hover {
  background: var(--main-darkgray);
  opacity: 0.8;
}

.green-button__plain:hover {
  color: var(--white);
}

.blue-button {
  background: var(--main-blue--linear-gradient);
}

.blue-button p {
  color: var(--main-blue);
}

.blue-button:hover {
  background: var(--main-blue);
}

.blue-button:hover p {
  color: var(--main-lightgray);
}

/* FORGOT BUTTON */
.forgot-button {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: flex-start;
  grid-gap: 8px;
  border: none;
  background-color: var(--white);
  cursor: pointer;
}

.forgot-button__img {
  width: 16px;
  height: 16px;
}

.forgot-button__title {
  font-size: 11px;
  font-weight: bold;
  color: var(--main-red);
}

/* LAYOUTS */

.container {
  padding: 0.5rem;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.image-wrapper {
  position: relative;
  height: 100%;
  border-radius: 1rem;
  overflow: hidden;
}

.image-wrapper__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.image-wrapper__bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: var(--borda2);
  opacity: 0.6;
  z-index: 2;
}

.image-wrapper__bg--borda1 {
  background: var(--borda1);
}

.image-wrapper__info {
  position: absolute;
  top: 0;
  left: 0;
  padding: 55px;
  z-index: 3;
  font-size: 14px;
  color: var(--main-lightgray);
  opacity: 0.6;
}

.image-wrapper__text--italic {
  font-style: italic;
  margin: 0 0 1rem 0;
}

.image-wrapper__bordaIcon {
  position: absolute;
  bottom: 0;
  z-index: 4;
  padding: 55px;
  width: auto;
}

.form-wrapper {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 55px;
}

.form-notification {
  background: var(--notificationBg);
  border-radius: 20px;
  opacity: 0.9;
  padding: 8px 16px;
  display: grid;
  grid-auto-flow: column;
  grid-gap: 20px;
  align-items: center;
  justify-content: flex-start;
}

.form-notification__image {
  width: 24px;
  height: 24px;
}

.form-notification li {
  list-style-type: none;
  color: var(--white);
  font-size: 15px;
  color: var(--main-lightgray);
}

.form-wrapper__body {
  align-self: center;
}

.form-wrapper__footer {
  display: flex;
}

.form-wrapper__title {
  opacity: 0.8;
  margin: 0 0 8px 0;
}

.form-wrapper__title--variant {
  font-size: 24px;
}

.form-wrapper__detail {
  opacity: 0.6;
  margin: 0 0 4px 0;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-wrapper__logo {
  margin: 0 0 0 -20px;
  width: 200px;
  object-fit: cover;
  height: auto;
}

.logo-wrapper__divider {
  border-left: 1px solid rgba(73, 73, 73, 0.2);
  height: 100%;
}

.logo-wrapper__deployment {
  font-weight: 500;
  font-size: 18px;
  line-height: 21.6px;
  color: #55959f;
}

.form-divider {
  width: 100%;
  height: 1px;
  background: var(--main-darkgray);
  margin: 0 0 24px 0;
  opacity: 0.2;
}

.form-requirement {
  display: grid;
  grid-auto-flow: row;
  grid-gap: 4px;
}

.form-requirement__item {
  display: grid;
  grid-auto-flow: column;
  justify-content: flex-start;
  align-items: center;
  grid-gap: 16px;
}

.form-requirement__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--main-lightgray);
}

.form-requirement__icon.active {
  background: var(--form-requiment-icon-bg);
}

.form-action {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  margin: 1rem 0;
}

.form-action__center {
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  grid-gap: 16px;
  justify-content: center;
  margin: 20px 0;
}

.form-action__divider {
  height: 16px;
  width: 1px;
  background-color: var(--main-darkgray);
  opacity: 0.3;
}

.forgot_confirm {
  display: grid;
  grid-gap: 40px;
}

.forgot_confirm_body {
  display: grid;
  grid-template-columns: 64px 1fr;
}

.forgot_confirm_desc {
  display: grid;
  grid-gap: 8px;
}

.forgot_confirm_desc p {
  opacity: 0.6;
}

.forgot_confirm_action {
  justify-self: center;
}

.loading-wrapper {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.circular {
  animation: rotate 2s linear infinite;
  height: 100px;
  position: relative;
  width: 100px;
}

.path {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  animation: dash 1.5s ease-in-out infinite;
  stroke-linecap: round;
  stroke: #33a9ff;
}

.invisible {
  visibility: hidden;
}

.hidden {
  display: none;
}

.logging {
  color: var(--main-darkgray);
  font-size: 36px;
  font-weight: 500;
  margin-left: 24px;
}

.body-container {
  margin-top: 60px;
  padding-bottom: 40px;
}

.welcome-page li {
  list-style: none;
  padding: 4px;
}

.logged-out-page iframe {
  display: none;
  width: 0;
  height: 0;
}

.grants-page .card {
  margin-top: 20px;
  border-bottom: 1px solid lightgray;
}
.grants-page .card .card-title {
  font-size: 120%;
  font-weight: bold;
}
.grants-page .card .card-title img {
  width: 100px;
  height: 100px;
}
.grants-page .card label {
  font-weight: bold;
}

.loader {
  font-size: 9px;
  margin-right: 25px;
  text-indent: -9999em;
  width: 4em;
  height: 4em;
  border-radius: 50%;
  background: var(--main-blue);
  background: -moz-linear-gradient(
    left,
    var(--main-blue) 10%,
    rgba(73, 73, 73, 0) 42%
  );
  background: -webkit-linear-gradient(
    left,
    var(--main-blue) 10%,
    rgba(73, 73, 73, 0) 42%
  );
  background: -o-linear-gradient(
    left,
    var(--main-blue) 10%,
    rgba(73, 73, 73, 0) 42%
  );
  background: -ms-linear-gradient(
    left,
    var(--main-blue) 10%,
    rgba(73, 73, 73, 0) 42%
  );
  background: linear-gradient(
    to right,
    var(--main-blue) 10%,
    rgba(73, 73, 73, 0) 42%
  );
  position: relative;
  -webkit-animation: load3 1.4s infinite linear;
  animation: load3 1.4s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.loader:before {
  width: 50%;
  height: 50%;
  background: var(--main-blue);
  border-radius: 100% 0 0 0;
  position: absolute;
  top: 0;
  left: 0;
  content: "";
}
.loader:after {
  background: #ffffff;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  content: "";
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
@-webkit-keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
  }
  .image-wrapper {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .form-wrapper {
    padding: 30px;
  }
}
