@font-face {
  font-family: "Rhymes";
  src: url("fonts/Rhymes-LightText.eot") format("eot"),
       url("fonts/Rhymes-LightText.otf") format("otf"),
       url("fonts/Rhymes-LightText.woff") format("woff"),
       url("fonts/Rhymes-LightText.woff2") format("woff2");
  font-style: normal
}
@font-face {
  font-family: "Rhymes";
  src: url("fonts/Rhymes-RegularTextItalic.eot") format("eot"),
       url("fonts/Rhymes-RegularTextItalic.otf") format("otf"),
       url("fonts/Rhymes-RegularTextItalic.woff") format("woff"),
       url("fonts/Rhymes-RegularTextItalic.woff2") format("woff2");
  font-style: italic
}

*,
*:after,
*:before{
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

*:focus {
  outline: 0;
}
html {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
}
li {
  list-style: none;
}

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

/*Header */

header {
  height: 3rem;
  display: flex;
  align-items: center;
  padding: 1rem;
}
header h1 {
  font-size: 1rem;
    font-weight: normal;
    display: flex;
    width: calc(100% - 5rem);
        white-space: nowrap;
}
header h1 span.title{
  margin: 0 auto;
}
/* Nav */
ul.language {
  position: fixed;
  top: 1rem;
  right: 3rem;
  display: flex;
  line-height: 1;
}
header.series ~ ul.language {
  right: 5rem;
}
ul.language li {
  margin-left: 1rem;
  opacity: .5;
  transition: .25s
}
ul.language li:hover {
  opacity: 1
}

ul.language li.active {
  opacity: 1
}
#arrow {
  position: fixed;
  top: 1rem;
  right: 3rem;
  width: 1rem;
  height: 1rem;
  background-image: url('../img/arrow.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
#burger {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 1rem;
  height: 1rem;
  cursor: pointer;
  z-index: 999;
  background-image: url('../img/burger.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
#burger.active {
  background-image: url('../img/x.svg');
}
nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 40vw;
  height: 100%;
  color: white;
  background: #F56645;
  padding: 1rem;
  font-size: 1.75rem;
  font-family: Rhymes, serif;
  z-index: 201;
  transition: .5s;
  transform: translateX(40vw);
  visibility: hidden;
  overflow-y: auto;
}
nav.active {
  visibility: visible;
  transform: translateX(0);
}
nav a{
  transition: .25s
}
nav a:hover{
    opacity: .85;
}
nav > div{
  margin-top: 3rem
}

/* Home */

section.home a {
  padding: 2rem;
  border: 1px solid;
  display: inline-block;
  margin-top: 1rem;
}
/*Landingpage exhibition*/

section.lp  {
  padding: 0 1rem !important;
  max-width: 1000px;
  margin: 0 auto;
}
section.lp img {
  width: 100%
}
section.lp figcaption {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1rem;
  transition: .25s
}
section.lp figure:hover figcaption{
  opacity: .5
}
section.lp h1,
section.lp h2 {
  font-family: Rhymes, serif;
  font-size: 2rem;
  font-weight: normal;
  font-size: 11vw;
  float: left;
}
section.lp h1 span:first-of-type {
  display: block;
}

section.lp a {
  width: 50%;
  display: block;
  padding: 1rem;
}
section.lp a.lpi0 {
  float: right;
}

section.lp a.lpi1 {
  float: left;
  padding-left: 0
}
section.lp a.lpi2 {
  float: right;
  padding-right: 0;
  margin-top: 4rem
}
section.lp h2{
  width: 70%
}
section.lp div.partner{
  float: right;
      width: 30%;
      padding: 2rem 6rem 2rem 0rem;
      margin-top: 4rem;
}
section.lp div.partner *{
      margin-bottom: 1rem;
}
section.lp a.lpi3 {
  margin-top: 4rem;
  float: left;
  padding-left: 0;
}
section.lp a.lpi4 {
  float: right;
  padding-right: 0;
}
.clear {
  clear: both;
}

.showall {
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 14rem;

}
.showall a {
  border: 1px solid;
    padding: 1.5rem 3rem;
    border-radius: 10rem;
    line-height: 0rem;
    display: inline-block;
      transition: .25s
}
.showall a:hover {
  background: black;
  color: white;
  border: 1px solid black;
}

/*Gallery*/

.gallery {
  width: 100%;
  position: relative;
  margin-bottom: 3rem;
}

div#prev, div#next{
  width: 50%;
  height: 100%;
  position: absolute;
  z-index: 200;
  cursor: pointer;
}
div#next{
  right: 0
}
div#prev:hover ~ div .prev {
  transform: translateX(-1rem);
}
div#next:hover ~ div .next {
  transform: translateX(1rem);
}
.owl-carousel, .owl-carousel .owl-stage-outer, .owl-stage {height: 100%}

