@font-face {
  font-family: artiphys;
  src: url(../fonts/neue-haas/NeueHaasDisplay-Medium.woff2);
}

@font-face {
  font-family: editorial;
  src: url(../fonts/editorial/EditorialOld-Modif-Italic.woff2);
}

@font-face {
  font-family: main_text;
  src: url(../fonts/neue-haas/NeueHaasGroteskText-Medium.woff2);
}

@font-face {
  font-family: main_text_semi_bold;
  src: url(../fonts/neue-haas/NeueHaasDisplay-Medium.woff2);
}

::root {
  --color-main: rgb(0, 0, 255);
  --color-secondary: #8baae6;
}

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

html {
  scroll-behavior: smooth;
}

#video {
  width: 100%;
  z-index: 0;
}

.video-div {
  z-index: 0;
  top: 0;
  height: 100vh;
}

.logo-container {
  width: 100vw;
  height: 100vh;
  display: flex;
  background: none;
}

.hero-text h2 {
  font-family: artiphys;
  font-size: 8rem;
  cursor: default;
  letter-spacing: 1px;
  color: rgba(239, 239, 240, 0.1);
  -webkit-text-stroke: 1px rgba(14, 11, 11, 0.6);
}

/* .artiphys-text {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  overflow: visible;
  z-index: 50;
  position: absolute;
  top: 50%;
} */

/* .artiphys-text h2 {
  position: relative;
  font-family: artiphys;
  font-size: 240px;
  cursor: default;
  letter-spacing: 1px;
  color: rgba(239, 239, 240, 0.1);
  -webkit-text-stroke: 1px rgba(14, 11, 11, 0.6);
} */

.hero-text h2:hover {
  -webkit-text-stroke: 0px;
}

.hero-text .A {
  font-family: editorial;
  text-align: right;
  position: relative;
  transform: translateY(8px);

  /* Prevent glyph overhang from being clipped (some display fonts have negative side bearings) */
  display: inline-block;
  overflow: visible;
  /* margin-left: 20px; */
}

.A:hover::before {
  width: 100%;
}

.hero-text .A::before {
  content: "A";
}

.R::before {
  content: "r";
}

.T::before {
  content: "t";
}

.I::before {
  content: "i";
}

.P::before {
  content: "p";
}

.H::before {
  content: "h";
}

.Y::before {
  content: "y";
}

.S::before {
  content: "s";
}

/* .hero-text .A::before {
  content: "A";
  font-family: editorial;
  text-align: right;
  overflow: visible;
  position: relative;
} */

.hero-text h2::before {
  position: absolute;
  width: 0%;
  /* height: 100%; */
  /* allow hover effects (drop-shadow, slight overhang) to be visible */
  overflow: visible;
  background: linear-gradient(
    33deg,
    rgba(0, 0, 255, 1) 0%,
    rgba(148, 196, 255, 1) 21%,
    rgba(148, 196, 255, 1) 37%,
    rgba(0, 0, 255, 1) 52%,
    rgba(148, 196, 255, 1) 66%,
    rgba(148, 196, 255, 1) 82%,
    rgba(0, 0, 255, 1) 100%
  );

  /* linear-gradient(
    46deg,
    rgba(0, 0, 255, 1) 10%,
    rgba(148, 196, 255, 1) 78%,
    rgba(255, 255, 255, 1) 93%
  ); */
  /* linear-gradient(217deg, #00f, transparent 70.71%),
    linear-gradient(127deg, #8baae6, transparent 70.71%),
    linear-gradient(336deg, white, transparent 30.71%), white; */
  -webkit-background-clip: text;
  background-clip: text;
  background-size: contain;
  -webkit-text-fill-color: transparent;
}

.hero-text h2:hover::before {
  width: 100%;
  /* color: none; */
  filter: drop-shadow(2px 2px 2px black);
  -webkit-text-stroke: 0px;
}

