:root {
	--color: hsl(248, 80%, 60%);
	--medColor: hsl(248, 80%, 45%);
	--darkColor: hsl(248, 70%, 40%);
	--extraDarkColor: hsl(248, 50%, 30%);
	
	--yellow: hsl(55, 100%, 60%);
	--orange: hsl(34, 100%, 60%);
	
	--blackOnLight: rgba(0, 0, 0, 0.9);
	--whiteOnDark: rgba(255, 255, 255, 0.9);
	
	--textColor: rgba(0,0,0,0.9);
	--mainBackgroundColor: white;
	--contentBackgroundColor: white;
}
@media (prefers-color-scheme: dark) {
	:root {
		--textColor: rgba(255, 255, 255, 0.9);
		--mainBackgroundColor: hsl(222, 30%, 10%);
		--contentBackgroundColor: hsl(222, 30%, 10%);
	}
	h1, h2, article p {
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}
	.list .item {
		color: rgba(0,0,0,0.8);
	}
}
html, body {
	margin: 0;
	padding: 0;
}
html {
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	color: var(--textColor);
	/*background: var(--darkColor);*/
}
body {
	/*background-image: url(/images/tile-alpha.png);
	background-repeat: repeat;
	background-size: 24px 24px;
	background-color: white;*/
	background: var(--darkColor);
}
main {
	background-image: url(/images/tile-alpha.png);
	background-repeat: repeat;
	background-size: 24px 24px;
	background-color: var(--mainBackgroundColor);
}
h1 {
	font-family: 'Passion One', sans-serif;
	font-weight: normal;
	font-size: 3em;
	margin: 0 0 0.5em 0;
	padding: 0;
}
h2 {
	font-family: 'Passion One', sans-serif;
	font-weight: normal;
	font-size: 2em;
	margin: 0.5em 0;
	padding: 0;
}
p {
	line-height: 1.2em;
	margin: 0.8em 0;
}
a {
	text-decoration: none;
	color: inherit;
}
p a, li a {
	text-decoration: underline;
	color: var(--color);
}
a.shop {
	font-size: 17px;
	text-decoration: none;
	color: var(--blackOnLight);
	border-radius: 5px;
	padding: 2px 4px 2px 26px;
	background-image: url(/images/icon-shop.svg);
	background-color: var(--yellow);
	background-repeat: no-repeat;
	background-size: 18px 18px;
	background-position: 4px center;
	margin-right: 2px;
}
a.activite {
	font-size: 17px;
	text-decoration: none;
	background-color: var(--color);
	color: var(--whiteOnDark);
	border-radius: 5px;
	padding: 2px 4px 2px 24px;
	background-image: url(/images/icon-star.svg);
	background-repeat: no-repeat;
	background-size: 16px 16px;
	background-position: 4px center;
	margin: 0 2px;
}
a.modele {
	font-size: 17px;
	text-decoration: none;
	background-color: var(--color);
	color: var(--whiteOnDark);
	border-radius: 5px;
	padding: 2px 4px 2px 24px;
	background-image: url(/images/icon-modele.svg);
	background-repeat: no-repeat;
	background-size: 16px 16px;
	background-position: 4px center;
	margin: 0 2px;
}
a.link {
	font-size: 17px;
	text-decoration: none;
	background-color: var(--color);
	color: var(--whiteOnDark);
	border-radius: 5px;
	padding: 2px 4px 2px 24px;
	background-image: url(/images/icon-link.svg);
	background-repeat: no-repeat;
	background-size: 16px 16px;
	background-position: 4px center;
}
.hidden {
	display: none;
}
.lightOnDark {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
article p, article li, .texte p, .texte li {
	font-size: 18px;
	line-height: 1.5em;
}
article section {
	background-color: var(--contentBackgroundColor);
	padding: 1em 2em;
	margin: 2em 0;
	border: 1px solid var(--color);
	border-left: 1em solid var(--color);
	border-top-left-radius: 0.75em;
	border-bottom-left-radius: 0.75em;
}
article .video {
	display: flex;
	justify-content: center;
	margin: 2em 0 4em 0;
	position: relative;
	padding-top: 50%;
}
article .video iframe {
	border: 1em solid var(--yellow);
	background-color: var(--yellow);
	position: absolute;
	top: 0;
	left: 0;
	width: calc(100% - 2em);
	height: 100%;
}
article section.link-activite {
	background-color: var(--yellow);
	border: none;
	border-radius: 0;
	background-size: contain;
	background-position: left center;
	background-repeat: no-repeat;
	box-shadow: 0px 3px 6px hsla(248, 40%, 20%, 0.5);
}
article section.link-activite p:first-child {
	font-size: 1.25em;
	font-family: 'Source Sans Pro';
	font-weight: 700;
	margin: 0;
}
article section.link-activite p:last-child {
	font-size: 1em;
}
header {
	display: flex;
	justify-content: center;
	background-image: url(/images/background-header.png);
	background-repeat: repeat-x;
	color: white;
}
header.intro img {
	width: calc(100% - 2em);
	max-width: 420px;
	padding: 1em;
}
header.page {
	height: 90px;
	justify-content: center;
	align-items: center;
}
header.page img {
	width: 240px;
	height: 60px;
}
nav {
	font-family: 'Passion One', sans-serif;
	font-size: 1.2em;
	background-color: var(--color);
	color: var(--whiteOnDark);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
}
nav a {
	color: inherit;
	text-decoration: none;
	margin: 0 1em;
	font-size: 1.5em;
}
footer {
	background-color: var(--darkColor);
	color: rgba(255, 255, 255, 0.8);
	text-align: center;
}
footer .social a {
	margin: 0 0.5em;
}
footer .social img {
	width: 32px;
	height: 32px;
}
.inputBox {
	display: flex;
	align-items: center;
	overflow: hidden;
	border: 5px solid var(--yellow);
	border-radius: 8px;
	background: var(--color);
	box-shadow: 0px 3px 5px rgba(0,0,0,0.4);
}
.inputBox input {
	background: white;
	font-size: 2em;
	border: none;
	border-radius: 0;
	text-align: center;
	max-width: 320px;
	height: 50px;
	font-family: inherit;
	margin: 0;
	padding: 0;
}
.inputBox .inputButton {
	font-size: 1.5em;
	font-weight: bold;
	width: 60px;
	text-align: center;
	line-height: 50px;
	cursor: pointer;
}
.list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	max-width: 1300px;
	/*margin: 2em auto;*/
	margin: 0 auto;
	padding: 2em 0;
}
.item {
	width: 280px;
	margin: 1em;
	background-color: var(--yellow);
	overflow: hidden;
	box-shadow: 0px 3px 6px hsla(248, 40%, 20%, 0.5);
	border-radius: 5px;
}
.item .preview {
	height: 240px;
	background-position: center center;
	background-size: cover;
}
.item .container {
	padding: 1em;
}
.item .details {
	height: calc(240px - 2em);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.item .details p:nth-child(1) {
	background-color: rgba(255,255,255,0.7);
	text-transform: uppercase;
	font-size: 0.8em;
	padding: 0.3em 0.6em;
	border-radius: 0.2em;
	width: max-content;
}
.item .details p:nth-child(2) {
	margin-top: 0;
	font-family: 'Source Sans Pro', sans-serif;
	-webkit-font-smoothing: antialiased;
	font-weight: 700;
	font-size: 1.25em;
	margin-bottom: 0;
}
.item img {
	width: 100%;
	display: block;
}
.categorie {
	display: block;
	width: 100%;
	text-align: center;
	margin: 3em 0 2em 0;
}
.categorie img {
	width: 300px;
	background: var(--yellow);
	border-radius: 30px;
	box-shadow: 0px 3px 6px hsla(248, 40%, 20%, 0.5);
}
article section img {
	display: block;
	margin: 1.5em auto;
	max-width: 100%;
}
article .table {
	display: table;
}
article .table > div {
	display: table-cell;
	vertical-align: middle;
}
@media only screen and (max-width: 560px) {
	nav {
		height: 36px;
	}
	nav a {
		font-size: 1em;
		margin: 0 0.35em;
	}
	.content {
		padding: 1em;
	}
	article section {
		padding: 0.5em 1em;
	}
	article .video iframe {
		width: auto;
		height: auto;
	}
}
@media only screen and (min-width: 561px) and (max-width: 835px) {
	.content {
		padding: 2em;
	}
}
@media only screen and (min-width: 836px) and (max-width: 1199px) {
	.content {
		padding: 3em;
	}
}
@media only screen and (min-width: 1024px) {
	.content {
		width: calc(1024px - 4em);
		margin: 0 auto;
		padding: 3em 0;
	}
}
