:root {
	
	--coul1 : #19255b;
	--coul2 : #1c9996;
	--coul2b : #65acaa;
	--coul3 : #e9eff1;
	--coul4 : #f9fafb;
	
	/* Font size */
	--fsize1: 14px;
	--fsize2: 1.25em;
	--fsize3: 1.6em;
	--fsize4: 2.25em;
	--fsize5: 2.85em;
	--fsize6: 3.5em;
	--fsize7: 4.15em;
	--fsize8: 4.80em;
	--fsizemin : max(0.85em, 12px);
	
	--fontfam : "Bebas Neue";
	
	--light : 300;
	--bold : bold;
	
	--bshad : 1px 1px 10px rgba(0 0 0 / 10%);
	--bshad2 : 1px 1px 10px rgba(0 0 0 / 50%);
	
} 

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: 'Roboto', sans-serif;
	color: var(--coul1);
	font-size: var(--fsize1);
	animation: fondu 1s forwards ease-in-out;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

@keyframes fondu {
	from {opacity: 0;}
	to {opacity: 1;}
}

b {
	font-weight: bold;
}

h1, h2, h3, p{
	margin: 0;
}

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

main, .conteneur-1200 {
    width: 1200px;
    max-width: 100vw;
	margin: 0 auto;
	padding: 20px;
}

header {
	background-color: var(--coul1);
	margin-bottom: 30px;
}

footer {
	background-color: var(--coul1);
	color: #fff;
	margin-top: auto;
}

.pusher {
	height: 30px;
}

/**************************************/

.logo {
	display: block;
	margin: auto;
	max-height: 120px;
	max-width: min(600px, 80vw);
}

.texte-accueil {
	margin-bottom: 30px;
}

.texte-accueil-traduction {
	color: var(--coul2);
	margin-top: 20px;
	font-size: var(--fsizemin);
	font-style: italic;
}

.room-dir-conteneur {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    margin: auto;
    align-items: center;
    grid-gap: 10px;
}

.room-dir-cat {
    display: flex;
    justify-content: flex-start;
    align-items: center;
	flex-direction: column;
	padding: 10px;
    position: relative;
	background-color: #fff;
	font-size: var(--fsize3);
	border: solid 2px var(--coul1);
	overflow: hidden;
	text-align: center;
	min-height: 180px;
	transition: 0.2s;
	user-select: none;
}

.room-dir-cat-center {
    justify-content: center;
}

.room-dir-cat img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: contain;
	object-position: center;
    z-index: 0;
	transition: 0.2s;
	opacity: 0.8;
}

.room-dir-cat-title {
    z-index: 1;
	color: var(--coul1);
	text-transform: uppercase;
	font-family: var(--fontfam);
	font-size: var(--fsize2);
	line-height: 26px;
}

.room-dir-cat-subtitle {
	z-index: 1;
	color: var(--coul2);
	text-transform: uppercase;
	font-family: var(--fontfam);
	font-size: var(--fsizemin);
	font-style: italic;
}

.room-dir-cat:hover {
	box-shadow: 1px 25px 25px rgb(0 0 0 / 20%);
	z-index: 1;
	transform: translateY(-2px);
}

.room-dir-file {
	border-image: linear-gradient(to right, var(--coul1), var(--coul2)) 1;
}

#document {
	width: 100% !important;
	min-height: 100vh !important;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #eeeeee;
}

.displayer img {
	max-height: 80vh;
	max-width: 80vw;
}

.bouton-retour {
	color: var(--coul2);
	transition: 0.2s;
	display: flex;
	align-items: center;
	grid-gap: 10px;
	width: fit-content;
	font-size: var(--fsize3);
	padding: 10px;
	border-radius: 30px;
	box-shadow: var(--bshad);
	margin-bottom: 30px;
}

.bouton-retour:hover {
	background-color: var(--coul2);
	color: #fff;
}

.bouton-retour-fixe {
	position: fixed;
	top: 0;
	left: 0;
	margin: 10px;
	height: 50px;
	width: 50px;
	border-radius: 50%;
	z-index: 10;
	display: flex;
	justify-content: center;
	align-items: center;
	color: var(--coul2);
	background-color: #fff;
	transition: 0.2s;
    box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
}

.bouton-retour-fixe:hover {
	background-color: var(--coul2);
	color: #fff;
}