/** DISABLE BROWSER STYLES **/

/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

body {
  /* 3. Add accessible line-height */
  line-height: 1.5;
  /* 4. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

.overflow-hidden {
  overflow: hidden;
}

/* 5. Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* 6. Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}

/* 7. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* 8. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}
@media screen and (max-width: 650px) {
  html {
    scroll-padding-top: 50px!important;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

/*
  9. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}

@font-face {
  font-family: 'Roboto';
  src: url('../assets/fonts/Roboto-VariableFont_wdth\,wght.woff2') format('woff2');
  font-style: normal;
}

@font-face {
  font-family: 'Bebas Neue';
  src: url('../assets/fonts/BebasNeue-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

/** FONTS **/
  h1, h2, h3, h4, h5, h6, .h1, .h2 {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    color: #343436;
    line-height: normal;
  }

  .h1 {
    font-size: 4rem;
    padding-bottom: 1rem;
  }
  .h2 {
    font-size: 3rem;
    padding-bottom: 1rem;
  }
  span, p, a, li {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #343436;
    line-height: 120%;
  }

  @media screen and (max-width: 600px) {
    .h1 {
      font-size: 3.5rem;
      text-align: center;
    }
    .h2 {
      font-size: 2.75rem;
      text-align: center;
      padding-bottom: 0rem;
    }
    span, p, a, li {
      line-height: 150%;
    }
  }

  .hidden {
    display: none;
  }

/** HEADER **/
.header {
  padding-top: 0.25rem!important;
  padding-bottom: 0.25rem!important;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  height: 70px;
  border-bottom: 1px solid #808080;
}

.header img {
  width: auto;
  height: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.header__box {
  display: none;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__box a {
  height: 100%;
}

.header__nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.header__nav-links a {
  text-decoration: none;
  font-weight: 800;
}

@media screen and (min-width: 651px) {
  .header__box {
    display: flex;
  }
  .mobile-header__box {
    display: none;
  }
}

@media screen and (max-width: 650px) {
  .mobile-header__box {
    display: block;
    position: relative;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    display: flex;
    align-items: center;
    height: 100%;
  }
  .mobile-header__logo {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    top: 0;
  }
  .mobile-header__logo img {
    max-height: 50px;
    max-width: 50px;
    object-fit: contain;
  }
  .header {
    height: 50px;
  }
  .open-mobile-nav-icon {
    cursor: pointer;
  }
}

.mobile-side-nav {
  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  top: 0; /* Stay at the top */
  left: 0;
  background-color: #343436; /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 60px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  z-index: 12;
}

.backdrop {
  width: 100%;
  height: 100%;
  z-index: 11;
  background-color: #000;
  opacity: 0.4;
  display: none;
  position: fixed;
  left: 0;
  top: 0;
}

.close-mobile-nav {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 36px;
  margin-left: 50px;
  cursor: pointer;
}

.mobile-side-nav a {
  color: #ED681B;
  text-decoration: none;
  padding: 0 1rem;
  font-weight: 800;
}

/** SWIPER HERO **/
.page-hero .swiper, .page-hero .swiper-wrapper, .page-hero .swiper-slide {
  max-height: calc(100vh - 70px);
}

.swiper-slide {
  height: auto!important;
}

.page-hero img {
  object-fit: cover;
  object-position: center bottom;
  width: 100%;
  height: 100%;
}

.page-hero img:nth-child(2) {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
}

.page-hero .swiper-pagination-bullet {
  background-color: white;
  opacity: 0.5;
}

.page-hero .swiper-pagination-bullet-active {
  background-color: #ED681B;
  opacity: 1;
}

/** COLORS **/
.bg-primary {
  background-color: #ED681B;
}
.bg-gray {
  background-color: #343436;
}
.bg-white {
  background-color: white;
}
.text-primary {
  color: #ED681B!important;
}
.text-gray {
  color: #343436!important;
}
.text-white {
  color: white!important;
}

/** SPACING AND RADIUS **/
.section {
  padding-left: 6rem;
  padding-right: 6rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
  scroll-margin-top: 0px;
}
.max-width {
  max-width: 1500px;
  margin: auto;
}

@media screen and (max-width: 900px) {
  .section {
    padding-left: 1.25rem; /* 20px */
    padding-right: 1.25rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}
.radius-20 {
  border-radius: 20px;
}

/** FOUNDING STORY **/
.founding__text-box {
  padding: 3rem;
}

@media screen and (max-width: 600px) {
  .founding__text-box {
    padding: 2rem 1.25rem;
  }
}

.founding__text, .founding__text-box h1 {
  margin: auto;
}

.founding__text:first-child {
  padding-top: 0!important;
}

.founding__text {
  padding-top: 1rem;
}

.founding__numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 3rem;
}

@media screen and (max-width: 600px) {
  .founding__numbers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.5rem;
  }
  .founding__number {
    font-size: 3.5rem;
  }
  .founding__numbers-box p:not(.h1) {
    font-size: 1.25rem;
  }
}

.founding__number {
  padding-bottom: 0px;
  position: relative;
  padding-right: 2px;
}

.founding__numbers-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/** CHAIRMEN **/
.chairmen h1 {
  padding-bottom: 2.75rem;
}

.chairmen__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 5%;
  row-gap: 3rem;
}

@media screen and (max-width: 600px) {
  .chairmen__grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .chairmen__box {
    max-width: 400px;
    margin: auto;
    width: 100%;
  }
  .chairmen__name {
    font-size: 1rem;
  }
}

.chairmen__box {
  display: flex;
  flex-direction: column;
}

.chairmen__image-box {
  position: relative;
}

.chairmen__box-image {
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  height: 100%;
  width: 100%;
}

.chairmen__position p {
  font-weight: 800;
  width: 100%;
  text-align: center;
  line-height: 1;
  font-size: 0.875rem;
}

.chairmen__position {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 10px;
  width: 80%;
  left: 50%;
  transform: translate(-50%, 50%);
  border-radius: 6px;
}

.chairmen__name {
  padding-top: 30px;
  font-weight: 800;
  font-size: 1.25rem;
  text-align: center;
}

.chairmen__mail {
  text-align: center;
  font-size: 0.875rem;
  padding-top: 2px;
}

@media screen and (max-width: 700px) {
  .chairmen__mail, .chairmen__position p {
    font-size: 1rem;
  }
  .chairmen__name {
    font-size: 1.5rem;
  }
}

/** SPONSORS **/

.sponsors__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 3rem;
  row-gap: 1.5rem;
}

