body {
	color: #552800;
	background: #f6f3eb;
 	font-family: monospace;
 	text-align: center;
	font-size: 1.5em;  
	letter-spacing: 0em;
	margin: 0 25px;
}


p {	line-height: 175%; }
a {   
  color: #552800; 
  text-decoration: none;
}
.left { text-align: left; }
.right { text-align: right; }
.red { color: #CE5C5B;}
.yellow { color: #E9B36D;}
.green { color: #77815C;}
.signature { 	
  font-family: monospace;
  font-size: 1.8em;
}

#header h1 {
  margin: 50px 0;
  font-size: 2.8em;
  font-weight: 100;
  letter-spacing: 1em;
}

#footer { 
  margin: 50px 0;
  letter-spacing: 0;
}


/* SPECIAL h o m e */
#home {
	max-width: 800px; /* pour limiter taille bloc */
	margin: 0px auto; 
}


#home .triangles	{
	font-size: 50px;  
	margin: 50px 0;
	text-align: center;
}
#home img { max-width: 100%;}

/* SPECIAL p h o t o s  +  l i n k s  +  c o l l e c t i o n */
#photos, #links {
  	max-width: 768px; /* pour limiter taille bloc */
  	margin: 50px auto; 
}
#collection { margin: 50px auto; }

/* https://web-eau.net/blog/creer-portfolio-masonry-css */
.masonry {
  -webkit-column-count: 3;
	-moz-column-count: 3;
	column-count: 3;
	-webkit-column-gap: 1em;
	-moz-column-gap: 1em;
	column-gap: 1em;
	margin: 1.5em;
  padding: 0;
  -moz-column-gap: 1.5em;
  -webkit-column-gap: 1.5em;
  column-gap: 1.5em;
  font-size: .85em;
}


@media only screen and (max-width: 320px) {
.masonry {
  -moz-column-count: 1;
  -webkit-column-count: 1;
  column-count: 1;
	}
}
@media only screen and (min-width: 321px) and (max-width: 768px){
.masonry {
  -moz-column-count: 2;
  -webkit-column-count: 2;
  column-count: 2;
	}
}
@media only screen and (min-width: 769px) and (max-width: 1200px){
.masonry {
  -moz-column-count: 2;
  -webkit-column-count: 2;
  column-count: 2;
	}
}
@media only screen and (min-width: 1201px) {
.masonry {
  -moz-column-count: 3;
  -webkit-column-count: 3;
  column-count: 3;
	}
}

.item {
  display: inline-block;
  margin: 0.5em 0;
  width: 100%;
	-webkit-transition:1s ease all;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.item img {max-width:100%;}

/* https://www.w3docs.com/snippets/css/how-to-overlay-images-with-css.html */
.overlay {
  bottom: 0;
  width: 100%;
  height: 100%;
  transition: .7s ease;
  opacity: 0;
  text-align: center;
  padding: 2em;
}
.item:hover .overlay { opacity: 1;}



