@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&family=Noto+Serif:wght@400;700&display=swap');

@font-face{
	font-family: "horror";
	src: url('../font/JMH\ HORROR.ttf');
}

html,body,h1,h2,h3,h4,h5,h6{
	margin:  0 !important;
	padding:  0 !important;
}

html{
	scroll-behavior: smooth;
}

html, body{
	overflow: visible !important;
}

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

:root{
	--background: black;
	--normal_font: "Montserrat";
}

body{
	background-color: var(--background);
	height: unset !important;
}

*{
	font-family: var(--normal_font);
	color: white;
}

#background{
	
	background-image: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(0,0,0,1) 100%), url('../images/arriere2.png');
	height: 100vh;
	background-position: center center;
	background-size: cover;
	width: 100%;
}

.block{
	padding: 0 25px;
	position: relative;
	min-height: 100vh;
	box-sizing: border-box;
}

.b2{
	background-color: black;
	border-top-left-radius: 25px;
	border-top-right-radius: 25px;
	background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,8,50,1) 100%);
}

.b3{
	background: rgb(0,8,50);
	background: linear-gradient(180deg, rgba(0,8,50,1) 0%, rgba(68,0,0,1) 100%);
}

.b4{
	background: rgb(14,14,14);
background: linear-gradient(180deg, rgba(68,0,0,1)0% , black 100%);
}

.title{
	text-shadow: 0 0 15px rgba(0,0,0,.5);
	font-size: 6rem;
	font-family: "horror";
	transform: translateY(0);
	position: relative;
}

.wrapper{
	display: flex;
	flex-wrap: wrap;
	height: 100vh;
	width: 100%;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}


.container{
	max-width: 1600px !important;
	margin: auto;
}



.nav-bar{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 80px;
	background-color: rgba(0,0,0,0.8);
}

.flex{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	height: 80px;
}

.nav-links{
	font-size: 1.5rem;
	margin-left: 25px;
	margin-right: 25px;
	font-weight: 500;
}

.header{
	position: relative;
	z-index: 99;
}

.title2{
	text-shadow: 0 0 15px rgba(0,0,0,.5);
	position: relative;
	font-size: 2rem;
}

.red-shadow{
	text-shadow: 0 0 20px red;
}

.part{
	flex-basis: 50%;
	height: 100vh;
	display: flex;
	align-items: center;
}

#border{
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: red;
}

.content{
	height: 50vh;
	padding: 25px;
}

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

.center > form{
	display: grid;
	margin-top: 25px;
}

.wrapper > form{
	display: grid;
}

.input{
	-webkit-appearance: none;
	border: none;
	background-color: #141515;
	color: white;
	margin: 15px 0;
	padding: 15px;
	font-size: 1.2rem;
	box-sizing: border-box;
	outline: none;
	width: 350px;
}

.submit{
		-webkit-appearance: none;
	border: none;
	background-color: #EA2027;
	color: white;
	margin: 15px 0;
	padding: 15px;
	font-size: 1.2rem;
	outline: none;
	font-weight: bold;
}

.paralax_image{
	margin: 0 25px;
	transform: translateY(0px);
}

.burger{
	position: fixed;
	z-index: 99;
	right: 0;
	top: 0;
	height: 50px;
	width: 50px;
	margin: 45px;
	cursor: pointer;
	transition: 0.2s;
}

.burger:hover{
	transform: scale(1.1);
}

.bar{
	display: block;
	height: 5px;
	width: 100%;
	background: white;
	position: absolute;
	opacity: 1;
	transition: 0.2s;
}

#bar2{
	top: 22.5px;
}

#bar3{
	bottom: 0;
}

.change-burger #bar1{
	transform: rotateZ(45deg) translateY(16.5px) translateX(16px);
}

.change-burger #bar2{
	transform: rotateZ(-45deg);
}

.change-burger #bar3{
	opacity: 0;
}

