body {
  font-family: Arial, sans-serif;
  padding: 0;
  margin: 0;
}

h1 {
  margin-top: 0;
}

nav {
  display: flex;
  align-items: center;
  height: 4rem;
  margin: 0;
}

.navButtonsWrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.3rem;
}

.navButton {
  position: relative;
  height: 100%;
  padding: 0.53rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transform: skew(-10.5deg);
  background-color: black;
  color: white;
}

.navButton--active::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  left: 0;
  bottom: -0.5rem;
  background-color: black;
}

.navLogo {
  background-image: url(svg/electron-logo.svg);
  display: block;
  width: 3rem;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
  margin-left: 1rem;
}

main {
  padding: 1rem;
}

details {
  position: relative;
  max-width: 46rem;
}

ul {
  list-style-type: none;
  padding: 0;
}

.listSubHeader {
  margin-bottom: 0.5rem;
  font-weight: bold;
}

ul li details summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  border: 1px solid black;
  padding: 0.5rem;
  padding-left: 1.75em;
  border-radius: 0.1rem;
}

ul li details summary::before {
  content: "►";
  margin-right: 0.5rem;
  position: absolute;
  left: 0.5rem;
}

ul li details[open] summary::before {
  content: "▼";
}

ul li details[open] {
  padding-bottom: 2rem;
}

ul li details summary span {
  justify-content: center;
  align-items: center;
  background-color: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
  width: 3rem;
  display: flex;
  border-radius: 0.1rem;
  padding: 0.2rem;
}

ul li details summary span.post {
  background-color: white;
  color: black;
  border: 1px solid black;
}

.statusCard {
  display: flex;
  flex-direction: column;
  max-width: 20rem;
  border: 1px solid black;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 0.1rem;
}

.statusCard h4 {
  margin: 0;
}

button {
  background-color: black;
  color: white;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 0.1rem;
}

button:hover {
  background-color: #555;
}

.fetch-message {
  font-family: monospace;
  font-size: 0.75rem;
}

.monoHeader {
  font-family: monospace;
  font-size: 0.75rem;
}

/* Pre tags style */

pre {
  background-color: #1f1f1f;
  padding-top: 1rem;
  padding-left: 1rem;
  color: white;
  border-radius: 0.1rem;
}

.key {
  color: #50c1ff;
}

.string,
.number,
.boolean {
  color: #cf9179;
}

.comment {
  color: #6a9956;
}

/* Form */

input {
  height: 1.7rem;
}
