@charset "UTF-8";
/* Reset */
/* 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**/
/* Variables et Mixins */
/* bloc input */
/* Components */
header {
  display: flex;
  flex-direction: column;
  margin-bottom: 150px;
}
header .barre-mode-edition {
  height: 59px;
  width: 100%;
  display: none;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: white;
  background-color: black;
}
header .barre-mode-edition i {
  font-size: 15px;
}
header .barre-mode-edition p {
  font-size: 16px;
}
header .contenu {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  max-width: 1140px;
  margin: auto;
  margin-top: 50px;
}
header .contenu h1 {
  display: flex;
  flex-direction: column;
  font-family: "Syne";
  font-size: 22px;
  font-weight: 800;
  color: #b1663c;
}
header .contenu h1 span {
  font-family: "Work Sans";
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #93532f;
  text-transform: uppercase;
  font-weight: 400;
}
header .contenu nav ul {
  display: flex;
  align-items: center;
  list-style-type: none;
}
header .contenu nav li {
  padding: 0 10px;
  font-size: 1.2em;
}
header .contenu nav li a {
  color: black;
  text-decoration: none;
}
header .contenu nav li a:hover {
  font-weight: 700;
}
header .contenu nav li img {
  height: 22px;
}

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

.modale {
  position: fixed;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}
.modale .modale-contenu {
  position: relative;
  flex-direction: column;
  align-items: center;
  background-color: white;
  padding: 65px 105px 45px;
  border-radius: 10px;
  width: 630px;
  height: 688px;
  max-width: calc(100vh - 20px);
  max-height: calc(100vh - 20px);
  overflow: auto;
}
.modale .modale-contenu h2 {
  font-family: "Work Sans";
  color: black;
  font-weight: 400;
  font-size: 26px;
  margin-bottom: 46px;
}
.modale .modale-contenu .croix {
  position: absolute;
  right: 35px;
  top: 35px;
  font-size: 24px;
  border: none;
  color: black;
  background-color: transparent;
}
.modale .modale-contenu .croix:hover {
  cursor: pointer;
}
.modale .modale-contenu .retour {
  position: absolute;
  left: 35px;
  top: 35px;
  background: none;
  border: none;
  font-size: 24px;
  color: black;
  cursor: pointer;
}
.modale .modale-contenu .ligne {
  width: 100%;
  border: 1px solid #b3b3b3;
  margin: 20px 0;
}
.modale .modale-contenu .bouton-ajout-photo,
.modale .modale-contenu .bouton-valider-photo {
  font-family: "Syne";
  font-weight: 700;
  color: white;
  background-color: #1d6154;
  margin: 37px auto 32px;
  width: 237px;
  text-align: center;
  border-radius: 60px;
  cursor: pointer;
  font-size: 14px;
  padding: 11px;
  text-align: center;
  margin-bottom: 0;
}
.modale .modale-contenu .bouton-ajout-photo:hover,
.modale .modale-contenu .bouton-valider-photo:hover {
  background-color: #0e2f28;
}
.modale .modale-contenu .bouton-ajout-photo[disabled],
.modale .modale-contenu .bouton-valider-photo[disabled] {
  background-color: #a7a7a7;
  cursor: not-allowed;
  color: white;
  border: none;
}
.modale .modale-galerie {
  display: flex;
}
.modale .modale-galerie .galerie-modale {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-column-gap: 10px;
  grid-row-gap: 0px;
  width: 420px;
  height: 366px;
  margin-bottom: 67px;
}
.modale .modale-galerie .galerie-modale img {
  width: 100%;
}
.modale .modale-galerie .galerie-modale .projet-container {
  position: relative;
}
.modale .modale-galerie .galerie-modale .projet-container i {
  color: white;
  background-color: black;
  width: 20px;
  /* Taille ajustée pour une meilleure visibilité */
  height: 20px;
  font-size: 12px;
  /* Ajuste la taille de l'icône pour un meilleur rendu */
  border-radius: 3px;
  position: absolute;
  top: 6px;
  right: 6px;
  /* Place l'icône dans le coin supérieur droit */
  display: flex;
  align-items: center;
  justify-content: center;
}
.modale .modale-galerie .galerie-modale .projet-container i:hover {
  cursor: pointer;
}
.modale .modale-ajout-photo {
  display: none;
}
.modale .modale-ajout-photo .conteneur-ajout-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #e8f1f6;
  border-radius: 3px;
  width: 420px;
  height: 169px;
  text-align: center;
  overflow: hidden;
}
.modale .modale-ajout-photo .conteneur-ajout-photo .ajout-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.modale .modale-ajout-photo .conteneur-ajout-photo i {
  color: #cbd6dc;
  font-size: 76px;
}
.modale .modale-ajout-photo .conteneur-ajout-photo .input-photo {
  display: none;
}
.modale .modale-ajout-photo .conteneur-ajout-photo .label-photo {
  color: #306685;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  background-color: #cbd6dc;
  border-radius: 50px;
  cursor: pointer;
  display: inline-block;
  margin-bottom: 10px;
}
.modale .modale-ajout-photo .conteneur-ajout-photo small {
  color: #444444;
  font-size: 10px;
}
.modale .modale-ajout-photo .conteneur-ajout-photo .apercu-image {
  height: 193px;
  width: 129px;
  object-fit: cover;
}
.modale .modale-ajout-photo form {
  text-align: left;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  width: 420px;
  padding: 0;
  position: relative;
}
.modale .modale-ajout-photo form select {
  appearance: none;
  padding-right: 20px;
}
.modale .modale-ajout-photo label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}
.modale .modale-ajout-photo input,
.modale .modale-ajout-photo select {
  height: 50px;
  font-size: 14px;
  padding-left: 18px;
  border: none;
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.09);
  margin-bottom: 20px;
  position: relative;
  background-image: none;
}
.modale .modale-ajout-photo .fa-chevron-down {
  position: absolute;
  right: 18px;
  top: 140px;
  pointer-events: none;
  font-size: 11px;
}

