@font-face {
	font-family: "SuplexmentaryComic";
	font-style: normal;
	src: local("Suplexmentary Comic NC"), url("/public/fonts/Suplexmentary-Comic-NC.woff2") format("woff2");
}
@font-face {
	font-family: "Delius";
	font-style: normal;
	src: local("Delius"), url("/public/fonts/delius-regular.woff2") format("woff2");
}

html {
	scroll-behavior: smooth;
}

html, body, h1, ol, figure {
	margin: 0;
	padding: 0;
}

body {
	font-family: "Delius";
	background-image: url(/public/images/fond.png);
	width: 100vw;
	overflow-x: hidden;
}

body * {
  box-sizing: border-box;
}

body.single-image img {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	max-height: calc(100vh - 1em);
	padding: 0;
	position: relative;
}

body.single-image div.single-image {
	display: inline-block;
	left: 50%;
	position: relative;
	top: 50vh;
	transform: translate(-50%, -50%);
}

body.single-image div.single-image > a {
	position: absolute;
}

li {
	list-style-type: none;
}

a {
	color: white;
	text-decoration: none;
}

.bubble {
	background-color: white;
	border: 2px solid #444444;
	border-radius: 1em;
	font-family: "SuplexmentaryComic";
	font-weight: bold;
	line-height: 1.4em;
	opacity: 0.9;
	padding: 1em;
	position: absolute;
	text-transform: uppercase;
	pointer-events: none;
}

.image a + .bubble-hover {
	display: none;
}

.image a:hover + .bubble-hover {
	display: block;
}

.image a + .bubble-non-hover {
	display: block;
}

.image a:hover + .bubble-non-hover {
	display: none;
}

.anchor-center {
	transform: translate(-50%, -50%);
}

.anchor-bottom-left,
.arrow-bottom-left {
	transform: translate(-1.5em, -1.5em);
}

.anchor-bottom-right,
.arrow-bottom-right {
	transform: translate(1.5em, -1.5em);
}

.arrow-bottom-left:after {
	border-top: 1em solid white;
	border-left: 1em solid transparent;
	border-right: 1em solid transparent;
	bottom: -1em;
	content: "";
	position: absolute;
	left: 1em;
}

.arrow-bottom-right:after {
	border-top: 1em solid white;
	border-left: 1em solid transparent;
	border-right: 1em solid transparent;
	bottom: -1em;
	content: "";
	position: absolute;
	right: 1em;
}
