#video {
  width: 1000px;
  width: 100%;
  padding: 0%;
  margin: 0 auto;
  opacity: 0.7;
}

.slogan-text {
  font-family: var(--title-font);
  font-size: var(--font-size-xl);
  line-height: 1.2;
  position: absolute;
  z-index: 1;
  color: var(--light-color);
  width: 100%;
  top: 45%;
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
  text-transform: uppercase;
}

.video-banner {
  position: relative;
}

.video-banner video {
  z-index: 0;
  position: relative;
}

.slogan-subtitles {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: var(--font-size-lg);
  position: absolute;
  text-align: center;
  z-index: 1;
  bottom: 0;
  color: var(--light-color);
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
}

@media screen and (max-width: 650px) {
  .video-banner {
    aspect-ratio: 4/5;
    overflow: hidden;
  }

  #video {
    object-fit: cover;
    height: 100%;
  }

  .slogan-text {
    top: 35%;
  }

  .slogan-subtitles {
    font-size: var(--font-size-md);
    flex-direction: column;
    gap: 30px;
  }
}
.section-title {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin: 90px auto 60px;
  }

    .section-title-line {
        height: 1px;
        width: 50%;
        border-width: 0;
        color: #f1f1f1;
        background-color: #f1f1f1;
    }

    .section-title-line-left {
        margin-left: 0;
    }

    .section-title-line-right {
        margin-right: 0;
    }

    @media screen and (min-width:500px) {

        .nobr {
            white-space: nowrap;
        }
    }
.link-explanation {
    font-family: var(--text-font);
    font-size: var(--font-size-t2);
    color: var(--light-color);
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: center;
  }
  .carousel {
    --swiper-pagination-color: var(--light-color);
    --swiper-pagination-left: auto;
    --swiper-pagination-right: 8px;
    --swiper-pagination-bottom: 0;
    --swiper-pagination-top: auto;
    --swiper-pagination-fraction-color: inherit;
    --swiper-pagination-bullet-size: 8px;
    --swiper-pagination-bullet-width: 8px;
    --swiper-pagination-bullet-height: 8px;
    --swiper-pagination-bullet-inactive-color: #ffffff;
    --swiper-pagination-bullet-inactive-opacity: 0.3;
    --swiper-pagination-bullet-opacity: 1;
    --swiper-pagination-bullet-horizontal-gap: 4px;
    --swiper-pagination-bullet-vertical-gap: 6px;

    --swiper-navigation-size: 45px;
    --swiper-navigation-top-offset: 45%;
    --swiper-navigation-sides-offset: 0px;
    --swiper-navigation-color: var(--light-color);
  }

  .carousel {
    padding: 0 40px 30px 40px;
    position: relative;
    margin-left: 10px;
  }

  .event-card-container {
    display: flex;
    justify-content: center;
  }

  .event-card {
    width: 300px;
    height: 490px;
    margin: 20px 10px;
    text-decoration: none;
    border-radius: 5px;
    color: var(--dark-color);
    background-color: var(--light-color);
    border: 5px solid var(--light-color);
    display: grid;
    grid-auto-rows: minmax(min-content, 1fr);
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
    transition: 0.5s;
  }

  .event-card-image {
    grid-column: span 2;
    height: 300px;
  }

  .event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px 3px 0 0;
  }

  .event-title {
    grid-column: span 2;
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 800;
    color: var(--dark-color);
    font-size: var(--font-size-sm);
    line-height: 1.2;
    padding: 0 10px;
    align-self: center;
  }

  .event-description {
    grid-column: span 2;
    height: 40px;
    font-family: var(--text-font);
    color: var(--dark-color);
    font-size: var(--font-size-t3);
    line-height: 1.2;
    padding: 0 10px;
    margin-bottom: 10px;
    align-self: center;
  }

  .event-card-date,
  .event-card-place {
    grid-column: 1 / 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 2px 10px;
  }

  .event-card-place {
    margin-bottom: 5px;
  }

  .event-card-text {
    font-family: var(--text-font);
    font-size: var(--font-size-t2);
    font-weight: 500;
  }

  .arrow {
    grid-column: 2 / 3;
    grid-row: 4 /6;
    background-color: lightgray;
    padding: 4px 6px;
    border-radius: 50%;
    transition: 0.5s;
    text-decoration: none;
    justify-self: right;
    align-self: center;
    margin-right: 20px;
  }

  .arrow svg {
    fill: var(--dark-color);
  }

  .event-card:hover {
    transform: scale(1.05);
  }

  .event-card:hover .arrow {
    background-color: var(--red-accent);
    border: none;
    transform: rotate(-45deg);
  }

  .event-card:hover .arrow svg {
    fill: var(--light-color);
    transform: translate(1px, 1px);
  }


  @media screen and (max-width:500px) {

    .swiper-button-next,
    .swiper-button-prev {
      display: none;
    }

    .event-card {
      transform: scale(0.9);
    }

    .event-card {
      transform: scale(0.9);
      margin: 0;
    }

    .event-card:hover {
      transform: scale(0.9);
    }

    .arrow {
      background-color: var(--red-accent);
      border: none;
      transform: rotate(-45deg);
    }

    .arrow svg {
      fill: var(--light-color);
      transform: translate(1px, 1px);
    }

    .event-card-text,
    .event-description {
      font-size: 15px;
    }

    .carousel {
      padding: 0 10px 20px 10px;
    }

    .section-title {
      margin: 30px auto;
    }
  }
