@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  src: local(''), url('/resources/fonts/ubuntu.woff2') format('woff2');
}

body {
  font-family: Ubuntu, Cantarell, Arimo, sans-serif;
  font-weight: 400;
}

.container {
  padding-bottom: 10px;
}

.footer-text {
  font-size: 12px;
  margin-bottom: 10px;
  position: relative;
  text-align: center;
  bottom: auto;
  right: auto;
}

.worstenbrood-container {
  margin: 0 auto;
  max-width: 500px;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #343a40;
    color: #f1f1f1;
  }

  input.form-control, select.form-select {
    background-color: #1e1e1e;
    border: 1px solid #555;
    color: #f1f1f1;
  }

  input.form-control::placeholder, select.form-select option {
    color: #aaaaaa;
  }

  input.form-control:focus, select.form-select:focus {
    background-color: #1e1e1e;
    border-color: #80bdff;
    box-shadow: 0 0 0.2rem rgba(0, 123, 255, 0.25);
    color: #f1f1f1;
    outline: 0;
  }

  label {
    color: #f1f1f1;
  }

  .card {
    background-color: #495057;
  }

  .card-title, .card-text, h1, h2, h3, h4, h5, h6, p, pre, ol, li, a {
    color: #f1f1f1 !important;
  }

  table.table-bordered {
    background-color: #343a40;
    border-color: #495057;
    color: #f1f1f1;
  }

  table.table-bordered tbody tr:nth-child(even) {
    background-color: #3c444d;
    color: #f1f1f1;
  }

  table.table-bordered tbody tr:nth-child(odd) {
    background-color: #343a40;
    color: #f1f1f1;
  }

  table.table-bordered tbody tr:hover {
    background-color: #495057;
    color: #f1f1f1;
  }

  table.table-bordered th, table.table-bordered td {
    background-color: transparent;
    border: 1px solid #495057;
    color: #f1f1f1;
  }

  table.table-bordered thead th {
    background-color: #495057;
    color: #f1f1f1;
  }

  .worstenbrood-container {
    background-color: transparent;
    color: #f1f1f1;
  }

  html {
    color-scheme: dark;
  }
}

@media (prefers-color-scheme: light) {
  table.table-bordered {
    background-color: #f1f1f1;
    border-color: #dee2e6;
    color: #212529;
  }

  table.table-bordered tbody tr:nth-child(even) {
    background-color: #f8f9fa;
    color: #212529;
  }

  table.table-bordered tbody tr:nth-child(odd) {
    background-color: #f1f1f1;
    color: #212529;
  }

  table.table-bordered tbody tr:hover {
    background-color: #e2e6ea;
    color: #212529;
  }

  table.table-bordered th, table.table-bordered td {
    background-color: transparent;
    border: 1px solid #dee2e6;
    color: #212529;
  }

  table.table-bordered thead th {
    background-color: #e9ecef;
    color: #212529;
  }
}
