@charset "utf-8";


/* --- Font Imports --- */
@font-face {
    font-family: 'TradeGothicLTStd-Cn18';
    src: url('../font/TradeGothicLTStd-Cn18/TradeGothicLTStd-Cn18.eot?#iefix') format('embedded-opentype'),
         url('../font/TradeGothicLTStd-Cn18/TradeGothicLTStd-Cn18.otf') format('opentype'),
         url('../font/TradeGothicLTStd-Cn18/TradeGothicLTStd-Cn18.woff') format('woff'),
         url('../font/TradeGothicLTStd-Cn18/TradeGothicLTStd-Cn18.ttf') format('truetype'),
         url('../font/TradeGothicLTStd-Cn18/TradeGothicLTStd-Cn18.svg#TradeGothicLTStd-Cn18') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TradeGothicLTStd-Bold';
    src: url('../font/TradeGothicLTStd-Bold/TradeGothicLTStd-Bold.eot?#iefix') format('embedded-opentype'),
         url('../font/TradeGothicLTStd-Bold/TradeGothicLTStd-Bold.otf') format('opentype'),
         url('../font/TradeGothicLTStd-Bold/TradeGothicLTStd-Bold.woff') format('woff'),
         url('../font/TradeGothicLTStd-Bold/TradeGothicLTStd-Bold.ttf') format('truetype'),
         url('../font/TradeGothicLTStd-Bold/TradeGothicLTStd-Bold.svg#TradeGothicLTStd-Bold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TradeGothicLTStd-Light';
    src: url('../font/TradeGothicLTStd-Light/TradeGothicLTStd-Light.eot?#iefix') format('embedded-opentype'),
         url('../font/TradeGothicLTStd-Light/TradeGothicLTStd-Light.otf') format('opentype'),
         url('../font/TradeGothicLTStd-Light/TradeGothicLTStd-Light.woff') format('woff'),
         url('../font/TradeGothicLTStd-Light/TradeGothicLTStd-Light.ttf') format('truetype'),
         url('../font/TradeGothicLTStd-Light/TradeGothicLTStd-Light.svg#TradeGothicLTStd-Light') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* --- General Body & Helper Classes --- */
body {
    user-select: none;
    -moz-user-select: none;
    background-color: black;
}

.depart {
    opacity: 0;
}

.opacite {
    opacity: 0;
}

.blur {
    filter: blur(0.8px);
}

.clicked {
    box-shadow: 0 0 0 5px #E5FF4F;
}

/* --- Header & Navigation --- */
#barremenu {
    position: fixed;
    width: 100%;
    height: 5%;
    top: 0;
    left: 0;
    z-index: 3;
}

#logo {
    background: url(../img/etfiTest2.webp) 50% 50%;
    background-size: cover;
    width: 50px;
    height: 50px;
    position: fixed;
    top: 80px;
    left: 80px;
    z-index: 99999999999999999999999999999999999999999;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px;
}

#menu {
    position: fixed;
    width: 870px;
    height: 30px;
    top: 85px;
    right: 85px;
    margin-top: -5px;
    margin-bottom: -5px;
    text-align: right;
    color: white;
    z-index: 5;
}

#menu a {
    text-align: right;
    text-transform: uppercase;
    font-family: 'TradeGothicLTStd-Light';
    font-size: 13px;
    display: inline;
    margin-right: 50px;
    letter-spacing: 2px;
    transition: 0.2s;
    margin-top: -5px;
    margin-bottom: -5px;
    color: white;
}

#bt1 {
    color: #E5FF4F;
}

#lignebtns {
    position: absolute;
    bottom: 0;
    left: 0px;
    height: 2px;
    width: 120px;
    background-color: white;
}

#hyperlink, #hyperlink2, #hyperlink3 {
    text-transform: uppercase;
    font-family: 'TradeGothicLTStd-Light';
    letter-spacing: 2px;
    color: yellowgreen;
}

#hyperlink:hover, #hyperlink2:hover, #hyperlink3:hover {
    color: orange;
    font-style: italic;
}

/* --- Partner Logos --- */
#logo_FWB {
    background: url("../img/Logo_FWB.webp") 50% 50%;
    background-size: cover;
    width: 100px;
    height: 85px;
    position: fixed;
    bottom: 150px;
    left: 60px;
    z-index: 99999999999999999999999999999999999999999;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px;
}

