html {
  font-size: 11.5px;
}

body {
  font-family: "JetBrains Mono", monospace;
  font-weight: normal;
  font-size: 1rem;
  overflow: hidden;
}

code[class*="language-"],
pre[class*="language-"] {
  font-family: "JetBrains Mono", monospace;
  font-weight: normal;
  font-size: 1rem;
  word-break: break-all;
}


.dark-mode a.external-link {
  text-decoration-style: dashed;
}

.dark-mode a.copy-link {
  color: #ffd28d;
  text-decoration-style: dotted;
}

.dark-mode a.copy-link:hover {
  color: #ffbe5b; 
}

.dark.mode a.internal-link {
  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;
}

.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;
  font-weight: bold;
}

.item-content pre.code {
  margin: 0.5rem;
}

.dropdown-item {
  display: flex;
  align-items: center;
}

.dropdown-label {
  margin-left: 0.5rem;
}

.item-content li {
  margin-bottom: 0;
}

.item-content pre code {
  white-space: pre-wrap;
  font-size: 1rem;
}

.sessions time {
  font-weight: bold;
}

.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;
}

#powerbar {
  display: flex;
}

#powerbar .dropdown-menu {
  width: 204px;
}

#powerbar ul {
  padding: 0.3rem;
  margin: 0;
}

#powerbar li {
  list-style-type: none;
  cursor: pointer;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

.dark-mode a {
  cursor: pointer;
  color: #50abff;
  text-decoration: underline;
}

.dark-mode a:hover {
  text-decoration: underline double;
}

#powerbar li:hover, #powerbar li.selected {
  color: #50abff;
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
}

.card.item {
  margin: 0.5rem 0;
  padding: 1rem;
}

.card.item:first-child {
  margin-top: 0rem;
}

.card.item h2 {
  margin-bottom: 0.5rem;
}

.admin .card.item h2 {
  margin: 0;
  margin-bottom: 0.5rem;
}

main {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.content {
  margin: 0.5rem 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.input-group .form-control {
  margin: 0;
}

.dark-mode div.form-control,
.dark-mode div.form-control:hover {
  background: #111417;
}

.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;
}

.content p {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

footer div {
  font-size: 0.9rem;
}

.min-height-0 {
  min-height: 0;
}

.overflow-y-auto {
  -webkit-overflow-scrolling: touch;
}

img.html-icon {
  margin-top: -2px;
}

.applet-container {
  display: flex;
  flex: 1 1 auto;
}

.applet-container .fn {
  display: flex;
  flex: 1 1 auto;
}

.applet {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.applet .form-control {
  margin: 0;
}

.form-control.d-flex {
  height: auto;
}

summary {
  cursor: pointer;
}
details {
  border: 1px solid #25282c;
  border-radius: 4px;
  padding: 0 4px;
}
