/* Font */
@font-face {
    font-family: "Joystix";
    src: url("../font/joystix\ monospace.ttf") format("truetype");
}


/* Loader */
div#load_screen{
	background: #404040;
	opacity: 1;
	position: fixed;
	z-index:10;
	overflow: visible;
	top: 0px;
	width: 100%;
	height: 1600px;
}
div#load_screen > div#loading img{
	width: 100%;
	padding-top: 11%;
	max-width: 970px;
	height: auto;
	display: block;
	margin-left: auto;
	margin-right: auto;
	
}

/* texte */
a, p, li, h1, h2, h3, button {
	font-family: "Joystix",monospace;	
}
.txt > a {
	color: #E600FF !important; 
	text-shadow: 4px 4px 2px rgba(0, 0, 0, 0.25);
}
.bshadow {
	text-shadow: 3px 3px 3px rgb(41, 41, 38, 0.5);
}


/* navbar */
.nav-item  {
	text-shadow:4px 4px 2px rgba(0, 0, 0, 0.25);
	
}
.navbar-nav  > li{
	padding-left:60px !important;
	padding-right:60px !important;
}



/* Menu */
#menu p:not(.cr):hover  {
	animation: fadeIn 1s infinite alternate;
}
#menu p {
	font-size: 23px;
	color:#3FFEFD;
	text-align: center;
	background-image: url("../img/arrow.png");
	background-repeat: no-repeat;
	background-size: 0px;
	background-position: -20px;
}
#menu p:not(.cr):hover  {
	background-size: 40px;
}
#menu .t1 {
	margin-top: 45px;
}
#menu .lfds {
	width: 100%;
	max-width: 970px;
	height: auto;
	display: block;
	padding-top: 17%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 80px;
}
#menu {
	width: 100%;
	margin-top: -20px;
	height: 1080px;
	max-width: 100%;
	max-height: 100%;
	background-image: url("../img/background2.png");
	background-repeat: no-repeat;
	background-size: cover;
}
#menu .txtcontain {
	margin-left: 320px;
	margin-right: 320px;
}

/* top */
#top img {
	width: 100%;
	max-width: 1150px;
	height: auto;
	display: block;
	padding-top: 19%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0;
}
#top {
	width: 100%;
	margin-top: -20px;
	height: 1150px;
	max-width: 100%;
	max-height: 100%;
	background-image: url("../img/background1.png");
	background-repeat: no-repeat;
	background-size: cover;
}
#top .button1:hover {
	background-color: #4c0586
}
#top a {
	position: absolute;
	top: 790px;
	left: 95px;
	font-size: 20px;
	-webkit-text-stroke-width: 1px;
	-webkit-text-stroke-color: #747474;
}

/* animation*/
@keyframes fadeIn { 
	from { opacity: 0; } 
}
#bottom h2 {
	animation: fadeIn 0.7s infinite alternate;
}

/* bottom */
#bottom h1 {
	padding-top:17%;
	font-size: 80px;
}
#bottom img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 9%;
	padding-top: 45px;
}
#bottom h1, h2 {
	padding-bottom: 40px;
	text-align: center;
}
#bottom {
	width: 100%;
	margin-top: -20px;
	height: 1000px;
	max-width: 100%;
	max-height: 100%;
	background-image: url("../img/background3.png");
	background-repeat: no-repeat;
	background-size: cover;
}

/* footer*/
footer {
	padding-top: 11px;
	padding-bottom: 11px;
	background-color: #404040;
}
footer a {
	font-family: Montserrat regular;
}

/* button */

.button1 {
	background-color: #451170;
	border: 3px solid #3DF5FE ;
	color: #3DF5FE;
	padding: 12px 25px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	margin: 4px 2px;
	cursor: pointer;
	border-radius: 10px;
	margin-top: 25px;
	margin-bottom: 10px;
	text-shadow: 3px 3px 3px rgb(41, 41, 38, 0.5);
}

/* img */
#imgborder {
	border: 15px solid transparent;
	padding:8px;
	border-image: url("../img/border.gif") 30 ;
}

/* container */
.container {
	margin:auto;
}
.box {
	position: relative;
}
#top .embed-responsive {
	position: absolute;
	top: 360px;
	left: 90px;
	width: 60%;
}
.flexcontain {
	display: flex;
	flex-direction: column;
	position: absolute;
	top: 360px;
	left: 810px;
}

/* mediaqueries*/