#logo_ERASMUS {
    background: url("../img/EU.webp") 50% 50%;
    background-size: cover;
    width: 250px;
    height: 210px;
    position: fixed;
    bottom: 230px;
    left: -16px;
    transform-origin: center;
    transform: scale(0.4);
    z-index: 99999999999999999999999999999999999999999;
    background-color: rgba(0, 0, 0, 0);
    padding: 5px;
}

#logo_Ensama {
    background: url("../img/ENSANA_logo_Icon-Typo_Indigo.webp") 50% 50%;
    background-size: cover;
    width: 140px;
    height: 130px;
    position: fixed;
    top: 450px;
    left: 40px;
    transform-origin: center;
    transform: scale(0.6);
    z-index: 99999999999999999999999999999999999999999;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px;
}

#page3{
    position: relative;
    width: 100%;
    background-color: black;
    overflow-x: hidden;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;     /* Firefox */
}

/* back to the top button */

#toTopBtn {
    position: fixed;
    bottom: 26px;
    right: 22px;
    z-index: 9999;
    background-color: #f2ff3fa2; 
    color: black;
    border: none;
    padding: 10px 11px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: opacity 0.3s ease;
}

#toTopBtn:hover {
    background-color: #f2ff3fc9; 
}


/* --- Image Slider / Grand Bloc --- */
#grandbloc {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

#blocimg1, #blocimg2, #blocimg3, #blocimg4, #blocimg5, #blocimg6 {
    position: relative;
    z-index: 1;
    left: 0;
    width: 100%;
    height: 100vh;
}


#p3img1, #p3img2, #p3img3, #p3img4, #p3img5, #p3img6 {
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: 50% 50%;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#p3img1 { background-image: url(../img/la5.webp); }
#p3img2 { background-image: url(../img/la2.webp); }
#p3img3 { background-image: url(../img/la3.webp); }
#p3img4 { background-image: url(../img/la4.webp); }
#p3img5 { background-image: url(../img/la1.webp); }
#p3img6 { background-image: url(../img/la6.webp); }

/* --- Miscellaneous UI Elements --- */
a:hover {
    cursor: pointer;
}

.num {
    font-weight: bolder;
    color: grey;
}

.bloctxtImage {
    position: absolute;
    left: 50%;
    margin-left: -450px;
    bottom: 10%;
    width: 900px;
    height: 200px;
    text-align: center;
    font-family: 'TradeGothicLTStd-Bold';
    text-transform: uppercase;
    color: white;
    z-index: 3;
}

.bloctxtImage.active {
    opacity: 1;
    visibility: visible;
}

.bloctxtImage h1 {
    color: #E5FF4F;
    font-size: 60px;
    transform-origin: center;
    transform: scale(0.8) translateY(50px);
    margin-top: -60px;
}

.bloctxtImage p {
    color: white;
    font-size: 15px;
    padding: 20px;
}

#conteneurNext {
	position: absolute;
	width: 20px;
	height: 150px;
	z-index: 2;
	right: 80px;
	top: 50%;
	margin-top: -75px;
	
}
#crochet1:hover{
	cursor:pointer ;
	
	
}
#crochet2:hover{
	cursor:pointer;
	
}
#btPlay {
	opacity: 0.4
}
#crochet1 {
	background:url(../img/crochetsss11.webp) 50% 50%;
	background-size: cover;
	position: absolute;
	width: 20px;
	height: 20px;
	transform: rotate(-90deg);
	top: 0%;
	right: 50%;
	margin-right: -10px;
	z-index: 2;
	transform-origin: center;
	
}

#chiffre{
	position: absolute;
	top: 50%;
	right: 50%;
	margin-top: -27px;
	margin-right: -4px;;
	font-family: 'TradeGothicLTStd-Bold';
	font-size: 15px;
	z-index: 2;
	color: #E5FF4F;
	text-align: center;
	
}
#slash {
	position: absolute;
	transform: rotate(-110deg);
	right: 2px;
}
#crochet2 {
	background:url(../img/crochetsss22.webp) 50% 50%;
	background-size: cover;
	position: absolute;
	width: 20px;
	height: 20px;
	bottom: 0%;
	right:50%;
	margin-right: -10px;
	transform: rotate(-90deg);
	z-index: 2;
	transform-origin: center;

	
}

/* --- Fullscreen Image Overlay Section --- */
#images {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 9999999999999999999999999999999999;
}

#images h1 {
    color: #E5FF4F;
    text-transform: uppercase;
    font-family: 'TradeGothicLTStd-Bold';
    font-size: 20px;
    letter-spacing: 2px;
}

#images a {
    color: white;
    text-transform: uppercase;
    font-family: 'TradeGothicLTStd-Bold';
    font-size: 10px;
    letter-spacing: 2px;
}