.index-container {
  padding-left: 10%;
  padding-right: 10%;
  color: rgb(0, 0, 255);
  font-family: main_text;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  background-color: #8baae6;
  z-index: 500;
}

.index-container > * + * {
  margin-top: 40px;
}

.index-container h1 {
  width: fit-content;
  margin-top: 40px;
  text-align: center;
  border-radius: 15px;
  padding: 15px 25px;
  display: inline-block;
  position: relative;
  color: rgb(0, 0, 255);
  background-color: transparent;
  z-index: 0;
}

.index-container h1::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  padding: 4px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 255, 0) 0%,
    rgb(0, 0, 255) 25%,
    #8baae6 50%,
    rgb(0, 0, 255) 75%,
    rgba(0, 0, 255, 0) 100%
  );
  background-size: 200% 100%;
  animation: flowingGradient 6s ease-in-out infinite;

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  z-index: -1;
}

/* Même animation que ta .separator */
@keyframes flowingGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.phone-image img {
  min-width: 200px;
  max-width: 350px;
  width: 30vw;
}

.infos ul {
  list-style: none;
  color: rgb(0, 0, 255);
  display: flex;
  flex-direction: column;
}

.infos ul li {
  padding: 10px 10px 10px 50px;
  margin: 6px 0px 6px 0px;
  border-radius: 20px;
  width: fit-content;
  display: flex;
  align-items: center;
}

.infos ul li > * + * {
  margin-left: 1rem;
}

.infos img {
  width: 50px;
}

.sub-infos {
  font-family: main_text;
  color: #0000ff;
  width: 100%;
  padding-left: 10%;
  padding-right: 10%;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-top: 10px;
}

#staffing {
  background-color: #8baae6;
}

#staffing .flex-box {
  margin-top: 0;
}

#staffing img {
  width: 40vw;
  min-width: 300px;
  border-style: solid;
  border-width: 2px;
}

#staffing .flex-box h3 {
  margin-bottom: 40px;
}
/* #billetterie{
    margin-bottom: 100px;
} */
#billetterie .flex-box {
  align-items: baseline;
}

#billetterie .flex-box p {
  margin-bottom: 10px;
}

#billetterie .flex-box h2 {
  align-self: center;
}

#billetterie button {
  margin-bottom: 20px;
  margin-top: 20px;
  align-self: center;
  background-color: rgb(0, 0, 255);
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

#billetterie button:hover {
  background-color: rgb(0, 0, 220);
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.flex-box iframe {
  display: block;
  margin: 0 auto;
  width: 100%;
  /* max-width: 600px;  */
  height: 400px;
  border: 0;
}

.map-container {
  width: 100%;
}

.map-infos {
  margin-bottom: 20px;
}

.staff-button {
  display: inline-block;
  padding: 10px 20px;
  background: rgb(0, 0, 255);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 40px;
}

.staff-button:hover {
  background: #333;
}

/* ---------------------- TIMELINE ---------------------- */

.timeline-title {
  text-align: center;
  font-weight: bold;
  margin-bottom: 15px;
}
#timeline {
  background-color: rgb(139, 170, 230);
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 60px;
}

#timeline ul {
  list-style: none;
}

.flex-container.artistes {
  flex-wrap: nowrap;
}

.sub-infos .flex-container.outer {
  align-items: normal;
}

.timeline-artist {
  margin-top: 15px;
}

.artist-infos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1vw;
  margin-top: 1vh;
}

.artist-horaire {
  padding: 4px;
  border-style: solid;
  width: fit-content;
  border-width: 2px 1px 3px 2px;
  border-bottom-right-radius: 15%;
  border-color: rgb(0, 0, 255);
  color: rgb(0, 0, 255);
}

.timeline-artist img {
  width: 80px;
  border-style: solid;
  border-width: 1px;
  border-color: rgb(0, 0, 255);
  border-radius: 5%;
}

@media screen and (max-width: 1500px) {
  .flex-container.artistes {
    flex-wrap: wrap;
  }
}

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

