@font-face {
	font-family: CabinSketch;
	src: url(CabinSketch_Bold.woff2);
	font-weight: bold;
}

* {
	box-sizing: border-box;
}

html{
	height: 100%;
	background-image: url("Images/fond3.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-color: #171928;
}

header{
	margin-left: 15px;
}

header h1{
	font-family: CabinSketch;
	font-size: 250%;
	color: white;
	text-align: center;
/* 	color: rgba(255,255,255,0.5); */
}

footer{
	margin-top: 20px;
	color: rgba(255,255,255,0.7);
}

.logo {
	position:absolute;
	top: 15px;
	right: 15px;
	padding: 4px;
	background-color: rgba(27,176,225,0.5);
	border: 1px solid rgba(0,128,255,0.5);
	border-radius: 4px;
	box-shadow: 0px 0px 6px rgba(0,180,255,1);
}
.logo:hover {
	background-color: rgba(255,176,27,0.5);
	border: 1px solid rgba(255,128,0,0.5);
	box-shadow: 0px 0px 6px rgba(255,180,0,1);
}

.text-right{
	text-align: right;
}

.right{
	position: absolute;
	right: 20px;
}

a{
	color: rgba(255,80,0,1);
}

a:focus{
	outline: none;
	color: rgba(255,0,0,1);
}

a:active{
	box-shadow: 0px 0px 1px rgba(255,80,0,0.5);
	opacity: 0.5;
}

a:hover{
	text-shadow:0px 0px 4px rgba(255,150,150,1), 0px 0px 4px rgba(255,150,150,1);
}

article {
/* 	width: 380px; */
/* 	min-height: 250px; */
/* 	display: inline-block; */
/* 	margin: 20px; */
	text-align: left;
	vertical-align: middle;
}

article.big{
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

article, nav, .cadre{
	padding: 15px;
	background-color: rgba(255,255,255,0.8);
	border: 1px solid rgba(255,255,255,0.3);
	border-radius: 15px;
	box-shadow: 1px 1px 8px rgba(255,128,0,1);

	text-shadow:0px 0px 2px rgba(255,255,255,1), 0px 0px 5px rgba(255,128,0,1);
	color: rgba(0,0,0,1);
}

article h1{
	text-align: center;
	font-size: 180%;
	margin-top: 5px;
	margin-bottom: 5px;
}

article img{
	max-width: 100%;
}

input[type="password"]{
	min-height: 20px;
}

input.next {
	background-image: url("Images/go-next.png");
	background-repeat: no-repeat;
	border: none;
	background-color: rgba(0,0,0,0);
	opacity: 0.6;
	width: 48px;
	height: 48px;
	color: rgba(0,0,0,0);
	cursor: pointer;
}

input.next:hover{
	opacity: 1;
}

em{
/* 	opacity: 0.6; */
	color: rgba(180,100,0,1);
}


/* Menu */

nav{
	max-width: 800px;
	margin: 0 auto 20px auto;
	display: flex;
	padding: 0px;
}

nav a{
	flex-grow: 1;
	padding: 20px 10px;
	opacity: 0.8;
	border-top: 1px solid rgba(255,80,0,0.3);
	text-decoration: none;
}

nav a:first-child{
	border-top-left-radius: 15px;
	border-bottom-left-radius: 15px;
}

nav a:last-child{
	border-top-right-radius: 15px;
	border-bottom-right-radius: 15px;
}


nav a:hover{
	opacity: 1;
	background-color: rgba(255,255,255,0.5);
}

nav a.menu-current{
	opacity: 1;
	background-color: rgba(255,255,255,0.5);
}

section {
	margin: auto;
	max-width: 800px;
}

section.grid {
	display: grid;
	grid-template-columns:repeat(auto-fill, minmax(350px, 1fr));
	grid-gap: 10px;
}

.text-center{
	text-align: center;
}

.center{
	width: 460px;
	height: 200px;
	margin: auto;
	padding: 35px;
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
}
