@font-face {
	font-family: Cantarell;
	src: url("/fonts/Cantarell-Regular.otf") format("opentype");
}

@font-face {
	font-family: Exo-ExtraLight;
	src: url("/fonts/Exo-ExtraLight.otf") format("opentype");
}

@font-face {
	font-family: Exo-Regular;
	src: url("/fonts/Exo-Regular.otf") format("opentype");
}

@keyframes mod_ok {
	from { opacity: 0.9; background-color: white; }
	2% { background-color: #090; }
	75% { opacity: 0.9; }
	to { opacity: 0; }
}

@keyframes mod_no {
	from { opacity: 0.9; background-color: white; }
	2% { background-color: #900; }
	75% { opacity: 0.9; }
	to { opacity: 0; }
}

html {
	margin: 0;
	padding: 0;
}

body {
	margin: 0;
	padding: 0;
	background-color: #E0E0E0;
	font-family: Cantarell;
	text-rendering: geometricPrecision;
	scroll-behavior: smooth;
}

#header {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	background-color: black;
	height: 64px;
	padding: 8px;
}

/* ---------------------------------------- GRAND ÉCRAN */
@media screen and (min-width: 801px) {
	#logo {
		position: absolute;
		top: 8px;
		left: 10%;
		width: 64px;
		height: 64px;
	}
	#title {
		color: white;
		position: absolute;
		top: 0px;
		left: calc(10% + 80px);
		font-family: Exo-ExtraLight;
		font-size: 32px;
	}
	#menu {
		position: absolute;
		top: 0;
		right: 10%;
	}
	#dropdown {
		display: none;
	}
	.nav {
		display: block;
		margin: 8px 2px 8px 2px;
		padding: 8px;
		height: 48px;
		float: right;
		text-align: center;
		font-size: 20px;
		font-family: Exo-Regular;
		transition: background-color 0.2s;
	}
	.nav:hover, .nav:focus {
		background-color: #0080FF;
	}
	.snav {
		position: relative;
		top: calc(50% - 0.6em);
	}
	#ldropdown {
		display: inline-block;
		margin: 8px 0 8px 0;
		padding: 8px;
		height: 48px;
		width: 100px;
		float: right;
	}
	#ldroptxt {
		height: 48px;
		width: 100px;
		padding: 0;
		cursor: pointer;
		transition: background-color 0.2s;
	}
	#ldroptxt:hover, #ldropdown:hover #ldroptxt, #ldroptxt:focus, #ldropdown:focus #ldroptxt {
		background-color: #0080FF;
	}
	#lsdroptxt {
		height: 48px;
		width: 100px;
		position: relative;
	}
	#ldropctn {
		display: none;
		position: absolute;
		z-index: 1;
		background-color: #101010;
		min-width: 100px;
		text-align: right;
		right: 0;
		border-right: 2px solid #0080FF;
	}
	#ldropdown:hover #ldropctn, #ldropdown:focus #ldropctn {
		display: block;
	}
	.lnav {
		display: block;
		min-height: 32px;
		padding: 5px;
		transition: background-color 0.2s;
	}
	.lnav:hover, .lnav:focus {
		background-color: #0080FF;
	}
	.lsnav {
		position: relative;
		top: 5px;
	}
	.box_title {
		font-size: 32px;
	}
	.box_left {
		margin-left: 10%;
		margin-top: auto;
		margin-bottom: auto;
		margin-right: 16px;
		width: 40vw;
	}
	.box_right {
		margin-right: 10%;
		margin-top: auto;
		margin-bottom: auto;
		margin-left: 16px;
		width: 40vw;
	}
	.box_text {
		width: 60%;
		margin-left: 20%;
		margin-right: 20%;
	}
	.mod {
		position: fixed;
		top: 0;
		left: 20%;
		right: 20%;
		padding: 8px;
	}
	.mod * {
		margin: 0;
	}
	.pimg_left {
		position: absolute;
		left: -40px;
		max-width: 64px;
		max-height: 64px;
	}
}

