body {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-size: 3vmin;
}

@media only screen and (min-width: 1024px) {
  body {
    font-size: 22px;
  }
}

div, p, span, input, label, form, button {
  box-sizing: border-box;
  white-space: normal;
}

/* APP */

.app {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.app__main {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.app__errors {
  position: fixed;
  top: -5em;
  height: 5em;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 148, 148, 1);
}

.app__errors--active {
  transform: translateY(100%);
  transition: transform 250ms ease-in-out;
}

.app__errors--inactive {
  transform: translateY(0%);
  transition: transform 500ms ease-in-out;
}

/* COMPONENTS */

.button {
  background-color: rgba(0, 169, 255, 1);
  color: white;
  padding: 1em;
  padding-top: 0.8em;
  font-weight: bold;
  line-height: 1.2em;
  border-radius: .5em;
  border-color: rgba(0, 0, 0, 0);
  font-size: 1.2em;
}

.button:disabled {
  background-color: rgba(0, 169, 255, 0.6);
}

.button--blend {
  color: rgba(0, 169, 255, 1);
  font-size: inherit;
  font-weight: bold;
  border: none;
  background-color: white;
}

.loading-spinner {
  align-self: center;
  display: inline-block;
  margin-top: auto;
  margin-bottom: auto;
  height: 100px;
  width: 100px;
  border: 3px solid;
  border-top-color: rgba(0, 169, 255, 1.0);
  border-radius: 50%;
  animation: spinner-animation 0.6s infinite linear;
  color: rgba(0, 0, 0, 0)
}

@keyframes spinner-animation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.gap-1 {
  height: 1em;
}

/* PAGES */

.content, .unauthenticated, .auth {
  white-space: pre;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2em;
}

.auth {
  position: relative;
}

.unauthenticated {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background-color: white;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.unauthenticated__header {
  flex: 0 0 auto;
  font-weight: bold;
  font-size: 3em;
  line-height: 100px;
  text-align: center;
  margin-bottom: 2em;
}

.unauthenticated__button {
  font-size: 1.6em;
  align-self: center;
}

.auth {
  width: 800px;
}

.auth__header {
  align-self: stretch;
  font-weight: bold;
  font-size: 2em;
  line-height: 150%;
  text-align: center;
  margin-bottom: 2em;
}

.auth__form {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auth__label {
  margin-bottom: 1.5em;
}

.auth__input {
  height: 3em;
  align-self: stretch;
  font-size: 3em;
  letter-spacing: 1em;
  padding: 0.1em;
  font-weight: bold;
  text-align: center;
  border: none;
  border-radius: 10px;
  background-color: rgb(240, 240, 240);
  margin-right: 30px;
  box-shadow: none;
}

.legal {
  font-size: 0.8em;
}

.auth__form .button {
  margin-top: 3em;
  margin-bottom: 1em;
  align-self: stretch;
}

.content {
  flex: 1 1 auto;
  width: 100vw;
  overflow-y: auto;
  padding: 2em 3em;
}

.content__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

@media only screen and (min-width: 1024px) {
  .content__header,
  .content__main {
    max-width: 500px;
  }
}

@media only screen and (min-width: 1024px) {
  .content__main-v2 {
    max-width: initial;
  }
}

.content__organization {
  border-radius: 50%;
  background-color: black;
  color: white;
  font-weight: bold;
  /***
  /* In order to make the text responsive,
  /* we use the vh/vw for the font (set in JS.)
  /* This means we need to use vh for other css props here.
   **/
  height: 20vh;
  width: 20vh;
  max-width: 20vh;
  padding: 3vh;
  line-height: 150%;
  word-break: break-word;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.content__header {
  flex: 0 0 auto;
  margin-top: 1em;
  font-weight: bold;
  font-size: 2em;
  text-align: center;
}

.content__header-v2 {
  margin-bottom: 1em;
}

.logo__bubble {
  height: 20vh;
  width: 20vh;
  border-radius: 50%;
  object-fit: cover;
}

.logo__banner {
  height: 20vh;
  width: 100vw;
  object-fit: contain;
  margin-top: -2em;
}

.content__main {
  font-size: 1.2em;
  align-self: flex-start;
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.content__main p {
  margin-top: .5em;
  margin-bottom: .5em;
}

.content__main-v2 h1 {
  font-size: 1.5em;
  font-weight: 700;
}

.content__main-v2 h2 {
  font-size: 1.3em;
  font-weight: 700;
}

.content__main-v2 h3 {
  font-size: 1.1em;
  font-weight: 700;
}

.content__main-v2 h4 {
  font-size: 1em;
  font-weight: 700;
}

.content__main-v2 img {
  max-width: 100%;
}

.content__loading {
  visibility: hidden;
  height: 0;
  width: 0;
  overflow: hidden;
}
