:root {
  --bg-color: #fff;
  --txt-color: #000;
}

.dark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #202124;
    --txt-color: #ebebeb;
  }

  .list {
    background-color: rgba(255, 255, 255, 0.05);
    border: none !important;
  }

  .dark {
    display: inherit;
  }

  .light {
    display: none;
  }
}

html, body {
  min-height: 100%;
  width: 100%;
  margin: 0;
  padding: 20px 0 20px 0;
  overflow-x: hidden;
  font-family: 'Google Sans', 'Arial', sans-serif;
  background-color: var(--bg-color);
  color: var(--txt-color);
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

body > * {
  margin: 20px 0 20px 0;
}

body > div {
  max-width: 100%;
  overflow-x: auto;
}

select {
  width: 280px;
  height: 50px;
  font-size: 1.2rem;
  border: 1px solid rgb(from var(--txt-color) r g b / 0.3);
  border-radius: 30px;
  background-color: var(--bg-color);
  color: var(--txt-color);
  appearance: none;
  cursor: pointer;
  text-align: center;
}

select:focus {
  outline: none;
}

table {
  padding: 0 20px 5px 20px;
  border-spacing: 0;
}

p, th, td {
  padding: 5px 15px;
  text-align: center;
  font-size: larger;
}

th {
  height: 35px;
}

h1, h2, h3 {
  width: 100%;
  text-align: center;
}

a {
  color: #267df5;
  text-decoration: none;
}

a.button {
  text-decoration: none;
  text-align: center;
}

a.button, button {
  font-family: 'Google Sans', 'Arial', sans-serif;
  text-decoration: none;
  background-color: transparent;
  color: #267df5;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 20px;
  margin: 5px;
  display: inline-block;
  border-radius: 20px;
  border: 2px solid #cccccc7d;
  opacity: 1;
  transition: opacity 0.3s, background-color 0.3s;
  cursor: pointer;
}

a.button:disabled, button:disabled {
  opacity: 50%;
  cursor: not-allowed;
}

a.button:hover, button:hover {
  background-color: #5e71d212;
}

a.button.tone2, button.tone2 {
  background-color: #1a73e8;
  color: white;
}

a.button.tone2:hover, button.tone2:hover {
  opacity: 0.9;
}

.list {
  border-radius: 30px;
  border: 1px solid rgb(from var(--txt-color) r g b / 0.3);
}

#banner-dark, #banner-light {
  height: 110px;
  object-fit: contain;
}

#channel-selector {
  margin-top: 0;
}