/* ---------------------------------------- PETIT ÉCRAN */
@media screen and (max-width: 800px) {
	#logo {
		position: absolute;
		top: 8px;
		left: 10px;
		width: 64px;
		height: 64px;
	}
	#title {
		color: white;
		position: absolute;
		top: 12px;
		left: 80px;
		font-family: Exo-ExtraLight;
		font-size: 24px;
	}
	#menu {
		display: none;
	}
	#dropdown {
		display: inline-block;
		position: absolute;
		top: 8px;
		right: 10px;
		height: 64px;
		width: 64px;
		padding: 0;
	}
	#dropimg {
		height: 64px;
		width: 64px;
		padding: 0;
		cursor: pointer;
		transition: background-color 0.2s;
	}
	#dropimg:hover, #dropdown:hover #dropimg, #dropimg:focus, #dropdown:focus #dropimg {
		background-color: #0080FF;
	}
	#sdropimg {
		height: 32px;
		width: 32px;
		position: relative;
		top: 16px;
		left: 16px;
		bottom: 16px;
	}
	#dropctn {
		display: none;
		position: absolute;
		z-index: 1;
		background-color: #101010;
		min-width: 100px;
		text-align: right;
		right: 0;
		border-right: 2px solid #0080FF;
	}
	#dropdown:hover #dropctn, #dropdown:focus #dropctn {
		display: block;
	}
	.nav {
		display: block;
		min-height: 24px;
		padding: 5px;
		transition: background-color 0.2s;
	}
	.nav:hover, .nav:focus {
		background-color: #0080FF;
	}
	.snav {
		position: relative;
		top: 0px;
	}
	.box_title {
		font-size: 24px;
	}
	.box_left {
		margin-left: 10px;
		margin-top: auto;
		margin-bottom: auto;
		margin-right: 16px;
	}
	.box_right {
		margin-right: 10px;
		margin-top: auto;
		margin-bottom: auto;
		margin-left: 16px;
	}
	.box_text {
		margin-right: 10px;
		margin-left: 10px;
	}
	.mod {
		position: absolute;
		top: 80px;
		left: 0;
		right: 0;
		padding: 2px;
	}
	.mod * {
		margin: 0;
	}
	.pimg_left {
		position: absolute;
		top: -2px;
		height: 24px;
	}
	.project h3 {
		font-size: 22px;
		line-height: 24px;
		padding-left: 40px;
	}
}

.box_text p {
	border-left: 2px solid transparent;
	padding-left: 8px;
	border-right: 2px solid transparent;
	padding-right: 8px;
	transition: border-left 0.3s, border-right 0.3s;
}

.box_text h2, .box_text h3, .box_text h4, .box_text > ul, .box_text > details {
	border-left: 2px solid transparent;
	border-right: 2px solid transparent;
	transition: border-left 0.3s, border-right 0.3s;
}

.box_text p:hover, .box_text p:focus, .box_text h2:hover, .box_text h2:focus, .box_text h3:hover, .box_text h3:focus, .box_text h4:hover, .box_text h4:focus, .box_text > ul:hover, .box_text > ul:focus, .box_text > ol:hover, .box_text > ol:focus, .box_text > details:hover, .box_text > details:focus {
	border-left: 2px solid #ff8000;
	border-right: 2px solid #ff8000;
}

.anav {
	text-decoration: none;
	color: white;
}

.anav:visited {
	color: white;
}

@media screen and (max-width: 800px) and (min-width: 566px) {
	.box_left, .box_right {
		width: calc(50vw - 10px);
	}
}

h2 {
	padding-left: 32px;
	font-family: Exo-ExtraLight;
	font-size: 200%;
}

h3 {
	padding-left: 24px;
	font-size: 160%;
	border-bottom: 2px solid #0080ff;
}

h4 {
	padding-left: 24px;
	font-size: 125%;
	border-bottom: 1px solid #0080ff;
}

@media screen and (min-width: 566px) {
	.screen_top {
		margin-top: 80px;
		padding: 0;
		min-height: calc(100vh - 80px);
		display: flex;
	}
	.screen_mid_top {
		margin-top: 80px;
		padding: 0;
		display: flex;
	}
	.screen {
		min-height: 100vh;
		display: flex;
	}
	.screen_mid {
		display: flex;
	}
	#langbox {
		position: absolute;
		display: block;
	}
	.langbox-st {
		padding-top: 2px;
	}
	#langbox details:not([open]) #langbox-cur {
		border-radius: 0 0 6px 0;
	}
}

