@import url(../fonts/font.css);

.dark {
  background-color: black;
  color: white;
}

.dark .solo, .dark .highlight {
  color: #ffff33;
}

.solo, .highlight {
  color: #0000cc;
}

.dark #gradient {
  background: #000;
}

.dark #gradient::after {
  background: -moz-linear-gradient(top, #000 38.2%, rgba(0, 0, 0, 0) 100%);
  background: -webkit-linear-gradient(top, #000 38.2% rgba(0, 0, 0, 0) 100%);
  background: -o-linear-gradient(top, #000 38.2%, rgba(0, 0, 0, 0) 100%);
  background: -ms-linear-gradient(top, #000 38.2%, rgba(0, 0, 0, 0) 100%);
  background: linear-gradient(to bottom, #000 38.2%, rgba(0, 0, 0, 0) 100%);
}

body {
  font-family: "Estimated_Regular", sans-serif;
  margin: 0;
}

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

#exhibitions a, #publications a, #works a {
  text-decoration: underline;
}

li {
  float: left;
  clear: left;
}

#publications p {
  margin: 0;
}

.publication {
  max-width: 500px;
}

.title {
  display: inline-block;
  padding-left: 0px;
  text-decoration: underline;
}

.description {
  display: inline-block;
  /* padding-left: 1rem ; */
}

.description span {
  display: inline-block;
  padding-left: 1rem;
  text-indent: -1rem;
}

span.no-indent {
  padding-left: 0;
  text-indent: 0;
}

#gradient {
  pointer-events: none !important;
  display: block;
  position: fixed;
  top: 0px;
  width: 100%;
  padding: 0;
  transition: padding 2000ms;
  background: #fff;
  z-index: 100;
}

#gradient::after {
  content: "";
  position: absolute;
  display: block;
  height: 50vh;
  width: 100%;
  background: -moz-linear-gradient(top, #fff 38.2%, rgba(255, 255, 255, 0) 100%);
  background: -webkit-linear-gradient(top, #fff 38.2% rgba(255, 255, 255, 0) 100%);
  background: -o-linear-gradient(top, #fff 38.2%, rgba(255, 255, 255, 0) 100%);
  background: -ms-linear-gradient(top, #fff 38.2%, rgba(255, 255, 255, 0) 100%);
  background: linear-gradient(to bottom, #fff 38.2%, rgba(255, 255, 255, 0) 100%);
}

/* NAVIGATION */



#navigation {
  width: calc(100vw - 2rem);
  z-index: 1000;
  font-size: 1.5rem;
  line-height: 1.75rem;
  padding: 1rem 1rem 1rem 1rem;
}

#name {
  z-index: 1001;
  position: fixed;
  top: 1rem;
  display: block;
  list-style-type: none;
}


/* FIXED main menu
  #navigation {
  position: fixed;
  width: calc(100vw - 2rem);

  z-index: 1000;
  font-size: 1.5rem;
  line-height: 1.75rem;
  padding: 1rem 1rem 1rem 1rem;
}

#name {
  z-index: 1001;
  position: fixed;
  top: 1rem;
  display: block;
  list-style-type: none;
} */

@media (min-width: 800px) {
  #navigation {
    width: 38.2%;
    background: none;
    line-height: normal;
  }
}

#navigation .section {
  cursor: pointer;
}

#logo {
  display: block;
}

.main-menu {
  z-index: 1003;
  position: absolute;
  top: 2.75rem;



  padding: 0;
  margin: 0;
  display: block; }
  @media (min-width: 800px) {
    .main-menu {
    position: fixed;
    display: block; }
  }
.main-menu-items {

}

.main-menu, .sub-menu {
  list-style-type: none;
  padding: 0;
}

.sub-menu, .publications-sub-menu, .exhibitions-sub-menu {
  display: none;
  padding: 0 0 0 1rem;
}

.visible {
  display: block;
}

.hidden {
  display: none;
}

/* CONTENT */
#exhibitions, #imprint, #works, #publications {
  position: absolute;
  top: 25%;
  padding: 0 1rem 0 2rem;
}


@media (min-width: 800px) {
  #exhibitions, #imprint, #works, #publications {
    position: absolute;
    top: 38.2%;
    left: 38.2%;
    max-width: 38.2%
  }
  #works {
    top: 15%;
  }
}

#exhibitions #data {
  padding-top: 50%;
}

@media (min-width: 800px) {
  #exhibitions #data {
    padding-top: 0;
  }
}

.institution, .filmwork-title {
  text-decoration: underline;
}

#works img {
  width: calc(100vw - 4rem);
  cursor: pointer;
}

@media (min-width: 800px) {
  #works img {
    height: 45vh;
    width: auto;
  }
}

.work {
  margin: 10em 0 10em 0;
}



#works .donotdisplay {
  display: none;
}

#works .werkgruppe {
  margin: 0em 0 0em 0;
}

#works .werkgruppe-first {
  margin: 0em 0 0em 0;
}

#works .werkgruppe-start {
  margin: 10em 0 0 0;
}

#works .werkgruppe-end {
  margin: 0 0 10em 0;
}

.work {
  display: table;
}

.work-info {
  display: none;
  display: table-caption;
  caption-side: bottom;
  margin: 0 0rem 2rem 0;
}

.work-info p:first-of-type {
  margin-block-start: 0.25em;
}

.work-info.table-hidden {
  display: none;
}

.onshowexhibitionentry {
  text-indent: -2rem; /* Negative indent for the first line */
  margin: 0rem; /* Add padding to align the rest of the lines */
  padding-left: 2rem; /* Add padding to align the rest of the lines */
}

#highlight {
  display: none;
}

@media (min-width: 800px) {
  #highlight {
    display: block;
    position: fixed;
    top: 10vh;
    right: 5vw;
    z-index: 1000;
  }
}

footer {
  display: block;
  position: fixed;
  right: -3rem;
  bottom: 5rem;
  transform: rotate(270deg);
}

@media (min-width: 800px) {
  footer {
    right: -3rem;
    bottom: 5rem;
  }
}

#cinemamode {
  display: inline-block;
  cursor: pointer
}

.row {
  margin-bottom: 1rem;
}

#data {
  opacity: 0;
  transition: opacity 200ms;
}

#data.loaded {
  opacity: 1;
}

@keyframes pulse {
  0% {
    opacity: 0.1;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.1;
  }
}

.ongoing .date {
  animation: pulse 1500ms infinite ease;
}