@media only screen and (max-width: 767px) {
	.navbar-nav  > li{
		padding-left:5px !important;
		padding-right:5px !important;
	}	
	div#load_screen > div#loading img{
		
		padding-top: 50% !important;
		
	}
	.navbar-nav > li{
		padding-left:10px;
		padding-right:10px;
	}
	#top {
		height: 700px;
	}
	
	#top a {
		display: none;
	}
	#top img {
		display: none;
	}
	#menu p {
		background: none;
	}
	#menu .txtcontain {
		margin-left: 0px;
		margin-right: 0px;
	}
	#menu p {
		font-size: 15px;
	}
	#menu {
		height: 730px;
	}
	#bottom img {
		width: 15%;
	}
	#bottom h1 {
		font-size: 40px;
	}
	#bottom {
		height: 600px;
	}
	#bottom h2 {
		font-size: 20px;
	}
	.button1 {
		margin-top: 5px;
	}
	#imgborder { 
		border: 8px solid transparent;
		padding:5px;
		border-image: url(https://cdn.discordapp.com/attachments/476002870081093644/709124506840596481/New_Piskel.gif) 30 ;
	}
	.flexcontain {
		padding-top: 30px;
		flex-flow: row wrap;
		top: 450px;
		justify-content: space-evenly;
		left: auto;
	}
	#top .embed-responsive {
		position: absolute ;
		top: 50% ;
		left: 50% !important;
		transform: translate(-50%, -50%);
		width: 95% !important;
	}
	
	/* page2 */
	#video {
		height: 700px !important;
	}
	#ecrit {
		height: 1265px !important;
	}
	#ecrit h2 {
		font-size: 30px !important;
	}
	#ecrit p {
		font-size: 13px;
	}
	#video .embed-responsive {
		width: 95% !important;
	}
	#video .embed-responsive {
		margin: auto;
		width: 100% !important;
	}
	#video h1 {

		padding-top: 31% !important;

		font-size: 28px !important;
	}
}

@media only screen and (min-width: 768px) and (max-width:991px){
	
	#top a {
		position: absolute;
		top: 657px;
		left: 51px;
		font-size: 15px;
	}
	#top img {
		min-width: 20%;
		padding-top: 300px !important;
	}
	#top {
		height: 900px;
	}
	#menu .txtcontain {
		margin-left: 100px;
		margin-right: 100px;
	}
	#bottom img {
		width: 15%;
	}
	#bottom h1 {
		
		font-size: 60px;
	}
	#bottom {
		height: 700px;
	}
	#bottom h2 {
		font-size: 25px;
	}
	#top .embed-responsive {
		position: absolute;
		top:400px !important;
		left: 70px;
		width: 55%;
		
	}
	.button1 {
		padding: 8px 10px;
		margin-top: 12px;	
	}
	.flexcontain {
		top: 365px;
		left:465px;
	}
	#imgborder {
		border: 8px solid transparent;
		padding:8px;
		border-image: url(https://cdn.discordapp.com/attachments/476002870081093644/709124506840596481/New_Piskel.gif) 30 ;
	}
	
	/* page2 */
	
}

@media only screen  and (max-width:1199px) {
	#top {
		height: 900px;
	}
	#top .embed-responsive {
		position: absolute;
		top: 310px;
		left: 70px;
		width: 55%;
	}
	
	/* page2 */
	
}

@media only screen and (min-width: 992px) and (max-width:1199px) {
	#top a {
		position: absolute;
		top: 661px;
		left: 75px;
		font-size: 18px;
	}
	#menu .txtcontain {
		margin-left: 220px;
		margin-right: 220px;
	}
	#bottom img {
		width: 10%;
	}
	#bottom h1 {
		
		font-size: 60px;
	}
	#bottom {
		height: 770px;
	}
	#bottom h2 {
		font-size: 25px;
	}
	.flexcontain {
		top: 300px;
		left:650px;
	}
	.button1 {
		margin-top: 12px;
	}
	/* page2 */
	
	
}

/* page2*/

#video .embed-responsive {
	margin: auto;
	width: 88% ;
}

#video h1 {
	color: white;
	margin-left: auto;
	padding-top: 17%;
	margin-right: auto;
	text-align: center;
	font-size: 35px;
}
#video {
	width: 100%;
	margin-top: -20px;
	height: 1040px;
	max-width: 100%;
	max-height: 100%;
	background-image: url("../img/background2.png");
	background-repeat: no-repeat;
	background-size: cover;
}

#video .embed-responsive {
	margin-top: 80px;
}

#ecrit {
	width: 100%;
	margin-top: -20px;
	height: 1350px;
	max-width: 100%;
	max-height: 100%;
	background-image: url("../img/background4.png");
	background-repeat: no-repeat;
	background-size: cover;
}

#ecrit p,h2 {
	text-align: center;
	padding-top: 8px;
	color: white;
}

#ecrit h2 {
	font-size: 40px;
	padding-top: 6%;
	padding-bottom: 6%;
}

#ecrit .quest {
	padding-top: 30px;
}

#ecrit .bcontainer {
	padding-top: 30px;
	padding-bottom: 10px;
	display: flex !important; 
	justify-content: center !important;
}
.centrer {
	text-align: center;
	align-items: center;
	align-content: center;
}