@media screen and (max-width: 565px) {
	.screen_top {
		margin-top: 80px;
		padding: 0;
		min-height: calc(100vh - 80px);
	}
	.screen_mid_top {
		margin-top: 80px;
		padding: 0;
	}
	.screen {
		min-height: 100vh;
	}
	#langbox {
		position: relative;
		display: block;
	}
}

.screen_sp {
	height: 64px;
}

.box_sp {
	margin-top: 20px;
}

.screent {
	box-shadow: 0px -8px 16px 2px black;
	border-bottom: 2px solid #0080ff;
}

#langbox summary:first-of-type {
	list-style-type: none;
}

#langbox-cur {
	padding: 4px 8px 4px 8px;
	background-color: #ff8000;
	color: white;
	font-weight: bold;
	cursor: pointer;
}

#langbox-list {
	position: absolute;
	background-color: black;
}

#langbox-list ul {
	margin: 2px 0 2px 0;
	list-style-type: none;
}

.langbox-lang {
	position: relative;
	width: 100%;
	padding: 2px 4px 2px 4px;
	box-sizing: border-box;
}

.langbox-lang:hover, .langbox-lang:focus {
	background-color: #ff8000;
}

.langbox-lang a, .langbox-lang a:visited {
	color: white;
	text-decoration: none;
}

.langbox-alang-img {
	position: absolute;
	height: 1em;
	left: calc(-1em + -4px);
	top: 0.4em;
}

#langbox-cookie {
	color: #cccccc;
}

#footer {
	border-top: 2px solid #0080ff;
	box-shadow: 0px 5px 16px 2px black;
	background-color: black;
	color: #cccccc;
	padding-top: 20px;
	padding-bottom: 20px;
}

.footer_logo {
	margin-right: 10px;
	width: 64px;
	height: 64px;
}

.fnavig a, .fnavig a:visited {
    color: #ff8000;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.fnavig a:hover, .fnavig a:focus {
	color: #cccccc;
}



.formsub {
	text-align: right;
}

input[type="submit"] {
	border: none;
	background-color: #48A8FF;
	color: white;
	padding: 5px 10px 5px 10px;
	font-weight: bold;
	transition: background-color 0.2s;
}

input[type="submit"]:hover {
	background-color: #0080FF;
	cursor: pointer;
}

input[type="text"], input[type="password"], input[type="email"] {
	border: 2px solid #48A8FF;
	background-color: white;
	transition: border-color 0.2s;
}

input[type="text"]:hover, input[type="password"]:hover, input[type="email"]:hover, input[type="text"]:active, input[type="password"]:active, input[type="email"]:active {
	border-color: #0080FF;
}

.tform tr td:first-child {
	text-align: right;
}

form textarea {
	border: 1px solid #0080ff;
	width: 100%;
	min-height: 5em;
}

fieldset {
	border: 1px solid #0080ff;
}

legend {
	border: 1px solid #0080ff;
	padding: 0 4px 0 4px;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted #404040;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 150px;
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    top: -5px;
    left: 110%;
	opacity: 0;
	transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: calc(1em + 2px);
    right: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent rgba(0, 0, 0, 0.85) transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
	opacity: 1;
}

.box_text a, .box_text a:visited, .a, .a:visited {
	text-decoration: none;
	color: #0063bf;
	transition: color 0.2s;
}

.box_text a:hover, .box_text a:focus, .a:hover, .a:focus {
	color: #0080ff;
}

.a_black, .a_black:visited {
	text-decoration: none;
	color: #ff8000;
	transition: color 0.2s;
}

.a_black:hover, .a_black:focus {
	color: #cccccc;
}

.mod {
	color: white;
	font-weight: bold;
	opacity: 0;
}

.mod_ok {
	background-color: #090;
	animation: mod_ok 15s;
}

.mod_no {
	background-color: #900;
	animation: mod_no 15s;
}

#ask_cookies {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(255,255,255,0.9);
	border-top: 2px dashed #0080FF;
	padding: 10px;
}

#ask_cookies span {
	float: left;
}

#ask_cookies_bt {
	float: right;
}

.project {
	position: relative;
}


.aimg {
	max-width: 100%;
	max-height: 100vh;
}
