


@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 black;
  --transparent_black: transparent;
  --black: rgba(0, 0, 0, 0.6);
  --red: rgb(253, 108, 89);
}

html {
  font-size: 10px;
  font-family: TitilliumWeb_SemiBold, 'Roboto Mono', Roboto, Verdana, Geneva, Tahoma, sans-serif;
  color: #634206;
  scroll-behavior: smooth;
  height: 100%;
  margin: 0px;
  padding: 0px;
}

h1,
h2,
h3,
h4 {
    font-family: TitilliumWeb_SemiBold, 'Roboto Mono', Retroica, Verdana, Geneva, Tahoma, sans-serif;
    color: #634206;
}

body {
  overflow-x: hidden;
  height: cover;
  font-size: 5rem;
  color: #634206;
  background: url(img/affiche.jpg);
  background-size: contain;
  background-position: top;
  background-repeat: repeat;
}

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);
  }
}

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

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

section h3 {
  margin: 2rem 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);
}

/* 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 p {
  font-size: 3rem;
  text-shadow: var(--white_glow);
  text-align: center;
  color: #ffffff;

}

#counter {
  font-family: TitilliumWeb_SemiBold, 'Roboto Mono', Retroica, Verdana, Geneva, Tahoma, sans-serif;
  color: #ffffff;
  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: #ffffff;
  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;
  position: absolute;
  top: -20%;
}

p.infos_billetterie {
  flex-basis: 1;
  font-size: 2rem;
  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: TitilliumWeb_SemiBold, 'Roboto Mono', Roboto, Verdana, Geneva, Tahoma, sans-serif;
  color: #ffffff;
  text-align: center;
  border: 2px solid #f2cf8c;
  width: 26rem;
  padding: 4rem 0.5rem;
  margin: 1rem;
  background: rgba(255, 255, 255, 0.1); 
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  /*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: TitilliumWeb_SemiBold, 'Roboto Mono', Retroica, Verdana, Geneva, Tahoma, sans-serif;
  color: #ffffff;
  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: 1rem 3rem;
  z-index: 0;
  border: 2px solid #ffffff;
  /* 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 {
  height: 6rem;
  /*background-color: rgba(255, 0, 0, 0.829);*/
  transition: all 0.1s ease;
  background: rgba(255, 255, 255, 0.3); 
}

.billet button {
  width: 100%;
  height: 100%;
  font-size: 2.8rem;
  margin: auto;
  /*letter-spacing: 2.5px;*/
  color: #ffffff;
  background-color: transparent;
  font-family: TitilliumWeb_SemiBold, 'Roboto Mono', Roboto, Verdana, Geneva, Tahoma, sans-serif;
}

.billet h4 {
  font-size: 3rem;
  font-family: TitilliumWeb_SemiBold, 'Roboto Mono', Retroica, Verdana, Geneva, Tahoma, sans-serif;
  color: #ffffff;
  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: row;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.fond {
  background-color: 0 0 0 0.6;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(5px);
  /*background-color: var(--black);
  box-shadow: 0 0 5px 5px var(--black);*/
  box-shadow: 0 0 5px 5px #3f202c46;
  z-index: 1;
}

.informations p, .informations ul {
  font-size: 2rem;
  line-height: 3rem;
  margin: 2rem;
}

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

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

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

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

  body {
    background: url(img/affiche.jpg);
    background-position: top;
    background-repeat: repeat;
    background-size: auto 100%;
    overflow-x: hidden;
  }

  #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;
  }

}

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

  body {
    background: url(img/affiche.jpg);
    background-position: top;
    background-size: auto 100%;
    background-repeat: no-repeat;
    overflow-x: hidden;
  }

  .quadra {
    background-image: url("img/titre.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;
  }
  .billetterie {
    position: absolute;
    top: -10%;
  }

  .contact {
    position: fixed;
    top: 93%;
  }
}

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

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

.date {
  z-index: -1;
}
.date img {
  height:200px;
  width:150px;
}

.date {
  height: auto;
  position: relative;
  top: -25vh;
  width: 100vw;
  padding: 0 1rem;
  background-color: var(--transparent_black);
  box-shadow: 0 0 5px 5px var(--transparent_black);
  z-index: 1;
  display: flex;
  flex-direction: line;
  justify-content: center;
  align-items: center;

}


.réseau {
  flex-direction: row;
}

.contact i {
  margin-right: 1rem;
}

.contact a {
  color: #ffffff;
  font-style: normal;
  text-decoration: none;
  font-size: 1.5rem;
}

.contact {
  position: absolute;
  bottom: -22%;
}