@font-face {
	font-family: "Banana";
	src: url('fonts/Banana-Outline-Regular.ttf');
}
@font-face {
	font-family: "JL";
	src: url('fonts/JLJungka-Regular.otf');
}


*, ::after, ::before {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 2.8vh;
	scroll-behavior: smooth;
	overflow-x: hidden;
}

:root {
	--fs-small: 1rem; 
	--fs-big: 2rem; 
}

h1,h2,h3,h4,div {
	font-weight: normal;
	letter-spacing: 0.1rem;
	font-size: 2rem;
}

body {
	font-size: var(--fs-big);
	font-style: oblique 30deg;
	font-family: 'Banana';
	padding: 1rem;
	font-size: 2rem;
	background: url('../elements/trait-droit.svg');
	background-repeat: no-repeat;
	background-position: .5rem 40vh; 
}

/* NAV */

nav {
	display: flex;
	height: 2rem;
	z-index: 2
}

h1:after {
	content: "";
	position: absolute;
	width: 200px;
	height: 200px;
	background: url('../elements/titre-cursive.svg');
	background-size: 4rem; 
	margin-left: 1rem;
	margin-top: -1rem;
	background-repeat: no-repeat;

}

:is(nav) h1, .nav__date {
	width: 25%;
}

:is(nav) .nav__right {
	width: 50%;
	/* text-align: right; */
	display: flex;
	justify-content: flex-end;
}

.nav__lang {
	font-size: var(--fs-small) !important;
	line-height: .8rem;
	position: relative;
  z-index: 3;
	margin-top: -.5rem;
	width: 6rem;
	text-align: left;
}

.nav__lang li:nth-of-type(2) {
		text-indent: 2rem;
	}
.nav__lang li:nth-of-type(3) {
		text-indent: 4rem;
}

.btn_lang {
	cursor: pointer;
}
.btn_lang.active {
	text-decoration: underline;
}

.nav__other {
	text-align: right;
	display: flex;
}
.nav__about {
	margin-right: 0rem;
}
a:hover:after {
	content: " ";
	width: 40px;
	height: 40px;
	position: absolute;
	background-size: 100%;
	background-image: url('../elements/fleche.svg');
	background-repeat: no-repeat;
	margin-top: 2.5rem;
}
.nav__about span {
	z-index: 2;
	position: relative;
}

.nav__about span:hover {
		text-decoration: underline;
}

.nav__ticket {
	margin-right: 1rem;
}


/* HEADER */

#header {
	height: calc(100vh - 2rem);
	display: flex;
}

/* ABOUT */

#about {
	text-align: left;
	position: absolute;
	right: 5rem;
	width: calc(100% - 5rem);
	height: 100vh;
	z-index: 4;
	display: none;
	margin-top: 0rem;
	padding-top: 1rem;
}
#about.visible {
	display: block
}


#about :is(.eng, .nl, .fr) {
	background-image: url('../elements/back-info.png');
	background-position: top right;
	background-size: calc(100% - 10rem) 95vh;
	background-repeat: no-repeat;
	overflow: visible;
	padding-right: 1rem;
	padding-top: 1rem;
}

#about > * {
	height: 100%;
}

.polygon-shape-about {
	pointer-events: none;
	width: calc(100%);
	height: 100%;
	float: left;
	shape-outside: polygon(00% 0%, calc(90%) 0%, 21rem 80%);
	clip-path: polygon(0% 0%, calc(90%) 0%, 12rem 100%);
	/* background: red; */
	opacity: .5;
	padding-right: 1rem;
}

	.polygon-shape-about-back {
    width: 80%;
    clip-path: polygon(20% 0%, 100% 0%, 0% 100%);
		background: red;
		z-index: 1;
		outline: 1px solid;
	}




/* HEADER */

#header {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}

#cover {
	display: grid;
	/* outline: 1px solid; */
	background-image: url('../elements/home.svg');
	background-size: 90%;
	background-repeat: no-repeat;
	background-position: top right;
	padding-right: 2rem;
}
.subtitle {
	margin-top: 8rem;
}
.subtitle span:nth-of-type(1):after {
		content: "";
		width: 20rem;
		height: 200px;
		margin-left: -20rem;
		background-image: url('../elements/underline-titre-1.svg');
		position: absolute;	
		background-size: 100%;
		background-repeat: no-repeat;
		background-position: 0 2rem;
}
.subtitle span:nth-of-type(2):after {
		content: "";
		width: 10rem;
		height: 200px;
		margin-left: -10rem;
		background-image: url('../elements/underline-titre-2.svg');
		position: absolute;	
		background-size: 100%;
		background-repeat: no-repeat;
		background-position: 0 2rem;
}
.subtitle span:nth-of-type(3):after {
		content: "";
		width: 300px;
		height: 200px;
		margin-left: -10rem;
		background-image: url('../elements/escalier.svg');
		position: absolute;	
		background-size: 100%;
		background-repeat: no-repeat;
		background-position: 0 1.2rem;
}


