
@font-face {
  font-family: "Venera";
  src: url("../fonts/Venera-900.otf"), url("../fonts/Venera-500.otf");
}
* {
  box-sizing: border-box;
  user-select: none;
}

::-webkit-scrollbar {
  display: none;
}

figure {
  margin: 0;
  overflow: hidden;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100vh;
  height: -webkit-fill-available;
  overscroll-behavior-y: none;
}

body {
  color: #fff;
  background: #000000;
  font-family: "Venera", sans-serif;
}

footer {
  position: fixed;
  z-index: 999;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.5rem;
  width: 100%;
  height: 2em;
  font-family: "Venera", sans-serif;
  font-size: clamp(0.75rem, 2vw, 1rem);
}


h1, h2, h3, h4, h6 {
  color: #fff;
  font-family: "Venera";
  font-size: 1rem;
  text-decoration: none;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  text-align: center;
}

h2 {
  font-size: clamp(1.75rem, 5vw, 4rem);
}

h3 {
  font-size: 0.75rem;
  margin-top: 16px;
  text-transform: uppercase;
}

h4 {
  font-weight: 100;
  font-size: 1rem;
  margin-bottom: 16px;
}

h5 {
  font-family: "Montserrat";
  font-size: clamp(0.75rem, 5vw, 2rem);
  font-weight: 400;
  text-decoration: none;
}

a {
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  text-transform: none;
}

a:hover {
  color: #ff0000;
}

p {
  font-family: "Montserrat";
  font-size: 1.5rem;
  line-height: 1.5;
}

.bold {
  font-weight: 500;
}

