@font-face {
    font-family: 'dotMatrix';
    src: url('../fonts/dotmatrix-tworegular.ttf');
    font-weight: 400;
}

@font-face {
    font-family: 'sMono';
    src: url('../fonts/SpaceMono-Regular.ttf');
}

@font-face {
  font-family: 'SGrotesk';
  src: url('../fonts/otf/SpaceGrotesk-Regular.otf');
  font-weight: 400;
}

@font-face {
  font-family: 'SGrotesk Med';
  src: url('../fonts/otf/SpaceGrotesk-Medium.otf');
  font-weight: 500;
}

body {
  font-family: "SGrotesk";
  border-top: 0;
  background-image:#d8eef6;background-image:  
  radial-gradient(at 52% 53%, hsla(196,63%,91%,1) 0, transparent 36%),  
  radial-gradient(at 6% 19%, hsla(29,87%,80%,1) 0, transparent 48%),  
  radial-gradient(at 41% 1%, hsla(29,87%,80%,1) 0, transparent 35%),  
  radial-gradient(at 92% 92%, hsla(29,87%,80%,1) 0, transparent 41%),  
  radial-gradient(at 65% 96%, hsla(29,87%,80%,1) 0, transparent 31%);
  overflow-x: hidden;
  }

body.page-template-home-page #content {
  height: calc(400vh - 294px);
}

#content {
  padding: 0;
}

header#masthead, main,
p.artists_wall, .footy_menu, .copyleft  {
  padding-right: calc(3.36538vw + 19.23077px);
  padding-left: calc(3.36538vw + 19.23077px);
}

ul#the_menu {
  list-style: none; 
  margin-right: 10px;
}

ul#the_menu li {
  display: inline-block;
  float: none;
}

header#masthead > a {
  font-weight: normal;
}

@media screen and (min-width:769px) {
  #masthead #the_menu {display: none;}
  header#masthead {
    padding-top:calc(2.45098vw + 1.17647px);
    padding-bottom:calc(2.45098vw + 1.17647px);
  }
}

@media screen and (min-width:769px) and (max-width:1024px) {
  .statement.panel h3 {
      font-size: calc(0.33vh + 15px);
  }
}

.stage {
  animation: animateBg 10s linear infinite;
  background-image: linear-gradient(33deg,#f8c89c,#d8eef6,#f8c89c,#d8eef6,#f8c89c,#d8eef6);
  background-size: 100% 1100%;
  height: 100vh;
  width: 100vw;
  /*position: fixed;*/
  top: 0;
  left: 0;
  z-index: -100;
  }
@keyframes animateBg {
  0% { background-position: 0% 0%; }
  100% { background-position: 0% 100%; }
}



.skills, .langs {
  text-transform:uppercase;
  font-family:'dotMatrix', mono;
  font-size:4vw;
  display: inline-block;
  white-space: nowrap;
  animation: floatText 20s infinite linear;
  padding-left: 100%; /*Initial offset*/
  color:#000;
  width:auto;
  height:auto;
  position: absolute;
  z-index: 500;
  
}

.animate {
  animation-play-state: running;
}

.langs {
 animation-delay:5s;
}

.skills:hover, .langs:hover  {
  animation-play-state: paused;
}


@keyframes floatText {
  to {
    transform: translateX(-100%);
  }
}

.the_article footer, .page-template-home-page article header, article .wp-block-timetable, .wp-block-image.size-full.panel, #masthead nav ul ul {
  display: none;
}

.artists_wall span:not(:last-child)::after {
  content: '× ';
  white-space: pre;
}

p.artists_wall {
  font-size: calc(.28846vw + 21.07692px);
}

#main {
    width: 100%;
    height: 100%;
}

body.page-template-home-page #main {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

.scrolll{
  position: absolute;
  will-change: transform;
  display: flex;
  align-items: center;
  height: 100vh;
}

p.artists_wall {
  padding: 0 17vw;
  text-align: center;
}

.lan_pic {
  width: 30vw;
  }

.lan_pic img {
  width: 100%;
  }

.statement.panel {
    padding-left: 28vw;
    padding-right: 10vw;
} 

 /*MENU*/

header#masthead {
  max-width:100%;

}
/* body.page-template-home-page  */
header#masthead{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 600;
}


 header#masthead, footer#colophon, .coordinates, p.tags, .offscreen-connect {
  font-family: 'sMono', mono;
  font-size: 15px;
  text-transform: uppercase;
}