@media screen and (max-width: 815px) {
  .sponsors__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media screen and (max-width: 700px) {
  .sponsors__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sponsors__box {
    padding: 8px!important;
  }
}

@media screen and (max-width: 600px) {
  .sponsors__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem!important;
  }
  .sponsors__box {
    max-width: none!important;
    padding: 8px!important;
  }
}

.sponsors__box {
  border-radius: 8px;
  padding: 16px 12px;
  max-width: 170px;
  max-height: 110px;
}

.sponsors__box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.sponsors h1 {
  padding-bottom: 2.75rem;
}

.sponsors__thanks-text {
  padding-top: 2.75rem;
}

/** FOOTER **/
.footer {
  padding-bottom: 3rem!important;
  padding-top: 3rem!important;
}

.divider {
  height: 1px;
  background-color: #808080;
  width: 100%;
}

.section:has(.divider) {
  padding-top: 0!important;
  padding-bottom: 0!important;
}

.footer__flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media screen and (max-width: 540px) {
  .footer__flex {
    flex-direction: column;
    row-gap: 1.5rem;
  }
  .footer {
    padding-bottom: 2rem!important;
    padding-top: 2rem!important;
  }
  .footer__copyright-banner p {
    font-size: 1rem!important;
  }
}

.footer__logo-box {
  display: flex;
  column-gap: 18px;
  align-items: center;
}

.footer__logo-box img {
  aspect-ratio: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 75px;
  max-height: 75px;
}

.footer__logo-box p {
  font-weight: 800;
}

.footer__links-box {
  display: flex;
  column-gap: 24px;
  align-items: center;
}

.footer__links-box a {
  text-decoration: none;
}

.footer__links-box span {
  font-size: 1.875rem;
}

.footer__socials {
  display: flex;
  align-items: center;
  column-gap: 5px;
}

.footer #instagram {
  width: 25px;
  height: 25px;
}

.footer #tiktok {
  width: 30px;
  height: 30px;
}

.footer__copyright-banner {
  display: flex;
  justify-content: center;
  padding: 10px;
}

.footer__copyright-banner p {
  font-size: 0.75rem;
}

/** Impressum **/
.section.impressum {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.impressum h1 {
  padding-top: 2rem;
}

.impressum .paragraph-spacing {
  padding: 1rem 0;
}

.impressum .text-bold {
  font-weight: 800;
  padding-bottom: 0.25rem;
}

.impressum ul {
  padding-top: 0.25rem;
}

.impressum .back-to-home__button {
  display: flex;
  align-items: center;
  column-gap: 5px;
  text-decoration: none;
}
.impressum .back-to-home__button svg {
  width: 18px;
  height: 18px;
}

.ds-padding-top {
  padding-top: 1rem;
}