* {
    margin: 0;
}

body {
    background-color: #333;
    font-family: 'Poppins', sans-serif;
    font-weight: 100;
}

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

a:visited {
  color: black;
}


.logo a {
  cursor: default;

}

.notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.separation {
  display: flex;
  justify-content: center;
}

/* LOGIN PAGE */

.form-control {
  position: relative;
  margin: 20px 0 40px;
  width: 190px;
}

.form-control input {
  background-color: transparent;
  border: 0;
  border-bottom: 2px #fff solid;
  display: block;
  width: 100%;
  padding: 15px 0;
  font-size: 18px;
  color: #fff;
}

.form-control input:focus,
.form-control input:valid {
  outline: 0;
  border-bottom-color: lightblue;
}

.form-control label {
  position: absolute;
  top: 15px;
  left: 0;
  pointer-events: none;
}

.form-control label span {
  display: inline-block;
  font-size: 18px;
  min-width: 5px;
  color: #fff;
  transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.form-control input:focus+label span,
.form-control input:valid+label span {
  color: lightblue;
  transform: translateY(-30px);
}

.logo  {
    font-family: 'Poppins', sans-serif;
}

.navBar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 50px;
    background-color: #f2f2f2;
    font-family: 'Poppins', sans-serif;
}


.navBar ul li {
    list-style-type: none;
    color: white;
    padding: 10px;
}

.navBar ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 15px;
}

.mobile-nav-toggle {
  display: none;
}


.bandeau {
  height: 30%;
  width: 100%;
}

.bandeau img {
  max-width:  100%;
  height: auto;
  object-fit: cover;
}


.filters {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    margin: 40px;
}

.filter {
    height: 50px;
    width: 200px;
    position: relative;
    background-color: #f2f2f2;
    cursor: pointer;
    border: 2px solid #252525;
    overflow: hidden;
    border-radius: 30px;
    color: #333;
    transition: all 0.5s ease-in-out;
  }
  
  .btn-txt {
    z-index: 1;
    font-weight: 800;
    letter-spacing: 4px;
  }
  
  .type1::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    transition: all 0.5s ease-in-out;
    background-color: #333;
    border-radius: 30px;
    visibility: hidden;
    height: 10px;
    width: 10px;
    z-index: -1;
  }
  
  .filter:hover {
    box-shadow: 1px 1px 200px #f2f2f2;
    /* color: #fff; */
    /* border: none; */
    border-color:  black;
  }
  
  .type1:hover::after {
    visibility: visible;
    transform: scale(100) translateX(2px);
  }


  .buttonDelete {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgb(20, 20, 20);
    border: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.164);
    cursor: pointer;
    transition-duration: .3s;
    overflow: hidden;
    position: relative;
  }
  
  .svgIcon {
    width: 12px;
    transition-duration: .3s;
  }
  
  .svgIcon path {
    fill: white;
  }
  
  .buttonDelete:hover {
    width: 140px;
    border-radius: 50px;
    transition-duration: .3s;
    background-color: rgb(255, 69, 69);
    align-items: center;
  }
  
  .buttonDelete:hover .svgIcon {
    width: 50px;
    transition-duration: .3s;
    transform: translateY(60%);
  }
  
  .buttonDelete::before {
    position: absolute;
    top: -20px;
    content: "Delete";
    color: white;
    transition-duration: .3s;
    font-size: 2px;
  }
  
  .buttonDelete:hover::before {
    font-size: 13px;
    opacity: 1;
    transform: translateY(30px);
    transition-duration: .3s;
  }

  .oeuvres-flex {
    display: flex;
    justify-content: center;
  }

  #oeuvres-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 30px;
    height: 100%;
    width: 80%;
  }



  .image-container {
    width: 200px;
    height: 200px;
    margin: 10px;
    display: block;
    position: relative;
    


  }

  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
  }

