html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.form-check-collection {
    margin-top: .125rem;
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
    padding: var(--bs-border-radius);
}

.nav-pills {
  gap: .1rem;
}

.nav-pills .nav-link {
  outline: 1px solid var(--bs-nav-pills-link-active-bg);
  outline-offset: -1px;
}

/* These ensure user-submitted text like usernames don't overrun other elements */
.user-submitted {
  vertical-align: bottom;
  overflow: clip;
}

span.user-submitted {
  display: inline-block;
}

.group h1 {
  text-align: center;
}

.group h1 a {
  text-decoration: none;
  color: var(--bs-body-color);
}

.group h1 a:hover {
  color: var(--bs-link-color);
}

h6, h5, h4, h3, h2, h1 {
  line-height: 1.4;
}
