:root {
  --primary: #d1431f;
  --secondary: #0d84b6;
  --background: #ffffff;
  --proportional-line-height: 1.1;
  --line-height: 1.1rem;
  --line-height-em: 1.1em;
  --half-line-height: 0.55rem;
  --vertical-padding: 24px;
  --horizontal-padding: 48px;
  --line-width: 0.1rem;
  --half-line-width: 0.05rem;
}

html {
  font-family: 'The Shed Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 21px;
  letter-spacing: 0.01rem;
  color: var(--primary);
  line-height: var(--proportional-line-height);
}

body,
.menu-wrapper,
.banner,
.first-load-banner
{
  max-width: 1600px;
  margin: auto;
}

body {
  padding: calc(var(--vertical-padding) * 0.5) calc(var(--horizontal-padding) * 0.5);
}

li {
  list-style: none;
}

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

strong, b, h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  font-size: inherit;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

.main h1,
.main h2,
.main h3,
.main h4,
.main h5,
.main h6 {
  font-size: 1.4rem;
}

.text h1,
.text h2,
.text h3,
.text h4,
.text h5,
.text h6,
.text p,
.text figure,
.text ul,
.text ol {
  margin-bottom: var(--line-height);
}

.text > *:first-child {
  margin-top: 0;
}

.text > *:last-child {
  margin-bottom: 0;
}

.text a,
footer a {
  text-decoration: underline;
}
.text a.no-decoration,
footer a.no-decoration {
  text-decoration: none;
}

.text figure {
  padding-top: var(--line-height);
  padding-bottom: var(--line-height);
}
.text img {
  width: 100%;
}

.banner {
  opacity: 0;
  z-index: 100;
}

.first-load-banner {
  opacity: 0;
  z-index: 102;
  transition: opacity 0.4s;
  padding: var(--vertical-padding) var(--horizontal-padding);
  background: var(--background);
}

.banner .lines,
.first-load-banner .lines {
  width: 100%;
  height: 100%;
  padding-bottom: 0;
}


.banner-identity h1 {
  font-size: 4rem;
  letter-spacing: 0.15rem;
}

.transition-dummy {
  transition: 0.4s;
  opacity: 0;
}

.banner-in {
    transform: translateY(100%);
    transition: 0s;
}

.banner-out {
  transform: translateY(0%);
  transition: 0s;
  background: var(--background);
  padding: var(--vertical-padding) var(--horizontal-padding);
}

html.is-animating .transition-dummy {
  opacity: 1;
}

.lines {
  padding-bottom: var(--line-height);
}

.lines .main {
  flex-grow: 1;
}

.lines .column {
  width: var(--line-height);
  flex-shrink: 0;
}

.lines .column.left {
  border-left: var(--line-width) solid var(--primary);
}

.lines .column.right {
  border-right: var(--line-width) solid var(--primary);
}

.identity {
  height: 50vw;
}

.identity h1 {
  font-size: 2.5rem;
}

.about .text {
  margin-bottom: var(--line-height);
}

.default .text {
  margin-bottom: var(--line-height);
}

.installation h2 {
  text-align: center;
  margin-bottom: var(--line-height);
}

.installation .text,
.installation .artist-photo {
  margin-bottom: var(--line-height);
}

.artist-text {
  font-size: 0.8125rem;
}

.installation .artist-photo img {
  width: 50vw;
  align-self: center;
}


.news-item h2 {
  font-size: 1rem;
  margin-bottom: 0;
}

.news-item h3 {
  font-size: 0.8125rem;
}

.news-item {
  font-size: 0.8125rem;
}

.news-item:not(:last-child) {
  padding-bottom: var(--line-height);
}

.event .text {
  margin-bottom: var(--line-height);
}

.event .event-photo img {
  width: 50vw;
  align-self: center
}

.event h2,
.event h3,
.event h4 {
  text-align: center;
}

.event h4 {
  margin-bottom: var(--line-height);
}

.posterized {
  background-color: var(--primary);
}

.posterized:hover img {
  filter: none;
  mix-blend-mode: inherit;
}

.posterized img {
  filter: grayscale(100%) contrast(1);
  mix-blend-mode: screen;
}

footer {
  font-size: 0.5rem;
  margin-top: 2rem;
}

footer .footer-column:not(:last-child) {
  padding-right: 0.5rem;
}

footer .logo {
  width: 2rem;
}

footer .logo a {
  border-bottom: none;
}

footer .footer-break {
  margin-bottom: var(--line-height-em);
}

@media (min-width:768px) {
  html {
    font-size: 36px;
    letter-spacing: 0.03rem;
  }
  body {
    padding: var(--vertical-padding) var(--horizontal-padding);
  }

  html.is-changing .banner-in {
    transform: translateY(0);
    transition: 0.4s;
  }

  html.is-rendering .banner-out {
    transform: translateY(-100%);
    transition: 0.8s;
  }

  html.is-changing .banner {
    opacity: 1;
  }

  html.first-load .first-load-banner {
    opacity: 1;
    pointer-events: auto;
  }

  .main h1,
  .main h2,
  .main h3,
  .main h4,
  .main h5,
  .main h6 {
    font-size: inherit;
  }

  
  .news-item h2 {
    font-size: 1rem;
    margin-bottom: 0;
  }

  .event .event-photo img {
    width: 33vw;
  }

  .installation .artist-photo img {
    width: 33vw;
  }

  footer {
    font-size: 0.6666666666rem;
    margin-top: 4rem;
  }

  footer .footer-column:not(:last-child) {
    padding-right: 0.5rem;
  }

  footer .logo {
    width: 3rem;
  }
}

@media (min-width:1024px) {
  footer .footer-break {
    margin-bottom: inherit;
  }
}