


@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300&display=swap');


* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

:root {
  --white_glow: 0 0 2px white;
  --transparent_black: transparent;
  --black: rgba(0, 0, 0, 0.6);
  --red: rgb(253, 108, 89);
}

html {
  font-size: 10px;
  font-family: CenturyGothic, 'Roboto Mono', Roboto, Verdana, Geneva, Tahoma, sans-serif;
  color: rgb(242, 242, 242);
  scroll-behavior: smooth;
  height: 100%;
}

h1,
h2,
h3,
h4 {
    font-family: CenturyGothic, 'Roboto Mono', Retroica, Verdana, Geneva, Tahoma, sans-serif;
    color: rgb(242, 242, 242);
}

body {
  overflow-x: hidden;
  height: 100%;
  font-size: 5rem;
  color: white;
  background-color: black;
}

button {
  background: unset;
  border: unset;
}

/* Loader -------------------------------------------- */

.loading_page {
  z-index: 15;
  position: fixed;
  inset: 0;
  background-color: black;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity ease 0.8s;
  opacity: 1;
  transition: all 0.5s ease;
}

.loader {
  width: 10rem;
  animation: rotationX 4s infinite linear;
}

@keyframes rotationX {
  0% {
    transform: rotateX(0deg) rotateY(0deg);
  }

  25% {
    transform: rotateX(180deg);
  }

  50% {
    transform: rotateX(180deg) rotateY(180deg);
  }

  75% {
    transform: rotateX(359deg) rotateY(180deg);
  }

  100% {
    transform: rotateX(359deg) rotateY(359deg);
  }
}

/* Parallax background ---------------------------------- */

.parallax_group {
  position: relative;
  overflow: hidden;
  overflow-y: visible;
  scroll-behavior: smooth;
  height: 580vh;
  width: 100vw;
  /* perspective: 800px; */
  /* transform-style: preserve-3d; */
  display: flex;
  flex-direction: column;
  align-items: center;
  /* background-color: red; */
  z-index: 10;
}

.parallax_layer {
  position: absolute;
  inset: 0;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  z-index: -10;
}

.base_layer {
  position: absolute;
  /* height: 400vh; */
  background-image: url("img/bckTel2.png");
  background-attachment: local;
  background-size: cover;
  background-repeat: repeat-y;
  /* transform: translateZ(-1600px) scale(3); */
}

/* .top_layer {
  position: absolute;
  height: 350vh;
  background-image: url("img/pierre.png");
  background-attachment: local;
  background-size: min(120rem, 100vw) auto;
  background-repeat: repeat-y;
  background-position: top;
  transform: translateZ(-400px) scale(1.5);
} */

/* .mid_layer {
  position: absolute;
  height: 300vh;
  background-image: url("img/diag_bleue.png");
  background-attachment: local;
  background-size: min(120rem, 100vw) auto;
  background-repeat: repeat-y;
  background-position: top;
  transform: translateZ(-800px) scale(2);
} */

/* Effect ------------------------------------------------------------------------ */


@keyframes slidein1 {
  0% { 
      clip-path: inset(-1% 0 100% 0);
  }
  100%   { 
      clip-path: inset(96% 0 3% 0);
  }
}
@keyframes slidein2 {
  0%   { 
      clip-path: inset(96% 0 3% 0);
  }
  100% { 
      clip-path: inset(-1% 0 100% 0);
  }
}
@keyframes slidein3 {
  0% { 
      clip-path: inset(-1% 0 100% 0);
  }
  20%{
      clip-path: inset(18% 0 81% 0);
  }
  40%{
      clip-path: inset(9% 0 90% 0);
  }
  100%   { 
      clip-path: inset(30% 0 69% 0);
  }
}
@keyframes slidein4 {
  0% { 
      clip-path: inset(-1% 0 100% 0);
  }
  100%   { 
      clip-path: inset(60% 0 39% 0);
  }
}
@keyframes slidein5 {
  0%   { 
    clip-path: inset(85% 0 14% 0);
}
100% { 
    clip-path: inset(-1% 0 100% 0);
}
}

