/* 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;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
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
}
nav ul {
	display: flex;
	align-items: center;
	list-style-type: none;

}
nav li {
	padding: 0 10px;
	font-size: 1.2em;
	cursor: pointer;
}
.lien-login{
	text-decoration: none;
	color: inherit;
}
nav img {
	height: 20px;
	width: 20px;
}
li:hover {
	color: #B1663C;
}
#introduction {
	display: flex;
	align-items: center;
}
#introduction figure {
	flex: 1
}
#introduction img {
	display: block;
	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: 3em;
	margin-top: 4em;
}
.lienModale{
	font-size: 0.4em;
	text-decoration: none;
	color: black;
}
.filtres{
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 50px;
	margin-bottom: 50px;
	gap: 10px;
}
.filterBoutons {
	padding: 10px;
	border-radius: 60px;
	border: 1px solid #1D6154;
	color: #1D6154;
	background-color: white;
	font-family: 'Syne';
}
.filtres button:focus{
	background-color: #1D6154;
	color: white;
}
.tous{
	width: 85px;
}
.filtres button:hover{
	background-color: #1D6154;
	color: white;
	cursor: pointer;
}
.gallery {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-column-gap: 20px;
	grid-row-gap: 20px;
}

.gallery img {
	width: 366px;
	height: 491px;
}
#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 ;
	cursor: pointer;
	border: none;
}

footer nav ul {
	display: flex;
	justify-content: flex-end;
	margin: 15px;
}
.titreLogin{
	text-align: center;
	color: #1D6154;
	margin-top: 150px;
	margin-bottom: 60px;
	font-size: 30px;
}
.form-login{
	display: flex;
	flex-direction: column;
	align-items: center;
}
label[for="email-login"], label[for="mdp-login"]{
	margin-bottom: 5px;
}
#email-login, #mdp-login{
	width: 380px;
	height: 50px;
	margin-bottom: 30px;
	border:none;
	box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.09);
}
#connexion{
	width: 180px;
	height: 40px;
}
footer{
	margin-top: auto;
}
.footer-li{
	position: absolute;
	right: 100px;
}
#error {
    color: red; 
    font-size: 14px;
    margin-top: 5px;
}
.modale{
	position: fixed;
	display: flex;
	align-items: center;
	justify-content: center;
	top: 10%;
	left: 32%;
	width: 630px;
    height: 688px;
	z-index: 20;
}
.modal-wrapper{
	display: flex;
    flex-direction: column;
    align-items: center;
	width: 630px;
    height: 688px;
	border-radius: 10px;
	background-color: #fff;
}

.gallery-modale {
	width: 500px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 60px;
}
.gallery-modale img{
	width: 78px;
	height: 104px;
	padding: 0px;
	box-sizing: border-box;
}
.gallery-modale figure {
	margin-left: -15px;
	padding: 0;
	position: relative;
}
.close-modale{
	cursor: pointer;
	position: absolute;
	top: 26px;
	right: 30px;
}
hr{
	width: 77%;
}
.add-photos{
	position: absolute;
    bottom: 20px;
	display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Syne';
    font-weight: 700;
	font-size: 1em;
    color: white;
    background-color: #1D6154;
    margin: 2em auto;
    width: 240px;
    height: 40px;
    text-align: center;
    border-radius: 60px;
    cursor: pointer;
    border: none;
}

#backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 10;
}

#h3modale{
	display: flex;
	justify-content: center;
	font-family: inherit;
    font-weight: 400;
    font-size: 26px;
    color: #000;
	margin-bottom: 50px;
	margin-top: 60px;
}
.icone-supprimer{
	z-index: 1;
	cursor: pointer;
	position:relative;
	top: -80px;
	right: -73px;
	color: white;
	background-color: #000;
	border-radius: 5px;
    padding: 4px;
}
.icone-supprimer i{
	font-size: 15px;
}
.revenir{
	cursor: pointer;
	position: absolute;
	top: 26px;
	left: 30px;
}
.ajoutPhotos{
	background-color: #E8F1F6;
	display: flex;
	flex-direction: column;
	width: 100%;
    height: 34%;
	margin-bottom: 30px;
	justify-content: center;
    align-items: center;
	border-radius: 3px;
}
.fa-image{
 font-size: 76px;
 color: #B9C5CC;
 margin-bottom: 10px;
}

.boutonAjouterPhotos {
	font-family: 'Work Sans';
	padding: 14px 25px;
	background-color: #CBD6DC;
	color: #306685; 
	border: none;
	border-radius: 60px; 
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	font-weight: 700;
	text-align: center;
	margin-bottom: 7px;
}
/* .boutonAjouterPhotos{
	font-family: 'Work Sans';
    font-weight: 700;
    color: #306685;
	height: 40px;
	width: 180px;
    background-color: #CBD6DC;
    text-align: center;
    border-radius: 60px;
    cursor: pointer;
    border: none;
	margin-bottom: 7px;
} */
.jpgPng{
	font-size: 10px;
}
.form-modale2{
	display: flex;
	flex-direction: column;
}
#title{
	width: 420px;
	margin-bottom: 20px;
	height: 40px;
}
#categorie{
	margin-bottom: 50px;
	height: 44px;
	border: none;
	background-color: white;
  	appearance: none;
 	background-image: url('./icons/chevron-down-solid\ 1.png');
  	background-position: 95% 50%;
  	background-repeat: no-repeat;
}
#title, #categorie{
	border: none ;
	box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.09);
}
label[for="title"], label[for="categorie"]{
	margin-bottom: 10px;
}
#valider{
	width: 240px;
	height: 45px;
}
#valider:disabled{
	background-color: #A7A7A7;
	cursor: not-allowed;
}
#photo{
	display: none;
}
.enlever{
	display: flex;
    flex-direction: column;
    align-items: center;
}
.hidden{
	display: none;
}
.form-modale2 p{
color: red;
font-size: 12px;
}
