@charset "UTF-8";
/*
***********************************
MEDIA QUERIES
***********************************
*/
:root {
  --alert-bg: rgba(0, 0, 0, 0.589);
  --danger-color: #a3515c;
  --flash-alert: rgb(49, 114, 49);
  --flash-alert-error: rgb(150, 47, 47);
  --title-color: #898989;
  --txt-color: #b5b5b5;
}

/*
*******************************
CONTAINERS
*******************************
*/
.div-flex {
  display: flex;
  justify-content: center;
  max-width: 100%;
  flex-direction: row;
  padding: 20px;
}
@media (min-width: 576px) and (max-width: 768px) {
  .div-flex {
    flex-direction: column;
  }
}
@media (min-width: 300px) and (max-width: 576px) {
  .div-flex {
    flex-direction: column;
  }
}

/*
*******************************
FORMULAIRES
*******************************
*/
.custom-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

h1 {
  color: var(--title-color) !important;
}

p {
  color: var(--txt-color) !important;
}

/*
*******************************
ICONES
*******************************
*/
.material-symbols-outlined {
  font-size: 40px !important;
  font-variation-settings: "FILL" 0, "wght" 100, "GRAD" 0, "opsz" 40;
}

h1 {
  color: var(--title-color) !important;
}

/*
 ***************************
ALERT / FLASH MESSAGE / MODAL
 ***************************
 */
.flash-container {
  height: 50px;
  position: sticky;
  width: 100%;
}

.alert,
.alert-success {
  width: 100%;
  color: var(--flash-alert);
  border: none;
  text-align: center;
  z-index: 1200;
  font-size: 1.2em;
  font-weight: 400;
}

.alert-success {
  color: var(--flash-alert);
}

.alert-error {
  color: var(--flash-alert-error);
}

.modal-delete-confirm {
  display: none; /* Modale cachée par défaut */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.modal-delete-confirm button {
  margin-top: 10px;
}

/*
 ***************************
NAV
 ***************************
 */
.nav-language {
  display: flex !important;
}
.nav-language a {
  margin-right: 0.5em !important;
}

/*
 ***************************
CARDS
 ***************************
 */
.project-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.project-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  transition: background 0.5s ease;
  z-index: 1;
}

/* Contenu texte toujours au-dessus */
.project-card .uk-card-body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.text-content p {
  color: black !important;
}

/* Texte en blanc */
.project-card .uk-card-title,
.project-card p {
  color: white !important;
}

/* Créer un pseudo-élément pour l'image de fond */
.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 1s ease, filter 1s ease;
  z-index: 0;
}

/* Effet hover */
.project-card:hover::before {
  transform: scale(1.1);
  filter: brightness(0.9);
}

.project-card:hover .overlay {
  background: rgba(0, 0, 0, 0.55);
}

.project-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.6s ease;
}

.work-card {
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}
.work-card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}
.work-card .work-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  transition: background 0.6s ease;
}
.work-card:hover .work-overlay {
  background: rgba(0, 0, 0, 0.25);
}
.work-card .work-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.work-card .work-content h3 {
  color: white;
  font-size: 2rem;
}

@media (min-width: 300px) and (max-width: 576px) {
  .mobile-margin-btn {
    margin-top: 10px !important;
  }
}
@media (min-width: 576px) and (max-width: 768px) {
  .mobile-margin-btn {
    margin-top: 10px !important;
  }
}/*# sourceMappingURL=style.css.map */