.contentbottom{
  display: flex;
  width: 100%;
  margin-top: 50px;
}

.titlecard .limitcard {
  min-height: 230px;
}

@media (max-width: 768px) {
  .titlecard .limitcard {
    min-height: 180px;
  }
}

.titlecard .limitcard .title {
  font-family: "Encode Sans", sans-serif;
  opacity: 0;
  animation: hero-title-in 700ms ease-out 120ms forwards;
  font-size: 0;
  line-height: 0.9;
  min-height: 0.9em;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(4px 4px 0px rgb(20, 66, 32));
  will-change: transform, opacity;
}

.titlecard .limitcard .title span {
  font-size: clamp(2rem, 9vw, 6rem);
  display: inline-block;
  line-height: 0.9;
}

.titlecard .limitcard .subtitle {
  opacity: 0;
  animation: hero-title-in 700ms ease-out 220ms forwards;
  will-change: transform, opacity;
}

.titlecard .limitcard .calltoaction {
  opacity: 0;
  animation: hero-title-in 700ms ease-out 420ms forwards;
  will-change: transform, opacity;
}

.videocredit p {
  opacity: 0;
  animation: hero-title-in 700ms ease-out 700ms forwards;
  will-change: transform, opacity;
}

@keyframes hero-title-in {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

#wave span {
    display: inline-block;
    animation: moveY 2s ease-in-out infinite;
}

@keyframes moveY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.nexteventtitle{
  margin-bottom: 20px;
  color: var(--primary-dark);
}

body.dark .nexteventtitle{
  color: var(--primary);
}

.nextevent {
    display: grid;
    grid-template-columns: repeat(auto-fit, 1fr);
    gap: 20px;
    width: 100%;
    margin-bottom: 50px;
  }
  
  .eventcard {
    display: flex;
    align-items: center; 
    gap: 15px;
    padding: 13px 13px;
    border-radius: var(--rounded);
    outline: 5px solid var(--background);
    background-color: rgb(19, 19, 19);
    position: relative;
  }

  .eventcard .confirmedchip, 
  .eventcard .finishedchip, 
  .eventcard .cancelledchip{
    position: absolute;
    top: -10px;
    left: 0;
    color: black;
    font-size: 13px;
    padding: 2px 7px;
    border-radius: 7px;
    font-weight: bold;
  }

  .eventcard .confirmedchip{
    background-color: var(--primary-light);
  }

  .eventcard .finishedchip, 
  .eventcard .cancelledchip{
    color: #ffffff70;
  }

  .eventcard.minimeet .confirmedchip{
    background-color: var(--minimeet);
  }

  body.yellow .eventcard.minimeet .confirmedchip{
    background-color: var(--primary-light);
  }

  .eventcard .finishedchip{
    background-color: black;
  }

  .eventcard.confirmed{
    background-color: var(--primary-light);
  }

  .eventcard.confirmed:not(.cancelled):not(.finished) .eventlabel{
    color: black;
  }

  .eventcard.confirmed:not(.cancelled):not(.finished) .eventdate{
    color: black;
  }
  
  .eventcard.confirmed:not(.cancelled):not(.finished) > .eventstatusicon{
    color: black;
  }

  .eventcard.cancelled{
    background-color: var(--alert-danger);
    color: white;
  }

  .eventcard .cancelledchip{
    background-color: var(--alert-danger);
    color: #ffffff70;
  }

  .eventcard.cancelled .cancelledchip{
    background-color: black;
  }

  .eventcard.cancelled a{
    display: none;
  }

  .eventcard.finished a{
    display: none;
  }

  .eventcard.finished{
    background-color: black;
    color: white;
  }

  .eventcard.cancelled .confirmedchip{
    display: none;
  }
  
  .eventcard.finished .confirmedchip{
    display: none;
  }

  
  .eventcard.cancelled .eventcontent,
