:root {
  --content-width: 100rem;
  --blue: #0B3049;

}

*,
*:after,
*:before{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.transition-fade {
  transition: 0.4s;
  opacity: 1;
}

html.is-animating .transition-fade {
  opacity: 0;
}

.turbo-progress-bar {
  height: 5px;
  background-color: green;
}



html {
  font-family: 'GT Pressura', sans-serif;
  font-size: 18px;
  text-rendering: optimizeLegibility;
  font-weight: 300;
  /* background: #252728; */
  color: #fff;
  scroll-padding-top: 6rem;

}

body {
  /* overflow: hidden;  */
  position: relative;
  min-height: 100vh;
  background: #000;

}



li {
  list-style: none;
}

a {
  color: currentColor;
  text-decoration: none;
}

strong, b {
  font-weight: 700;
}

h1, h2, h3, h4 {
  font-weight: 300;
}

h1 {
  font-size: 5rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1;

}
h2 {
  font-size: 1.55rem;
}

h3 {
  text-transform: uppercase;
  font-size: 1.75rem;
  padding-bottom: 1rem;
}


img {
  width: 100%;
  height: auto;
}


.wrap {
  padding: 6vh;
  max-width:  var(--content-width);
  margin: 0 auto;
}


.header {
  display: block;
  width: 100%;
  padding: 1rem 1rem 0 1rem;
  position: fixed;
  top: 0;
  position: sticky;
  z-index: 1000;
}


.header .logo {
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.45rem;
}

.languages {
  display: inline-block;
  float: right;
  margin-bottom: 1rem;
  margin-right: 1rem;
  text-transform: uppercase;
  font-size: 1.45rem;

}
.languages li {
  display: inline-block;
  text-transform: uppercase;
  font-weight: 300;
  margin-right: .75rem;
  color: #000;
}

.languages li.active {

  font-weight: 700;

}



.header .home {
    float: right;
    margin-top: -.3rem;
}

.header .home svg {
  max-width: 1.6rem;
}

.button_container {
  float: right;
  margin-right: .5rem;
}


.button_container svg {
  max-width: 2.2rem;
}


.header.hr {
  /* border-bottom: 3px solid; */
}

.header.hr .logo {
  color: #000;
}

.header.hr .logo::before {
  content: '';
  background-image: url(../img/back.svg);
  height: 1.6rem;
  width: 1.6rem;
  display: inline-block;
  background-size: contain;
  vertical-align: -6px;
}


.header.hr .logo img {
  max-width: 3rem;
}


.overlay {
  position: absolute;
  background: rgba(0, 0, 0, 0.85);
  top: 0;
  right: 0;
  width: 100%;
  height: 0%;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity .35s, visibility .35s, height .35s;
  transition: opacity .35s, visibility .35s, height .35s;
  overflow: hidden;
}

.overlay .text {
  max-width: 45rem;
  background: #fff;
  color: #000;
  padding: 2rem;

  margin: 0 auto;
  overflow: scroll;
}

.overlay .text {
  padding: 1.75rem;
  max-width: 25rem;
  width: 90%;
  height: auto;
  max-height: 29rem;
  /* border-radius: 7px; */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.overlay .text p {
  font-size: 1rem;
}
.overlay.open {
  opacity: 1;
  visibility: visible;
  height: 100%;
  z-index: 1000;
}

.intro h1 {
  width: 48%;
  float: left;
  margin-right: 2%;
}

.introtext {
  width: 50%;
  float: left;
  font-size: 1.45rem;
  font-weight: 700;
  /* font-family: 'GT Pressura Mono'; */
}

.intro {
  display: inline-block;
  margin-bottom: 3rem;
}

.intro p {
  margin-bottom: 1.5rem;
}

/* The Clearfix™: A classic … */
.cf::after {
  content: "";
  display: block;
  height: 0;
  overflow: hidden;
  clear: both;
}

.btn {
  padding: 1rem 2rem;
  background: #fff;
  color: #000;
  margin-bottom: 1rem;
  border-radius: 4px;
  display: block;
  text-align: center;
  transition: opacity .3s ease-in-out;
}

.btn:hover {
  opacity: .55;
}

video {
  width: 100%;
  height: auto;
}

/* builder  */

.builder h1 {
  text-align: center;
  padding: 6rem 0 8rem 0;
  max-width: 65rem;
  margin: 0 auto;
}


.charts {
  margin-bottom: 5rem;
}

.text p {
  font-size: 1.5rem;
  line-height: 1.45;
}

.text p,
.text figure,
.text ul,
.text ol {
  margin-bottom: 1.5em;
  display: block;
  margin: 2rem auto;
  max-width: 70rem;

}
.text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  /* text-align: center; */
  margin: 2rem auto;
  max-width: 70rem;
}

.text h3 {
  font-size: 1.5rem;
  /* text-align: center; */
  margin: 7rem auto 2rem auto;
  max-width: 70rem;
  border-bottom: 3px solid;
  font-family: 'GT Pressura Mono';

}

.text > *:first-child {
  margin-top: 0;
}
.text a {
  position: relative;
  white-space: nowrap;
  font-weight: 500;
  z-index: 1;
  display: inline-block;
  border-bottom: 2px solid #000;
}
.text figure {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.text img {
  width: 100%;
}

.text iframe {
  width:  100%;
  height: auto;
}

.text ul li {
  font-size: 1.5rem;
  list-style-type: square;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.bglogo {
  position: absolute;
  z-index: 0;
  top: 1rem;
  opacity: 0.06;
  left: 0;
}
.swiper {
  width: 100%;
  height: 100%;
}

.startlogo {
  max-width: 16rem;
  margin: 0 auto;
  display: block;
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.start h2{
  font-size: 6rem;
  font-weight: 700;
  margin: 0 auto;
  text-transform: uppercase;
  max-width: 45rem;
  text-align: center;
  line-height: 1;
  margin-bottom: 3rem;
}

.start .card {
  background: #B4D069;
  color: #fff;
}

.start .logos img {
  max-width: 9rem;
  height: 5rem;
  display: inline-block;
}
/* .start .wrap {
  max-width: 55rem;
} */

.start .wrap p {
  font-size: 1.35rem;
  font-family: 'GT Pressura Mono';
  line-height: 1.35;
  letter-spacing: -0.2px;
  max-width: 45rem;
  margin: 0 auto;
  padding-bottom: 2rem;
}

.marquee {
  position: relative;
  overflow: hidden;
  --offset: 10vw;
  --move-initial: calc(-25% + var(--offset));
  --move-final: calc(-50% + var(--offset));
  /* border-bottom: 4px solid;
  border-top: 4px solid; */
  margin-bottom: 2rem;
  color: #B4D069;
}

.marquee__inner {
  width: fit-content;
  display: flex;
  position: relative;
  transform: translate3d(var(--move-initial), 0, 0);
  animation: marquee 30s linear infinite;
  animation-play-state: running;
}

.marquee span {
  font-size: 5em;
  font-family: 'GT Pressura Mono';
  font-weight: 300;
  padding: 0 2vw;
  text-transform: uppercase;
  letter-spacing: 4px;
  white-space: nowrap;
}

/* .marquee:hover .marquee__inner {
  animation-play-state: paused;
} */

@keyframes marquee {
  0% {
      transform: translate3d(var(--move-initial), 0, 0);
  }

  100% {
      transform: translate3d(var(--move-final), 0, 0);
  }
}




.home .swiper-slide {
  height: 100%;
  /* background: #000; */
}

.start h2 {
    font-size: 6rem;
    text-align: center;
}

.home .swiperimg {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 0;
  object-fit: cover;
  opacity: .5;
  transition: bottom .3s ease-in;
  animation-duration: 1s;
}




@keyframes slides {
  0% { 
    clip-path: polygon(92% 4%,99% 40%,94% 95%, 16% 91%, 9% 25%,26% 9%);
    clip-path: polygon(12% 4%, 62% 3%, 98% 7%, 100% 94%, 9% 98%, 0 92%);

  }
  100% { 
    clip-path: polygon(94% 14%,99% 40%,94% 95%,6% 91%,2% 22%,22% 9%);
    clip-path: polygon(2% 8%, 62% 1%, 98% 10%, 90% 94%, 39% 98%, 0 90%);
  }
}

@keyframes slides2 {
  0% { 
    clip-path: polygon(92% 4%,99% 40%,94% 95%, 16% 91%, 9% 25%,26% 9%);
    clip-path: polygon(12% 4%, 62% 3%, 98% 7%, 100% 94%, 9% 98%, 0 92%);

  }
  100% { 
    clip-path: polygon(94% 14%,99% 40%,94% 95%,6% 91%,2% 22%,22% 9%);
    clip-path: polygon(2% 8%, 62% 1%, 98% 10%, 90% 94%, 39% 98%, 0 90%);
  }
}





.grid {
  display: grid;
  grid-gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
  /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
  grid-auto-flow: dense; 
}


.card {
  background: #000;
  background: #d95000;
  color: #fff;
  padding: 2rem;
  position: relative;
  display: block;
  margin-bottom: 1.5rem;
  clip-path: polygon(94% 14%,99% 40%,94% 95%,6% 91%,2% 22%,22% 9%);
  clip-path: polygon(2% 8%, 62% 1%, 98% 10%, 100% 94%, 39% 100%, 0 92%);
  animation: cards 8s infinite alternate;
  animation-timing-function: linear;
  text-align: center;
  box-shadow: 10px 5px 5px red;
}



.card:nth-child(1) {
  clip-path: polygon(92% 4%,92% 45%,93% 97%,2% 98%,1% 2%,22% 9%);
  animation: cards2 8s infinite alternate;
  animation-timing-function: linear;
}

.card:nth-child(2) {
  clip-path: polygon(96% 1%,87% 25%,73% 91%,12% 92%,3% 1%,28% 2%);
  animation: cards 7s infinite alternate;
  animation-timing-function: linear;
}

.card:nth-child(3) {
  clip-path: polygon(96% 1%,87% 25%,73% 91%,12% 92%,3% 1%,28% 2%);
  animation: cards2 6s infinite alternate;
  animation-timing-function: linear;
}

.card:nth-child(3) {
  clip-path: polygon(96% 1%,87% 25%,83% 94%,13% 92%,4% 3%,28% 2%);
  animation: cards2 7s infinite alternate;
  animation-timing-function: linear;
}

.card h3 {
  text-transform: none;
  font-family: 'GT Pressura Mono';
  font-size: 1.8rem;
  margin-bottom: 1rem;
  letter-spacing: -0.1px;
  max-width: 80%;
  margin: 0 auto;
}

.card :hover {
  opacity: .9;
}

.card.poster {
  min-height: 17rem;
}

.card.poster::after {
  content: '';
  background-image: url('assets/img/play.svg');
}

.card.poster img {
  position: absolute;
  transform: scale(1.5);
  left: 0;
  z-index: -2;
  /* opacity: .4; */
}


@keyframes cards {
  0% { 
    clip-path: polygon(92% 4%,99% 40%,94% 95%, 16% 91%, 9% 25%,26% 9%);
    clip-path: polygon(12% 4%, 62% 3%, 98% 7%, 100% 94%, 9% 98%, 0 92%);

  }
  100% { 
    clip-path: polygon(94% 14%,99% 40%,94% 95%,6% 91%,2% 22%,22% 9%);
    clip-path: polygon(2% 8%, 62% 1%, 98% 10%, 90% 94%, 39% 98%, 0 90%);
  }
}

@keyframes cards2 {
  0% { 
    clip-path: polygon(92% 4%,99% 40%,94% 95%, 16% 91%, 9% 25%,26% 9%);

  }
  100% { 
    clip-path: polygon(94% 14%,99% 40%,94% 95%,6% 91%,2% 22%,22% 9%);
  }
}


.arrow {
  max-width: 2.3rem;
  margin-top: 1rem;
}

.bgimage {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: auto;
  left: 0;
  overflow: hidden;
  object-fit: contain;
  z-index: -1;
  opacity: .4;
}

/* Overlay Styles */
.overlayBg {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 5;
  width: 100vw;
  height: 100vh;
  display: none;
}
.overlayBg.open {
  display: block;
}
[overlay] {
  position: fixed;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  padding: 30px;
  background-color: white;
  box-shadow: 0 3px 5px #0005;
  visibility: hidden;
  opacity: 0;
  transition:
    visibility 0s linear 0.4s,
    opacity 0.4s,
    transform 0.4s;
}
[overlay].open {
  visibility: visible;
  opacity: 1;
  transition:
    opacity 0.7s,
    transform 0.7s;
}
[overlay] button.close {
  background: none;
  border: none;
  position: absolute;
  right: 0;
  top: 0;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  outline: none;
}
[overlay] button.close:hover,
[overlay] button.close:focus {
  color: #000;
}

iframe {
  border: none;
  width: 100%;
  height: auto;
  min-height: 100%;
}



/* accordion */

.accordion {
  border-top: 1px solid;
  padding: 1.4rem 0;
  cursor: pointer;
  font-weight: 300;
  hyphens: manual;
}


.accordion::after {
     content: '\002B';
    float: right;
  }

.accordion.active::after {
 content: "\2212";
}

.accordion-panel {
 overflow: hidden;
 /* max-width: 65rem; */
 max-height: 0;
 transition: max-height 0.2s ease-in-out;
 margin-bottom: 0;
}

.accordion-panel .btn {
  margin-top: 0;
  margin-bottom: 3rem;
}




@media only screen and (max-width: 69rem) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro h1,   .introtext  {
    width: 100%;
    float: none;
  }

}



@media only screen and (max-width: 36em) {
  .grid {
    display: block;
  }

  h1 {
    font-size: 2rem;
  }


  .wrap {
    padding: 1rem;
    max-width:  var(--content-width);
    margin: 0 auto;
  }

  .card {
    padding: 1rem
  }

  .card h3 {
      font-size: 1.5rem;
  }
  .header .logo {
    margin-bottom: 1rem;
    font-size: 1.5rem;
  }

  .header .home svg {
    max-width: 2rem;
  }

  .swiper-slide h2 {
    font-size: 2rem;
  }
  .bgimage {
    width: 160%;
  }

  .languages {
    font-size: 1.5rem;
  }

  .marquee span {
    font-size: 2.5em;
    }

}