/*
Theme Name: SHIFT
Theme URI: 
Author: Dennis Helbig
Author URI: https://dennishelbig.com/
Description: Personal Theme for SHIFT Klosterneuburg
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: custom theme by Dennis Helbig
*/
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button {
  border: none;
  margin: 0;
  padding: 0;
  width: auto;
  overflow: visible;
  background: transparent;
  /* inherit font & color from ancestor */
  color: inherit;
  font: inherit;
  /* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */
  line-height: normal;
  /* Corrects font smoothing for webkit */
  -webkit-font-smoothing: inherit;
  -moz-osx-font-smoothing: inherit;
  /* Corrects inability to style clickable `input` types in iOS */
  -webkit-appearance: none;
  outline: none;
}

/* Remove excess padding and border in Firefox 4+ */
button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

@font-face {
  font-family: "outfit";
  src: url("fonts/Outfit-SemiBold.woff2") format("woff2"), url("fonts/Outfit-SemiBold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "outfit";
  src: url("fonts/Outfit-Regular.woff2") format("woff2"), url("fonts/Outfit-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.hero {
  width: 100%;
  position: relative;
  border-bottom: var(--border-width) solid var(--blue);
}
.hero .video-container {
  position: relative;
  background: #999;
}
.hero .video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none !important;
}
.hero .video-container .buttons {
  position: absolute;
  bottom: var(--padding);
  right: var(--padding);
  display: flex;
  gap: 12px;
}
.hero .video-container button {
  cursor: pointer;
  z-index: 1;
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
  background-size: contain;
}
.hero .video-container .volume {
  background-image: url("./img/volume-off.png");
}
.hero .video-container .play {
  background-image: url("./img/pause.png");
}
.hero .video-container .play.is-paused {
  background-image: url("./img/play.png");
}
.hero .video-container .restart {
  background-image: url("./img/restart.png");
}
.hero .video-container:has(video[muted=true]) .volume {
  background-image: url("./img/volume-on.png");
}
@media (min-width: 481px) {
  .hero {
    width: 100%;
    aspect-ratio: 1.78;
  }
  .hero .video-container {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
  }
}
@media (max-width: 480px) {
  .hero .video-container {
    aspect-ratio: 1.78;
  }
  .hero .video-container .buttons {
    flex-direction: column;
  }
}

nav {
  position: relative;
  display: flex;
  justify-content: space-between;
  font-size: var(--font-size-lg);
  z-index: 2;
}
nav .left {
  position: relative;
  z-index: 1001;
}
nav a {
  font-weight: 700;
  text-decoration: none;
}
nav a:hover {
  text-decoration: underline;
}
@media (min-width: 581px) {
  nav {
    padding: var(--padding);
    border-bottom: var(--border-width) solid var(--blue);
  }
  nav .right a:last-child {
    margin-left: 2em;
  }
  nav br {
    display: none;
  }
  nav button.burger {
    display: none;
  }
}
@media (max-width: 580px) {
  nav .left {
    padding: var(--padding);
    padding-top: calc(var(--padding) * 1.5);
    border-bottom: var(--border-width) solid var(--blue);
    width: 100%;
  }
  nav button.burger {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: auto;
    aspect-ratio: 1;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 0;
    padding: 0;
    cursor: pointer;
    z-index: 1002;
  }
  nav button.burger:before, nav button.burger:after {
    content: "";
    position: absolute;
    height: var(--border-width);
    background: black;
    width: 50%;
    top: 50%;
    left: 50%;
    transition: 0.075s ease-in-out;
  }
  nav button.burger:before {
    transform: translate(-50%, -6px);
  }
  nav button.burger:after {
    transform: translate(-50%, 3px);
  }
  nav button.burger.is-active:before {
    transform: translate(-50%, -2px) rotate(45deg);
  }
  nav button.burger.is-active:after {
    transform: translate(-50%, -2px) rotate(-45deg);
  }
  nav .right {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-top: 25%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
    background-color: var(--background);
  }
  nav .right a {
    padding: 1em;
    color: var(--blue);
    font-size: var(--font-size-xl);
  }
  nav:has(button.burger.is-active) .right {
    pointer-events: all;
    opacity: 1;
  }
}

section.events .events-section-title {
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  border-bottom: var(--border-width) solid var(--blue);
  padding: max(var(--padding), 40px) var(--padding) 0;
}
section.events .events-section-title h2 {
  border-right: var(--border-width) solid var(--blue);
  width: fit-content;
  padding-right: 2em;
  padding-bottom: 1.5em;
}
section.events .event-item {
  padding: 30px var(--padding);
  display: flex;
  gap: var(--padding);
  border-bottom: var(--border-width) solid var(--blue);
}
section.events .event-item .event-info {
  width: 50%;
  line-height: 1.3;
}
section.events .event-item .event-info a {
  text-decoration-thickness: 0.15em;
  text-underline-offset: 0.15em;
}
section.events .event-item .event-content {
  width: max(50%, 360px);
  min-height: 50px;
  font-size: var(--font-size-md);
}
section.events .event-item .event-content p:not(:last-child) {
  margin-bottom: 1em;
}
section.events .event-item .event-content p:empty {
  display: none;
}
section.events .event-item .event-content p.small {
  text-transform: uppercase;
  font-weight: 700;
  font-size: var(--font-size-sm);
}
section.events .event-item .event-content p.small a {
  text-decoration-thickness: 0.15em;
  text-underline-offset: 0.15em;
}
section.events .event-item .event-content .excerpt {
  height: 0;
  overflow: hidden;
}
section.events .event-item .event-content .event-image {
  padding-top: 0.66em;
  max-width: 400px;
}
section.events .event-item .event-content label {
  text-transform: uppercase;
  font-size: var(--font-size-md);
  font-weight: bold;
  color: var(--blue);
}
section.events .event-item .event-content input:checked + label .more {
  display: none;
}
section.events .event-item .event-content input:not(:checked) + label .less {
  display: none;
}
section.events .event-item .event-content .excerpt:not(.is-transforming):has(+ input:checked):not([style]) {
  height: auto;
}
section.events .event-item .event-content .excerpt:not(.is-transforming):has(+ input:checked):not([style]) .excerpt-content {
  opacity: 1;
}
section.events .event-item .event-content .excerpt-content {
  box-sizing: border-box;
  padding-bottom: 1em;
  height: auto;
}
section.events .event-item .event-content .excerpt.is-open {
  height: auto;
}
section.events .event-item .event-content input, section.events .event-item .event-content label {
  cursor: pointer;
}
@media (max-width: 768px) {
  section.events .event-item {
    flex-direction: column;
    gap: var(--font-size-xl);
  }
  section.events .event-item .event-info,
  section.events .event-item .event-content {
    width: 100%;
  }
}
section.events.past-events {
  background: #D2D2D5;
}

section.events-list-banner {
  background: #DBE4FF;
  border-bottom: var(--border-width) solid var(--blue);
  color: var(--blue);
  line-height: 1.2;
  padding: 30px var(--padding);
}
section.events-list-banner .content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--background);
  font-family: "outfit", Arial, Helvetica, sans-serif;
  letter-spacing: 0.035em;
}

