* {
  box-sizing: border-box;
}

@-webkit-viewport   { width: device-width; }
@-moz-viewport      { width: device-width; }
@-ms-viewport       { width: device-width; }
@-o-viewport        { width: device-width; }
@viewport           { width: device-width; }

html {
  font-size: 20px;
}

body {
  font-family: "ZurichBT-BoldExtended", Verdana, Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 100%;
  color: #262626;
  background-color: white;
  margin: 0;
  padding: 0;
  max-height: 100vh;
  line-height: 1.2;
  letter-spacing: -1.5px;
}

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

.background {
  display: block;
  width: 100vw;
  height: 100vh;
  background-color: white;
  background-size: cover;
}

.background-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

video::-webkit-media-controls {
  display:none !important;
}

@keyframes swing {
  20% {
    transform: rotateZ(15deg);
  }

  40% {
    transform: rotateZ(-10deg);
  }

  60% {
    transform: rotateZ(5deg);
  }

  80% {
    transform: rotateZ(-5deg);
  }

  to {
    transform: rotateZ(0deg);
  }
}

@keyframes slideInSide {
  0% {
    transform: translateX(100%);
  }
  
  100% {
    transform: translateX(0%);
  }
}

@keyframes slideOutSide {
  0% {
    transform: translateX(0%);
  }
  
  100% {
    transform: translateX(100%);
  }
}

@keyframes slideInBottom {
  0% {
    transform: translateY(100vh);
  }
  
  100% {
    transform: translateY(0%);
  }
}

@keyframes slideOutBottom {
  0% {
    transform: translateY(0%);
  }
  
  100% {
    transform: translateY(100vh);
  }
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  color: #262626;
  text-decoration: underline;
}

a:hover {
  color: #262626;
}

p {
  margin-top: 0;
}

h1 {
  font-size: 1em;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: .83em;
  font-weight: 400;
  text-align: left;
}

.content-container {
  position: absolute;
  top: 10vh;
  left: 0;
  will-change: transform;
  min-height: 90vh;
  width: 100%;
  animation-delay: 100ms;
  animation-duration: 750ms;
  animation-fill-mode: both;
  background-color: #fcfcfc;
  animation-name: slideInBottom;
  padding-top: calc(2rem + 1rem + 1.2 * 1rem * 4);
}

.page-index .content-container,
.page-en .content-container {
  display: flex;
}

.out {
  animation-delay: 0ms;
  animation-duration: 350ms;
  animation-name: slideOutBottom;
}

.nav a {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  animation-duration: 1s;
  animation-fill-mode: both;
}

.nav .highlight a {
  color: #fa96a0;
}

.nav a:hover {
  transform-origin: center center;
  animation-name: swing;
}

.active:nth-child(odd) > a {
  transform: rotateZ(-6deg);
}

.active:nth-child(even) > a {
  transform: rotateZ(6deg);
}

.nav {
  background-color: #fcfcfc;
  padding: 0.5rem 1rem;
  text-align: center;
  line-height: 1.2;
}

.main-nav {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
}

.main-nav-wrapper {
  display: flex;
  justify-content: space-around;
}

.language-switcher {
  margin: 0.5rem 0;
}

.content {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 1rem;
  /* works around janky scrolling in safary */
  transform: translate3d(0, 0, 0);
}

.page-index .content,
.page-en .content {
  /*display: flex;
  flex-direction: column;
  justify-content: space-around;*/
  width: 100%;
  text-align: center;
  text-transform: uppercase;
}

.post-title {
  font-size: 1em;
  font-weight: normal;
  text-transform: uppercase;
  margin: 0;
  text-align: left;
}

.post-title > a {
  text-decoration: none;
}

.post-title > a:hover {
  text-decoration: underline;
}

.pagination-item {
  display: inline-block;
}

.pagination-item > a {
  text-decoration: none;
}

.pagination-item > a:hover,
.pagination-item.active > a {
  text-decoration: underline;
}

.footer-nav {
  font-size: 0.7rem;
  margin-top: 1rem;
  padding: 0.5rem;
}

.social-link {
    display: block;
    height: 50px;
    width: 50px;
    margin: 0 20px;
}

.footer-social-logo {
  display:block;
  height: 50px;
  width: 50px;
}

.fb-logo {
  filter: invert(1);
}

.presented-by {
  margin-top: 0.5rem;
  font-size: 12px;
  letter-spacing: normal;
  text-transform: uppercase;
}

.presented-by-logo {
  height: 10px;
  width: 73px;
}

/* Dark Mode */

.dark-mode,
.dark-mode .content-container,
.dark-mode .content,
.dark-mode .nav {
  background-color: #262626;
  color: #fcfcfc;
}

.dark-mode a {
  color: #fcfcfc;
}

.dark-mode .presented-by-logo,
.dark-mode .insta-logo,
.dark-mode .soundcloud-logo {
  filter: invert(1);
}

.dark-mode .fb-logo {
  filter: invert(0);
}

.lineup-menu {
  text-align: center;
  border: 5px solid #fcfcfc;
  padding: 0.5em;
  font-size: 0.88888888em;
  letter-spacing: -0.5px;
}