#images a:hover {
    cursor: pointer;
}

.txtp3 {
    left: 50%;
    margin-left: -150px;
    position: absolute;
    bottom: 75px;
    z-index: 99999999999999999999999999999999999999999999999;
    width: 300px;
    height: 50px;
    text-align: center;
}

.txttp3 {
    left: 50%;
    margin-left: -100px;
    position: absolute;
    bottom: 50px;
    z-index: 99999999999999999999999999999999999999999999999;
    width: 200px;
    height: 40px;
    text-align: center;
}

.txtProg {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 80px;
    color: greenyellow;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    width: 200px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border: 1px solid greenyellow;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-bottom: -65px;
}

.txtProg:hover {
    background-color: greenyellow;
    color: black;
}

#content1, #content2, #content3, #content4, #content5 {
    height: 100%;
    width: 20%;
    position: absolute;
    top: 0;
    z-index: 99999999999999999999999999999999999999999999;
    overflow-x: hidden;
}

#content1 { left: 0%; }
#content2 { left: 20%; }
#content3 { left: 40%; }
#content4 { left: 60%; }
#content5 { left: 80%; }

/* --- Page 3: Events Grid(1) --- */
.events-container {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 0.6fr;
    gap: 15px;
    height: auto;
    min-height: 600px;
    max-height: 50vh;
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 53%;
    transform: translate(-50%, -50%);
    padding: 0 10px;
}

.event-space {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100px;
    /* Loading animation */
    animation: fadeInUp 0.6s ease forwards;
    opacity: 1;
}

.event-space::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
    z-index: 1;
}

.event-space:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(229, 255, 79, 0.3);
    opacity: 1;
    transition-delay: 0.2s;
}

.event-space:hover::before {
    background: rgba(0, 0, 0, 0.2);
}


.event-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    color: white;
    z-index: 2;
    background: linear-gradient(transparent 50%, rgba(10, 10, 10, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
}

.event-space:hover .event-content {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
    cursor: pointer;
}

.event-title {
    font-weight: bold;
    margin: 0;
    color: #E5FF4F;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-family: 'TradeGothicLTStd-Bold', Arial, sans-serif;
    line-height: 1.1;
    word-break: break-word;
}

/* Event Grid Positioning */
.event-space:nth-child(1) { grid-row: 1 / 3; grid-column: 1; }
.event-space:nth-child(2) { grid-row: 1; grid-column: 2; }
.event-space:nth-child(3) { grid-row: 1; grid-column: 3; }
.event-space:nth-child(4) { grid-row: 2; grid-column: 2; }
.event-space:nth-child(5) { grid-row: 2; grid-column: 3; }
.event-space:nth-child(6) { grid-row: 3; grid-column: 1 / 4; }

/* Event Grid Animation Delays */
.event-space:nth-child(1) { animation-delay: 0.1s; }
.event-space:nth-child(2) { animation-delay: 0.2s; }
.event-space:nth-child(3) { animation-delay: 0.3s; }
.event-space:nth-child(4) { animation-delay: 0.4s; }
.event-space:nth-child(5) { animation-delay: 0.5s; }
.event-space:nth-child(6) { animation-delay: 0.6s; }

/* Responsive Styles for Events Grid */
/* Desktop (1200px+) */
@media (min-width: 1200px) {
    .events-container {
        max-width: 1100px;
        gap: 18px;
        max-height: 45vh;
    }
    .event-space:nth-child(1) .event-title { font-size: 3.5rem; }
    .event-space:nth-child(2) .event-title { font-size: 1.8rem; }
    .event-space:nth-child(3) .event-title { font-size: 1.8rem; }
    .event-space:nth-child(4) .event-title { font-size: 1.8rem; }
    .event-space:nth-child(5) .event-title { font-size: 2.2rem; }
    .event-space:nth-child(6) .event-title { font-size: 3rem; }
}

/* Large screens (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .events-container {
        max-width: 950px;
        gap: 15px;
        max-height: 50vh;
    }
    .event-space:nth-child(1) .event-title { font-size: 3.2rem; }
    .event-space:nth-child(2) .event-title { font-size: 1.6rem; }
    .event-space:nth-child(3) .event-title { font-size: 1.6rem; }
    .event-space:nth-child(4) .event-title { font-size: 1.6rem; }
    .event-space:nth-child(5) .event-title { font-size: 2rem; }
    .event-space:nth-child(6) .event-title { font-size: 2.8rem; }
}

/* Medium screens (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .events-container {
        max-width: 750px;
        gap: 12px;
        max-height: 55vh;
        grid-template-rows: 1fr 1fr 0.7fr;
    }
    .event-content { padding: 15px; }
    .event-space:nth-child(1) .event-title { font-size: 2.8rem; }
    .event-space:nth-child(2) .event-title { font-size: 1.4rem; }
    .event-space:nth-child(3) .event-title { font-size: 1.4rem; }
    .event-space:nth-child(4) .event-title { font-size: 1.4rem; }
    .event-space:nth-child(5) .event-title { font-size: 1.6rem; }
    .event-space:nth-child(6) .event-title { font-size: 2.4rem; }
}

/* Small tablets (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .events-container {
        max-width: 550px;
        gap: 10px;
        grid-template-columns: 1.8fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 0.8fr;
        max-height: 60vh;
    }
    .event-content { padding: 12px; }
    .event-space:nth-child(1) .event-title { font-size: 2.2rem; }
    .event-space:nth-child(2) .event-title { font-size: 1.2rem; }
    .event-space:nth-child(3) .event-title { font-size: 1.2rem; }
    .event-space:nth-child(4) .event-title { font-size: 1.2rem; }
    .event-space:nth-child(5) .event-title { font-size: 1.3rem; }
    .event-space:nth-child(6) .event-title { font-size: 2rem; }
}

/* Mobile (up to 575px) */
@media (max-width: 575px) {
    .events-container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 150px);
        height: auto;
        gap: 8px;
        max-height: none;
        width: 100%;
        padding: 0 15px;
    }
    .event-space:nth-child(1) { grid-row: 1; grid-column: 1; }
    .event-space:nth-child(6) { grid-column: 1; grid-row: 6; }
    .event-content {
        padding: 15px;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    }
    .event-space:nth-child(1) .event-title,
    .event-space:nth-child(6) .event-title {
        font-size: 1.8rem;
    }
    .event-space:nth-child(2) .event-title,
    .event-space:nth-child(3) .event-title,
    .event-space:nth-child(4) .event-title,
    .event-space:nth-child(5) .event-title {
        font-size: 1.4rem;
    }
}

