:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

body {
  max-width: 100vw;
  margin: 0;
}

#app {
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  min-height: 100vh;
}

.align-main {
  display: flex;
  flex-direction: column;
  align-self: center;
  text-align: center;
}

.sponsor {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  margin: 2rem 0;
}

.sponsor-label {
  font-size: 1rem;
  display: flex;
  text-align: left;
  margin: 0.25rem 0;
}

.sponsor div {
  display: block;
}

.sponsor div a, .sponsor div a img {
  display: block;
}

input[type=file] {
  border-radius: 8px;
  border: 1.5px solid #242424;
  padding: 1.2em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  transition: border-color 0.25s;
}
input[type=file]:hover {
  border-color: #646cff;
}
input[type=file]:focus,
input[type=file]:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

button {
  border-radius: 8px;
  border: 1.5px solid #f9f9f9;
  padding: 0.6em 1.2em;
  font-size: 1.5rem;
  font-weight: 500;
  font-family: inherit;
  background-color: #242424;
  transition: border-color 0.25s;
  margin-top: 0;
  margin-bottom: 0;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

.footer {
  display: block;
  border-top: 2px solid #f9f9f9;
  bottom: 0;
  margin: 0 5vw;
  text-align: center;
}

.footer p {
  padding: 1vw 5vw;
  line-height: 2.5rem;
}

.footer a {
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1.5px solid #f9f9f9;
  border-radius: 0.5rem;
  color: #f9f9f9;
  transition-duration: 0.3s;
  white-space: nowrap;
}

.footer a:hover {
  background-color: #f9f9f9;
  color: #242424;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }

  button {
    background-color: #f9f9f9;
    border-color: #242424;
  }

  .footer {
    border-top: 2px solid #242424;
  }

  .footer a {
    border-color:  #242424;
    color: #242424;
  }
  
  .footer a:hover {
    background-color: #242424;
    color: #f9f9f9;
  }
}