#masthead nav {
  min-width: 100%;
  display: contents;
}

#masthead nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
}
#masthead nav ul li {
  display: inline-block;
  float: none;
  position: relative;
}
#masthead nav a {
  display: block;
  padding: 0 10px;
  text-decoration: none;
  background: transparent;
}

#masthead nav a:hover, p.tags a {
  color: #000;
}

#masthead nav a:hover {
  background: linear-gradient(left, #ffbc3f, #ffbc3f) no-repeat 10px -8px;
  background: -moz-linear-gradient(left, #ffbc3f, #ffbc3f) no-repeat 10px -8px;
  background: -webkit-linear-gradient(left, #ffbc3f, #ffbc3f) no-repeat 10px -8px;
  border-bottom: 0;
}
/* 
#masthead nav a:hover {
  transition: all .3s ease;
} */

#masthead nav ul ul {
  position: absolute;
  top: 100%;
}

#masthead nav ul li:hover>ul {
  display: inherit;
  transition: all .3s ease;
}

#masthead nav ul ul li {
  min-width: 131px;
  display: list-item;
  position: relative;
}

#masthead nav ul li:nth-child(3) ul li {
  min-width: 80px !important;
}

#masthead nav ul ul ul {
  position: absolute;
  top: 0;
  left: 100%;
}

#masthead p a::after {
  content: "\A 1-6 June";
  white-space: pre-wrap;
}
    
#masthead p a {
  line-height: 24px;
  font-weight: 400;
}
#masthead p{
  transform: translateX(-12.5vw);
  animation: goLeft .2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-delay: .125s;
  animation-delay: .125s;
  transition: all .2s cubic-bezier(.86,0,.07,1);
}

body:not(.page-template-home-page):not(.single-post) main {
  padding-top: calc((2.45098vw + 1.17647px)*2 + 4em);
}

@-webkit-keyframes goLeft {
  0% {
   opacity:0;
   transform:translateX(-12.5vw) skew(18deg)
  }
  50% {
   opacity:.2
  }
  95% {
   transform:translateX(5px) skew(0);
   opacity:1
  }
  to {
   transform:translateX(0) skew(0);
   opacity:1
  }
 }
 @keyframes goLeft {
  0% {
   opacity:0;
   transform:translateX(-12.5vw) skew(18deg)
  }
  50% {
   opacity:.2
  }
  95% {
   transform:translateX(5px) skew(0);
   opacity:1
  }
  to {
   transform:translateX(0) skew(0);
   opacity:1
  }
 }

 .offscreen-connect{
  width: 50vw;
  padding-right: calc(3.36538vw + 19.23077px);
  padding-left: calc(3.36538vw + 19.23077px);
  position: fixed;
  height: 100vh;
  background-color: #f8c89c;
  top: 0;
  right: -50vw;
  z-index: 620;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: 300ms right cubic-bezier(0.77, 0, 0.175, 1);

}

.offscreen-connect.active{
  right: 0;
}


.close-link {
  top: calc(2.45098vw + 1.17647px + 2em);
  position: absolute;
}

.social-link span + span {
  margin-left: 40px;
}

/*50-50*/

body.single-post #main {
  padding-left: 0;
}

body.single-post #main article {
  margin-bottom: 0;
}

body.single-post footer#colophon {
  margin-top:0;
}

body.single-post .the_article {
  padding-top: calc((2.45098vw + 1.17647px)*2 + 4em)
}

article.category-exhibition_de, 
article.category-exhibition {
  display: flex;
}

#content {
  max-width: 100vw;
}
.the_thumb, .the_article {
  width: 50vw;
}

.the_thumb {
  background-size: cover !important;
  height: 100vh;
}

.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
  max-width: none;
  width: 50vw;
}
.post-thumbnail {
  max-width: none;
}

.the_article {
    padding-left: 1em;
}

.blur_this {
  filter: blur(15px);
}

p.tags {
  margin: 0;
}