/* --- Page 3: ARTVILLE (2) --- */
#Programs-bloctext {
    position: relative;
    width: 740px;
    height: 440px;
    font-family: 'TradeGothicLTStd-Cn18';
    z-index: 2;
    left: 32%;
    top: 25%;
    text-transform: uppercase;
    text-align: left;
    color: white;
}

#Programs-bloctext h1 {
    font-size: 55px;
    line-height: 55px;
    font-family: 'TradeGothicLTStd-Bold';
    font-weight: bolder;
    color: #E5FF4F;
    margin-right: 0;
}

#Programs-bloctext h2 {
	margin-top: 10px;
    font-size: 12px;
    font-family: 'TradeGothicLTStd-Bold';
    font-weight: bolder;
    letter-spacing: 3px;
}

#Programs-bloctext h3 {
    font-size: 13px;
    font-family: 'TradeGothicLTStd-Light';
    line-height: 15px;
    text-transform: none;
    letter-spacing: 1px;
    margin-left: 20px;
}

#Programs-bloctext p {
    font-size: 21px;
    text-transform: none;
    font-weight: bold;
}

.Programs-content-wrapper {
    position: relative;
    bottom: 20px;
    right: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    width: 100%;
    gap: 20px;
}

.Programs-section {
    flex: 3;
    position: relative;
    display: flex;
    flex-direction: column;
}

.Programs-button {
    background: #f2ff3fa2;
    padding: 14px 28px;
    font-family: 'TradeGothicLTStd-Light', sans-serif;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    border: none;
    border-radius: 100px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.Programs-button:hover {
    background: #f2ff3fc9;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}


.Programs-bloctext a {
	color:white;
	font-weight: bold;
}

/* --- Page 3: CANNES FESTIVAL (3) --- */
/* --- Page 3: PHYGITAL ARTS (4) --- */

/* --- Page 3: Carousel(5) --- */
.carousel-container {
    position: absolute;
    left: 53%;
    transform: translateX(-50%);
    bottom: 15%;
    width: 100%;
    max-width: 860px;
    min-height: 230px;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.656);
    z-index: 3;
}

.carousel-nav {
    position: absolute;
    top: 80%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    color: white;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav.prev {
    left: 90px;
}

.carousel-nav.next {
    right: 90px;
}

.carousel-indicators {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.indicator-dot.active {
    background-color: #E5FF4F;
    border-color: #E5FF4F;
    transform: scale(1.3);
    display: block;
}