.rule-list {
    max-width: 600px;
    width: 85%;
    margin-left: 10%;
    display: grid;
    grid-template-columns: 1fr 10fr;
    grid-template-rows: 4fr;
  }

  .rule-number-1,
  .rule-number-2,
  .rule-number-3,
  .rule-number-4 {
    color: var(--red-accent);
    font-family: var(--title-font);
    font-size: var(--font-size-md);
    text-align: left;
    grid-column: 1;
  }

  .rule-title-1,
  .rule-title-2,
  .rule-title-3,
  .rule-title-4 {
    color: var(--light-color);
    font-family: var(--title-font);
    font-size: var(--font-size-md);
    text-align: left;
    margin-left: 20px;
    grid-column: 2;
    line-height: 1.2;
  }

  .rule-text-1,
  .rule-text-2,
  .rule-text-3,
  .rule-text-4 {
    font-family: var(--text-font);
    font-style: normal;
    color: var(--light-color);
    font-weight: 400;
    font-size: var(--font-size-t2);
    text-decoration: none;
    text-align: justify;
    line-height: 1.5;
    margin: 10px 20px 60px;
    grid-column: 2;
  }

  @media screen and (max-width:500px) {

    .rule-text-1,
    .rule-text-2,
    .rule-text-3,
    .rule-text-4 {
      text-align: left;
    }
  }
.main-header {
  position: sticky;
  top: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(20, 14, 12);
  box-shadow: 0px 15px 10px -15px #111;
  z-index: 12;
}

.logo-top {
  max-width: 150px;
  padding: 10px 5px 10px 20px;
  z-index: 12;
}

.nav-desktop {
  font-family: var(--text-font);
  font-size: var(--font-size-t2);
  line-height: 150%;
  text-align: center;
  padding: 10px 20px 10px 5px;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 30px;
  z-index: 12;
}

.nav-desktop a {
  text-decoration: none;
  color: var(--light-color);
  transition: color 0.5s;
}

.nav-desktop a:hover {
  color: var(--red-accent);
}

#donate-button {
  padding: 10px 15px;
  transition: 0.5s;
}

#donate-button:hover {
  transform: scale(1.1);
  color: var(--light-color);
}

/* mobile  */
.nav-mobile {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  background-color: rgba(20, 14, 12, 0.8);
  backdrop-filter: blur(5px);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  padding-top: 100px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  z-index: 11;
}

.nav-mobile a {
  font-family: var(--text-font);
  font-size: var(--font-size-t2);
  color: var(--light-color);
  text-decoration: none;
  width: 100%;
  text-align: center;
}

.burger-icon {
  display: none;
}

.bar1, .bar2, .bar3 {
  transition: ease-in-out 0.4s;
}

.open .bar1 {
  transform: rotate(45deg) translate(6px, -7px);
}

.open .bar2 {
  opacity: 0;   
}

.open .bar3 {
  transform: rotate(-45deg) translate(-12px, 1px);
}

@media screen and (max-width:900px){
  .hide-on-mobile{
    display: none;
  }

  .burger-icon {
    display: block;
  }

  .nav-mobile {
    display: none;
  }

  .nav-mobile.open {
    display: flex;
        height: 100vh;
    width: 200px;
    padding-left: 40px;
  }

  .nav-mobile a {
    text-align: left;
    display: none;
  }

  .nav-mobile.open a {
    display: block;
  }
}


@media screen and (max-width:500px){
  .logo-top{
    max-width: 115px;
  }

  .nav-desktop{
    gap: 15px;
  }
  
  .nav-mobile {
    display: none;
  }

  .nav-mobile.open {
    display: flex;
    height: 100vh;
    width: 100%;
  }

  .nav-mobile a {
    display: none;
    opacity: 0;
    text-align: center;
    padding: 0%;
  }

  .nav-mobile.open a {
    display: block;
    opacity: 1;
  }

  #donate-button {
    padding: 5px 10px;
  }
}
footer {
        max-width: 1000px;
        margin: 30px 20px 10px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 3fr 1fr;
        gap: 30px;
        }

        .logo-bottom {
          max-width: 150px;
          justify-self: center;
        }
        .footer-section-1,
        .footer-section-2,
        .footer-section-3,
        .footer-section-4 {
          max-width: 250px;
          display: flex;
          flex-direction: column;
          gap: 20px;
        }

        .footer-section-2 a {
          text-decoration: none;
          color: var(--light-color);
          font-weight: 600;
          transition: 0.5s;
        }

        .footer-section-2 a:hover {
          color: var(--red-accent);
        }

        .social-media-icons {
          display: flex;
          align-items: center;
          gap: 10px;
        }

        .social-media-icons a svg{
          transition: 0.5s;
        }

        .social-media-icons a:hover svg{
          fill: var(--red-accent);
        }

        #rights,  #author {
          grid-column: span 2;
          justify-self: center;
          align-self: flex-end;
        }

      @media screen and (max-width:800px){
        footer {
          grid-template-columns: repeat(2, 1fr);
          grid-template-rows: 2fr 2fr 2fr 20px 20px;
        }

        .footer-section-1 {
          grid-column: 1;
        }

        .footer-section-2,
        .footer-section-3,
        .footer-section-4 {
          grid-column: 2;
        }
      }

       @media screen and (max-width:500px){
        .logo-bottom {
          max-width: 115px;
        }
      }

        @media screen and (max-width:380px){
        footer {
          grid-template-columns: 1fr;
          grid-template-rows: 0.5fr 2fr 2fr 1fr 20px 20px;
          margin-left: 40px;
        }

        .footer-section-1,
        .footer-section-2,
        .footer-section-3,
        .footer-section-4 {
          grid-column: 1;
        }
       }