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

.artiphys-text {
    position: absolute;
    top: var(--nav-height);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    overflow: visible;
}

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

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

.artiphys-text .A {
    font-family: editorial;
    text-align: right;
    position: relative;
    display: block;

    /* 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%;
}

.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";
}

.artiphys-text h2::before {
    position: absolute;
    width: 0%;
    height: 100%;
    /* allow hover effects (drop-shadow, slight overhang) to be visible */
    overflow: visible;
    background: 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;
    -webkit-text-fill-color: transparent;
}

.artiphys-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;
}

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

.index-container h1 {
    width: fit-content;
    margin-top: 30px;
    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: #8BAAE6;
    width: 100%;
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 60px;
}

#staffing {
    background-color: #919dcf;
}

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

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

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

/* ---------------------- 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: 100px;
    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) {
    .artiphys-text h2 {
        font-size: 200px;
    }
}

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

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

}


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

}

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

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

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

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

@media screen and (max-width: 200px) {
    .artiphys-text h2 {
        font-size: 25px;
    }
}
	  
	
body {
    background-color: #8BAAE6;
}
	
.separator {
    width: 80%;
    height: 5px;
    margin: 60px 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%;
    }
}