:root{
    --c-primary: #624592;
    --c-primary-light: #755C9F;
    --c-primary-dark: #32234b;
    --c-primary-dark-alt: #372752;
    --c-secondary: #3BBDE6;
    --c-secondary-hv: #372752a9;
    --c-lavender: #C0ABC0; 
    --c-purple: #7F2A81;
    --c-rose: #E04090;
    --c-orange: #ee6539;
    --c-green: #00ae4d;
    --c-translucent-white: #ffffff24;
    --c-translucent-primary: #37275240;
    --c-white: white;
    --c-black: black;

    --bor-radius: 10px;
    --bor-radius-btn: 50px;

    --fnt-default: "DINosaur", sans-serif;
    --fnt-w-light: 300;
    --fnt-w-regular: 400;
    --fnt-w-bold: 400;
}
p{
    font-size: 1.25em;
}
p span.blue, p.blue{
    color: var(--c-secondary);
}

.black{
    color: var(--c-black);
}
.dark-alt{
    color: var(--c-primary-dark-alt);
}
.dark{
    background-color: var(--c-primary-dark-alt);
}
.lavender{
    background-color: var(--c-lavender)!important;
}
.purple{
    background-color: var(--c-purple)!important;
}
.white{
    background-color: var(--c-white)!important;
}
h1{
    font-weight: 500;
    margin: 0;
    font-size: 4.25em;
    color: var(--c-white);
    max-width: 470px;
    text-align: left;
    text-shadow: -6px 7px 0px #573e81;
}
h2{
    color: var(--c-white);
    font-size: 1.8em;
    margin: 0 auto;
    font-weight: 700;
    text-align: left;
}
@media (max-width: 580px) {
  h2{
    font-size: 1.7em;
  }
}
h3{
    font-weight: bold;
    color: var(--c-white);
    font-size: 1.4em;
    text-transform: uppercase;
}
body{
    font-family: var(--fnt-default), system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--c-primary);
    color: var(--c-white);
    margin: 0;
}
hr {
    width: 100%;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-color: #ffffff;
}
u {
    text-underline-position: from-font;
}
.align-center{
    text-align: center;
    margin-left: auto!important;
    margin-right: auto!important;
}
.align-left{
    text-align: left;
    margin-right: auto;
    margin-left: auto;
}
.social{
    max-width: 56px;
    height: auto    ;
}

@media (min-width: 1440px) {
.social{
    max-width: 56px;
    height: 38px    ;
}
}

.Cnam{
    max-width: 190px;
    height: auto;
}
.img-container{
    max-width: 1022px;
    margin: 0 auto;
    height: auto;
    overflow: hidden;
    position: relative;
    border-radius: 30px;
    border: 3px solid #fff;
    perspective: 1000px; 
}

.img-container img {
   width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;                       /* cachée au début */
    transform: rotateY(0deg);         /* point de départ */
    transition: transform 1s ease;            /* animation de rotation */
    z-index: 5;
    position: relative;
    backface-visibility: hidden;
}

.img-container .overlay {
    position: absolute;
    top: 0; 
    left: 100%; /* caché */
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, red, orange, yellow, green, blue, purple, red);
    animation:slidebg 2s linear infinite;
    transition: top .6s ease;
    z-index: 10;
    mix-blend-mode: multiply; 
    opacity: 0.3;

}

.img-container .overlay {
    left: 0;
}


.holographic-container {
    max-width: 1022px;
    margin: 0 auto;
    height: auto;
    overflow: hidden;
    position: relative;
    box-shadow: -25px -25px 2px 1px #573e81;
    border-radius: 30px;
}

.holographic-container.angougou {
    box-shadow: none;
}

.holographic-card {
    width: 100%;
    object-fit: cover;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.5s ease;
}
.holographic-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg, 
    transparent, 
    transparent 30%, 
    rgba(0,255,255,0.3)
  );
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.holographic-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0,255,255,0.5);
}

.holographic-card:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}

.holographic-card-projet {
    width: 100%;
    object-fit: cover;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.5s ease;
}
.holographic-card-projet::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg, 
    transparent, 
    transparent 30%, 
    rgba(0,255,255,0.3)
  );
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.holographic-card-projet:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0,255,255,0.5);
}

.holographic-card-projet:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}

@keyframes slidebg {
  to {
    background-position:55vw;
  }
}

