html, body{
	scroll-behavior: smooth;
}
section, article{
	scroll-margin-top: 40px;
}
body{
	margin: 0px;
	background-color: #f7f0eb;
	color: #193050;
	font-family: Calibri, Verdana;
	font-size-adjust: 0.5;
}
header{
	z-index: 1;
	background-color: #e9dbc9;
	color: #f7f0eb;
	height: 86px;
	width: 100%;
	padding-top: 2px;
}
footer{
	color: #f7f0eb;
	padding-left: 40px;
	display: flex;
	justify-content: center;
}
footer a{
	display: block;
	padding: 15px 30px;
}
footer img{
	height: 40px;
	padding: 1px;
	border: 2px solid #e9dbc9;
}
li{
	list-style-type: none;
	align-items: center;
	display: flex;
	position: relative;
}
nav{
	display: flex;
}
#nav_principale{
	max-width: 700px;
	margin: auto;
}
menu{
	display: flex;
	padding: 0px;
}
#nav_principale menu{
	justify-content: space-evenly;
	margin: auto;
	width: 100%;
}
#nav_principale li a, button{
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}
.bleu3{
	background-color: #1f85cb;
}
.bleu2, footer{
	background-color: #2168b1;
}
.bleu1{
	background-color: #1e4f9a;
}
.hide{
	display: none;
}
#menu{
	height: 46.8px;
	justify-content: center;
}
button{
	background: none;
	color: inherit;
	border: none;
	padding: 12px 22px;
	font-size: 13px;
}
#contraste{
	color: #2761b0;
	font-size: 14px;
}
a{
	text-decoration: none;
	color: inherit;
	padding: 8px 30px;
}
nav a{
	font-size: 18px;
}
main{
	padding: 10px;
	padding-top: 40px;
}
#projets{
	padding-top: 20px;
}
h1, .lien_site{
	font-family: Forte;
	font-size-adjust: 0.6;
}
h2{
	font-size: 26px;
	margin-bottom: 0px;
}
h3{
	font-size: 22px;
	margin-bottom: 10px;
}
h1, h2, h3, h4{
	text-align: center;
}
article{
	margin-bottom: 30px;
}
.img_projet{
	display: flex;
	justify-content: center;
	align-items: center;
}
header a:hover, header a:focus-visible, header button:hover, header button:focus-visible{
	text-shadow: 1px 2px 3px #e9dbc9;
	cursor: pointer;
}
main a:hover, main a:focus-visible{
	text-shadow: 0px 2px 1px #2761b0;
}
footer a:hover img, footer a:focus-visible img{
	box-shadow: 0px 0px 10px #e9dbc9;
}
#contraste:hover, #contraste:focus-visible{
	text-shadow: 0px 1px 1px black;
}
img{
	margin: 10px;
	max-width: 100%;
	border-radius: 8px;
	filter: opacity(85%);
}
.contexte, .technique{
	background-color: #e9dbc9;
	margin-bottom: 10px;
	padding: 5px;
	border-radius: 8px;
}
@media all and (min-width: 768px){
	header{
		padding-top: 18px;
		position: sticky;
		top: -65px;
	}
	#nav_principale{
		position: sticky;
		top: 0px;
	}
	.sticky_projets{
		top: -18px;
	}
	.contour_bas::after{
		position: absolute;
		bottom: 0px;
		left: 0px;
		content: ' ';
		width: 100%;
		border-bottom: 2px solid #e9dbc9;
	}
	.contour::after, button.contour::after{
		position: absolute;
		bottom: 0px;
		left: -1.5px;
		content: ' ';
		width: 100%;
		height: 100%;
		border-left: 2px solid #e9dbc9;
		border-right: 2px solid #e9dbc9;
		border-top-left-radius: 10px;
		border-top-right-radius: 10px;
	}
	main{
		padding: 40px;
		padding-top: 10px;
	}
	#contraste{
		position: absolute;
		right: 0px;
		top: 0px;
	}
	article{
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 100px 1fr;
		grid-gap: 20px;
	}
	.titre_projet{
		grid-column: span 2;
	}
	img{
		margin: 0px;
	}
}