.eventcard.cancelled .eventstatusicon,
.eventcard.finished .eventcontent,
.eventcard.finished .eventstatusicon {
  opacity: 0.4;
}

  .eventcard .eventlabel{
    color: white;
  }
  
  .eventcard .eventdate{
    color: white;
    font-family: "Encode Sans", sans-serif;
  }

  .eventcard > .eventstatusicon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: block;
    background-color: currentColor;
    color: white;
  }

  .icon-alarm {
    -webkit-mask: url("/assets/alarm.svg") center / contain no-repeat;
    mask: url("/assets/alarm.svg") center / contain no-repeat;
  }

  .icon-check {
    -webkit-mask: url("/assets/check.svg") center / contain no-repeat;
    mask: url("/assets/check.svg") center / contain no-repeat;
  }

  .icon-close {
    -webkit-mask: url("/assets/close.svg") center / contain no-repeat;
    mask: url("/assets/close.svg") center / contain no-repeat;
  }

  .icon-arrow-circle-right {
    -webkit-mask: url("/assets/arrow_circle_right.svg") center / contain no-repeat;
    mask: url("/assets/arrow_circle_right.svg") center / contain no-repeat;
  }


  .eventcard.minimeet.confirmed:not(.cancelled):not(.finished) {
    background-color: var(--minimeet); 
  }
  
  body.yellow .eventcard.minimeet.confirmed:not(.cancelled):not(.finished){
    background-color: var(--primary-light);
  }
  
  .eventcontent {
    flex-grow: 1; 
  }
  
  .eventlabel {
    color: black;
    font-weight: bold;
    font-family: "Encode Sans", sans-serif;
    opacity: 0.7;
    margin: 0;
    font-size: 0.9rem;
  }

  .eventdate {
    color: black;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    margin: 0;
    line-height: 1.2;
  }
  
  .eventbtn {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .mainitemlist{
    display: flex;
    flex-direction: column;
    margin: 15px 0;
    gap: 10px;
  }

  .mainitemlist svg{
    width: 25px;
    margin: 0;
  }


  @media (max-width: 768px) {
    .eventcard {
      flex-wrap: nowrap;
    }

    .eventcontent {
      min-width: 0;
    }

    .eventcard > .eventbtn {
      flex-shrink: 0;
      margin-left: auto;
    }

    .eventcard .eventdate {
      white-space: nowrap;
    }
  }

  @media (min-width: 768px) {
    .nextevent {
        grid-template-columns: repeat(2, 1fr);
    }
}

.slideshow {
  background-color: var(--primary-dark);
  color: white;
  box-sizing: border-box;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.slideshow .view {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  inset: 0;
}

.slidetrack {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.slideshow .sliderholder {
  position: absolute;
  bottom: 0;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
  z-index: 10;
  pointer-events: none;
}


.slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(44, 14, 68);
}

.slide a{
  color: cyan;
}

.slide .limitcard {
  width: 100%;
  max-width: 1000px;
}

.slide .applecard {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-width: 1000px;
}

.slide .applecard .top {
  flex: 1;
}

.slide .applecard .bottom {
  display: flex;
  padding: 20px;
}

.slide .applecard .bottom .left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: left;
  text-align: left;
}

.slide .applecard .bottom .left h1 {
  font-size: clamp(2rem, 10vw, 4rem);
  margin-left: -0.05em;
  margin-bottom: -3px;
  margin-top: -5px;
  color: var(--primary);
}

.slide .applecard .bottom .left h1.mini{
  color: var(--minimeet);
}

.slide .applecard .bottom .left p {
  margin-left: 0.01em;
}


.slide .applecard .bottom .right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.applechip a{
  text-decoration: none;
  font-weight: bold;
  color: black;
}

.applechip>div {
  display: flex;
  align-items: center;
  justify-content: left;
  text-align: left;
  padding: 0 5px;
  margin-left: -2px;
}


.applechip .button {
  margin: 0;
}

.slideshow .titlecard {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slideshow .img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  opacity: 0.5;
}

.slideshow .bglogo {
  max-width: 1000px;
  margin: 0;
}

.slideshow .bgicon {
  margin: 0;
  font-size: 200px;
  margin-top: -80px;
}

.slideshow .slider .holder {
  height: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 3px;
}

.slideshow .slider .holder .dot {
  width: 7px;
  height: 7px;
  background-color: var(--primary-dark);
  border-radius: 100px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: width 0.4s ease;
}

.slideshow .slider .holder .dot.active {
  width: 30px;
  background-color: var(--primary-light);
}

.slideshow .slider .holder .dot.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background-color: var(--primary-dark);
  border-radius: 100px;
}

.slideshow .slider .holder .dot.active.filling::before {
  animation: filler 5s linear forwards;
}

.slideshow .slider .holder .dot.active.paused::before {
  width: 100%;
}

@keyframes filler {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.slideshow .titlecard h1 {
  font-size: clamp(2rem, 10vw, 7rem);
}

.slideshow .videocredit{
  position: absolute;
  bottom: 10px;
  color: white;
  opacity: 0.7;
  mix-blend-mode: lighten;
  padding: 4px 8px;
  font-size: 13px;
  margin: 0;
}

.slideshow video{
  width: 100vw;
  height: 100%;
  object-fit: cover;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
}

.hero-poster,
#hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-poster {
  z-index: 1;
}

#hero-video {
  z-index: 2;
  opacity: 0;
  transition: opacity 250ms ease;
}

#hero-video.ready {
  opacity: 1;
}

#indexupcomingevents {
  --homepage-event-card-height: 72px;
  --homepage-event-card-gap: 20px;

  min-height: calc((var(--homepage-event-card-height) * 2) + var(--homepage-event-card-gap));
}

#indexupcomingevents .eventcard {
  min-height: var(--homepage-event-card-height);
  box-sizing: border-box;
}

@media (max-width: 768px) {
  #indexupcomingevents {
    min-height: calc((var(--homepage-event-card-height) * 4) + (var(--homepage-event-card-gap) * 3));
  }
}