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{
	background-color: #e9dbc9;
	color: #f7f0eb;
	height: 44px;
	width: 100%;
}
#header_ordi{
	display: none;
}
menu{
	display: flex;
	padding: 0px;
}
li{
	list-style-type: none;
	align-items: center;
	display: flex;
	position: relative;
}
hr{
	margin: initial;
	color: #00000000;
}
footer{
	color: #f7f0eb;
	display: flex;
	justify-content: space-evenly;
}
footer a{
	display: block;
	padding: 0px 5px;
}
footer img{
	height: 40px;
	padding: 1px;
	border: 2px solid #e9dbc9;
	filter: none;
}
.bleu3{
	background-color: #1f85cb;
}
.bleu2, footer{
	background-color: #2168b1;
}
.bleu1{
	background-color: #1e4f9a;
}
.hide, #menu_tel.hide{
	display: none;
}
button{
	background: none;
	color: inherit;
	border: none;
	padding: 8px 15px;
	font-size: 18px;
}
#header_tel{
	display: flex;
	justify-content: end;
}
#bouton_menu{
	border-radius: 8px;
	margin: 8px 15px;
	z-index: 2;
	border: 2px solid #e9dbc9;
}
#design_header_tel{
	width: 140px;
	height: 40px;
	position: absolute;
	background-image: linear-gradient(135deg, #0000 20px, #2160b1 20.5px);
}
#nav_tel{
	height: 35px;
	margin-top: 25px;
	position: absolute;
	width: 100%;
}
#menu_tel{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: 40px repeat(2, 30px) 35px;
	margin-top: 5px;
}
#menu_tel li:nth-child(1), #menu_tel li:nth-child(5){
	grid-column: span 3;
}
#menu_tel li:nth-child(2){
	grid-row: span 2;
}
#menu_tel li:nth-child(3), #menu_tel li:nth-child(4){
	grid-column: span 2;
}
#menu_tel li a{
	width: 100%;
	text-align: center;
}
.main_height{
	margin-top: 100px;
}	
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;
}
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;
}

/*focus*/
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;
}


/*pour ordinateur*/
@media all and (min-width: 768px){
	main{
		padding: 40px;
		padding-top: 10px;
	}
	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;
	}
	footer a{
		padding: 15px 30px;
	}
	
	/*header*/
	header{
		z-index: 1;
		height: 86px;
		padding-top: 18px;
		position: sticky;
		top: -65px;
	}
	#header_tel{
		display: none;
	}
	#header_ordi{
		display: inline;
	}
	#menu_principale_ordi{
		justify-content: space-evenly;
		margin: auto;
		max-width: 700px;
	}
	#menu_principale_ordi li a, #menu_principale_ordi button{
		border-top-left-radius: 10px;
		border-top-right-radius: 10px;
	}
	#menu_principale_ordi button{
		padding: 12px 22px;
		font-size: 13px;
	}
	#menu_projets_ordi{
		height: 46.8px;
		margin-top: 0px;
	}
	
	/*header animation*/
	#menu_principale_ordi{
		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;
	}
}