

html {
	border: none;
}


body {
	background: #FEFEFE;
	font-family: 'Arsenal', sans-serif;
}


.density-1 { width:100%}
.density-2 { width:100%}
.density-3 { width:100%}


header {
	height: 200px;
	align-items: center;
}

header a {
	color: unset;
	display: contents;
}

header .logo {
	width: 120px;
	height: 120px;
	/*
	width: max(10vh, min(10%, 10vw));
	height: max(10vh, min(10%, 10vw));*/


	background-image: url("./303-256x256.png");
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	margin: auto 1.5em;
}

header .title {
	font-size: 1.5rem;
}

footer {
	margin: 0;
	padding: 0;
	display: block;
}


section {
	margin: 0;
	padding: 0;
}

.hbox {
	display: flex;
}

.vbox {
	display: flex;
	flex-flow: column;
}

.full {
	width: 100%;
	max-width: 1400px;
	margin: auto;
}


* {
	border: 0;
	box-sizing: border-box;
}
.wide {
	width: 100%;
	max-width: 800px;
	margin:auto;
}

nav {
	list-style-type: none;
	background: #FEFEFE;	
	
	width: max-content;
	overflow: scroll;
	scrollbar-width: none;

	position: sticky;
	top: 0;
	z-index: 2;
}

nav .container {
	width: max-content;
}

nav li {
	background: #FEFEFE;
	color: #AAA;
	cursor: pointer;
	font-size: 2rem;
	padding: 2rem;
	margin: 1rem 0.5rem;
	text-wrap: nowrap;
}

nav a {
	text-decoration: none;
	color: #AAA;
}

nav a:hover {
	color: #000;
}

nav li.active {
	background: #FFF;
	color: #000;
}

nav li.active a {
	color: #000;
}

#home {
	
}

#home img {
	width: 100%;
	/*aspect-ratio: 1;*/
	object-fit: cover;

}

img {
	width: 100%;
}

.caption {
	max-width: 70vw;
	margin: 3rem auto;
	font-size: 2rem;
	line-height: 3rem;
	position: relative;
}

.caption .quote {
	font-size: 3rem;
	color: #AAA;
	position: absolute;
}

.quote.start {
	left: -1.5rem;
}

.author {
	color: #AAA;
	text-align: right;
	font-size: 1.5rem;
}

#creations {
	display: flex;
	gap:.5em;
	flex-wrap: wrap;
}

#creations3 .project img 
{
	filter: none;
}




.project {
	flex: 0 1 100%;
	position: relative;
}


#creations .project {
	flex: 0 1 calc(50% - 0.25rem);
}

.project img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 16/9;
	filter: invert(0) grayscale(1) contrast(1) brightness(.8) blur(1px);
	opacity: .94;
		transition: filter 0.2s ease-out;
}


.project:hover img {
    filter: none;
}
.project:hover .title {
    display: none;
}

.project .container {
	overflow: hidden;
	/*background: red;*/
	aspect-ratio: 4/3;
}

.project .title {
	position: absolute;
	bottom: 0;
	margin-bottom: 2rem;
	left: 2.5rem;
	font-size: 2.5rem;
	color: #FFF;
	text-shadow: 0px 0px 10px #000;
}



.description {
	font-size: 2.25rem;
	line-height: 3rem;
}

#pedagogie h2, #home h2 {
	/*margin: 6rem 0 4rem 0;*/
}

.description h2 {
	
	line-height: 3rem;
	margin-top: 5rem;
}

h3 {
	margin-top: 4rem;
}


.scrollContent {
	aspect-ratio: 4/3;
	width: 100%;
	display: flex;
	flex-direction: row;
	overflow-x: scroll;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-gutter: stable;
	-webkit-overflow-scrolling: touch;
	gap: 1rem;

}

::-webkit-scrollbar { display: none; }

.scrollContent img {
	scroll-snap-align: start;
	object-fit: cover;
	pointer-events: none;
	aspect-ratio: 4/3;
}

.dots {
	text-align: center;
}

.dot {
	margin: 1.5rem 0.5rem;
	background: #888;
	width: .5rem;
	height: .5rem;

	border-radius: 1rem;
	display: inline-block;

	cursor: pointer;
}

.dot.active {
	background: #000;
}

footer {
	padding: 4rem;
	text-align: center;

	margin-top: 4rem !important;
	
}

/** double densité */
@media (min-resolution: 1x) {

.density-1 {display: block}
.density-2 {display: none}
.density-3 {display: none}

  /*nav { color: green;}*/
}


/** double densité */
@media (min-resolution: 2x) {

.density-1 {display: none}
.density-2 {display: block}
.density-3 {display: none}

 /* nav { color: red}*/
}




/** triple densité */
@media (min-resolution: 3x)
{

.density-1 {display: none}
.density-2 {display: none}
.density-3 {display: block;}


  /*nav{color: blue}*/

  header .logo {
		width: 120px;
		height: 120px;
		}

	html {
		/*font-size: 1.5em;*/
	}

}