.slide {
  height: 100%;
  width: 100%;
  top: 0;
  position: fixed;
  visibility: hidden;
}
.slide__outer, .slide__inner {
  width: 100%;
  height: 100%;
  overflow-y: hidden;
}
.slide__content {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.slide__content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Black overlay with 50% opacity */
  z-index: 0; /* Ensure it appears behind the content */
}
.slide__container {
  position: relative;
  width: 100vw;
  margin: 0 auto;
  height: 90vh;
  margin-bottom: 10vh;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(10, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  padding: 0 1.5rem;
}
.slide__heading {
  --width: 200;
  display: block;
  margin: 0;
  padding: 0;
  z-index: 999;
  mix-blend-mode: normal;
  grid-area: 7/2/8/11;
  align-self: center;
}
.slide__heading h2 {
  text-align: left;
  font-family: "Venera";
  font-size: clamp(1.75rem, 5vw, 4rem);
  font-weight: 900;
  font-variation-settings: "wdth" var(--width);
  color: #ffffff;
}
.slide__text {
  --width: 200;
  display: block;
  margin: 0;
  padding: 0;
  z-index: 999;
  mix-blend-mode: normal;
  grid-area: 8/1/11/11;
  align-self: flex-start;
}
.slide__text p {
  text-align: left;
  font-family: "Montserrat";
  font-size: clamp(0.75rem, 5vw, 1rem);
  font-weight: 400;
  font-variation-settings: "wdth" var(--width);
  color: #ffffff;
}
.slide__link {
  --width: 200;
  display: block;
  text-align: left;
  font-family: "Venera";
  font-size: clamp(0.75rem, 15vw, 1rem);
  font-weight: 400;
  font-variation-settings: "wdth" var(--width);
  margin: 0;
  padding: 0;
  color: #ffffff;
}
.slide__img-cont {
  grid-area: 3/1/7/11;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.slide__img-cont img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.slide:nth-of-type(1) {
  visibility: visible;
}
.slide:nth-of-type(1) .slide__heading {
  text-align: center;
}

.slide:nth-of-type(2) .slide__img-cont {
  background-position: top;
}

.slide:nth-of-type(6) .slide__img-cont {
  background-image: url(../img/stats.png), linear-gradient(rgba(0, 0, 0, 0.7)), url(../img/smiles.jpg);
  background-size: contain, cover, cover;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: center, center, center;
}



/* SUBPAGE */
.subpage {
  width: 100%;
  height: 100%;
  display: flex;
  padding: 1.5rem;
  flex-direction: column;
}

.subpage-intro {
  width: 100%;
  height: 100%;
  padding: 4rem 0;
  padding-top: 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.subpage-banner {
  width: 100%;
  height: 30rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
}

.subpage-grid {
  width: 100%;
  height: auto;
  padding: 4rem 0;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-template-rows: auto;
}

.grid-text {
  padding-bottom: 4rem;
}

.grid-img {
  width: 100%;
  min-height: 20rem;
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  border-radius: 16px;
}

ul {
  list-style-type: none;
  font-family: "Montserrat";
  font-weight: 400;
  padding-top: 2rem;
}
li, li a {
  font-size: 1.25rem;
  padding: 0 1rem;
  padding-bottom: 1rem;
}

blockquote {
  max-width: 90%;
  margin: 2rem auto;
  position: relative;
  font-family: "Venera";
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 900;
  font-style: italic;
  text-align: center;
  text-transform: uppercase;
  padding: 1rem;
}

blockquote:before {
  content: "\201C";
  font-weight: bold;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.25);
  position: absolute;
  top: -1rem;
  left: -1rem;
  font-style: normal;
}
blockquote:after {
  content: "\201D";
  font-weight: bold;
  font-size: 4rem;
  color: rgba(216, 216, 216, 0.25);
  position: absolute;
  bottom: -4rem;
  right: -1rem;
  font-style: normal;
}

.grid-text a svg {
  width: 2.5rem;
  height: 2.5rem;
  fill:#fff;
}

.icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  stroke-width: 0;
  stroke: #fff;
}

.plain-text {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.plain-text p {
  color: #eeeeee;
}

.subpage-grid h2 {
  font-size: 2rem;
}

.subpage-grid ul {
  padding: 0;
  padding-top: 2rem;
}


@media only screen and (min-width: 1024px) {
  .overlay__content,
.slide__container {
    padding: 0 3rem;
    margin-top: 10vh;
    height: 80vh;
  }

  .overlay__img-cont {
    grid-area: 5/4/10/11;
  }

  .overlay__count {
    grid-area: 2/10/3/11;
  }

  .slide__img-cont {
    margin-top: 0;
    grid-area: 2/6/7/10;
  }

  .slide__heading {
    grid-area: 5/2/5/10;
  }
  .slide__text {
    grid-area: 6/3/10/7;
  }

  /* VIDEO SLIDE */
  .slide:nth-of-type(1) .slide__heading {
    grid-area: 6/1/6/11;
    text-align: center;
  }

  /* DANNY SLIDE */
  .slide:nth-of-type(2) .slide__img-cont {
    grid-area: 1/7/9/10;
    background-position: top;
  }
  .slide:nth-of-type(2) .slide__heading {
    grid-area: 6/2/6/10;
  }
  .slide:nth-of-type(2) .slide__text {
    grid-area: 8/3/10/6;
  }

  /* LMP3 SLIDE */
  .slide:nth-of-type(3) .slide__img-cont {
    grid-area: 1/2/9/6;
    background-position: top;
  }
  .slide:nth-of-type(3) .slide__heading {
    grid-area: 6/8/6/10;
  }
  .slide:nth-of-type(3) .slide__text {
    grid-area: 8/7/11/9;
  }

  /* GT3 SLIDE */
  .slide:nth-of-type(4) .slide__img-cont {
    grid-area: 5/6/11/11;
  }
  .slide:nth-of-type(4) .slide__heading {
    grid-area: 3/5/3/10;
  }
  .slide:nth-of-type(4) .slide__text {
    grid-area: 5/2/5/5;
  }

  /* PARTNERS SLIDE */
  .slide:nth-of-type(5) .slide__img-cont {
    grid-area: 1/7/9/10;
    background-position: top;
  }
  .slide:nth-of-type(5) .slide__heading {
    grid-area: 6/2/6/10;
  }
  .slide:nth-of-type(5) .slide__text {
    grid-area: 8/3/10/6;
  }


  /* STATS SLIDE */
  .slide:nth-of-type(6) .slide__img-cont {
    grid-area: 2/5/11/11;
    background-image: url(../img/stats.png);
    background-position: center;
  }
  .slide:nth-of-type(6) .slide__heading {
    grid-area: 4/3/4/10;
  }
  .slide:nth-of-type(6) .slide__text {
    grid-area: 6/2/8/4;
  }

  /* SUBPAGE */

  .subpage-intro {
    width: 60%;
    min-height: 30rem;
    padding: 2rem 4rem ;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  .subpage-grid {
    width: 100%;
    height: auto;
    padding: 10rem 4rem;
    padding-bottom: 4rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 10rem;
  }

  .grid-text {
    padding: 0;
    align-self: center;
  }

  .grid-img {
    min-height: 40rem;
    height: 100%;
  }

  ul {
    padding: 2rem;
    padding-bottom: 0;
  }

  .plain-text {
    padding: 4rem;
  }

  blockquote {
    max-width: 60%;
  }


}