﻿.c-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: rgb(var(--text-primary-color));
  opacity: .2;
  margin-bottom: 4rem;
  font-weight: bold;
  pointer-events: none;
  cursor: default;
}

.c-logo__image {
  margin-right: 1rem;
  max-width: 3em;
}

.c-logo__title {
  font-size: 2.5em;
}

/* ---------- PAGE ---------- */

.c-page {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(-45deg, rgb(var(--pink-color), .2), rgb(var(--bg-secondary-color), .9), rgb(var(--accent-color), .2));
  overflow: hidden;
  font-size: 1rem;
  padding: 2rem;
}

.c-page__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 30rem;
  border-radius: 1rem;
  box-shadow: 0 3px 5px rgba(69, 69, 75, 0.05);
  border-radius: 1rem;
}

/* ---------- CARD ---------- */

.c-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-height: 60rem;
}

.c-card__info {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  padding: 4rem;
  border-radius: 1rem;
  background: linear-gradient(to right, rgb(var(--bg-primary-color), .9), rgb(var(--bg-primary-color)));
  box-shadow: -10px 0 30px rgba(77, 84, 110, 0.15);
  backdrop-filter: blur(.5rem);
  z-index: 2;
  overflow-y: auto;
}

.rotate {
  position: absolute;
  bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 1rem;
  padding: 0;
  height: 90%;
  width: 95%;
  transition: .2s cubic-bezier(0.075, 0.82, 0.165, 1);
  border-bottom: 3px solid rgba(148, 144, 144, 0.1);
  box-shadow: none;
  opacity: .5;
  cursor: pointer;
  z-index: 1;
}
.rotate:hover {
  filter: saturate(2);
  opacity: .7;
}

.rotate .c-card__title__text {
  display: flex;
  flex-direction: column;
}

.rotate > div {
  pointer-events: none;
  height: 100%;
}

.rotate > a {
  position: absolute;
  top: 0;
  width: 0;
  width: 100%;
  height: 100%;
}

.rotate.rotate--right {
  right: -5rem;
  border-right: 3px solid rgba(148, 144, 144, 0.1);
  transform: rotate(5deg);
  text-align: end;
  cursor: pointer;
}

.rotate.rotate--right:hover {
  justify-content: flex-end;
  right: -10rem;
  transform: rotate(10deg);
}
.rotate.rotate--left {
  left: -5rem;
  border-left: 1px solid rgba(148, 144, 144, 0.1);
  transform: rotate(-5deg);
}
.rotate.rotate--left:hover {
  left: -10rem;
  transform: rotate(-10deg);
}

/* ---------- CARD CONTAINER ---------- */

.c-card__container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.c-card__container__img {
  width: 100%;
  height: 100%;
  opacity: .7;
  object-fit: cover;
}


.c-card__title {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  margin-bottom: 2rem;
}

.c-card__title__text {
  font-size: 1.5em;
  white-space: nowrap !important;
}

.c-link {
  display: none;
}

/* ---------- FORM ---------- */

.c-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.c-form-data {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.c-form__group {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 1rem;

}

.c-form__group.c-form__group__checkbox {
  flex-direction: row;
  justify-content: flex-start;
  opacity: .7;
}

.c-form__group__checkbox .c-form__group__label {
  margin-left: 1rem;
}

.c-form__group.c-form__group--recovery {
  font-size: .875em;
}

.c-form__group__label {
  /* position: absolute; */
  transition: .2s cubic-bezier(0.075, 0.82, 0.165, 1);
  margin: 0;
}

.c-form__group__input {
  border: none;
  border-bottom: var(--border);
  padding: .5rem;
  background-color: transparent;
  outline: none;
}

.c-form__group__input:focus {
  border-bottom: 2px solid rgb(var(--accent-color));
  padding: .49rem;
}

.c-form__group__input:focus + .c-form__group__label {
  top: 0;
  color: red;
}

.c-form__group--error-text {
  color: rgb(var(--red-color));
}

/* .c-form__group__input:focus + .c-form__group__label::after {
  transform: scale(.7);
} */

.c-form__group__checkbox {
  display: flex;
  align-items: center;
}

.c-form__group__input--checkbox {
  margin-right: 1rem;
}

.c-form__group__input--checkbox:checked {
  background: rgb(var(--accent-color));
}

.c-form__group__input--checkbox-label {
  margin: 0;
}

/* FORM ACTIONS */

.c-form__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.c-form__actions__separator {
  position: relative;
  background-color: rgb(var(--border-color));
  color: rgb(var(--text-secondary-color));
  font-size: .875em;
  height: 1px;
  width: 100%;
  margin: 2rem 0;
}
.c-form__actions__separator__float {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 .5rem;
  background-color: rgb(var(--bg-primary-color), .9);
}

.c-form__actions__btn {
  width: 100%;
  margin: 1rem 0rem;
  border-radius: 3rem;
  padding: .5rem 1rem;
  transition: .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
}
.c-form__actions__btn:hover {
  filter: brightness(1.1);
}

.c-form__actions__btn.btn--primary {
  background-color: rgb(var(--accent-color));
  color: rgb(255, 255, 255);
}

.c-form__actions__btn.btn--secondary {
  background-color: transparent;
  color: rgb(var(--text-secondary-color));
  font-size: .875em;
  opacity: .5;
  width: max-content;
}

.c-form__actions__btn.btn--tertiary {
  background-color: rgb(var(--bg-secondary-color));
  background-color: rgb(var(--bg-secondary-color));
  color: rgb(var(--text-primary-color));
  font-size: .875em;
  width: max-content;
  outline-style: none;
  text-decoration: none;
  padding: .5rem 2rem;
  border: var(--border);
}
.c-form__actions__btn.btn--tertiary:hover {
  background-color: rgb(var(--accent-color), 5);
  color: rgb(255, 255, 255);
}

@media (max-width: 768px) {

  .c-page {
    padding: 0;
  }

  .c-page__container {
    height: 100%;
    min-width: 100%;
  }

  .c-card {
    height: 100%;
    max-height: 100%;
  }

  .c-card__info {
    min-height: 100%;
    padding: 2rem;
    border-radius: 0;
  }

  .rotate {
    display: none;
  }

  .c-link {
    display: block;
  }
}




















.welcome-page .logo {
  width: 64px;
}

.icon-banner {
  width: 32px;
}

.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;
}