.pop-up {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  position: absolute;
  width: 90%;
  bottom: 30px;
  padding: 12px 20px;
  border-radius: 10px;
  background-color: #f6f6f6;
  font-family: "Work Sans";
}
.pop-up-visible {
  display: flex;
}
.pop-up h3 {
  color: black;
  font-weight: 700;
  text-align: center;
  font-size: 1.3em;
}
.pop-up__reponse {
  display: flex;
  justify-content: end;
  gap: 10px;
  font-size: 1em;
}
.pop-up__reponse-annuler {
  color: black;
  background-color: #f6f6f6;
  padding: 6px 10px;
  border-radius: 5px;
}
.pop-up__reponse-annuler:hover {
  font-weight: 700;
  background-color: white;
  cursor: pointer;
}
.pop-up__reponse-supprimer {
  color: white;
  background-color: #b20a37;
  padding: 6px 10px;
  border-radius: 5px;
}
.pop-up__reponse-supprimer:hover {
  color: #b20a37;
  background-color: white;
  outline: solid 1px #b20a37;
  font-weight: 700;
  cursor: pointer;
}

/* Pages */
#introduction {
  display: flex;
  align-items: center;
  gap: 70px;
}
#introduction figure {
  flex: 1;
}
#introduction img {
  display: block;
  width: 100%;
}
#introduction article {
  flex: 1;
}
#introduction h2 {
  margin-bottom: 1em;
}
#introduction p {
  margin-bottom: 0.5em;
}

#portfolio h2 {
  text-align: center;
  margin-bottom: 60px;
}
#portfolio .boutons-filtre {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
}
#portfolio .boutons-filtre button {
  font-family: Syne;
  font-size: 16px;
  padding: 12px 20px;
  color: #1d6154;
  background-color: white;
  border: solid 1px #1d6154;
  border-radius: 60px;
}
#portfolio .boutons-filtre button:hover {
  cursor: pointer;
  color: white;
  background-color: #1d6154;
}
#portfolio .galerie-portfolio {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}
#portfolio .galerie-portfolio img {
  width: 100%;
}

#conteneur-titre-portfolio {
  display: flex;
  justify-content: center;
}

#admin-btn {
  position: absolute;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 10px;
  color: black;
  width: 84px;
  height: 18px;
  margin-left: 350px;
  margin-top: 9px;
}
#admin-btn i {
  font-size: 18px;
}
#admin-btn p {
  font-size: 14px;
}
#admin-btn:hover {
  cursor: pointer;
  font-weight: 700;
}

#contact label {
  margin: 42px 0 8px 0;
}
#contact textarea {
  border: none;
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.09);
}

.page-actuelle {
  font-weight: 700;
}

a:hover {
  font-weight: 700;
}

