/* fonts {{{ */
@font-face {
	font-family: comic;
	src: url("../NotComic.otf");
}
@font-face {
	font-family: chemins;
	src: url("../Chemins_Narrow.ttf");
}
@font-face {
	font-family: chemins-bis;
	src: url("../Chemins.ttf");
}
/* }}} */

/* screens {{{ */
@media only screen and (max-device-width: 800px) {
	section {
		height: 44vh !important;
	}
	p, article {
		font-size: 10pt !important;
	}
	span {
		font-size: 8pt !important;
	}
	section section {
		margin-top: 66vh !important;
		width: 44vw !important;
		height: 22vh !important;
	}
	.mrmr {
		transform: scale(1.1, .33) !important;
	}
	article {
		padding: 6% !important;
	}
}
/* }}} */

/* :: {{{ */
::selection {
	background-color: black;
	color: white;
}
::-webkit-scrollbar{
		background: transparent;
		width: 0;
}
::-webkit-scrollbar-thumb{
		background-color: transparent;
		width: 0;
}
/* }}} */

html {
	scrollbar-color: transparent transparent;
	scrollbar-width: thin;
}

body {
	display: flex;
	flex-direction: column;
	gap: 2vw;
	margin: 2% 2% 8% 2%;
	background-color: whitesmoke;
	padding-bottom: 8%;
}
section {
	width: 92vw;
	height: 85vh;
	position: relative;
	margin: 0;
	padding: 2%;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 2%;
	border: solid 1px black;
	background-color: white;
}

section section {
	width: 33vw;
	height: auto;
	bottom: -22vh;
	position: absolute;
	/*margin: 88vh 0 0 0;*/
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 2%;
	overflow: visible;
	box-shadow: 2px 2px black;
	gap: 0;
	z-index: 8;
}

picture {
	z-index: 3;
	height: 92%;
	position: relative;
	display: flex;
	align-items: center;
	gap: 1%;
	padding: 2%;
	border: solid 1px black;
	background: white;
}

picture img {
	max-height: 84vh;
	width: 100%;
	height: auto;
}

details {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	width: 100%;
	height: 100%;
	z-index: 2;
}

summary {
	padding: 0;
	margin: 0;
}
summary::marker {
	content:"";
}

summary picture {
	height: 96%;
}

details iframe {
	z-index: 4;
	border: solid 1px black;
	height: 100%;
	background: white;
}

iframe {
	z-index: 9;
	border: solid 1px black;
}

details p {
	margin: 0;
}
details img:hover {
	filter: drop-shadow(2px 2px 2px black);
	cursor: pointer;
}
picture details[open] img {
	width: 12vw;
}

article {
	position: absolute;
	padding: 4%;
	font-size: 16pt;
	background-color: white;
	border-radius: 100%;
	box-shadow: 4px 4px black;
	z-index: 16;
}

a {
	min-height: 16px;
}
a:hover hr {
	border-bottom: solid 1px black;
}
a img:hover {
	filter: drop-shadow(2px 2px 2px black);
}

p, address {
	padding: .8%;
	font-style: normal;
	font-size: 16pt;
	overflow: visible;
	min-width: 16vw;
	font-family: chemins;
}

b {
	color: orangered;
}

article {
	font-family: comic;
}

span {
	font-size: 12pt;
}

parquet {
	display: flex;
	flex-direction: row;
	height: 100%;
	position: absolute;
	left: -1px;
	top: 0;
	gap: 4.125%;
	width: 100%;
	overflow: hidden;
}
parquet hr {
	z-index: 0;
	height: 100%;
	width: 0;
	border-left: solid 1px black;
}

jalousie {
	z-index: 10;
	width: 96%;
	height: 100%;
	position: absolute;
	display: flex;
	flex-direction: column;
	gap: 0;
}
jalousie hr {
	height: 8%;
	border-top: none;
	border-bottom: solid 1px black;
	background: white;
}
jalousie:hover hr {
	transform: skew(-90deg, 0);
	transition: 8s;
}