.img-container img,
.social img,
.Cnam img
{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.img-container,
.img-container img
{
    border-radius: 30px;
}
.fade,
.fade img{
    animation-name: fade;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    -webkit-animation-name: fade;
    -webkit-animation-duration: 3s;
    -webkit-animation-fill-mode: forwards;
}

@keyframes fade {
  0% {
    opacity: 0%;
  }
  100% {
    opacity: 100%;
  }
}
@-webkit-keyframes fade {
  0% {
    opacity: 0%;
  }
  100% {
    opacity: 100%;
  }
}
.presentation{
    max-width: 1022px;
    opacity: 0%;
    animation-name: fade;
    animation-duration: 3s;
    animation-delay: 3s;
    animation-fill-mode: forwards;
    -webkit-animation-name: fade;
    -webkit-animation-duration: 3s;
    -webkit-animation-delay: 3s;
    -webkit-animation-fill-mode: forwards;
}

.headline-container{
    width: 667px;
    max-width: 100%;
}

.card-wrapper {
  position: relative;
  width: 420px;
  height: 260px;
}



.card {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
  z-index: 2;
}

.card.left{
    border-radius: 25px 0px 25px 25px;
}

.card.right{
    border-radius: 25px 25px 25px 0px;
}

.card.shadow {
  background-color: rgba(0, 0, 0, 0.15);
  border: none;
  z-index: 1;
}

.card.shadow.left{
    transform: translate(30px, 30px);
}

.card.shadow.right{
    transform: translate(30px, -30px);
}

.card h2 {
  margin: 0 0 20px;
  font-size: 1.8em;
  letter-spacing: 1px;
}

.card p {
  margin: 0;
  font-size: 1.125em;
  line-height: 1.5;
}

.card p strong {
  font-weight: 700;
}

@media (max-width: 1200px){
    .card-wrapper {
  width: 200px;
  height: 200px;
  margin: 0 auto;
}
    .card h2 {
        font-size: 1em;
    }
    .card p {
        font-size: 0.75em;
    }
}

.program {
  width: 90%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 60px 80px;
  justify-content: center;
}

.bubble {
  background-color: rgba(0, 0, 0, 0.18);
  border-radius: 28px;
  padding: 28px 32px;
}

.bubble.large {
  font-size: 1.125em;
}

.bubble.small {
  font-size: 1.25em;
  text-align: center;
}

/* Text only blocks */
.text {
  font-size: 1.125em;
  line-height: 1.5;
  padding: 28px 0px;
}

@media (max-width: 800px){
    .program {
  gap: 20px 20px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
}
    .bubble.small {
        font-size: 1em;
    }
    .bubble.large {
        font-size: 0.75em;
    }
    .text {
        font-size: 0.75em;
    }
}
@media (max-width: 450px){
     .program {
        width: 60%;
     }
}

#billetterie, #programme, #organisateurs, #infos{
    background-color: var(--c-primary-light);
}

.button-wrapper {
  position: relative;
  width: 420px;
  height: 70px;
}

/* Bordure + décalage */
.button-shadow {
  position: absolute;
  inset: 0;
  border: 2px solid white;
  border-radius: 999px;
}

/* Bouton principal */
.button-main {
  position: absolute;
  inset: 6px 10px;
  background-color: #5b3f85;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transform: translate(30px, 10px);
}

.button-main:hover {
  transform: translateY(-2px);
}

.button-main:active {
  transform: translateY(1px);
}

.button-main a{
    color: #fff;
    font-size: 1.25em;
    font-weight: 400;
}


/* Placement */
.left-top { grid-column: 1; grid-row: 1; }
.center-top { grid-column: 2; grid-row: 1; }
.right-top { grid-column: 3; grid-row: 1; }

.left-bottom { grid-column: 1; grid-row: 3; }
.center-bottom { grid-column: 2; grid-row: 3; }
.right-bottom { grid-column: 3; grid-row: 3; }


.icone {
    max-width: 160px; 
    height: 53px; 
    transform: translateY(15px);
}

.planning-container{
            unicode-bidi: isolate;
            display: block;
            font-family: 'DINosaur';
            width: 80%;
            margin-left: 10%;
        }

        .planning-container > .planning-element {
            margin-bottom: 1em;
            font-weight: 500;
        }

        .planning-element {
            display: flex;
            flex-flow: row wrap;
            justify-content: space-between;
            align-items: stretch;
        }

        .planning-element > div:nth-of-type(1) {
            flex: 1;
            width: 4%;
            min-width: 38px;
            background-color: var(--c-secondary);
        }

        .planning-element > div:nth-of-type(2) {
            flex: 3;
            width: 20%;
            min-width: 150px;
            background-color: var(--c-primary-dark);
        }

        .planning-element > div:nth-of-type(3) {
            flex: 6;
            background-color: white;
            min-width: 190px;
            width: 40%;
        }

        .planning-element > div:nth-of-type(4) {
            flex: 2;
            width: 10%;
            min-width: 100px;
            background-color: var(--c-primary-dark);
        }

        .planning-element a {
            color : var(--c-secondary);
        }


        .black {
            color: var(--c-black);
        }

        .green {
            background-color: var(--c-green) !important;
        }

        .orange {
            background-color: var(--c-orange) !important;
        }

        .blue {
            background-color: var(--c-secondary) !important;
        }

        .rose {
            background-color: var(--c-rose) !important;
        } 

        .planning-element > div {
            padding: 3% 0.5%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            flex-basis: auto !important;
        }

        .bold{
            font-weight: bold;
        }