.lineup-menu-item {
  display: inline-block;
  margin-right: 0.3em;
}

.lineup-menu-item a {
  display: block;
  padding: 0.3em 0;
  text-decoration: none;
}

.lineup-year {
  font-size: 2em;
  margin: 0;
  margin-top: 0.5em;
  text-align: center;
}

.lineup-divider {
  width: 2em;
  border-bottom: 5px solid #fcfcfc;
  margin: 1em auto;
}

.lineup-list {
  text-align: center;
  font-size: 2em;
  line-height: 1;
  letter-spacing: -4px;
}

.lineup-list a {
  text-decoration: none;
}

.lineup-list a:hover {
  text-decoration: underline;
}

/* INFO LAYOUT */

.info-menu a {
  display: inline-block;
  text-decoration: none;
  padding: 5px 0;
}

.info-menu {
  line-height: 1.5;
  text-align: center;
  margin-bottom: 1em;
}

.info-title {
  font-size: 1em;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0.83em;
  font-weight: normal;
  text-align: left;
}

/* Ticker */

.ticker-wrapper {
  display: block;
  text-decoration: none;
  overflow: hidden;
  margin: 0 -1em;
}

.ticker-row {
  white-space: nowrap;
  text-transform: uppercase;
  margin: 0;
  animation: marquee 10s linear infinite;
  animation-direction: alternate;
}

.ticker-row:hover {
  animation-play-state: paused
}

/* Newsletter */

.newsletter-form label {
  display: block;
  text-align: center;
}

.newsletter-form input {
  border: 0;
  border-bottom: 5px solid #262626;
  width: 100%;
  background-color: #fcfcfc;
  outline: 0;
  color: red;
  border-radius: 0;
}

.newsletter-submit-btn {
  display: block;
  margin: 0 auto;
  margin-top: 2em;
  outline: 0;
  background-color: #fcfcfc;
  border: 5px solid #262626;
}

/* Make it move */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@media only screen and (min-width: 600px) {
  html,
  body {
    font-size: 28px;
  }
}

@media only screen and (min-width: 768px) {
  html,
  body {
    font-size: 40px;
    line-height: 1.1;
  }
  
  .nav {
    line-height: 1.1;
  }
  
  .main-nav {
    display: flex;
    justify-content: space-between;
  }
  
  .main-nav-wrapper > ul:first-child {
    margin-right: 1rem;
  }

  .language-switcher {
    margin: 0;
  }
  
  .no-overflow {
    overflow: hidden;
  }
  
  .content-container {
    height: 90vh;
    padding-top: calc(1rem + (1.1 * 1rem * 4));
  }
  
  .page-en-imprint .content,
  .page-imprint .content {
    font-size: 0.5rem;
  }
  
  .content {
    height: calc(90vh - 1rem - (1.1 * 1rem * 4));
  }
  
  .footer-nav {
      font-size: 0.6rem;
   }
}

@media only screen and (min-width: 900px) {
  html,
  body {
    font-size: 42px;
    line-height: 1;
  }

  .content-container {
    top: 0;
    left: auto;
    right: 0;
    height: 100vh;
    width: 90%;
    animation-name: slideInSide;
    padding-top: calc(1rem + 1 * 1rem * 4);
  }
  
  .out {
    animation-name: slideOutSide;
  }
  
  .page-tickets .content-container,
  .page-en-tickets .content-container,
  .page-en .content-container,
  .page-shop .content-container,
  .page-newsletter .content-container,
  .page-index .content-container,
  .page-en-shop .content-container,
  .page-en-newsletter .content-container,
  .page-en-index .content-container {
    width: 50%;
  }
  
  .page-news-article .language-switcher,
  .page-tickets .language-switcher,
  .page-en-tickets .language-switcher,
  .page-newsletter .language-switcher,
  .page-en-newsletter .language-switcher,
  .page-en-shop .language-switcher,
  .page-en .language-switcher,
  .page-index .language-switcher {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.33rem;
  }
  
  .content {
    height: calc(100vh - (1rem + 1 * 1rem * 4));
  }
  
  .nav {
    line-height: 1;
  }
  
  /*.main-nav {
    justify-content: flex-start;
  }*/
  
  .page-en .main-nav,
  .page-index .main-nav {
    justify-content: space-around;
  }
  
  .info-content {
    display: flex;
    font-size: 0.5em;
  }
  
  .info-menu {
    width: 30%;
    line-height: 1.2;
    text-align: left;
  }
  
  .info-text {
    width: 70%;
  }
  
  .lineup-menu {
    margin: 0 auto;
    width: 60%;
    font-size: 0.5em;
  }
  
  .lineup-list,
  .lineup-year {
    font-size: 2.25em;
  }
}

.yt-sizer {
    max-width: 768px;
    margin: 0 auto;
}

.yt-wrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	/*padding-top: 25px*/;
	height: 0;
}

.yt-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@media only screen and (min-width: 1100px) {
  html,
  body {
    font-size: 50px;
  }
}