/* 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;
  flex-wrap: wrap;
  margin: 0;
}
#barre {
  z-index: 9999;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 59px;
  width: 100%;
  left: 0;
  background-color: black;
  margin: 0;
}

#enTete {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 50px 0;
}

#modEd {
  margin-right: 21px;
  color: white;
}

#publiChang {
  background-color: white;
  padding: 11px 23px 11px 23px;
  max-width: 216px;
  max-height: 38px;
  border-radius: 25px;
}

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;
}

li:hover {
  color: #b1663c;
}

nav a {
  padding: 0 10px;
  font-size: 1.2em;
  color: black;
  text-decoration: none;
}

a:hover {
  color: #b1663c;
}

a:focus {
  color: black;
  font-weight: 600;
}

a,
.submit {
  cursor: pointer;
}

#modifProfil {
  padding-left: 15%;
  margin-top: 1%;
  min-width: 90%;
  max-width: 332px;
}

#introduction {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
#introduction figure {
  flex: 1;
  max-width: 50%;
}
#introduction img {
  display: block;
  margin: auto;
  width: 80%;
}

#introduction article {
  flex: 1;
  max-width: 35%;
}
#introduction h2 {
  margin-bottom: 1em;
}

#introduction p {
  margin-bottom: 0.5em;
}

#modifProjet {
  min-width: 84px;
  align-self: center;
  max-height: 36px;
  font-size: 14px;
  font-weight: 400;
  color: black;
  font-family: "Work sans";
  margin-left: 57px;
  text-decoration: none;
}

#modifProjet:hover {
  color: #b1663c !important;
}

#portfolio #titre {
  margin-bottom: 1em;
  display: flex;
  justify-content: center;
}

.filter {
  display: flex;
  justify-content: center;
  gap: 1%;
  margin-bottom: 51px;
  margin-top: 51px;
}

.filter button:hover {
  cursor: pointer;
}

.choice_pictures {
  min-height: 37px;
  max-width: 198px;
  min-width: 100px;
  background-color: white;
  color: #1d6154;
  border-style: none;
  border: 1px solid #1d6154;
  border-radius: 20px;
  font-size: 16px;
  padding-left: 1%;
  padding-right: 1%;
  font-weight: bold;
}

.active {
  background-color: #1d6154;
  color: white;
}

.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;
  cursor: pointer;
}

#login {
  width: 30%;
  margin: auto;
}
#login > * {
  text-align: center;
}
#login h2 {
  margin-bottom: 20px;
}
#login form {
  text-align: left;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
}

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

.passwordForgot {
  color: black;
  text-align: center;
}

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

/* Affichage des boutons lors de la connexion Utilisateur */

#modifProfil,
#modifArticle,
#modifProjet {
  display: none;
}

.fa-pen-to-square {
  font-size: 15px;
  margin-right: 1%;
  font-weight: 400;
}

#barre .fa-pen-to-square {
  color: white;
}

#modifProjet .fa-pen-to-square {
  padding-right: 5%;
}
