/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/** end reset css**/
body {
	max-width: 1140px;
	margin:auto;
	font-family: 'Work Sans' ;
	font-size: 14px;
}
header {
	display: flex;
	justify-content: space-between;
	margin: 50px 0
}
section {
	margin: 50px 0
}

h1{
	display: flex;
	flex-direction: column;
	font-family: 'Syne';
	font-size: 22px;
	font-weight: 800;
	color: #B1663C
}

h1 > span {
	font-family: 'Work Sans';
	font-size:10px;
	letter-spacing: 0.1em;
;
}

h2{
	font-family: 'Syne';
	font-weight: 700;
	font-size: 30px;
	color: #1D6154
}

.blackBloc {
	height:60px;
	display:flex;
	flex-direction:row;
	align-items:center;
	justify-content:center;
	background-color: #000000;
}

.buttonEdition {
	height:20px;
	font-weight:lighter;
	color:white;
	display: flex;
	flex-direction: row;
	border:none;
	background-color:transparent;
	padding : 5px;
}

.fa-pen-to-square {
	width:20px;
	height:20px;
}

.buttonpublish {
	height:40px;
	font-family: 'Syne';
	font-weight: 700;
	background-color: white;
	width: 220px;
	text-align: center;
	border-radius: 60px;
	padding : 5px;
}

.titremodif{
	display:flex;
	flex-direction:row;
	align-items:center;
	justify-content:center;
	gap: 20px;
}

.buttonmodif{
	padding-top : 10px;

	font-size:14px;
	border:none;
	background-color:transparent;
	margin:auto;
	font-weight:100;
}


.buttonmodif2{
	font-size:14px;
	border:none;
	background-color:transparent;
	margin-bottom: 1.5em;
	font-weight:100;
}

nav ul {
	display: flex;
	align-items: center;
	list-style-type: none;

}
nav li {
	padding: 0 10px;
	font-size: 1.2em;
	cursor:pointer;
}

li:hover {
	color: #B1663C;
}

a {
	text-decoration : none;
	color:black;
}
a:hover {
	color: #B1663C;
}
#introduction {
	display: flex;
	align-items: center;
}
#introduction figure {
	flex: 1
}
#introduction img {
	margin: auto;
	width: 80%;
}

#introduction article {
	flex: 1
}
#introduction h2 {
	margin-bottom: 1em;
}

#introduction p {
	margin-bottom: 0.5em;
}
#portfolio h2 {
	text-align: center;
	margin-bottom: 1em;
}

.filters {
	width : 100%;
	display : flex;
	flex-direction:row;
	justify-content:center;
	gap: 10px;
	padding:30px 0 30px;
}

.filter {
	width: unset;
	display: flex;
	align-items: center;
	justify-content:center;
	font-family: 'Syne';
	font-size:16px;
	font-weight: 700;
	color: #1D6154;
	background-color: transparent;
	padding:10px 20px 10px 20px;
	border-radius: 60px;
   
	&:focus{
	color: white;
	background-color: #1D6154;
	}
}

.gallery {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-column-gap: 20px;
	grid-row-gap: 20px;
}

.gallery img {
	width: 100%;

}
#contact {
	width: 50%;
	margin: auto;
}
#contact > * {
	text-align: center;

}
#contact h2{
	margin-bottom: 20px;
}
#contact form {
	text-align: left;
	margin-top:30px;
	display: flex;
	flex-direction: column;
}

#contact input {
	height: 50px;
	font-size: 1.2em;
	border: none;
	box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.09);
}
#contact label {
	margin: 2em 0 1em 0;
}
#contact textarea {
	border: none;
	box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.09);
}

input[type="submit"]{
	font-family: 'Syne';
	font-weight: 700;
	color: white;
	background-color: #1D6154;
	margin : 2em auto ;
	width: 180px;
	text-align: center;
	border-radius: 60px ;
}

footer nav ul {
	display: flex;
	justify-content: flex-end;
	margin: 2em
}



