* {
  margin: 0;
  padding: 0;
  --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

:root {
  --padding: 1.5rem;
  --color-background: #fcfaf0;
  --scale: 0;
}

html {
  background: var(--color-background);
}

img {
  width: 100%;
  height: auto;
}

picture {
  width: 100%;
  height: auto;
}

body {
  margin: 0 auto;
}

.normalsize {
  max-width: 75rem;
  margin: 0 auto;
}

header {
  text-align: center;
  color: #333;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

nav {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-top: 1rem;
  max-width: 48rem;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-top-style: solid;
  border-top-width: 1px;
}

a.logo {
//  font-size: 1rem;
  margin-bottom: 0;
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: inline-block;
  font-size: 1rem;
  color: rgba(0,0,0,.8);
  transition: background-color .15s ease-in-out;
  text-decoration: none;
  letter-spacing: .1em;
  font-weight: 700;
  font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;
}

a.logo:hover {
  background-color: #edd;
  cursor: pointer;
}

a.menu {
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: inline-block;
  color: rgba(0,0,0,.8);
  transition: background-color .15s ease-in-out;
  text-decoration: none;
  font-family: baskerville,serif;
}

a.menu:hover {
  background-color: #eee;
  cursor: pointer;
}

@media screen and (min-width: 60em) {
  a.logo {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  a.menu {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

article.bmargin {
  margin-bottom: 8rem;
}

.morespace {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.extraspace {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

blockquote.athelas {
  max-width: 30em;
  margin-top: 0;
  margin-left: 0;
  padding-left: 2rem;
  color: rgba(0,0,0,.9);
  line-height: 1.5;
  border-width: .25rem;
  font-family: athelas,georgia,serif;
  font-size: 1.5rem;
  border-left-style: solid;
}

article.gallery {
  padding-top: 4rem;
  padding-bottom: 4rem;
  font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;
}

@media screen and (min-width: 30em) {
  div.mobilefloat {
    float: left;
  }
}

div.gallerytext {
  padding-left: 2rem;
  float: none;
}

h1.gallerytext {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
  padding-top: 1rem;
  line-height: 1.25;
  font-weight: 900;
  border-width: .25rem;
  border-top-style: solid;
}

h2.gallerytext {
  font-size: 1.25rem;
  color: #555;
  line-height: 1.25;
  font-weight: 900;
}

article.ausstellung {
  max-width: 80rem;
  margin: 0 auto;
  margin-right: auto;
  margin-left: auto;
  font-family: Helvetica, Arial;
  line-height: 1.25;
}

article.ausstellung {
  transform-origin: center top;
  transform: scaleY(calc(1 - var(--scale)));
}

article.ausstellung > * {
  transform-origin: center top;
  transform: scaleY(calc(1 / (1 - var(--scale))));
}

.artcontent {
  position: relative;
//  margin: -50vh auto 0;
  padding: var(--space);
  padding-left: 1.5rem;
//  max-width: 55ch;
//  width: calc(100% - var(--space));
//  background: hsla(5, 15%, 5%, 0.9);
  border-width: .25rem;
  border-left-style: solid;
  box-sizing: border-box;
}

.artcontent > * + * {
  margin-top: 2rem;
}

.artdesc {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: -2;
}

.artdesc img {
  display: block;
  position: absolute;
//  top: 0;
//  left: 0;
//  width: 100%;
//  height: 100%;
  object-fit: cover;
}

.artdesc::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
}

.artcontent {
  font-family: avenir next,avenir,sans-serif;
}

//@keyframes fadein {
  //to {
    //opacity: 1;
    //transform: translateY(0);
  //}
//}

article.kontakt {
  margin-right: auto;
  margin-left: auto;
  max-width: 48rem;
  padding-right: 2rem;
  font-family: avenir next,avenir,sans-serif;
  border-width: .25rem;
  border-right-style: solid;
  box-sizing: border-box;
}

div.kontakttext {
  font-size: 1.5rem;
  font-family: athelas,georgia,serif;
}

div.kontaktphone {
  font-size: 1.25rem;
  letter-spacing: .1em;
  font-family: avenir next,avenir,sans-serif;
}

div.konfirst {
  margin-top: 1rem;
  padding-top: .25rem;
}

div.konnext {
  padding-top: 1rem;
}

label.konname {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
  display: block;
}

input.koninput {
  box-sizing: border-box;
  max-width: 30em;
  padding: .5rem;
  background-color: transparent;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-style: solid;
  border-width: 1px;
  overflow: visible;
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

textarea.kontakt {
  max-width: 34rem;
  width: 100%;
  padding: .5rem;
  background-color: transparent;
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-style: solid;
  border-width: 1px;
}

input.submit {
  -moz-osx-font-smoothing: grayscale;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: -webkit-transform .25s ease-out;
  transition: transform .25s ease-out;
  transition: transform .25s ease-out,-webkit-transform .25s ease-out;
  font-size: .875rem;
  margin-top: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: .5rem;
  padding-bottom: .5rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-weight: 700;
  border-color: #000;
  border-style: solid;
  border-width: 1px;
  overflow: visible;
}

.section {
  padding: 3rem 0;
}

.grid {
  --columns: 12;
  --gutter: 3rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}
.grid > .column {
  margin-bottom: var(--gutter);
}

.grid > .fadecolumn {
  margin-bottom: var(--gutter);
  animation: fadein 2s;
}

@keyframes fadein{
    0% { opacity:0; }
    100% { opacity:1; }
}

.autogrid {
  --gutter: 3rem;
  --min: 10rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.fadein {
  animation: fadein 3s;
}

@keyframes fadein {
    0% { opacity:0; }
    100% { opacity:1; }
}

.footer {
  padding: 9rem 0 6rem;
  line-height: 1.5em;
}
.footer:before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--color-black);
  margin-bottom: 1.5rem;
}

@media screen and (min-width: 60rem) {
  body {
    --padding: 3rem;
  }

  .grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid > .column {
    grid-column: span var(--columns);
  }
  .grid > .fadecolumn {
    grid-column: span var(--columns);
  }
}

.honeypot {
    position: absolute;
    left: -9999px;
}

