html {
  font-size: 11px;
}

body {
  font-family: "JetBrains Mono", monospace;
  font-weight: normal;
  font-size: 1rem;
  overflow: auto;
}

a {
  cursor: pointer;
}

a.external-link {
  text-decoration: underline;
  text-decoration-style: dashed;
}

a.internal-link {
  text-decoration: underline;
  text-decoration-style: solid;
}

.btn-group .btn.btn-single:first-child {
  border-radius: 0.4rem;
}

.item-content {
  white-space: pre-wrap;
}

.item-content h1,
h2,
h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

h1 {
  margin: 1rem 2rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.item-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.item-content h5,
h6 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.item-content pre.code {
  margin: 0.5rem;
}

.item-content li {
  margin-bottom: 0;
}

.item-content pre code {
  white-space: pre-wrap;
  font-size: 1rem;
}

.trait {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.trait-text {
  margin-left: 2px;
}

.card-title,
.modal-title {
  font-size: 1.3rem;
}

.badge {
  font-size: 1rem;
}

.navbar {
  height: 4rem;
}

.page-wrapper.with-navbar>.content-wrapper {
  top: 4rem;
  height: calc(100% - 4rem);
}

.navbar-brand {
  font-size: 1.2rem;
  cursor: pointer;
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
}

.item {
  margin: 0;
  padding: 1rem;
  margin: 0 1rem;
}

.item:first-child {
  margin-top: 0rem;
}

.item h2 {
  margin-bottom: 0.5rem;
}

main {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.content {
  margin: 0.5rem 1rem;
}

.form-control,
.btn,
.btn .ent {
  margin: 0 0.25rem;
  height: 2.5rem;
  line-height: 2.5rem;
}

.btn-group .btn {
  margin: 0;
}

.label {
  margin-bottom: 0.2rem;
}

.dark-mode .alert-heading {
  font-size: 1.3rem;
}

.invalid-feedback {
  font-size: 1rem;
}

footer div {
  font-size: 0.9rem;
}

.min-height-0 {
  min-height: 0;
}

.list-container {
  white-space: pre-wrap;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.image-container img {
  max-width: 100%;
  height: auto;
}

.audio-container {
  display: flex;
  align-items: flex-start;
}

.audio-container audio {
  width: 100%;
}

.video-container {
  display: flex;
  align-items: flex-start;
}

.video-container video {
  max-width: 100%;
}

.search-info {
  padding: 0.5rem 0;
}

.selected-traits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
}

.selected-traits .font-weight-bold {
  display: inline-flex;
  align-items: center;
  margin-right: 0.25rem;
}

.selected-traits .trait.badge {
  display: inline-block;
  align-items: center;
  padding: 0.2rem 0.8rem;
  line-height: 1.2;
}

.items .card.item {
  width: 100%;
}

.overflow-y-auto {
  -webkit-overflow-scrolling: touch;
}