p.tags a {
  background: linear-gradient(left, #ffbc3f, #ffbc3f) no-repeat 6px -8px;
  background: -moz-linear-gradient(left, #ffbc3f, #ffbc3f) no-repeat 6px -8px;
  background: -webkit-linear-gradient(left, #ffbc3f, #ffbc3f) no-repeat 6px -8px;
  border-bottom: 0;
  padding: 0 5px
}

body.single-post .the_article h3 {
  font-family:'dotMatrix', mono;
  font-size: calc(.33654vw + 24px);
  line-height: 1em;
}

body:not(.home) article h1,
body.single-post .the_article h1 {
  font-size: calc(2.6vw + 24px);
  line-height: 1em;
  text-transform: uppercase;
}

p.tags {
  margin: 0;
}

p.tags a {
  border-bottom: 0;
  padding: 0 5px
}

.countdown.blur_this p,
.bio_text p {
  font-size: 16px;
  line-height: 1em;
}

.artist_bio {
  display: flex;
}
.bio_pic{
  background-size: cover;
  background-position: center;
  flex: 1;
  margin: 1.1em;
}

.bio_text {
  /* flex: 2; */
  width:50%;
}

.bio_text h4 {
  font-size: 17px;
}

.coordinates::before {
  content: '＋ ';
}


/*OTHER PAGE*/

body:not(.home) #page {
  display: flex;
  flex-flow: column;
  height: 100%;
  min-height: 100vh;
}

body:not(.home) #page > #content {
    flex: 1 1 auto;
}

body:not(.home) #page > footer {
    flex: 0 1 102px;
    width: 100%;
}


/*CATEGORY PAGE*/

.card-loop {
  display:grid;
  grid-column-gap:calc(1rem + 2vw);
  -moz-column-gap:calc(1rem + 2vw);
  column-gap:calc(1rem + 2vw);
  grid-row-gap:calc(1rem + 1.5vw);
  row-gap:calc(1rem + 1.5vw);
  grid-template-columns:1fr;
  grid-template-rows:auto
 }

.sing-card, .card-thumb {
  height: calc(79vw/2);
}

 @media screen and (min-width:768px) {
  .card-loop, .footy_menu {
   grid-template-columns:repeat(2,1fr)
  }
  .sing-card, .card-thumb { height: calc(79vw/4);  }
 }
 @media screen and (min-width:1280px) {
  .card-loop, .footy_menu {
   grid-template-columns:repeat(3,1fr)
  }
  .sing-card, .card-thumb { height: calc(79vw/6); }
 }

 .sing-card {
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
 }

.card-thumb, .card-text {
  width:47%;
}



.card-text h3 {
  font-size: calc(.19231vw + 15.38462px);
  text-transform: uppercase;
  margin-top: 0;
}

.card-text p {
  font-size: 15px;
}
body.page-template-category-page article div p {
  font-size: calc(.28846vw + 14.07692px);
}

/*FOOTER*/


#colophon .separator {
    height: 1px;
    width: 100%;
    margin: 62px 0 42px;
    background: #f4eadf;
}
footer#colophon {
    max-width: 100vw !important;
    background-color: #221e1f;
    color: #f4eadf;
    margin-bottom: 0;
    position: sticky;
  }
  
.footy_menu {
    display: grid;
}

.copyleft {
    display: flex;
    justify-content: space-between;
    padding-bottom: 42px;
}
.cl_right span {
  margin-left: 10px;
}
.footy_menu {
  text-align: left;
}

.footy_menu ul {
  list-style: none;
  padding-left: 0;
}

#colophon a,
#colophon a:visited {
  color: white;
}


/*SIGN UP*/


.footer_mod {
  max-width: 380px;
}

.header_mod {
margin-top: 6rem;
max-width: 40rem;
}

.signup_form {
  position: relative;
}
input[type="email"].signup_input {
  font-size: calc(14.76471px + .07353vw);
  box-sizing: border-box;
  border: none;
  padding: 0 32px 18px 0 ;
  border-radius: 0 ;
  background: transparent;
  font-family: "sMono";
  width: 100%;
}

.footy_menu input[type="email"].signup_input {
  color: white;
  border-bottom: 1px solid #fff;
}

.offscreen-connect input[type="email"].signup_input {
  color: #000;
  border-bottom: 1px solid #000;
}

input[type="email"].signup_input:focus {
  outline: none;
}

.signup_butt, .signup_butt:hover, .signup_butt:focus, .signup_butt:active {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 0px solid transparent;
  border-radius: 0;
  background: transparent;
  padding: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 0;
}

.offscreen-connect .signup_butt {
  border-left: 16px solid #000; 
}
.footy_menu .signup_butt {
  border-left: 16px solid #ffbc3f; 
}


.group::after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}



.mptt-event-container {
  border: 1px solid black;
}

.tabs {
  position: relative;
  width: calc(100vw - (3.36538vw + 19.23077px)*2);
  min-height: 100vh;
  clear: both;
  margin: 25px 0;
  z-index: 700;
}