hr {
	height: 1px;
	margin: 0;
	border-top: solid 1px black;
	border-right: 0;
	border-bottom: 0;
	border-left: 0;
}

@keyframes vent {
	from {left: 800px}
	to {left: -1000px}
}

#nuage {
	z-index: 8;
	position: absolute;
	bottom: 16px;
	left: 800px;
	animation: vent 16s linear infinite;
}

/* classes {{{ */
.left {
	left: 2vw;
}
.right {
	right: 2vw;
}

.berge, .mer {
	bottom: 0;
	left: 0;
	position: absolute;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background: white;
	overflow: hidden;
}
.berge hr, .mer hr {
	width: calc(96vw - 3px);
}
.berge {
	z-index: 2;
}
.berge hr {
	height: 2px;
}
.berge hr:hover {
}
.mer {
	z-index: 0;
	overflow: hidden;
	max-height: 92vh;
}
.mer hr {
	height: 8px;
	overflow: hidden;
}
.mer hr:hover {
	height: 10px;
}

.chemins {
	font-family: chemins-bis;
}
.comic {
	font-family: comic;
}

.centre {
	justify-content: center;
}

.horizon {
	z-index: 2;
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	background-color: white;
}

.porte {
	position: relative;
	width: 16vh;
	height: 32vh;
	margin: 0;
	background: black;
	border-right: solid 1px black;
}
.porte a {
	z-index: 2;
	position: absolute;
	width: 100%;
	height: 100%;
	border: solid 1px black;
	background: white;
}
.porte div {
	z-index: -1;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: black;
}
.porte:hover > a {
	transform: skew(0, 18deg) scale(88%, 100%);
	transform-origin: top left;
}

.mister {
	z-index: 2;
	min-width: 6vw;
	display: inline-block;
	margin-left: 50%;
	padding: 2%;
	border-radius: 100%;
	box-shadow: 2px 2px black;
	background-color: white;
	padding: 2vh;
	font-family: comic;
}

.mrmr {
	position: relative;
}
.mrmr div {
	position: relative;
}

dialogue, .dialogue {
	display: flex;
	flex-direction: column;
	position: relative;
	gap: 0;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: nowrap;
}

.route {
	transform: rotate(90deg);
	width: 100%;
	position: absolute;
	/*left: 25%;
	width: calc(92vh + 4px);*/
}
.bretelle {
	z-index: 1;
	top: calc(-4% - 2px);
	left: 50%;
	position: absolute;
	margin: 0;
	padding: 0;
}

.intersection {
	width: 108vw;
	position: absolute;
	left: calc(-4vw - 2px);
	/*display: flex;*/
	/*flex-direction: row;*/
	/*justify-content: center;*/
	/*align-items: center;*/
}
.intersection hr {
	/*display: inline-block;*/
	width: 54vw;
}

.direction {
	position: absolute;
	height: 100%;
	left: 50%;
	height: 100%;
	width: 50%;
	bottom: 0;
}
.direction img:hover {
	filter: drop-shadow(0 0 transparent);
}

/* }}} */

/* cover {{{ */
#couverture {
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
#couverture h1 {
	text-align: center;
	font-family: chemins;
	font-weight: normal;
	font-size: 22pt;
}
#couverture span {
	font-size: 44pt;
}
#couverture p {
	font-family: comic;
}
/* }}} */

footer {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 8px;
}

footer p {
	display: inline-block;
	margin: 0;
	padding: 4px 8px 2px 8px;
	border: solid 1px black;
	background-color: white;
	font-family: comic;
	line-height: 1.6;
}

footer mark {
	background-color: transparent;
	background-image: linear-gradient(transparent 50%, yellow 50%);
}

footer cite {
	background-image: linear-gradient(transparent 50%, yellow 50%);
	font-style: normal;
	text-decoration: underline dotted 2px;
}
