/* 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 {
  margin: auto;
  font-family: "Work Sans";
  font-size: 14px;
  background-color: #FFFEF8;
}

header .edition {
  display: none;
  justify-content: center;
  align-items: center;
  height: 59px;
  background-color: black;
}
header .edition button, header .edition input {
  height: 38px;
  cursor: pointer;
}
header .edition button {
  background-color: black;
  color: white;
  border: none;
}
header .edition input {
  border-radius: 60px;
  text-align: center;
}
header a {
  text-decoration: none;
}
header .title {
  display: flex;
  justify-content: space-between;
  margin: 50px 0;
  padding: 0px 150px;
}
header .title .logout-btn {
  display: none;
}

main {
  padding: 0px 150px;
}

section {
  margin: 80px 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;
  cursor: pointer;
}

nav li {
  padding: 0 10px;
  font-size: 1.2em;
}

li:hover {
  color: #B1663C;
}

input {
  padding: 0px 30px;
  box-sizing: border-box;
}

textarea {
  padding: 10px 15px;
  box-sizing: border-box;
}

/* Modal */
.modal-container {
  visibility: hidden;
  position: fixed;
  top: 0;
  width: 100vw;
  height: 100vh;
  transition: visibility 0.4s;
}
.modal-container .tri-photos {
  padding: 46px 0px;
  border-bottom: 1px solid #B3B3B3;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 5px;
}
.modal-container .tri-photos img {
  height: 102px;
  width: 76px;
}
.modal-container .tri-photos p {
  font-size: 14px;
}
.modal-container .tri-photos i {
  position: absolute;
  left: 55px;
  bottom: 94px;
  color: black;
  background-color: white;
  cursor: pointer;
}
.modal-container .supprimer-photos {
  font-family: "Syne";
  text-decoration: none;
  color: #D65353;
  cursor: pointer;
}

.modal-container.active {
  visibility: visible;
}
.modal-container.active .overlay {
  opacity: 30%;
  transition: opacity 0.4s ease-out;
}
.modal-container.active .modal {
  opacity: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s 0.2s ease-out, transform 0.4s 0.2s ease-out;
}

.modal-container-ajout {
  visibility: hidden;
  position: fixed;
  top: 0;
  width: 100vw;
  height: 100vh;
  transition: visibility 0.4s;
}
.modal-container-ajout .row-modal {
  padding: 8px 10px;
  border: none;
  font-size: 24px;
  background-color: #FFFEF8;
  position: absolute;
  top: -3px;
  left: 24px;
  cursor: pointer;
}
.modal-container-ajout .ajout-photo-before {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 169px;
  width: 420px;
  background-color: #E8F1F6;
  margin-top: 36px;
}
.modal-container-ajout .ajout-photo-after {
  display: none;
}
.modal-container-ajout .ajout-photo-after img {
  height: 169px;
}
.modal-container-ajout img {
  margin-top: 22px;
  font-size: 58px;
}
.modal-container-ajout #ajouterPhotoBtn {
  background-color: #CBD6DC;
  color: #306685;
  height: 36px;
  width: 173px;
  font-size: 14px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
}
.modal-container-ajout #ajouterPhotoBtn:hover {
  background-color: #0056b3;
}
.modal-container-ajout p {
  font-size: 10px;
}
.modal-container-ajout form {
  display: flex;
  flex-direction: column;
  gap: 21px;
  text-align: left;
  margin-top: 30px;
  border-bottom: 1px solid #B3B3B3;
  padding-bottom: 46px;
}
.modal-container-ajout .input-photo {
  width: 420px;
  height: 51px;
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.09);
  border: none;
}
.modal-container-ajout label {
  font-family: "Work Sans";
  font-size: 14px;
  font-weight: 500;
}

.modal-container-ajout.active {
  visibility: visible;
}
.modal-container-ajout.active .overlay {
  opacity: 30%;
  transition: opacity 0.4s ease-out;
}
.modal-container-ajout.active .modal {
  opacity: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s 0.2s ease-out, transform 0.4s 0.2s ease-out;
}

.overlay {
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  background: #000000;
  transition: opacity 0.4s 0.2s ease-out;
}

