/* krisken-desktop */
@import url('https://fonts.googleapis.com/css2?family=Turret+Road:wght@800&display=swap');

/* LES POLICES */
@font-face{
  font-family: "Roboto Condensed";
  src: url("./fonts/RobotoCondensed-Regular.ttf") format("ttf");
	font-weight: 400;
	font-style: normal;
}
@font-face{
  font-family: "Roboto Condensed";
  src: url("./fonts/RobotoCondensed-Italic.ttf") format("ttf");
	font-weight: 400;
	font-style: italic;
}
@font-face{
  font-family: "Roboto Condensed";
  src: url("./fonts/RobotoCondensed-Bold-webfont.ttf") format("ttf");
	font-weight: 700;
	font-style: normal;
}
@font-face{
  font-family: "Roboto Condensed";
  src: url("./fonts/RobotoCondensed-BoldItalic-webfont.ttf") format("ttf");
	font-weight: 700;
	font-style: italic;
}

/* COULEURS */
.dark-blue{color: #212738;}
.jaune{color: #fbc360;}
.rouge{color: red;}

body{
	font: 400 1em/1.3 "Roboto Condensed", sans-serif;
	background: url(./img/bg-learning.webp) no-repeat center/cover;
	/* background: url(./img/train-1.jpg) no-repeat center/cover; */
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	max-height: 100vh;
	box-sizing: border-box;
	overflow: hidden;
	color: #fff;
}

a{
	display: inline-block;
	color: #fff;
	text-decoration: none;
}

/* NAVIGATION */
nav a:not(.inactive):hover,
nav a:not(.inactive):focus,
nav span.cours:hover,
nav span.cours:focus,
nav span.cours.active{
	color: #fbc360;
}
nav a:not(.inactive):after,
nav span.cours:after,
nav span.cours:after{
	content: '';
	display: block;
	width: 0;
	height: 1px;
	border-bottom: 1px solid #fbc360;
	transition: all 0.15s linear;
}
nav a:not(.inactive):hover:after,
nav a:not(.inactive):focus:after,
nav span.cours:hover:after,
nav span.cours:focus:after{
	width: 100%;	
}
a.inactive{
	opacity: 0.5;
	cursor: default;
}

/* CONTENUS */
h1{
	display: block;
	position: fixed;
	z-index: 999;
	left: 90px;
	top: 75px;
	text-transform: uppercase;
	margin-bottom: 1.5em;
	font-weight: bold;
}
h1.close{
	display: none;
}
h1:before{
	display: inline-block;
	content: '';
	width: 1em;
	height: 1em;
	background: #fbc360;
	margin-right: 5px;
	margin-bottom: -2px;
}
	a#signout{
		background: none;
		font-weight: bold;
		color: #fbc360;
		text-transform: lowercase;
	}
	a#signout:hover{
		color: #FFF;
	}
h2{
	font: normal 66px/1 "Turret Road", sans-serif;
	text-transform: uppercase;
	color: #212738B3;
}
h2 span{
	font: 400 32px/1 "Turret Road", sans-serif;
	display: block;
}
h3{
	width: 100%;
	font-size: 28px;
	font-weight: bold;
	padding-top: 1em;
	padding-bottom: 8px;
}
article p.date + h3{
	padding-top: 0;
}
h3:after{
	content: '';
	display: block;
	width: 220px;
	height: 1px;
	background-color: #ffffff80;
}
h3 span{
	font-weight: normal;
	font-size: 12px;
	display: block;
}
h4{
	font-size: 1.2em;
	font-weight: bold;
}

main{
	position: relative;
	background: url(./img/bg-app.webp) no-repeat center/cover;
	margin: 20px 40px !important;
	min-height: calc(100vh - 40px);
	border: 0 solid #FFFFFF33;
	box-shadow: 0 0 0 2px #FFFFFF33;
	overflow-y: scroll;
}
	main:after{
		content: '';
		display: block;
		position: fixed;
		bottom: 10px;
		left: 60px;
		right: 60px;
		height: 25px;
		background: url(./img/regle-bottom.webp) repeat-x left bottom/auto;
	}
