﻿html,
body,
#app {
  height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  font-size: 2.5vmin;
}

input,
select,
textarea,
button {
  font-family: "Roboto", sans-serif;
  font-size: 2vmin;
}

@media (max-width: 1024px) and (min-width: 501px) {
  #app,
  input,
  select,
  textarea,
  button {
    font-size: 4vmin;
  }
}

@media (max-width: 500px) {
  #app,
  input,
  select,
  textarea,
  button {
    font-size: 6vmin;
  }
}

a {
  text-decoration: none;
  color: var(--accent);
}

:root {
  --accent: #444444;
  --background: #ffffff;
  --alert: #dc3545;
  --warning: #ffc107;
  --success: #28a745;
  --info: #17a2b8;
}

.poweredBy {
  position: fixed;
  bottom: 2vmin;
  right: 2vmin;
  display: block;
}

.poweredBy > a > img { 
  height: 64px;
}

#app {
  display: grid;
  align-items: center;
  justify-items: center;
}

.blankPage {
  text-align: center;
}

.landing {
  border: 1px solid #ccc;
  box-shadow: 0 0 5px #ccc;
  margin: 1em;
  /* max-width: 50vh; */
  overflow: hidden;
}

.landing > .logo {
  text-align: center;
  padding: 1em;
  background-color: #EEE;
}

.landing > .logo > h1 {
  margin: 0;
}

.landing h2 {
  font-weight: normal;
  font-size: 1em;
  margin: 0;
  text-align: center;
}

.landing > .fields {
  display: grid;
  margin: 1em;
  gap: 0.75em;
}

.landing > .fields > p {
  font-size: 0.6em;
  margin: 0;
  text-align: center;
}

.landing > .fields > a {
  border: 1px solid #CCC;
  padding: 0.25em;
  box-shadow: 0 0 5px #CCC;
  color: #444;
  display: flex;
  align-items: center;
}

.landing > .fields > a > img {
  height: 1.5em;
  width: 1.5em;
  vertical-align: middle;
}

.landing > .fields > a > span {
  flex-grow: 1;
  text-align: center;
  color: #999;
  text-transform: uppercase;
  font-size: 0.6em;
  margin: 0 1em;
}

.landing > hr {
  height: 0;
  background: none;
  border: none;
  border-bottom: 1px solid #ccc;
}

.landing > .collapse {
  width: 20px;
  height: 20px;
  margin: 0 auto;
}

.landing > .collapse > img {
  cursor: pointer;
}

.landing > .fields > input {
  border: 1px solid #ccc;
  padding: 0.5em;
  outline: none;
  box-shadow: inset 0 0 3px #ccc;
}

.landing > .fields > button {
  /* background-color: #eee; */
  background-color: var(--accent);
  border: none;
  padding: 0.5em;
  box-shadow: 0 0 5px #ccc;
  color: white;
  cursor: pointer;
  outline: none;
}

.landing > .fields > button:disabled {
  cursor: not-allowed;
  filter: opacity(0.5);
}

.landing > .fields > p.errorBox {
  color: var(--alert);
  font-size: 0.5em;
}

.loading, .loading *, .landing > .fields.loading > button {
  cursor: wait;
}

.landing .terms {
  max-height: 50vh;
  overflow: auto;
  font-size: 0.75em;
  text-align: left;
  padding: 0 2em;
  border-bottom: 1px solid #CCC;
}

.landing .terms > h1, .landing .terms > h2 {
  text-align: center;
}

.fade-enter-active, .fade-leave-active {
  transition: opacity .5s;
}
.fade-enter, .fade-leave-to {
  opacity: 0;
}