.burger_menu{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: 98;
	background: rgba(0,0,0,0.4);
	opacity: 0;
	visibility: hidden;
	transition: 0.5s cubic-bezier(.57,0,.45,.99);
	transform: translateY(-100vh);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.menu_change{
	opacity: 1 !important;
	transform: translateY(0);
	visibility: visible !important;
}

.overflow{
	overflow-y: hidden !important;
}

.links{
	font-size: 3rem;
	margin: 15px 0;
	transition: 0.2s transform;
	font-weight: 600;
}

.links:hover{
	transform: scale(1.1);
}

button[type="submit"]{
	cursor: pointer;
}

.episodes{
	display: flex;
	padding: 0 5px;
	flex-wrap: wrap;
	justify-content: space-between;
}

.episodes > a{
	flex-basis: 100%;
	box-sizing: border-box;
}

.episode{
	background: #1e1e1e;
	margin: 30px 0 45px 0;
	display: flex;
	cursor: pointer;
	box-sizing: border-box;
	transition: 0.2s;
	position: relative;	

}

.episode:hover{
	transform: scale(1.02);
}

.miniature{
	height: 300px;
	object-fit: contain;
}

.content_episode{
	display: flex;
	justify-content: center;
	flex-direction: column;
	padding: 25px;
}

.player{
	width: 60%;
	padding: 3rem 0;
}

.player > iframe{
	width: 100%;
	height: 450px!important;
	box-shadow: 0 0 100px rgba(255, 0, 0, 0.8);
}

.ft-15{
	font-size: 1.2rem;
}

.croix{
	cursor: pointer;
	position: fixed;
	right: 10px;
	bottom: 40px;
	font-size: 2rem;
}

.error, .success{
	background-color: #EA2027;
	color: white !important;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 15px;
	z-index: 2;
}

.error > p, .success > p{
	text-align: center;
}

.success{
	background-color: #27ae60 !important;
}

.padding-block{
	padding: 50px 0;
}

.fa-arrow-left{
	font-size: 2rem;
}

.fa-circle-plus{
	font-size: 1.5rem;
	margin-right: 15px;
}

.add{
	margin: 25px 0;
	padding: 15px;
	background-color: #EA2027;
	border: none;
	outline: none;
	-webkit-appearance: none;
	cursor: pointer;
}

label{
	display: flex;
	align-items: center;
	margin: 0 15px;
}

input[type="radio"]{
	-webkit-appearance: none;
	height: 30px;
	border: 3px solid red;
	border-radius: 30px;
	width: 30px;
	cursor: pointer;
}

input[type="radio"]:checked{
	background-color: red;
}

.offline{
	height: 80vh;
	width: 80%;
	background: rgb(18, 18, 18);
	border: 2px solid rgba(138, 138, 255, 0.411);
	border-radius: 25px;
	box-shadow: 0 0 100px rgb(39, 0, 60);
}


.footer-content{
	padding: 50px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
}


.footer-part{
	display: grid;
	text-align: center;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}


.footer-link{
	font-weight: bold;
	margin: 5px 0;
	font-size: 1.2rem;
}

.logo{
	height: 100px;
	width: 300px;
	object-fit: cover;
	
}


.reseaux{
	font-size: 3rem;
}

.reseaux > a > i{
	color: red;
}

.title-mention{
	font-family: var(--normal_font) !important;
    text-shadow: unset;
    color: black;
    font-size: 3rem;
}

.mention-text{
	color: black;
}

.splide{
	width: 100%;
}

.splide__track{
	height: 100%;
}

.splide__slide{
	box-sizing: border-box;
	display: grid;
	margin: 0 25px !important;
	border-radius: 25px;
	min-width: 33.3%;
}

.splide__slide img{
	border-radius: 25px 25px 0 0 !important;
}

.splide__slide h2{
	padding: 0px 30px 20px 30px !important;
}

.splide__pagination{
	display: none !important;
}

.splide__arrow{
	height: 50px !important;
	width: 50px !important;
	background-color: white !important;
}



.loader {
	margin: 10px 0 0 40px !important;
  }
  
  .book {
	border: 4px solid #FFFFFF;
	width: 100px;
	height: 85px;
	position: relative;
	perspective: 150px;
  }
  
  .page {
	display: block;
	width: 70px;
	height: 85px;
	border: 4px solid #FFFFFF;
	border-left: 1px solid transparent;
	margin: 0;
	position: absolute;
	right: -4px;
	top: -4px;
	overflow: hidden;
	background: transparent;
	transform-style: preserve-3d;
	-webkit-transform-origin: left center;
	transform-origin: left center;
  }
  
  .book .page:nth-child(1) {
	-webkit-animation: pageTurn 1.2s cubic-bezier(0, .39, 1, .68) 1.6s infinite;
	animation: pageTurn 1.2s cubic-bezier(0, .39, 1, .68) 1.6s infinite;
  }
  
  .book .page:nth-child(2) {
	-webkit-animation: pageTurn 1.2s cubic-bezier(0, .39, 1, .68) 1.45s infinite;
	animation: pageTurn 1.2s cubic-bezier(0, .39, 1, .68) 1.45s infinite;
  }
  
  .book .page:nth-child(3) {
	-webkit-animation: pageTurn 1.2s cubic-bezier(0, .39, 1, .68) 1.2s infinite;
	animation: pageTurn 1.2s cubic-bezier(0, .39, 1, .68) 1.2s infinite;
  }
  
  
  /* Page turn */
  
  @-webkit-keyframes pageTurn {
	0% {
	  -webkit-transform: rotateY( 0deg);
	  transform: rotateY( 0deg);
	}
	20% {
	  background: #121212;
	}
	40% {
	  background: #121212;
	  -webkit-transform: rotateY( -180deg);
	  transform: rotateY( -180deg);
	}
	100% {
	  background: #121212;
	  -webkit-transform: rotateY( -180deg);
	  transform: rotateY( -180deg);
	}
  }
  
  @keyframes pageTurn {
	0% {
	  transform: rotateY( 0deg);
	}
	20% {
	  background: #121212;
	}
	40% {
	  background: #121212;
	  transform: rotateY( -180deg);
	}
	100% {
	  background: #121212;
	  transform: rotateY( -180deg);
	}
  }

.footer{
	background-color: black;
}

select[name="date"]{
	color: black;
}

#dateSelect{
	background-color: transparent;
	color: white;
	background-color: black;
	border: none;
	outline: none;
	font-size: 1rem;
}