.gallery figure  {
  display: table;
  table-layout: fixed;
  margin: 0 auto;
}
.gallery figure > div {
  display: flex;
  align-items: center;

}
.gallery figure img {
  width: auto !important;
  height: 50vh;
}
.gallery figure figcaption {
  padding: 0 4rem;
  margin-top: 1rem;
  display: table-caption;
  caption-side: bottom;
}
.next, .prev {
  background-repeat: no-repeat;
  background-size: contain;
  width: 3rem;
  height: 2rem;
  margin: 0 1rem;
  cursor: pointer;
  z-index: 200;
  transition: .25s
}
.next {
  background-image: url('../img/next.svg');
  right: 0;
  margin-right: auto;
}
.prev {
  background-image: url('../img/prev.svg');
  margin-left: auto;
}
.owl-carousel .owl-stage {
    transition: 0s !important;
}
/* series detail */
section:not(.gallery) {
  padding: 0 10rem;
}
section.text{
  font-size: 2rem;
  font-family: Rhymes, serif;
}
section.text div{
  margin-top: 1em;
}
section.text div p{
  margin-bottom: 1em;
}
section.spotify iframe {
  width: 100%
}
section.bio p:first-of-type {
  margin-bottom: 1rem
}
section.bio p{
  margin-bottom: .51rem
}


/* general */
section {
  margin-top: 3rem
}
/* overview */
section.grid {
  padding: 0;
  padding: 0 3rem;
  width: 100%
}
section.grid a {
  margin-bottom: 5%;
  display: block;
}
section.grid a:hover figcaption {
  opacity: .5
}
section.grid a figure.pt {
  width: 70%;
  margin-left: 15%;
}
section.grid a figure figcaption {
  margin-top: 1rem;
    transition: .25s
}
section.grid img{
  width: 100%
}

.grid-sizer,
.grid-item { width: 30%; }
.gutter-sizer { width: 5%; }

/* .grid-sizer,
.gutter-sizer{ display: none; } */

/* Partner Page */
section.partner {
  display: flex;
  flex-wrap: wrap;
  /* padding: 0 3rem; */
  margin-bottom: 0rem;
}
section.partner div {
  margin: 1rem;
  width: calc(33% - 2rem)
}
section.partner div p {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-family: Rhymes, serif;
  min-height: 2em;
}
section.partner div p:nth-of-type(2) {
  font-size: 1rem;
  min-height: 1em;
  font-family: inherit;
}
section.partner div img {
  width: 40%;
  margin-bottom: 3rem
}

/* Footer */
footer {
  background: #DAD9CC;
      display: flex;
      padding: 2rem 3rem 10rem 3rem;
      font-size: 1.5rem;
      font-family: Rhymes, serif;
      margin-top: 3rem;
}
footer > div{
  width: 33.3333%;
}
footer a{
  display: block;
  margin-bottom: .5rem;
  transition: .25s
}
footer a:hover{
  opacity: .5
}

/* Cookie */
#cookie_banner-wrapper {
  position: fixed;
  bottom: 0;
  background: #DAD9CC;
  padding: 1rem;
  width: 100%;
}
.cookie_container {
  display: flex;
}
.cookie_container a{
  font-style: italic;
  display: block;
}
.cookie_container a:hover{
  font-style: normal;
}
.cookie_btn {
  appearance: none;
  border: none;
  background: white;
  padding: .5rem 1rem;
  white-space: nowrap;
  margin-left: auto;
  cursor: pointer;
  transition: .25s;
  border: 1px solid white;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1rem
}
.cookie_btn:hover {
  background: #DAD9CC;
  border: 1px solid white;
  color: white
}

.gallery figure .count {
  display: none;
}
@media only screen and (min-width: 1700px) {
  section.lp h1 {font-size: 1000%}
  section.lp h2 {font-size: 400%}
}
/* Mobile */

@media only screen and (max-device-width: 1024px) {
  footer {
    flex-direction: column;
    padding: 2rem 3rem 5rem 3rem;
  }
  footer > div {width: 100%; margin-bottom: 2rem;}
  footer > div:nth-last-of-type() {margin-bottom: 0;}

  section:not(.gallery) {
    padding: 0 1rem;
  }

  section.lp a.lpi0 {
    padding-right: 0
  }
  section.lp a.lpi2 {
    margin-top: 2rem
  }
  section.lp a.lpi0 figcaption {
    margin-top: 0 !important
  }
  section.lp figcaption i,
  section.lp figcaption{
    display: none
  }
  section.lp h2 {
    width: 60%
	font-size:200%;
  }
  section.lp div.partner {
    width: 40%;
    margin-top: 0;
    padding: 0
  }
  .showall {margin-bottom: 6rem}

  section.text {font-size: 1.5rem}

  header {
    height: 4rem
  }
  header h1 {
    flex-direction: column;
  }
  header h1 span.title {margin: 0}
  section.partner {
    flex-direction: column;
    margin-bottom: 2rem;
  }
  section.partner div {
    width: 100%;
    margin: 0
  }
  section.grid {
    width: calc(100% - 2rem);
    margin-left: 1rem;
  }
  .grid-sizer, .grid-item {
    width: 45%
  }
  .gutter-sizer {width: 10%}
  .gallery {
    margin-left: 1rem;
    margin-right: 1rem;
        width: calc(100% - 2rem);
  }

  .prev, .next, div#prev, div#next {display: none}
  .gallery figure {
    display: block;
table-layout: unset;
  }
  .gallery figure img {
    width: 100% !important;
    height: auto;
  }
  .gallery figure figcaption {
    display: block;
    padding: 0
  }
  .gallery figure .count {
    display: block;
  }
  nav {
    width: 100%;
    transform: translateX(100%);
  }
}
