html {
  --toggle-text-color: var(--brand-text-0, rgba(0,0,0,0.9));
  --tab-height: auto;
}

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-weight: normal;
  background-color: white;
  font-size: 14px;
  box-sizing: border-box;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  --prompt-question-max-width: auto;
  --prompt-header-pointer-events: auto;
  --prompt-header-user-select: auto;
}

body > main {
  flex:1;
  display: flex;
  flex-direction: column;
}

a {
  color: #00B7FF;
}

nav {
  display: flex;
  color: white;
  background-color: black;
  min-height: 75px;
}

nav a {
  color: inherit;
  text-decoration: inherit;
}

form input {
  padding: 0.5em;
  font-size: 1.2em;
}

.user-login {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  align-items: center;
  margin: 0 2em;
}

.logout {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin: 0 1em
}

.logout:hover {
  color: red;
}

.controls {
  align-items: center;
  display: flex;
  margin-right: 1em;
}

.menu {
  position: relative;
}

.sub-nav {
  position: absolute;
  z-index: 10;
  left: -35%;
  width: 150%;
  display: none;
  background: white;
  color: #344f73;
  bottom: 15px;
  transform: translateY(100%);
  box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.24);
}

nav ft-dropdown {
  display: flex;
  align-items: center;
}

.dropdown {
  padding: 6px 10px;
  border-radius: 3px;
  user-select: none;
  cursor: pointer;
}

.dropdown-check:checked+.dropdown {
  display: block;
}

.dropdown-check {
  display: none;
}

section.login-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  color: #525a64;
  height: 100vh;
  width: 100%;
}

.spacer {
  background: url('https://statcenter.scoutgg.net/s3/uploads/images/stadium.png');
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
}

.login {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.header {
  min-width: 25em;
}

.user {
  display: flex;
  flex-direction: column;
  margin-bottom: 10em;
}

.user input {
  min-width: 25em;
  font-size: .9em;
  font-weight: 600;
  padding: 1.4em;
  margin: 1em 0;
  border-radius: .25em;
  border: 1px solid rgba(139,142,151, .5);
}

.submit {
  margin-top: 1.5em;
  background-color: #3faaff;
  color: white;
  cursor: pointer;
}

.info {
  padding: 5em 0 1em 0;
}

.title {
  font-size: 1.8em
}

.sub-title {
  padding: .5em 0;
  font-weight: 200;
  color: #8b8e97;
}

.nav-title {
  display: flex;
  align-items: center;
  margin: 0 10em 0 5em;
}

@media only screen and (max-width: 1280px) {
  .nav-title {
    margin: 0;
  }
}

.nav-title > .scout-logo {
  font-size: .8em
}

.scout-logo {
  background: url('https://statcenter.scoutgg.net/s3/uploads/icons/sportyman.svg');
  background-repeat: round;
  width: 3.5em;
  height: 3.5em;
}

ft-tabs {
  flex: inherit;
  height: inherit;
}

ft-tab {
  padding: 0.5em 1.5em 0.5em;
}

ft-tab:hover {
  color: #377dff
}

ft-icon {
  margin: 0 1em;
}


h1,h2,h3,h4,h5 {
  margin: 0;
}

#theme {
  width: 2em;
  height: 1em;
  cursor: pointer;
  background-color: black;
  border: thin solid white;
}
.dark-mode body {
  background-color: var(--widget-bg);
}
.dark-mode #theme {
  background-color: white;
  border: thin solid black;
}

.dark-mode {
  color: #cacaca;
  --black: #cacaca;
  --faint: #ffffff7f;
  --gray: #aaa;
  --danger-bg: #fd777733;
  --light-gray: #111;
  --widget-bg: #222;
  --active-bg: #101010;
  --dormant: #888;
  --faded: #888;
  --clipboard-color: #cacaca;
  --clipboard-bg: var(--light-gray);
  --secondary-text-hue: var(--gray);
  --toggle-text-color: var(--base-color-a);
}

@media screen and (max-width: 600px) {
  section.login-section {
    display: block;
  }

  .login {
    z-index: 9;
  }

  .header {
    min-width: auto;
    width: 75%;
  }

  .scout-logo {
    background-repeat: no-repeat;
    margin: 4.5em auto auto;
    width: 4em;
    height: 4em;
  }

  .title {
    font-size: 2.5em;
  }

  .sub-title {
    font-size: 1.5em;
  }

  form.user {
    margin-bottom: auto;
    width: 75%;
  }

  form.user > input {
    min-width: auto;
    font-size: 1.4em;
    padding: 0.8em;
    margin: 0.7em 0;
    width: auto;
  }

  .spacer {
    position: fixed;
    width: 100vw;
    top: 0;
    z-index: -1;
    filter: opacity(0.2);
  }
}

@media screen and (max-height: 600px) {
  .info {
    padding: 2em 0 1em 0;
  }
}
