:root {
  --gap: 0.5em;
  --inner-margin: 1rem;
  --outer-margin: 1rem;
  --border: 2px solid;
  --text-block-width: clamp(10em, 50em, calc(100% - var(--text-block-marginL)));
  --text-block-marginL: 10rem;
  --links-underline: underline 1px dashed;
  --font-sizeL: 2em;
  --bgcolor: #f8ecdc;
}

@font-face {
  font-family: "FluxischElse";
  src: url("/assets/fonts/FluxischElse-Light.woff") format("woff");
  font-weight: normal;
}
@font-face {
  font-family: "FluxischElse";
  src: url("/assets/fonts/FluxischElse-Bold.woff") format("woff");
  font-weight: bold;
}
body {
  margin: 0;
}

h1,
h2,
h3,
ul {
  font-size: inherit;
  font-weight: normal;
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

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

input {
  background-color: transparent;
  border: 0;
  border-radius: 0;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  padding: 0;
}

/*
Source - https://stackoverflow.com/a/9287816
Posted by Purag, modified by community. See post 'Timeline' for change history
Retrieved 2026-11-18, License - CC BY-SA 3.0
*/
input:focus {
  outline: none;
}

body {
  font-family: "FluxischElse";
  background-color: var(--bgcolor);
  color: #000;
  padding: var(--outer-margin);
}

.main-menu {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-sizeL);
}
.main-menu nav {
  display: flex;
  gap: var(--inner-margin);
}

footer {
  margin-top: calc(2 * var(--inner-margin));
}

main a {
  -webkit-text-decoration: var(--links-underline);
          text-decoration: var(--links-underline);
}
main p {
  max-width: var(--text-block-width);
  margin-left: var(--text-block-marginL);
}

body[data-template=home] * {
  color: var(--bgcolor);
}
body[data-template=home] p {
  font-size: var(--font-sizeL);
}
body[data-template=home] video {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  height: 100%;
  width: 100%;
}

body[data-template=about] .contact p {
  margin-bottom: 0;
}
body[data-template=about] .contact a {
  margin-left: var(--text-block-marginL);
}

footer[data-template=about] img {
  max-width: 100%;
}

body[data-template=database] form {
  margin: var(--inner-margin) 0;
}
body[data-template=database] form .search {
  margin-bottom: var(--inner-margin);
}
body[data-template=database] form .search input[type=search] {
  border-bottom: var(--border);
}
body[data-template=database] form .tags {
  display: flex;
  align-items: baseline;
  gap: var(--gap);
}
body[data-template=database] form .tags ul.tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  max-width: 60em;
}
body[data-template=database] form .tags ul.tagcloud li.label {
  padding: 0.2em 0;
}
body[data-template=database] form .tags ul.tagcloud li.tags-items {
  border: var(--border);
  border-radius: 10em;
  padding: 0.2em 0.5em;
  white-space: nowrap;
}
body[data-template=database] form .tags ul.tagcloud li.tags-items a {
  text-decoration: none;
}
body[data-template=database] ul#collection {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: var(--inner-margin);
}
@media (max-width: 1200px) {
  body[data-template=database] ul#collection {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
body[data-template=database] ul#collection a {
  text-decoration: none;
}
body[data-template=database] ul#collection figure {
  background: azure;
  border: var(--border);
  padding: var(--inner-margin);
  margin: 0;
}
body[data-template=database] ul#collection figure img {
  filter: grayscale(100%);
  width: 100%;
  transition: 0.5s;
}
body[data-template=database] ul#collection figure:hover > img {
  filter: none;
  transition: 0.5s;
}

body[data-template=object] figure {
  background: azure;
  border: var(--border);
  padding: var(--inner-margin);
  margin: var(--inner-margin) auto;
  max-width: -moz-fit-content;
  max-width: fit-content;
  font-size: var(--font-sizeL);
}
body[data-template=object] figure img {
  max-width: 100%;
}
body[data-template=object] dl {
  display: grid;
  grid-template-columns: calc(var(--text-block-marginL) - var(--inner-margin)) var(--text-block-width);
  -moz-column-gap: var(--inner-margin);
       column-gap: var(--inner-margin);
  max-width: 100%;
}
body[data-template=object] dl dt.with-margin-top {
  margin-top: var(--inner-margin);
}
body[data-template=object] dl dd {
  margin: 0;
}
body[data-template=object] dl p {
  margin: 0;
}

@media (max-width: 900px) {
  body[data-template=database] ul#collection {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  body[data-template=database] ul#collection {
    grid-template-columns: 1fr;
  }
  .main-menu {
    font-size: 1em;
  }
}/*# sourceMappingURL=style.css.map */