.titlebar,
.footer,
.commands-body,
.command-section,
.command-column {
  color: var(--text);
}

:root {
  --bg: #fff;
  --text: #000;
  --border: #000;
  --link: #000;
  --accent: rgb(35, 104, 79);
  --accent-border: rgb(49, 149, 112);
  --accent-border-complement: rgb(179, 107, 0);
}

html[data-theme='dark'] {
  --bg: #000;
  --text: #fff;
  --border: #fff;
  --link: #fff;
  --accent-border-complement: rgb(255, 179, 71);
}

body {
  background: var(--bg);
  color: var(--text);
}

.titlebar,
.footer {
  display: flex;
  justify-content: space-evenly;
  padding: 20px;
}

.titlebar {
  border-bottom: 1px solid var(--border);
}

.footer {
  border-top: 1px solid var(--border);
  font-family: 'Nunito', sans-serif;
  font-size: 0.8em;
  font-weight: 600;
  margin-top: 50px;
}

a,
a:link,
a:visited {
  color: var(--link);
  text-decoration: none;
}

.titlebar-item {
  display: flex;
  font-family: 'Nunito', sans-serif;
  font-size: 1.3em;
}

.titleblock-title {
  color: var(--accent);
  font-weight: 800;
}

img {
  border-radius: 10px;
  border: dotted 0.1rem var(--border);
  padding: 2px;
  height: 15vh;
}

.commands-body {
  display: flex;
  flex-direction: column;
  margin-left: 5vw;
  margin-right: 5vw;
  margin-top: 20px;
}

.command-section,
.command-column {
  font-family: 'Overpass', 'sans-serif';
  width: 50%;
  margin: 0 auto;
}

.command-section {
  margin-top: 22px;
  margin-bottom: 22px;
  font-size: 1.35em;
  font-weight: 600;
  color: var(--accent);
  border-bottom: .11em solid var(--accent-border);
  border-left: .11em solid var(--accent-border);
  padding-left: 15px;
}

.titlebar-item--right {
  align-items: center;
}

.theme-toggle {
  font-family: 'Nunito', sans-serif;
  font-size: 0.9em;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}

.theme-toggle:hover {
  text-decoration: underline;
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--accent-border);
  outline-offset: 2px;
}

.command-title {
  font-weight: 600;
  font-size: 1.1em;
  margin-bottom: 3px;   
  color: var(--accent-border-complement);
}

.command-description {
  margin-bottom: 15px;
}

i {
  font-weight: 400;
}

@media (max-width: 800px) {
  .command-section,
  .command-column {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .titlebar {
    flex-direction: column;
  }
  .titlebar-item:nth-of-type(2) {
    margin-top: 20px;
  }
}