.modal {
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 630px;
  height: 670px;
  max-width: 500px;
  min-width: 300px;
  padding: 30px;
  background: #FFFEF8;
  border-radius: 10px;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, calc(-50% - 50px));
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.modal h3 {
  font-size: 26px;
  font-weight: 400;
  margin-top: 60px;
}
.modal .input-modal {
  width: 236px;
  height: 36px;
  margin-bottom: 23px;
  margin-top: 38px;
}

.close-modal {
  padding: 8px 10px;
  border: none;
  font-size: 24px;
  background-color: #FFFEF8;
  position: absolute;
  top: 14px;
  right: 24px;
  font-weight: 700;
  cursor: pointer;
}

/* header */
.instagram {
  width: 17px;
  cursor: pointer;
}

/* section introduction*/
#introduction {
  display: flex;
  align-items: center;
}

#introduction figure {
  flex: 1;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  align-items: start;
}
#introduction figure .photo-btn {
  display: none;
  margin-left: 50px;
  top: 10px;
  gap: 10px;
  background-color: #FFFEF8;
  width: 84px;
  border: none;
  font-size: 15px;
  color: #1D6154;
  cursor: pointer;
}

#introduction img {
  display: block;
  margin: auto;
  width: 80%;
}

#introduction article {
  flex: 1;
  padding-left: 30px;
  width: 404px;
}

#introduction h2 {
  margin-bottom: 1em;
}

#introduction p {
  margin-bottom: 0.5em;
}

/* portfolio */
#portfolio h2 {
  text-align: center;
  margin-bottom: 1em;
  margin-top: 139px;
}
#portfolio .projets-btn {
  display: flex;
  gap: 20px;
  margin: 51px;
  justify-content: center;
}
#portfolio .projets-btn button {
  display: block;
  font-family: "Syne";
  font-weight: 700;
  height: 37px;
  min-width: 80px;
  color: #1D6154;
  width: auto;
  text-align: center;
  border: 1px solid #1D6154;
  border-radius: 60px;
  background-color: #FFFEF8;
}
#portfolio .projets-btn .selected {
  background-color: #1D6154;
  color: #FFFEF8;
}
#portfolio .modify {
  display: none;
  justify-content: center;
  align-items: center;
  margin-top: 139px;
  gap: 31px;
}
#portfolio .modify h2 {
  margin: 0;
}
#portfolio .modify button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #FFFEF8;
  width: 84px;
  border: none;
  font-size: 15px;
  color: #1D6154;
  cursor: pointer;
}

.gallery {
  width: 90%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  margin: 50px;
}

.gallery img {
  width: 100%;
}

/* Contacts */
#contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#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: 36px;
  font-size: 1.2em;
  border: none;
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.09);
}
#contact input#name {
  width: 379px;
}
#contact input#email {
  width: 379px;
}

#contact label {
  margin: 2em 0 1em 0;
}

#contact textarea {
  width: 379px;
  border: none;
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.09);
}

input[type=submit] {
  font-family: "Syne";
  font-weight: 700;
  width: 179px;
  color: white;
  background-color: #1D6154;
  margin: 2em auto;
  text-align: center;
  border-radius: 60px;
  cursor: pointer;
}

/* Footer */
footer nav ul {
  display: flex;
  justify-content: flex-end;
  margin: 2em;
}
footer nav li {
  padding: 0 80px;
}

/* Page login */
.login-page {
  display: none;
  height: 600px;
  margin: 50px 150px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.login-page h2 {
  padding-top: 150px;
  padding-bottom: 60px;
}
.login-page p {
  margin-bottom: 7px;
}
.login-page .login-email {
  height: 51px;
  width: 379px;
  margin-bottom: 52px;
  font-size: 1.2em;
  border: none;
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.09);
}
.login-page .login-password {
  height: 51px;
  width: 379px;
  font-size: 1.2em;
  border: none;
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.09);
}
.login-page input {
  height: 36px;
  font-size: 1.2em;
  border: none;
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.09);
}
.login-page a {
  color: black;
}
.login-page footer {
  margin-top: 355px;
}

/*# sourceMappingURL=style.css.map */