header#header{
	position: fixed;
	left: 40px;
	top: 20px;
	bottom: 20px;
	width: 100%;
	max-width: 260px;
	background-color: #212738B3;
	padding: 100px 20px 20px 50px;
	overflow: hidden;
	transition: all 0.2s;
}
	header#header:after{
		content: '';
		display: block;
		position: absolute;
		top: 10px;
		bottom: 40px;
		left: 10px;
		width: 16px;
		background: url(./img/nav-before.webp) no-repeat top left/16px;
	}
header#header > img.decors-header-bottom{
	position: absolute;
	bottom: 40px;
	left: 50px;
	opacity: 0.2;
}
header#header.close{
	max-width: 0;
	padding: 100px 0 0 32px;
}

article div > *:not(h2, h3, h4){padding-left: 10px;}
article p,
article li{
	display: block;
	margin-bottom: 8px;
}
article ul li:before{
	content: '- ';
}
article p em{
	color: #9cb9db;
}
article p small{font-size: 0.85em;}
article p.projet{
	padding: 0 10px;
	border-left: 2px solid red;
}
article p.date{
	display: inline-block;
	text-transform: uppercase;
	background-color: #fbc360;
	font-weight: bold;
	font-size: 0.85em;
	padding: 2px 3px 0;
	color: #000;
	margin-top: 40px;
	border-radius: 8px;
}
article h3 + p.date{margin-top: 0;}
article a{
	background: #ffffff1A;
	border-radius: 16px;
	padding: 0 5px;
}
article a:hover{
	background: #ffffff;
	color: #212738;
}
article a{
	color: #fbc360;
}


/* SE CONNECTER */
body.connection main{
	outline: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 40px;
	overflow: visible;
	background-repeat: repeat-x;
	background-position: center left -8vw;
}
body.connection main form{
	position: relative;
	display: inline-flex;
	font-weight: bold;
	border-radius: 32px;
	height: 44px;
	background: #21273880;
	padding: 0 0 0 1em;
	border: 1px solid #212738;
	box-shadow: 0 0 0 3px #FFFFFF33;
}
body.connection main form input{
	background: transparent;
	border-width: 0;
	border-color: #fbc360;
	outline: 0;
	min-height: 44px;
	line-height: 1;
	padding: 0 1em 0 0;
	color: #fff;
	width: 200px;
	position: relative;
	z-index: 10;
	transition: all 0.15s;
}
body.connection main form label{
	position: absolute;
	z-index: 5;
	top: 10px;
	left: 1em;
	transition: all 0.15s;
}
body.connection main form input:focus + label{
	top: -22px;
}
body.connection main form button[type=submit]{
	position: relative;
	cursor: pointer;
	border-radius: 0;
	border: 0;
	outline: 0 !important;
	overflow: hidden;
	text-indent: -200em;
	display: inline-block;
	width: 44px;
	height: 44px;
	background: none;
}
body.connection main form button[type=submit]:after{
	content: 'OK';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 44px;
	height: 44px;
	border-radius: 0 32px 32px 0;
	line-height: 44px;
	color: #FFF;
	text-indent: -2px;
	background: #212738;
	font-weight: bold;
}
body.connection main form button[type=submit]:hover:after{
	color: #fbc360;
}
body.connection main p.error{
	color: #fff;
	margin-top: 10px;
	margin-left: 10px;
	float: right;
}
body.connection main a.reset{
	background: none;
	font-weight: bold;
}

/* BOUTON TOGGLER */
#toggler{
	position: fixed;
	z-index: 999;
	left: 80px;
	top: 25px;
	cursor: pointer;
	width: 110px;
	padding: 0;
	min-height: 36px;
	overflow: visible;
	border-radius: 20px;
	border: 0;
	background: none;
	box-shadow: none;
}
#toggler.active{
	background: #212738B3;
	box-shadow: 0 0 0 2px #FFFFFF33;
}
	#toggler .txt{
		font-weight: bold;
		padding-left: 44px;
		line-height: 36px;
		color: #fbc360;
		line-height: 36px;
	}
	#toggler:hover .txt{color: #fff;}
	.top,
	.med,
	.bot{background-color: #FFF;}
	#toggler .top,
	#toggler .med,
	#toggler .bot,
	#toggler.open .top,
	#toggler.open .med,
	#toggler.open .bot{
    position: absolute;
    left: 10px;
		width: 36px;
    height: 1px;
		transition: all .2s ease-in-out;
	}
	#toggler .top{top: 8px;}
	#toggler .med{top: 18px;}
	#toggler .bot{bottom: 8px;}
	#toggler.open .top,
	#toggler.open .bot{
		transform: rotate(45deg);
		transition: -webkit-transform .2s cubic-bezier(.73,1,.28,.08);
		top: 20px;
		height: 2px;
		width: 36px;
	}
	#toggler.open .bot{transform: rotate(-45deg);}
	#toggler.open .med{display: none;}