#summary {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
	gap: 1rem;
	margin-top: 1rem;
	overflow-y: scroll;
}
.podcast {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
	gap: 1rem;
	margin-top: 1rem;
	overflow-y: scroll;
}

#summary .episode {
	  cursor: pointer;
	flex-basis: calc(50% - .5rem);
	transition: all .5s;
	border: 1px solid;
	height: min-content;

}
#summary .episode.active {
	order: -1;
	flex-basis: calc(100% - .5rem);
	transition: all.51s;
}
#summary .episode:hover {
	box-shadow: 10px 5px 5px black;
}
#summary .episode img {
	width: 100%;
}

.episode_title {
	display: none;
}

.date_horaire {
	width: 100%;
	text-align: center;
}

.date_horaire h3 {
	position: absolute;
}

.date_horaire sup {
	line-height: 1em;
	font-size: var(--fs-small) !important;
	/* font-family: "JL"; */
	letter-spacing: 0em;
}

.underline_triple {
	background-image: url('../elements/underline-triple.svg');
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: 1rem 1.8rem;
} 

.underline_triple.small {
	background-position: 1rem 1rem;
}

.talks {
	display: flex;
  text-align: center;
}

.talks > * {
	flex: 50%;
	margin-top: 1rem;
}


/* PRICE */
.price {
	padding: 1rem;
	text-align: center;
}
.price ul {
	gap: 1rem;
	display: flex;
}
.price ul li {
	width: 33%;
}

/* .price ul li + li{ */
/* 	    border-left: solid 2px; */
/*  */
/* } */

/* SCHEDULE */

#schedule {
	padding-bottom: 5rem;
}

article {
	margin-top: 3rem;
	display: flex;
	gap: 4rem;
}
article .content { width: 50%; }
article .galery { width: 50%; }

.description {
	width: 100%;	
}
.description p {
	text-indent: 1rem;
}
.description p + p {
	margin-top: 1rem;
}

.galery {
	height: 400px;
	overflow: hidden;
}

figure {
	/* text-align: center; */
	display: none;
	/* background: #131313; */
	height: 100%;
	cursor: e-resize;
	overflow: visible
}

figure.visible {
	display: block
}
figure img {
	height: 100%;
	object-fit: contain;
  max-width: 100%;
}

figcaption {
	/* color: #F3F3F3; */
	font-size: 16px;
	font-style: normal;
	letter-spacing: 0;
	font-family: "JL";
  z-index: 5;
	position: absolute;
  margin-top: 0px;
	width: 40vw;
}

/* STYLE PARA */

.font_info {
	letter-spacing: 0;
	line-height: 1.1em;
	font-size: var(--fs-small) !important;
	font-family: "JL";
	font-style: normal;
}
.font_info p {
	/* letter-spacing: 0; */
	/* font-size: var(--fs-small) !important; */
	/* margin-bottom: 1em; */
	letter-spacing: 0;

  font-size: 20px;
  margin-bottom: 1em;
  line-height: 1.2em;
}

.eng, .nl, .fr {
	display: none;
}

.visible {
	display: block;
}

figcaption .visible {
	display: initial;

}


/* GENERALS BALISES */

a {
	color: black;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

ul {
	list-style: none;
}

h3 {
  width: min-content;
  padding: 1rem 1rem;
	background-image: url('../elements/cadre.svg');
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: 0.1rem .8rem;
	margin-top: -1rem;
}


h4 {
	text-decoration: underline;
	margin-bottom: 1rem;
}

small {
	font-size: .7em;
}

.polygon-shape {
    width: 200px;
    height: 6rem;
    float: left;
    shape-outside: polygon(0% 40%, 100% 100%, 0% 100%);
    /* clip-path: polygon(0% 0%, 100% 100%, 0% 100%); */
    /* background: #ff5733; */
    /* margin-right: 15px; */
}

footer {
	border-top: 1px solid;
	padding: .5rem;
	margin-top: 4rem;
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
	/* justify-content: space-between; */
}

footer .credits p {
	font-size: .8rem !important;
	margin: 0rem;
}
footer img {
	height: 2rem;
}





.mini-player {
	font-size: .8rem;
	position: fixed;
  bottom: 0px;
  left: 0%;
  background: #fff;
  color: black;
  display: flex;
  gap: 15px;
	border-top: 1px solid;
  /* box-shadow: 0 4px 15px rgba(0,0,0,0.3); */
  width: 100%;
  display: flex;
	visibility: hidden;
  justify-content: space-between;
	padding: .5rem 0;
	padding-right: .5rem;
	align-items: center;
}

.mini-player.active { visibility: visible; }

#seek-bar { cursor: pointer; width: 50%; }
#play-pause { background: none; border: none; color: black; font-size: 20px; cursor: pointer; }

#current-time {
	flex-basis: 5%;
}
.track-info {
  flex-basis: 40%; /* Largeur de la zone visible */
  overflow: hidden; /* Cache ce qui dépasse */
  white-space: nowrap;
  position: relative;
  font-size: 14px;
  font-weight: bold;
	border-right: 1px solid;
}

