:root {
    --hello-height: 50vh
}

#background {
    z-index: -1;
    position: absolute;
    top: 0;
    background-image: url(/assets/images/hello-bg.jpg);
    background-size: cover;
    max-width: calc(144em - 0.4em);
    overflow: hidden;
    height: var(--hello-height);
    width: 100%;
}

#bg-video {
    width: 100%;
    height: var(--hello-height);
    object-fit: cover;
    z-index: -1;
    margin: 0;
}

#hello {
    height: calc(var(--hello-height) - 5em);
    padding: var(--navbar-height) 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

#hello-logo {
    width: 75vw;
    max-width: 100em;
}

#hello-date {
    font-size: clamp(4rem, 2vw + 0.75rem, 2rem);
    padding: 1em 0 0 0;
    filter: blur(0.5px);
}

#hello-location {
    font-size: 1.6em;
    letter-spacing: 0.135em;
    padding: 0.5em 0;
}

.marquee {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 1.5em;
    overflow-x: hidden;
    font-size: 2.5em;
    font-family: "VCR-mono";
    font-weight: normal;
    text-transform: uppercase;
}

.track {
  position: absolute;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 50s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}


#speakers-preview {
    scroll-margin-top: var(--navbar-height);
}

.main-carousel {
    margin: 0 0 2em 0;
}

.carousel-cell {
    padding: 0 1em;
}

.flickity-viewport {
    overflow: hidden;
}

.flickity-button {
    background: transparent;
}


#speaker-button {
    font-family: "Ubuntu", Helvetica, Arial, sans-serif;
    width: 100%;
    height: 3.5em;
    margin: 2em 0;
    text-transform: uppercase;
    font-size: 1.5em;
    font-weight: bold;
    background-color: var(--main-color);
    color: var(--bg-color);
    border: 0;
    background: repeating-linear-gradient(
    -60deg,
    #eee,
    #eee 10px,
    #fff 10px,
    #fff 20px
    );
}


#discord-button {
    font-family: "Ubuntu", Helvetica, Arial, sans-serif;
    width: 100%;
    height: 3.5em;
    margin: 2em 0;
    text-transform: uppercase;
    font-size: 1.5em;
    font-weight: bold;
    background-color: var(--bg-color);
    color: var(--main-color);
    border: 0;
    background: repeating-linear-gradient(
    -60deg,
    #000,
    #000 10px,
    #111 10px,
    #111 20px
    );
}

#socials {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#socials img {
    height: 3.2em;
    width: auto;
}

#location {
    scroll-margin-top: var(--navbar-height);
}

#location-grid {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(32em, 1fr) );
    padding: 0 0 5em 0;
    min-height: 42em;
}

#location-map {
    background-image: url(/assets/images/blikfabriek.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100%;
}

.location-item {
    width: 100%;
    min-height: 25em;
}

#glcanvas {
    width: 100%;
    height: 100%;
}

#tickets {
    scroll-margin-top: var(--navbar-height);
}

#tickets-grid {
    display: flex;
    width: 100%;
    flex-flow: row wrap;
    justify-content: space-between;
    align-content: center;
    padding: 2em 0;
}

.tickets-grid-item {
    width: 100%;
    border: 1px solid #000;
    text-align: center;
    margin: 1em 0;
}

.blur {
    filter: blur(0.25em);
}

.hide {
        display: inline;
    }

@media only screen and (min-width: 1024px) {
    .tickets-grid-item {
        max-width: 32em;
    }
}

@media only screen and (max-width: 1024px) {
    .tickets-grid-item {
        max-width: 24em;
    }
}

@media only screen and (max-width: 42em) {
    .tickets-grid-item {
        max-width: 100%;
    }
    .hide {
        display: none;
    }
}

.ticket-type {
    padding: 1em;
    background-color: var(--bg-color);
    color: var(--main-color);
}

.ticket-pro {
    border-bottom: 1px dashed var(--bg-color);
}

.ticket-student {
    background-color: var(--bg-color);
    color: var(--main-color);
}

.tickets-item-split {
    display: grid;
    grid-template-rows: 1fr 1fr;
}

.ticket-split {
    padding: 3em 0;
    width: 100%;
}

.ticket-info {
    margin: 0;
    padding: 0.5em;
    font-size: 1em;
}

#partners-grid {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(32em, 1fr) );
}

#partners img {
    height: 16em;
    width: auto;
    padding: 2em;
}