:root {
  color-scheme: light dark;
  --background: light-dark(#f8f8fa, rgb(35, 34, 43));
  --background-containers: rgba(200, 100, 200, 0.05);
  --background-containers-hover: rgba(199, 138, 199, 0.1);
  --image-size: 50px;
  --title-color: #11171d;
}

body {
  background-color: var(--background);
  text-align: center;
  font-family: sans-serif;
  margin: 2vw;
  margin-top: 0;
}

h1,
h3 {
  color: var(--title-color);
  border-radius: 0.5em;
  background-color: #d7c1ed;
  background: linear-gradient(90deg, #d7c1ed, #96cdfb, #b5e8e0, #f28fad);
  padding: 0.5em;
}

h3 {
  background: #96cdfb;
  margin: 0;
  margin-bottom: 15px;
}

p {
  text-align: center;
}

.search {
  margin: 1em;
}

.search > .label {
  margin-right: 1em;
}

.search > button {
  visibility: hidden;
}

.sections,
.content {
  display: flex;
  align-items: baseline;
  align-content: stretch;
  flex-wrap: wrap;
}

.sections {
  justify-content: center;
  gap: 1em;
}

.content {
  justify-content: space-evenly;
  gap: 5px;
}

.sections > div {
  display: inline-block;
  border-radius: 1em;
  background-color: var(--background-containers);
  padding: 1em;
}

.link {
  padding: 10px 10px 3px 10px;
  border-radius: 1em;
  min-width: calc(var(--image-size) + 2em);
}

.link:hover {
  border: solid #fff6 3px;
  padding: 7px 7px 0px 7px;
  background-color: var(--background-containers-hover);
}

.link img {
  max-width: var(--image-size);
  max-height: var(--image-size);
  height: var(--image-size);
  object-fit: contain;
}

@media (prefers-color-scheme: dark) {
  .hide-light {
    display: none;
  }
}

@media (prefers-color-scheme: light) {
  .hide-dark {
    display: none;
  }
}

.round-corners {
  border-radius: 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

.footer {
  margin-top: 5em;
  font-size: small;
  color: gray;
}