#first-clip{
  position:absolute;
  z-index: -9;
  left: 10px;
  animation: 8s ease-in 1s infinite  slidein1;
}
#second-clip{
  position:absolute;
  z-index: -8;
  left: 10px;
  animation: 7s ease-in 1s infinite slidein2;
}
#third-clip{
  position:absolute;
  z-index: -7;
  left: 10px;
  animation: 6s ease 1s infinite slidein3;
}
#fourth-clip{
  position:absolute;
  z-index: -6;
  left: 10px;
  animation: 10s ease 1s infinite slidein4;
}
#fifth-clip{
  position:absolute;
  z-index: -5;
  left: 10px;
  animation: 10s ease 1s infinite slidein5;
}

/* Contenu ------------------------------------------------------------------------ */

.main {
  position: absolute;
  inset: 0;
}

section {
  padding: 4rem 0;
}

section h3 {
  margin: 5rem auto;
  font-size: 5rem;
  text-shadow: var(--white_glow);
}

/* Navigation ----------------------------*/

nav {
  position: sticky;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
  height: 8rem;
  z-index: 10;
  transition: all 0.4s ease;
  transition: top 0.4s ease-in-out;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.nav-links {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-width: 500px;
  width: 70%;
  max-width: 90rem;
  list-style-type: none;
  padding: 0 4rem;
}

.nav-item {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

a.nav-link {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  transition: color 0.2s ease;
}

a.nav-link:hover {
  color: var(--red);
  transition: color 0.4s ease;
}

.logo_quadra {
  margin: 0 2rem;
}

.logo_quadra,
.logo_quadra a {
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo_quadra a img {
  height: 3rem;
  width: auto;
}

.burger {
  display: none;
  position: absolute;
  right: 20px;
  z-index: 2000;
  cursor: pointer;
}

.burger div {
  /* display: none; */
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px;
  transition: all 0.2s ease;
}

.burger:hover div {
  background-color: var(--red);
  transition: background-color 0.4s ease;
}

@media screen and (max-width: 950px) {
  .nav-links {
    position: absolute;
    top: 0;
    right: 0;
    height: 100vh;
    min-width: 50px;
    width: 250px;
    padding: 0;
    padding-top: max(10rem, 10vh);
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s ease-in;
    margin: 0;
    justify-content: flex-start;
  }
  .nav-links li {
    opacity: 0;
    margin-bottom: 5rem;
  }
  .burger {
    display: block;
  }
  .logo_quadra a img {
    height: 4rem;
    width: auto;
  }
  a.nav-link{
    font-size: 3rem;
  }
}

.nav-active {
  transform: translateX(0%);
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

/* transform burger menu into cross */

.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
  opacity: 0;
}

.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero ---------------------------------- */

.quadra {
  height: 100vh;
  width: 100vw;
  background-image: url("img/logoTitre.png");
  background-attachment: local;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Compteur ---------------------------- */

.counter_wrapper {
  height: auto;
  width: 100vw;
  padding: 6rem 1rem;
  background-color: var(--transparent_black);
  box-shadow: 0 0 5px 5px var(--transparent_black);
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.counter_wrapper h3 {
  font-size: 3rem;
  text-shadow: var(--white_glow);
  text-align: center;
}

#counter {
  font-family: CenturyGothic, 'Roboto Mono', Retroica, Verdana, Geneva, Tahoma, sans-serif;
  color: rgb(242, 242, 242);
  display: grid;
  grid-template-areas: "d_top h_top m_top s_top" "d_bottom h_bottom m_bottom s_bottom";
  grid-template-columns: 25% 25% 25% 25%;
  grid-template-rows: 10rem 2rem;
  color: white;
  text-align: center;
  font-size: 9rem;
  width: min(100%, 60rem);
  height: auto;
  margin: auto;
  margin-top: 4rem;
  text-shadow: var(--white_glow);
}

#counter div {
  vertical-align: bottom;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Le Quadrabang -------------------- */

.quadrabang {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--black);
  box-shadow: 0 0 5px 5px var(--black);
}

.quadrabang .ctnr{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

p.desc_quadra {
  flex-basis: 1;
  font-size: 1.7rem;
  text-align:justify;
  width: 40%;
  padding: 0 2rem;
  margin-right: 2rem;
  line-height: 3rem;
  text-indent: 6rem;
}

.trailer_ctnr{
  height: auto;
  width: 40%;
  
  overflow: hidden;
  margin-left: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.trailer_ctnr video {
  width: 100%;
  border-radius: 20px;
}

/* billetterie ----------------------- */

.billetterie {
  height: auto;
  min-height: 100vh;
  width: 100vw;
  /* background-color: var(--transparent_black);
  box-shadow: 0 0 5px 5px var(--transparent_black); */
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

p.infos_billetterie {
  flex-basis: 1;
  font-size: 1.7rem;
  text-align:justify;
  width: 70%;
  padding: 0 2rem;
  margin-right: 2rem;
  line-height: 3rem;
  text-indent: 3rem;
  margin-bottom: 2rem;
}

.billet_ctnr {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 100vw;
}

.billet {
  font-size: 1.5rem;
  font-family: CenturyGothic, 'Roboto Mono', Roboto, Verdana, Geneva, Tahoma, sans-serif;
  color: rgb(242, 242, 242);
  text-align: center;

  width: 30rem;
  padding: 4rem 0.5rem;
  margin: 1rem;
  border-radius: 2px;
  /* background-color: rgba(139, 0, 0, 0.616); */
  box-shadow: 0 0 1px 1px white; 

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  overflow: hidden;

  /* border: 2px solid white; */
}

.prix {
  font-size: 4rem;
  margin: 2rem;
  font-family: CenturyGothic, 'Roboto Mono', Retroica, Verdana, Geneva, Tahoma, sans-serif;
  color: rgb(242, 242, 242);
  z-index: 1;
}

.tarif {
  height: 6rem;
}

#navettes h4{
  min-height: 6rem;
  margin-bottom: 2rem;
}

#navettes .ouverture{
  margin-top: 2rem;
}

.horaire {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-decoration: underline;
}

.horaires {
  margin-bottom: 1rem;
}

.billet a {
  display: block;
  height: 6rem;
  margin-top: 2rem;
  padding: 2rem 3rem;
  z-index: 0;
  border-radius: 10px;
  box-shadow: 0 0 10rem 100rem var(--black);
  /* rgba(62, 96, 106, 0.527) */
  transition: all 0s ease;
}

.billet a.indisponible {
  background-color: rgba(196, 82, 66, 0.712);
  pointer-events: none;
}

.billet a.achat {
  background-color: rgba(255, 0, 0, 0.664);
  /* display: none; */
}

.billet a.achat:hover {
  border: 2px solid white;
  height: 6rem;
  background-color: rgba(255, 0, 0, 0.829);
  transition: all 0.1s ease;
}

.billet button {
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
  letter-spacing: 2.5px;
  color: white;
  background-color: transparent;
  font-family: CenturyGothic, 'Roboto Mono', Roboto, Verdana, Geneva, Tahoma, sans-serif;
  color: rgb(242, 242, 242);
}

.billet h4 {
  font-size: 3rem;
  font-family: CenturyGothic, 'Roboto Mono', Retroica, Verdana, Geneva, Tahoma, sans-serif;
  color: rgb(242, 242, 242);
  z-index: 1;
}

.billet p {
  z-index: 1;
}

.ouverture {
  font-size: 1.3rem;
}

.date_ouverture {
  font-weight: bold;
  font-size: 1.5rem;
  margin-top: 1rem;
  line-height: 25px;
  width: 26rem;
  max-width: 100%;
}

.cotisant {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cotisant h4{
  margin: 4rem 0;
  font-size: 3rem;
}

.cotisant form{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

.cotisant :is(#email, #submit){
  padding: 1rem;
}

#email{
  width: 90%;
  border-radius: 5px;
}

#submit{
  margin-top: 3rem;
  width: 15rem;
  cursor: pointer;
  /* border: 1px solid white; */
  border: none;
  box-shadow:  inset -0.5px -0.5px 3px 1px rgb(122, 122, 122);
  border-radius: 5px;
  background-color: white;
  transition: all 0.4s ease;
}

#submit:hover{
  color: white;
  background-color: green;
  box-shadow:  inset -0.5px -0.5px 3px 1px rgb(1, 77, 1);
  /* border: 2px solid white; */
  transition: background-color 0.4s ease;
}

.cotisant #email::placeholder{
  padding-left: 1rem;
}

.cotisant p{
  margin-top: 4rem;
  font-size: 3.5rem;

}

/* Partenaires ----------------------*/

.partenaires {
  background-color: var(--transparent_black);
  box-shadow: 0 0 5px 5px var(--transparent_black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.partner_ctnr {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.partner_ctnr img {
  margin: 2rem 3rem;
  width: 10rem;
  height: auto;
  transition: opacity 0.2s ease;
}

.partner_ctnr a:hover img {
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

/* Teaser --------------------------------- */

.recap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
}

.recap video {
  max-width: 90vw;
}
/* Informations --------------------------- */

.informations {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--black);
  box-shadow: 0 0 5px 5px var(--black);
}

.informations p, .informations ul {
  font-size: 2rem;
  margin: 4rem 0;
}

.informations ul{
  text-align: left;
}
.informations a{
  color: white;
}

.informations h4{
  font-size: 4rem;
}

/* Responsive ------------------------------------------------------------- */

@media screen and (orientation: portrait), screen and (max-width: 800px) {
  html {
    font-size: 10px;
  }

  #counter {
    font-size: 10rem;
  }

  .quadrabang  .ctnr{
    flex-direction: column;
  }

  p.desc_quadra{
    max-width: 100%;
    width: 80%;
    margin-right: unset;
    min-width: none;
    padding: 0 2rem;
  }

  p.infos_billetterie{
    max-width: 100%;
    width: 80%;
  }

  .trailer_ctnr{
    width: 70%;
    margin-top: 3rem;
  }
  .parallax_group {
    height: 450vh;
  }

}

@media screen and (orientation: portrait), screen and (max-width: 500px) {
  html {
    font-size: 6px;
  }

  .quadra {
    background-image: url("img/logoTitre.png");
  }

  #counter {
    font-size: 8rem;
  }

  .billet_ctnr {
    flex-direction: column;
    width: 100%;
  }

  .billet {
    width: 70%;
    margin: 2rem auto;
  }

  .billet h4 {
    font-size: 4rem;
  }

  .prix {
    font-size: 5rem;
  }

  .tarif,
  .ouverture {
    font-size: 2rem;
  }

  #navettes h4{
    min-height: 6rem;
    margin-bottom: 1rem;
  }
  
  #navettes .ouverture{
    margin-top: 2rem;
  }
  
  .horaire {
    font-size: 3rem;
    margin-bottom: 2rem;
  }
  
  .horaires {
    margin-bottom: 1rem;
    font-size: 2rem;
  }

  .ouverture {
    font-size: 1.5rem;
  }

  .date_ouverture {
    font-size: 2rem;
    margin-top: 1rem;
    line-height: 25px;
    width: 40rem;
  }
}

/* Fonts ------------------------------------------------------------------------- */



@font-face {
  font-family: "Retroica";
  src: url("fonts/Retroica.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Thin.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: bold;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: bolder;
}

@font-face {
  font-family: "CenturyGothic";
  src: url("fonts/CenturyGothic.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
}