.loupe-icon {
    position: absolute;
    right: 10px; /* Ajustez selon vos besoins */
    font-size: 24px; /* Ajustez selon vos besoins */
    color: black; /* Couleur de l'icône */
    z-index: 10;
    
}

 

  
  hr {
    width: 50%;        /* Définit la largeur de la balise hr */
    margin: 0 auto;    /* Centrage horizontal */
    border: 0;         /* Supprime la bordure par défaut */
    height: 1px;       /* Définit l'épaisseur de la ligne */
    background-color: #8c8989; /* Couleur de la ligne, à ajuster selon vos préférences */
    margin-top: 50px;
    margin-bottom: 50px;
  }
  




#Apropos{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color:#333;
    

    
}

.propos-container {
  display: flex;
  flex-direction: row;
  margin: 10px;
  align-items: center;
  justify-content: center;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* Noir avec une opacité de 80% */  
  z-index: 2;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); /* Ombre portée */

}

#Apropos p {
  color: white;
}

.elisabeth {
   
    width: 10px;
    height: 70%;
    margin: 10px;
    flex: 1;
    display: flex;
    justify-content: center;
   
}

.elisabeth img  {
  object-fit: cover;
  width: 70%;
  height: 70%;
}
  


  @media screen and (max-width: 767px) {

  
    .navBar {
        flex-direction: column;
        height: auto;
        position: relative;
        padding-left: 0;
        justify-content: center;
        align-items: center;
    }

  
   
  .mobile-nav-toggle {
    display: block;
    position: absolute;
    top: 0; /* Aligné en haut */
    left: 0; /* Aligné à gauche */
    margin: 0; /* Aucune marge extérieure pour éviter tout débordement */
    height: 25px; /* Assurez-vous que la hauteur du bouton correspond à celle de .navBar */
    width: 25px; /* Vous pouvez ajuster la largeur si nécessaire */
    padding: 0; /* Ajustez le padding si nécessaire, mais gardez-le petit */
    box-sizing: border-box; /* Pour inclure le padding et la bordure dans les dimensions */
    z-index: 10; /* S'assure que le bouton est au-dessus des autres éléments */
    /* autres styles pour le bouton */
    color: black;
    background-color: black;
    background: transparent;
    border: black; /* Bordure noire fine */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);

    
  }

  .navBar .logo {
      padding-left: 40px; /* Ajoutez suffisamment d'espace pour le logo afin d'éviter le chevauchement avec le bouton */
  }

  .navBar ul {
      display: none;
      flex-direction: column;
      width: 100%; /* ou une largeur spécifique si nécessaire */

}

    .oeuvres-container {
        flex-direction: column;
    }

    .filters {
        flex-direction: column;
        margin: 20px;
    }

    .filter {
        width: 100%;
        margin: 5px;
    }

 



   
      
  hr {
    width: 50%;        /* Définit la largeur de la balise hr */
    margin: 0 auto;    /* Centrage horizontal */
    border: 0;         /* Supprime la bordure par défaut */
    height: 1px;       /* Définit l'épaisseur de la ligne */
    background-color: #8c8989; /* Couleur de la ligne, à ajuster selon vos préférences */
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .propos-container {
    display: flex;
    flex-direction: column;
    
    align-items: center;
    justify-content: center;
  }

  .description {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    letter-spacing: normal;
    word-spacing: normal;
    padding: 0;
    font-size: 0.7em;
  }

   
    }


    


  
  
  
  
  .elisabeth  {
      width: 100%;
      height: auto; /* Ajuste la hauteur automatiquement */
      object-fit: cover;
  }
  
  .description {
      flex: 2; /* Utilise les deux tiers de la largeur disponible */
      padding: 20px; /* Espacement intérieur pour le texte */
      text-align: justify;
  }
  


    /* MODAL */

 

   .modal-header {
    display: flex ;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
   }

   .modal-body {
    display: flex;
    flex-direction: column;
    font-weight: 100;
   }

   .modal-body.text-center {
    align-content: space-around;
    justify-content: space-around;
    align-items: center;
}

    .modal-image-container img {
      max-width: 100%;
      height: auto;
     }

    .btn-close {
      background-color: red;
      
    }

    .carousel-item img {
      width: 100%; /* Permet aux images d'être responsive et de s'adapter à la largeur du conteneur */
      height: auto; /* Maintient le ratio de l'image */
      object-fit: contain; /* Assurez-vous que l'image est contenue dans son cadre sans être coupée */
    }

    
 .modal-body .carousel-indicators button {
  display: none; /* Cela cache les indicateurs */
}