.partenaires .partenaires_logo .twoo.columns.mt-4 img {
    width: 100%;
}

.partenaires .partenaires_logo {
    justify-content: space-between;
}

.vertical-line{
    border-left: 2px solid #000;
    display: inline-block;
    height: 170px;
    margin: 0 20px;
}

.white {
    background-color: var(--c-white) !important;
}

.orga_logo img{
   max-width: 100%;
}



@media (max-width: 550px) {
    .img-logo{
        width: 50%;
        display: inline-block;
    }
}
.row p.dark-alt {
    margin-bottom: 12px;
}
.v-center {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    justify-items: center;
    flex-flow: column;
}

@media (max-width: 550px) {
.row.align-center.stretch
{
    gap: 2em;
    flex-flow: column;
}    
}

@keyframes Arrowin {
    0% {
        animation-timing-function: ease-in;
        opacity: 0;
        transform: translateY(250px);
    }
 
    38% {
        animation-timing-function: ease-out;
        opacity: 1;
        transform: translateY(0);
    }
 
    55% {
        animation-timing-function: ease-in;
        transform: translateY(65px);
    }
 
    72% {
        animation-timing-function: ease-out;
        transform: translateY(0);
    }
 
    81% {
        animation-timing-function: ease-in;
        transform: translateY(28px);
    }
 
    90% {
        animation-timing-function: ease-out;
        transform: translateY(0);
    }
 
    95% {
        animation-timing-function: ease-in;
        transform: translateY(8px);
    }
 
    100% {
        animation-timing-function: ease-out;
        transform: translateY(0);
    }
}
 
@keyframes Arrowout {
    0% {
        opacity: 1;
        transform: scale(1);
    }
 
    100% {
        opacity: 0;
        transform: scale(0.6);
    }
}

@media (max-width : 550px) {
    .alignement{
        display: table-row-group !important; 
    }
    .vertical-line
    {
        height: 450px;
    }
    .g-2{
        gap: 1em !important;
    }   
    .left-top { grid-column: 1; grid-row: 1; }
    .center-top { grid-column: 2; grid-row: 1; }
    .right-top { grid-column: 3; grid-row: 1; }

    .left-bottom { grid-column: 1; grid-row: 2; }
    .center-bottom { grid-column: 2; grid-row: 2; }
    .right-bottom { grid-column: 3; grid-row: 2; }
}

@media (max-width: 950px) {
    .one-half {
        width: 90% !important;
    }
}

#footer {
    height: auto;
    background-color: #372752;
    width: 100%
}
 
.footerElement {
    padding: 20px;
    width: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto
}
.upper-container {
    display: flex;
    justify-content: space-between;
    gap : 2%;
    flex-wrap: wrap; 
}
.footerElement-section {
    display: flex;
    flex-direction: column;
    align-items: center;  
    text-align: center;
    margin-bottom: 20px; 
}
.reseaux {
    display: flex;
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 10px;
}
 
.element-enjmin {
    width: 150px;
    height: 60px;
    object-fit: cover;
}
 
.reseaux img {
    width: 65px;
    height: 65px;
}
.Organisateurs {
    display: flex;
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 2px; 
}
 
.so-games-blanc-plan {
    width: 105px;
    height: 70px;
    object-fit:cover;
}

.cap-bd {
    width: 100px;
    height: 55px;
    object-fit:cover;
}

 
.info-title {
    color: #FFF;
    font-family: "DINosaur";
    font-size: 19.3px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 15px;
    margin-top: 10px;
}
 
.footerElementMentions-section {
    display: flex;
    flex-direction: column;  
    align-items: center;  
    justify-content: center;  
    gap: 10px;
}
.iconSpawn {
    display: flex;
    justify-content: center; 
}


 
@media (max-width: 1024px) {
    .upper-container {
        flex-direction: column; /* Empile les sections verticalement */
        align-items: center; /* Centre les sections horizontalement */
    }
 
    .footerElement-section {
        width: 100%; /* Chaque section prend toute la largeur */
        margin-bottom: 20px; /* Espacement entre les sections */
    }
 
    .info-title {
        text-align: center; /* Centre les titres */
        margin-bottom: 10px; /* Espacement entre titre et contenu */
    }
 
    .reseaux, .Organisateurs {
        display: flex;
        flex-wrap: wrap; /* Permet aux images de passer à la ligne si nécessaire */
        justify-content: center; /* Centre les images */
        gap: 10px; /* Espacement entre les images */
    }
}