.tab {
  float: left;
}

.tab label {
  cursor: crosshair;
}

.tab label {
  padding: 10px;
  margin-left: -1px;
  position: relative;
  left: 1px;
}

.tab [type=radio] {
  opacity: 0;
}

.content {
  position: absolute;
  top: 28px;
  left: 0;
  background: transparent;
  right: 0;
  bottom: 0;
  padding: 20px;
}

.content > * {
  opacity: 0;
}

.tab label {
  cursor: crosshair;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tr.mptt-shortcode-row th,
.mptt-shortcode-wrapper .mptt-shortcode-table tbody tr:nth-child(2n+2) {
  background-color: transparent;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tr.mptt-shortcode-row th,
.mptt-shortcode-wrapper .mptt-shortcode-table tbody td {
  border: 1px solid #0007;
}

.mptt-shortcode-wrapper .mptt-shortcode-table {
  border-collapse: collapse;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tbody td:first-child, 
.mptt-shortcode-wrapper .mptt-shortcode-table tr.mptt-shortcode-row th:first-child {
 border-left: none; 
}

.mptt-shortcode-wrapper .mptt-shortcode-table tbody td:last-child, 
.mptt-shortcode-wrapper .mptt-shortcode-table tr.mptt-shortcode-row th:last-child {
  border-right: none;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tr.mptt-shortcode-row th {
  border-top: none;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tbody tr:last-child td {
  border-bottom: none
} 

.mptt-shortcode-wrapper .mptt-shortcode-table.mptt-theme-mode tbody td.event,
.mptt-shortcode-wrapper .mptt-shortcode-table.mptt-theme-mode tbody tr:nth-child(2n+2) td.event {
  background-color: #d8eef6;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tr.mptt-shortcode-row th:not(:first-child) {
  width: 25%;
}

.mptt-shortcode-hours {
  font-size: small;
}


[type=radio]:checked ~ label {
  background: linear-gradient(left, #ffbc3f, #ffbc3f) no-repeat 15px -19px;
  background: -moz-linear-gradient(left, #ffbc3f, #ffbc3f) no-repeat 15px -19px;
  background: -webkit-linear-gradient(left, #ffbc3f, #ffbc3f) no-repeat 15px -19px;
  z-index: 2;
}

[type=radio]:checked ~ label ~ .content {
  z-index: 1;
  overflow-y: scroll;
}

[type=radio]:checked ~ label ~ .content > * {
  opacity: 1;
  transform: translateX(0);
}


@media screen and (max-width:768px) {
  header #site-navigation ul {
    display: none;
  }

  .footy_menu {
    grid-template-columns: none;
  }

  .copyleft {
    display: inline-block;
  }
  
  #page_menu {
    padding-top: 5em;  
  }

  .the_thumb, .the_article {
    width: 100vw;
  }
  .the_thumb {
    height: 40vh;
    margin-bottom: 1em; 
  }
  
  body.single-post .the_article {
    padding-top: 0;
    padding-right: 1em;
  }
  
  article.category-exhibition_de, article.category-exhibition,
  .artist_bio {
    display: inline-block;
  }
  
  .bio_pic {margin-right: calc(50% - 100px);}
  .bio_text {width: 100%;}
  .skills {font-size: 20vw}
  .lan_pic {width: 70vw;}
  .statement.panel {
    padding-left: 8vw;
    padding-top: 20vw;
  } 
  .statement h3 {
    font-size: 14px;
    line-height: 15px;
  }

  .skills {font-size: 20vw}
  
  p.artists_wall{
    padding: 0 10vw;
    font-size: 16px;
  }
  .artists_wall span a{
    font-size: 16px;
  }
  .artists_wall span {
    line-height: 17px;
  }

  .tab label {
    width: 50px;
    display: inline-block;
    font-size: small;
  }
  .tab input {
    display: none;
  }

  [type="radio"]:checked ~ label {
    background: linear-gradient(left, #ffbc3f, #ffbc3f) no-repeat 5px -15px;
    background: -moz-linear-gradient(left, #ffbc3f, #ffbc3f) no-repeat 5px -15px;
    background: -webkit-linear-gradient(left, #ffbc3f, #ffbc3f) no-repeat 5px -15px;
    z-index: 2;
  }
  .mptt-menu.mptt-navigation-tabs {
    padding: 0;
  }

}