.scrolling-text {
  display: inline-block;
  padding-left: 100%; /* Commence à l'extérieur à droite */
  animation: marquee 20s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}


	.mobile {
		display: none;
	}


	/* Supprimer le style par défaut */
.range {
  -webkit-appearance: none; /* Chrome, Safari, Edge */
  appearance: none;
  width: 100%;
  background: black; /* Permet de voir le fond de la piste */
	height: 1px;
}

/* Styliser la piste (barre de fond) - Chrome/Safari/Edge */
.range::-webkit-slider-runnable-track {
  height: 5px;
  background: black;
  border-radius: 5px;
}

/* Styliser le curseur (bouton) - Chrome/Safari/Edge */
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 5px;
  width: 5px;
  background: black;
  border-radius: 50%;
  margin-top: -5px; /* Aligner le curseur au centre de la piste */
}

/* Styliser le curseur (bouton) - Firefox */
.range::-moz-range-thumb {
  height: 10px;
  width: 10px;
  background: black;
  border-radius: 50%;
}


@media screen and (max-width: 992px) {
	:root {
		--fs-small: 1.2rem; 
		--fs-big: 2rem; 
	}
	html {
		font-size: 3vw;
	}
	body {
		padding: 1.5rem;
	}

	.desktop {
		display: none;
	}
	.mobile {
		display: block;
	}

	nav {
		justify-content: space-between;
	}

	h1::after {
		width: 2rem;
		height: 2rem;
		background-size: 100%;
		margin-top: 0rem;
		background-position: 0rem 0rem;
	}
	.font_info p {
		font-size: var(--fs-small) !important;
	}

	#cover {
		background-position: 0vh 3rem;
		background-size: 100%;
	}

	#summary {
		display: flex; 
		flex-direction: column;
		justify-content: space-evenly;
		/* gap: 4rem; */
		height: auto;
		padding-bottom: 4rem;
	}

	.talks {
		flex-direction: column;
	}
	article {
		display: block
	}

	article .content, article .galery {
		width: 100%;
	}

	.galery {
		margin-top: 1rem;
	}
	figure {
		text-align: center;
	}

	figcaption {

		font-size: var(--fs-small) !important;
		width: calc(100% - 3rem);
	}

	#header {
		display: block;
		height: auto;
	}

	#header > #cover {
		height: 100vh;
	}
	.subtitle {
		margin-top: 4rem;
	}

	.polygon-shape {
		width: 15vw;
		height: 6rem;
		float: left;
		shape-outside: polygon(0% 40%, 100% 100%, 0% 100%);
	}

	.nav__lang > .btn_lang {
		font-size: 1rem !important;
	}


	.date {
		 margin-left: 3rem;
	} 

	#about {
		right: 1rem;
		width: calc(100% - 2rem);
		height: 110vh;
	}

	#about :is(.eng, .nl, .fr) {
		background-position: top right;
		background-size: 130% 100%;
	}

	.polygon-shape-about {
		pointer-events: none;
		width: calc(85%);
		height: 100vh;
		float: left;
		shape-outside: polygon(100% 0%, -30% 100%, -35% 100%);
		/* clip-path: polygon(100% 0%, -10% 100%, -35% 100%); */
		/* background: red; */
		padding-right: 1rem;
		z-index: 1;
	}

	footer img {
		height: 1.5rem;
	}

	.price ul {
		display: block
	}
	.price ul li {
		width: 100%;
	}

	/* .nav__ticket { */
	/* 	order: 2 */
	/* } */
	.nav__about {
		order: 1
	}

	footer .credits {
		width: 100%;
	}

}