.carousel-control-next-icon {
  background-color: black;
}
   .modal-body button {
    background-color: black;
    
   }
/* 
    .modal-oeuvres-container {
      display: flex;
      flex-direction: row;
      justify-content: flex-end;
      align-items: stretch;
      position: relative;
    }
     */
/* Boutons de navigation (flèches) */

  
#oeuvre-title {
  font-size: 1em; /* Taille plus grande pour le titre */
  margin-bottom: 0.5em; /* Espace entre le titre et la description */
  font-weight: 100;
}
  
#oeuvre-description {
  font-size: 1em; /* Taille appropriée pour la description */
}

#oeuvre-image {
  display: block; /* Élimine l'espace blanc par défaut sous l'image */
  max-width: 50%; /* L'image prend toute la largeur du conteneur */
  max-height: 100%; /* Hauteur maximale pour empêcher le débordement */
  object-fit: contain; /* Garde les proportions sans déformation */
}
  


  
  
  
  /* styles.css */



.login-container {
  max-width: 400px;
  margin: auto;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 50px;
}

label {
  display: block;
  margin-bottom: 8px;
}

input {
  width: 100%;
  padding: 8px;
  margin-bottom: 16px;
}

button {
  background-color: #4CAF50;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#delete {
  background-color: red;
}


.modal {
  display: none; /* Caché par défaut */
  position: fixed; /* Reste en place même lors du défilement */
  z-index: 15; /* Se situe au-dessus des autres éléments */
  left: 0;
  top: 0;
  width: 100%; /* Largeur totale */
  height: 100%; /* Hauteur totale */
  overflow: auto; /* Active le défilement si nécessaire */
  background-color: rgba(0,0,0,0.4); /* Noir avec opacité */
  color: white;
}
.specific-content img{
  width: 20%;
}



.specific-content div button {
  height: 40px;
}
.modal-content {
  background-color: #212121;
  margin: 15% auto; /* 15% du haut et centré horizontalement */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Largeur de la modal */
  border-radius: 20px;
}
.control-container {
  width: 50%;
}
.control-container input{
 width: 50%;
}

.modal-filters-container {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  overflow: hidden;
  
}

.modal-filters-container div {
  padding: 10px;
  margin: 10px;
  display: flex;
  flex-direction: row;
}

.specific-content form input {
  
    margin: 30px;
    background: none;
    border: none;
    outline: none;
    max-width: 190px;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 9999px;
    box-shadow: inset 2px 5px 10px rgb(5, 5, 5);
    color: #fff;
  
}


.specific-content textarea {

  margin: 30px;
  background: none;
  border: none;
  outline: none;
  max-width: 190px;
  padding: 10px 20px;
  font-size: 16px;
  
  box-shadow: inset 2px 5px 10px rgb(5, 5, 5);
  color: #fff;

}

.specific-content form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

 .specific-content .adminOeuvres {
  display: flex;
  flex-direction: row;
  justify-content:baseline;
  margin-bottom: 15px;
}



.supprimer {
  background-color: red;
  border-radius: 20px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


/* FOOTER */

.Btn {
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition-duration: .4s;
  cursor: pointer;
  position: relative;
  background: #f09433;
  background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
  overflow: hidden;
}

.svgIcon {
  transition-duration: .3s;
}

.svgIcon path {
  fill: white;
}

.text {
  position: absolute;
  color: rgb(255, 255, 255);
  width: 95px;
  font-weight: 600;
  opacity: 0;
  transition-duration: .4s;
}

.Btn:hover {
  width: 110px;
  transition-duration: .4s;
  border-radius: 30px;
}

.Btn:hover .text {
  opacity: 1;
  transition-duration: .4s;
}

.Btn:hover .svgIcon {
  opacity: 0;
  transition-duration: .3s;
}

.footer-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