.timeline-artist .flex-box {
  justify-content: start;
}

/* ---------------------- TIMELINE END ---------------------- */

.flex-box.navettes {
  width: 30vw;
  min-width: 300px;
  text-align: left;
}

.faq-navettes ul {
  list-style-type: disc;
  padding-left: 30px;
}

.faq-navettes li {
  padding-top: 15px;
}

.flex-container {
  gap: 5%;
}

.sub-infos h2,
.index-container h2 {
  text-decoration: underline;
  font-family: main_text_semi_bold;
  padding-bottom: 10px;
}

.sub-infos p,
#billetterie p {
  margin: 3px;
  text-align: left;
}

.sub-infos h3 {
  margin: 10px;
}

.sub-infos .flex-container {
  align-items: center;
}

.faq {
  width: 100%;
  display: flex;
  justify-content: center;
}

.faq a,
.sub-infos a {
  text-decoration: none;
}

.faq a p {
  color: rgb(0, 0, 255);
}

.sub-infos a p {
  color: #8baae6;
}

.faq a p,
.sub-infos a p {
  padding: 8px;
  border-style: solid;
  width: fit-content;
  border-width: 2px 1px 3px 2px;
  border-bottom-right-radius: 15%;
  margin-bottom: 10px;
  margin-top: 10px;
}

.faq a:hover p,
.sub-infos a:hover p {
  color: rgb(139, 170, 230);
  transform: scale(1.1);
}

.faq a {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

/* ---------------------- NEWS ---------------------- */
#news {
  display: flex;
  gap: 8%;
  justify-content: center;
  padding: 20px;
  margin-bottom: 20px;
  flex-flow: row wrap;
  flex-grow: 1;
  width: 100%;
}

.description {
  padding: 10px;
  margin-bottom: 10px;
  text-align: center;
}

.event {
  margin-top: 30px;
  min-width: 200px;
  max-width: 350px;
  width: 30vw;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s;
}

.event:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: 3px solid rgb(0, 0, 255);
}

.event img {
  width: 100%;
  height: auto;
  display: block;
}

.image-container {
  position: relative;
  display: inline-block;
}

.image-container img {
  width: 100%;
  transition: opacity 0.4s ease;
}

.image-container .hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.event:hover .image-container .hover {
  opacity: 1;
}

.event:hover .image-container .base {
  opacity: 0;
}

@media screen and (max-width: 1400px) {
  .hero-text h2 {
    font-size: 200px;
  }
}

@media screen and (max-width: 1200px) {
  .hero-text h2 {
    font-size: 160px;
  }
}

@media screen and (max-width: 1000px) {
  .hero-text h2 {
    font-size: 120px;
  }
}

@media screen and (max-width: 800px) {
  .hero-text h2 {
    font-size: 100px;
  }
}

@media screen and (max-width: 600px) {
  .hero-text h2 {
    font-size: 80px;
  }
}

@media screen and (max-width: 500px) {
  .artiphys-text h2 {
    font-size: 70px;
  }
}

@media screen and (max-width: 400px) {
  .hero-text h2 {
    font-size: 60px;
  }
}

@media screen and (max-width: 300px) {
  .hero-text h2 {
    font-size: 40px;
  }
}

@media screen and (max-width: 200px) {
  .hero-text h2 {
    font-size: 25px;
  }
}

body {
  background-color: #8baae6;
}

.separator {
  width: 80%;
  height: 5px;
  margin: 20px auto;
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 255, 0) 0%,
    /* transparent */ rgb(0, 0, 255) 25%,
    /* bleu foncé */ #8baae6 50%,
    /* bleu clair */ rgb(0, 0, 255) 75%,
    /* bleu foncé */ rgba(0, 0, 255, 0) 100% /* transparent */
  );
  background-size: 200% 100%;
  animation: flowingGradient 6s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(0, 0, 255, 0.4);
}

/* Animation douce : le dégradé se déplace horizontalement */
@keyframes flowingGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