.demo-credentials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 24px auto 28px auto;
  padding: 18px 20px 14px 20px;
  background: linear-gradient(90deg, #fffbe6 0%, #f6f6f6 100%);
  border: 1.5px solid #ffe066;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(255, 224, 102, 0.1);
  width: 100%;
  max-width: 350px;
}
.demo-credentials__icon {
  font-size: 28px;
  color: #e1b800;
  margin-bottom: 2px;
}
.demo-credentials__title {
  font-weight: 700;
  color: #bfa100;
  margin-bottom: 6px;
  font-size: 16px;
  letter-spacing: 0.2px;
}
.demo-credentials p {
  margin: 0;
  font-size: 15px;
  color: #333;
}
.demo-credentials p strong {
  color: #bfa100;
}

#connexion label {
  margin: 32px 0 8px 0;
}
#connexion form input:not(:focus):invalid {
  color: white;
  border: 2px solid #b20a37;
  background: #b20a37;
  animation: headshake 100ms cubic-bezier(0.4, 0.1, 0.6, 0.9) 2;
}
@keyframes headshake {
  25% {
    transform: translateX(1%);
  }
  75% {
    transform: translateX(-1%);
  }
}
#erreur-connexion {
  height: 50px;
  width: 50%;
  margin: auto;
  text-align: center;
  margin-top: 32px;
  font-family: "Work Sans";
  font-size: 20px;
  color: #b20a37;
  font-weight: 700;
}
#erreur-connexion p {
  padding: 12px 20px;
}

/* Animations */
.apparition {
  animation: apparition 600ms cubic-bezier(0.42, 0, 0.58, 1) both;
}
.apparition--1 {
  animation-delay: 100ms;
}
.apparition--2 {
  animation-delay: 200ms;
}
.apparition--3 {
  animation-delay: 300ms;
}
.apparition--4 {
  animation-delay: 400ms;
}
.apparition--5 {
  animation-delay: 500ms;
}
.apparition--6 {
  animation-delay: 600ms;
}
.apparition--7 {
  animation-delay: 700ms;
}
.apparition--8 {
  animation-delay: 800ms;
}
.apparition--9 {
  animation-delay: 900ms;
}
.apparition--10 {
  animation-delay: 1000ms;
}
.apparition--11 {
  animation-delay: 1100ms;
}
.apparition--12 {
  animation-delay: 1200ms;
}
.apparition--13 {
  animation-delay: 1300ms;
}
.apparition--14 {
  animation-delay: 1400ms;
}
.apparition--15 {
  animation-delay: 1500ms;
}
.apparition--16 {
  animation-delay: 1600ms;
}
.apparition--17 {
  animation-delay: 1700ms;
}
.apparition--18 {
  animation-delay: 1800ms;
}
.apparition--19 {
  animation-delay: 1900ms;
}
.apparition--20 {
  animation-delay: 2000ms;
}

@keyframes apparition {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.modale {
  animation: fadeIn 0.3s both;
}
.modale[aria-hidden="true"] {
  animation-name: fadeOut;
}
.modale[aria-hidden="true"] .modale-galerie, .modale[aria-hidden="true"] .modale-ajout-photo {
  animation: slideToBottom 0.3s 0.1s both;
}
.modale .modale-galerie {
  animation: slideFromTop 0.3s 0.1s both;
}

/* Keyframes d'animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes slideFromTop {
  from {
    transform: translateY(-50px);
  }
  to {
    transform: translateY(0px);
  }
}
@keyframes slideToBottom {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(50px);
  }
}
* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: auto;
  font-family: "Work Sans";
  font-size: 14px;
  background-color: white;
  color: black;
}

main {
  max-width: 950px;
  margin: auto;
}

section {
  margin: 50px 0 150px;
}

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

a {
  text-decoration: none;
  color: black;
}

.formulaire {
  width: 50%;
  margin: auto;
  text-align: center;
  margin-bottom: 20px;
  width: 379px;
}
.formulaire h2 {
  font-size: 30px;
  color: #1d6154;
}
.formulaire form {
  text-align: left;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
}
.formulaire input {
  height: 50px;
  font-size: 14px;
  padding-left: 18px;
  border: none;
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.09);
}
.formulaire input[type="submit"] {
  font-family: "Syne";
  font-weight: 700;
  color: white;
  background-color: #1d6154;
  margin: 37px auto 32px;
  width: 180px;
  text-align: center;
  border-radius: 60px;
  cursor: pointer;
  font-size: 14px;
  padding: 11px;
}
.formulaire input[type="submit"]:hover {
  background-color: #0e2f28;
}

/*# sourceMappingURL=style.css.map */
