:root {
  color-scheme: light !important;
  
/*Otto Rot: #dc001d*/

  --color: black;
  --color-bg: white;
}

html {
}

* {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-feature-settings: "ss01" 1;
  color: var(--color);
}

i {
  font-size: inherit;
}

body {
  background: var(--color-bg);
  font-family: Verdana, Arial Rounded, sans-serif;
  max-width: 100vw;
  padding: 2px;
  word-spacing: -1px;
  overflow-x: hidden;
}

h1,
h2,
h1 > a,
h2 > a,
p {
  color: var(--color) !important;
  text-decoration: none;
}

h1 {
  font-weight: bolder;
}

h2 {
  font-weight: normal;
  text-align: center;
  letter-spacing: 2px;
  border-top: 1px solid var(--color);
  border-bottom: 1px solid var(--color);
  padding: 0 20px;
  max-width: 80%;
  margin-top: 1rem;
  text-transform: uppercase;
}

br {
  line-height: inherit;
}

hr{
  margin-top: 1rem;
  margin-bottom: 1rem;
}


ul,
ol {
  padding-left: 1.4em;  
}

li {
  display: list-item;
}

ul li {
  list-style-type: initial;
  padding-left: .2em;
}

ol li {
  list-style-type: decimal;
}


button {
  font-weight: bolder;
  border: 0;
  padding: 0.5px;
  border-radius: 0;
  background-color: var(--color);
  text-transform: uppercase;
  box-shadow: 1px 1px;
  color: var(--color);
}

button:hover {
  background-color: var(--color);
  color: var(--color-bg);
  cursor: pointer;
}

code{
  font-family: DN Manuscript;
  font-size: 170%;
}

a,
a div:hover,
a img:hover,
a > div > img:hover {
  pointer-events: pointer !important;
}

.subline {
  position: fixed;
  top: 3px;
  right: 13px;
  color: var(--color);
}

.imprint {
  position: absolute;
  bottom: 3px;
  right: 13px;
  color: var(--color);
}

.flex {
  display: flex;
  justify-content: space-between;
}

.content,
.description {
  width: 80%;
  white-space: pre-wrap;
  padding-bottom: 1rem;
}

.block-text--html,
.block-text{
  white-space: pre-wrap;
}

.description {
  column-width: 25rem;
  column-gap: 0.35rem;
  column-fill: balance;
}

.centered {
  text-align: center;
}

.colophon {
  break-before: right;
}

.colophon p {
  font-size: 10pt;
  line-height: 13pt;
  text-align: left;
  hyphens: none;
}

.header{
  border-bottom: 1px solid var(--color);
}
/* Grid */

.grid {
  column-width: 30rem;
  column-gap: 0.5vw;
  padding: 5px 0 0 0;
}

.grid > * {
  break-inside: avoid;
  margin-bottom: 0.5vw;
}

.item.item--from-content:not(:has(*)) {
  display: none;
}

.item {
  display: flex;
  position: relative;
  color: var(--color);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  /*padding-bottom: 15px;*/
  min-height: 15vh;
}

.item--board,
.item--link{
  min-height: 30vh;
}

.grid-image--text > .item--board{
min-height: ;
}

.item--board::before {
  content: "Arena-Channel:";
  display: inline;
  white-space: normal;
}

.item--pdf {
  display: flex;
  justify-content: start;
}

.item--pdf::before {
  content: "PDF-File:";
  text-align: left;
}

.item > p {
  display: block;
}

/* Text */

.block-text {
  border-left: 1px solid var(--color);
  border-right: 1px solid var(--color);
  padding: 0 7px;
  overflow-wrap: anywhere;
  max-width: 100%;
}



.block-link {
  white-space: pre-line;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.block-link::before {
  content: "Link:";
  display: none;
  white-space: normal;
}


.block-image {
  max-width: 70vw;
  max-height: 70vh;
}

.block-text--content > p > a {
  display: inline;
  justify-content: start;
}

.block-text--content > a,
.block-text--content > p,
.block-text--content > p > a,
.block-text--content > p > a > text {
  padding: 0;
  text-indent: 0;
  text-align: left;
  justify-content: start;
}

/* HTML/Markdown aus Are.na */

.block-text--html {
  white-space: normal;
  overflow-wrap: anywhere;
}

.block-text--html p,
.block-text--html ul,
.block-text--html ol,
.block-text--html li,
.block-text--html a,
.block-text--html em,
.block-text--html strong,
.block-text--html span,
.block-text--html h1,
.block-text--html h2,
.block-text--html h3,
.block-text--html h4 {
  font: inherit;
  color: inherit;
}

.block-text--html ul,
.block-text--html ol {
  display: block;
  text-decoration: none !important;
  padding-left: 1.2em;
}

/* Hover */

.title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 0;
  text-align: center;
  white-space: pre-wrap;
  pointer-events: none;
}

.title > .block-text {
  max-width: 80%;
  overflow-wrap: anywhere;
}

.title p {
  max-width: 150px;
  box-sizing: border-box;
  white-space: pre-line;
}

.item:not(.item--text-static):hover .grid-image {
  opacity: 1;
  z-index: -1 ;
}

.item:hover{
  outline: 1px inset black;
}

.item:not(.item--text-static):hover .title {
  display: flex;
  opacity: 1;
  color: var(--color);
  z-index: 1;
    /*box-shadow: 1px 1px 100px 1px red;*/

}
.item:not(.item--text-static):hover .title > .block-text, .title > p {
  background-color: white;
  border: 2px solid white;
  /*box-shadow: 1px 1px 5px 10px white;*/
}

.item--text-static .title {
  display: none;
}

.grid-image {
  background-color: var(--color-bg);
  /*display: flex;*/
  /*flex: 1 1 100%;*/
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  padding: 0;
}

.grid-image img {
  filter: grayscale(100%) contrast(1.1) brightness(1.1);
  /*flex: 1 0 100%;*/
  max-width: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 1;
  position: relative;
  mix-blend-mode: multiply;
}

.grid-image img:hover,.item{
  filter: grayscale(0%) contrast(1.1) brightness(1) !important;
}


.grid-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color);
  mix-blend-mode: screen;
  z-index: 1;
  pointer-events: none;
}

.grid-image--text {
  background: transparent;
  justify-content: center;
  align-items: center;
}

.grid-image--text::before {
  display: none;
}

.grid-image--text > .block-text,
.grid-image--text > p.block-text {
  align-self: center;
}

.grid-image--text p {
  white-space: pre-line;
  text-align: left;
  overflow-wrap: anywhere;
}


@media only screen and (max-width: 1440px) {
  .grid {
    column-width: 20rem;
    column-gap: 0.75vw;
  }

  .grid > * {
    margin-bottom: 0.75vw;
  }

  .grid-image img {
    width: 100%;
  }
}

@media only screen and (max-width: 540px) {
  .subline {
    position: inherit;
  }
.block-image{
  max-width: 100%;
}
  .grid {
    column-width: 14rem;
  }

  .grid-image img {
    width: 100%;
  }
}