:root {
  --background: #f2f2f2;
  --padding: 60px;
  --font-size-xl: 39px;
  --font-size-lg: 27px;
  --font-size-md: 21px;
  --font-size-sm: 14px;
  --border-width: 8.5px;
  --blue: #2d64ff;
}
@media (max-width: 1200px) {
  :root {
    --padding: 40px;
    --font-size-lg: 24px;
    --border-width: 6px;
  }
}
@media (max-width: 1024px) {
  :root {
    --padding: 20px;
    --font-size-xl: 36px;
    --font-size-lg: 24px;
    --font-size-md: 20px;
    --border-width: 5px;
  }
}
@media (max-width: 768px) {
  :root {
    --padding: 16px;
    --font-size-xl: 32px;
    --font-size-lg: 21px;
    --font-size-md: 18px;
    --border-width: 4px;
  }
}
@media (max-width: 640px) {
  :root {
    --padding: 12px;
    --font-size-xl: 28px;
    --font-size-lg: 18px;
    --border-width: 4px;
  }
}
@media (max-width: 480px) {
  :root {
    --font-size-sm: 13px;
  }
}

body {
  box-sizing: border-box;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
}
body:has(input.burger.is-active) {
  overflow: hidden !important;
}

section, footer {
  width: 100%;
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.spacer {
  flex-grow: 1;
}

img, picture {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a.underline-on-hover:not(:hover) {
  text-decoration: none;
}

h2 {
  line-height: 1.15;
}

p {
  line-height: 1.3;
}

.opacity-null {
  opacity: 0;
}

.display-none {
  display: none;
}

.overflow-hidden {
  overflow: hidden;
}

.underline {
  text-decoration: underline;
}

.uppercase {
  text-transform: uppercase;
  letter-spacing: 0.055em;
  text-decoration-thickness: 0.15em;
  text-underline-offset: 0.15em;
}

.bold {
  font-weight: bold;
}

.font-size-xl {
  font-size: var(--font-size-xl);
  font-weight: 700;
  line-height: 1.15;
}

.font-size-lg {
  font-size: var(--font-size-lg);
}

.font-size-md {
  font-size: var(--font-size-md);
  line-height: 1.2;
}

.font-size-sm {
  font-size: var(--font-size-sm);
}

.mt-1 {
  margin-top: 0.25em;
}

.mb-1 {
  margin-bottom: 0.25em;
}

.mt-2 {
  margin-top: 0.5em;
}

.mb-2 {
  margin-bottom: 0.5em;
}

.mt-3 {
  margin-top: 0.75em;
}

.mb-3 {
  margin-bottom: 0.75em;
}

.mt-4 {
  margin-top: 1em;
}

.mb-4 {
  margin-bottom: 1em;
}

.mt-5 {
  margin-top: 1.25em;
}

.mb-5 {
  margin-bottom: 1.25em;
}

.mt-6 {
  margin-top: 1.5em;
}

.mb-6 {
  margin-bottom: 1.5em;
}

.mt-7 {
  margin-top: 1.75em;
}

.mb-7 {
  margin-bottom: 1.75em;
}

.mt-8 {
  margin-top: 2em;
}

.mb-8 {
  margin-bottom: 2em;
}

.mt-9 {
  margin-top: 2.25em;
}

.mb-9 {
  margin-bottom: 2.25em;
}

.mt-10 {
  margin-top: 2.5em;
}

.mb-10 {
  margin-bottom: 2.5em;
}

section.text-page {
  padding: 60px var(--padding);
  font-size: var(--font-size-md);
  line-height: 1.3;
}
section.text-page h1, section.text-page h2, section.text-page h3, section.text-page h4 {
  font-weight: bold;
  text-transform: uppercase;
}
section.text-page h1, section.text-page h2, section.text-page h3, section.text-page h4, section.text-page p {
  margin-bottom: 1em;
  max-width: 600px;
}
section.text-page p:has(+ :not(p)) {
  margin-bottom: 3em;
}
section.text-page p.small {
  text-transform: uppercase;
  font-weight: 700;
  font-size: var(--font-size-sm);
}
section.text-page p.small a {
  text-decoration-thickness: 0.15em;
  text-underline-offset: 0.15em;
}
section.text-page.page-404 {
  text-align: center;
}
section.text-page.page-404 .text {
  margin: 0 auto;
}

:root {
  --gap: max(40px, calc( var(--padding) * 1.25 ) );
}

footer {
  padding: max(40px, var(--padding)) var(--padding);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: #B8B7BC;
  gap: var(--gap);
}
footer .left {
  display: flex;
  gap: var(--gap);
}
footer .right {
  height: fit-content;
  align-self: flex-end;
  flex-grow: 1;
  display: flex;
  gap: var(--gap);
  justify-content: space-between;
}
footer .logo {
  width: 167px;
}
footer .links {
  line-height: 1.4;
  align-self: flex-end;
}
footer .links a {
  display: block;
}
footer .links a:first-child {
  margin-bottom: 1em;
}
footer .footer-block {
  max-width: 17em;
}
footer a.italic {
  font-style: italic;
}
footer a:not(:hover) {
  text-decoration: none;
}
@media (max-width: 1480px) {
  footer footer {
    flex-direction: column;
    align-items: flex-start;
  }
  footer .right {
    flex-grow: 0;
  }
}
@media (max-width: 1024px) {
  footer {
    flex-direction: column;
    align-items: flex-start;
  }
  footer .left {
    width: 100%;
    justify-content: space-between;
  }
  footer .right {
    align-self: auto;
  }
}
@media (max-width: 920px) {
  footer .left {
    flex-wrap: wrap;
    gap: 0;
  }
  footer .left .footer-block {
    width: 50%;
  }
  footer .left .footer-block:not(:last-child) {
    max-width: none;
    margin-bottom: 5em;
  }
}
@media (max-width: 768px) {
  footer .left {
    flex-wrap: wrap;
  }
  footer .links {
    width: 100%;
    margin-top: 30px;
  }
  footer .right {
    margin-top: 40px;
  }
}
@media (max-width: 560px) {
  footer .left {
    flex-direction: column;
  }
  footer .left .rent,
  footer .left .contact {
    margin-bottom: 40px;
    width: 100%;
  }
  footer .links {
    margin-top: 0;
  }
}

/*# sourceMappingURL=style.css.map */
