*, *:after, *:before { -webkit-box-sizing: border-box; box-sizing: border-box; }
.clearfix:before, .clearfix:after { content: ''; display: table; }
.clearfix:after { clear: both; }

body, .container {
	height: 100%;
	width: 100%!important;
}

/* Même cadre pour le parcours joueur ; le plan garde sa largeur propre.
   Limité à l’écran pour conserver la mise en page d’impression des documents. */
@media screen {
	body:not(#map) > .container {
		max-width: 560px;
		margin-left: auto;
		margin-right: auto;
	}
}

/* Empêcher un décalage horizontal quand le contenu devient défilant. */
@media screen and (min-width: 768px) {
	html {
		scrollbar-gutter: stable;
	}
}

#home .container, #intro-game .container, #map .container, #rules .container{
padding-left: 20px;
padding-right: 20px;
}

body {
	color: var(--game-surface-text);
	font-weight: 400;
	font-size: 20px;
	font-family: 'Fredoka', system-ui, sans-serif;
	min-height: 590px;
	letter-spacing: .02rem;
}

.fixed {
	position: fixed;
	overflow: hidden;
}

a {
	color: var(--game-surface-muted);
	text-decoration: none;
}

a:hover, a:focus {
	color: var(--game-surface-text);
}

a:focus-visible {
	outline: 3px solid var(--game-gold-border);
	outline-offset: 3px;
	border-radius: 4px;
}

h1{
font-family: 'Fredoka', system-ui, sans-serif;
font-size:35px;
color: var(--game-surface-text);
margin:0;
font-weight: 700;
line-height:1.2;
}

h2{
font-family: 'Fredoka', system-ui, sans-serif;
font-size:28px;
color: var(--game-surface-text);
margin:0;
font-weight: 700;
line-height:1.2;
}

h3{
font-family: 'Fredoka', system-ui, sans-serif;
font-size:24px;
font-weight: 700;
margin-bottom: 0;
}

h4{
	font-size: 24px; 
	margin-bottom: 20px;
}

h5{
	font-size: 22px; 
	margin-top: 20px;
	margin-bottom: 20px;
}