@media screen and (max-width: 1000px){

	.miniature{
		width: 100%;
		height: unset;
	}

	.episode{
		flex-direction: column;
	}

	.wrapper{
		flex-direction: column !important;
		min-height: unset !important;
	}

	.content{
		min-height: unset !important;
	}

	.part{
		min-height: unset !important;
	}

	.player{
		width: 100% !important;
	}

	.splide__slide{
		width: 100% !important;
		margin: unset !important;
		transform: unset !important;
	}

	.offline{
		width: 100%;
		height: calc(100vh / 3);
		justify-content: center;
		align-items: center;
	}

	.book{
		margin-left: 145px;
	}


}

@media screen and (max-width: 600px) {
	.title{
		font-size: 3rem !important;
	}


	.b2{
		min-height: unset;
		height: unset;
	}

	.wrapper{
		min-height: 100vh;
	}

	.input{
		width: 100%;

	}

	form{
		width: 100%;
	}

	.content{
		height: unset;
		min-height: 50vh;
	}

	#participate{
		margin-top: 50px;
	}

	.part{
		height: unset;
		min-height: 100vh;
	}

	.footer-content{
		grid-template-columns: unset;
	}

	.reseaux{
		display: flex;
		justify-content: center;
	}

	.reseaux > a{
		margin: 0 25px;
	}

	.player > iframe{
		height: 200px !important;
	}

	.burger{
		transform: scale(0.8);
	}


}