/* BOUTONS */
article button:not(.close){
	cursor: pointer;
	position: relative;
	display: inline-flex;
	margin: 10px 0;
	font-weight: bold;
	border-radius: 32px;
	background: #21273880;
	color: #fff;
	padding: 10px;
	border: 1px solid #212738;
	box-shadow: 0 0 0 3px #FFFFFF33;
}
article button:hover{
	color: #fbc360;
}
div.modal{
	width: 100vw;
	height: 100vh;
	margin: 0;
	padding: 0;
}
div.modal iframe{
	width: 100%;
	height: 100%;
	padding: 0;
}
div.modal button.close{
	cursor: pointer;
	position: absolute;
	top: 70px;
	right: 50px;
	padding: 0;
	transform: rotate(-90deg);
	border: 0;
	background: none;
	font-size: 1em;
	font-weight: 700;
	text-transform: uppercase;
	color: #fff;
	transform-origin: top right;
}
div.modal button.close:hover{
	color: #fbc360;
}

/* NAVIGATION */
nav #nav > li{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin-bottom: 15px;
	gap: 0 10px;
}
nav li img{
	flex-basis: 44px;
}
nav li span.cours{
	font-family: "Turret Road", sans-serif;
	display: inline-block;
	flex-basis: calc(100% - 70px);
	cursor: pointer;
	padding: 0 15px 0 0;
	text-transform: uppercase;
}
span.cours:before{
	content: '';
	display: inline-block;
	width: 15px;
	height: 24px;
	float: right;
	left: 15px;
	position: relative;
	background: url(./img/li-caret.svg) no-repeat center/10px;
}
nav ol{
	list-style-type: none;
	counter-reset: chiffre;
	flex-basis: 100%;
	height: 100%;
	max-height: 0;
	overflow: hidden;
	transition: all 0.2s linear;
}
nav ol.open{
	max-height: 50vh;
}
nav ol li{
	padding: 5px 0 5px 49px;
	counter-increment: chiffre;
	transition: all 0.2s;
}
nav ol li:before{
	content: counter(chiffre)'.';
	padding-right: 3px;
}

article{
	position: absolute;
	left: -200vw;
	width: calc(100vw - 480px);
	margin: 40px 0;
	transition: all 0.3s linear;
}
article.active{
	left: 360px;
}
article.active.center{
	left: 0;
	right: 0;
	margin: 100px auto 40px;
}
article header{
	width: 100%;
	margin-bottom: 20px;
}
article section{
	padding: 0 40px;
	background-color: #212738B3;
}
article section > div{
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 80px;
}
article section.services > div{
	gap: 40px 20px;
	display: flex;
	justify-content: start;
	flex-wrap: wrap;
	column-gap: 20px;
	padding-bottom: 0;
}
article section a.card{
	background: linear-gradient(to top, #bdcce1, #FFF 50%);
	width: 140px;
	padding: 10px 0;
	margin: 0 10px 20px 0;
	color: #000;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	border-radius: 3px;
	box-shadow: 10px 10px 0 #00000033;
	outline: 2px solid transparent;
}
article section a.card:hover{
	outline-color: #fbc360;
}
article section a.card:focus{
	transition: all 0.05s linear;
	box-shadow: none;
	margin: 10px 0 10px 10px;
}
article section a.card span{
	text-align: center;
	line-height: 1;
}
article section figure{
	height: 70px;
	width: 70px;
	margin-bottom: 10px;
	background: #fff;
	border-radius: 3px;
	padding: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #bdcce180;
}
article section figure img{
	max-height: 70px;
	max-width: 70px;
}

/* CONENUS */
article section strong{
	font-weight: bold;
}