@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(1, 1);
  }
  to {
    -webkit-transform: scale(1.5, 1.5);
  }
}

@keyframes zoom {
  from {
    transform: scale(1, 1);
  }
  to {
    transform: scale(1.5, 1.5);
  }
}

.carousel-inner {
  height: 100%;
  width: 100%;
}

.carousel-item {
  height: 100%;
  width: 100%;
}

.carousel-inner .item > img {
  -webkit-animation: zoom 10s;
  animation: zoom 10s;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-site{
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden; /* Empêche l'image zoomée de déborder sous le contenu suivant */
  z-index: 0;
}

.navbar-brand {
  text-align: center;
  padding-left: 20px;
  font-style: italic;
  font-size: 30px;
  color:white;
 }

.navbar-nav-site {
  text-align: center;
  padding: 15px 20px;
  font-style:normal;
  font-size: 20px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0,0,0,0.2) 80%, transparent 100%);
  z-index: 20;
}

.container-ecran-vide {
  position: relative;
  margin-bottom: 2rem;
}

.navbar-nav-site .navbar-toggler {
  border-color: rgba(255,255,255,0.6);
}

.navbar-nav-site .navbar-toggler-icon {
  filter: invert(1);
}

.text-brand {
  font-style: italic;
  font-size:x-large;
  text-decoration: none;
  color:white;
  bottom: auto;
}

.text-menu {
  text-align:left;
  font-size: 20px;
  font-style:normal;
  color:white;
}

.container-presentation{
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.titre-accueil{
  padding-top: 20px;
  text-align: center;
  font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-style:normal;
  color:black;
  font-size:x-large;
}

.texte-accueil{
  text-align: center;
  font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-style:normal;
  color:black;
  font-size:large;
}

/* Media queries pour différentes tailles d'écran */
@media (max-width: 768px) {
  .carousel-site{
    height: 25vh;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .carousel-site{
    height: 60vh;
  }
}

@media (min-width: 1025px) and (max-width: 1366px) {
  .carousel-site{
    height: 80vh;
  }
}

/* Pour les très petits écrans */
@media (max-width: 480px) {
  .carousel-site{
    height: 20vh;
  }
}

.image-card{
  overflow: hidden;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.image-card img{
  transition: all 1.5s ease;
  width: 100%;
  height: auto;
  display: block;
}

.image-card:hover img{
  transform:scale(1.2);
}

.image-card .card-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: auto;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.2) 80%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: .5rem;
  text-decoration: none;
}

.titre-card-accueil{
  text-align:left;
  font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-style:normal;
  color:black;
  font-size:larger ;
}

.texte-card-accueil{
  text-align: left;
  font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-style:normal;
  color:black;
  font-size:medium ;
}

.titre-page-theme{
  /*margin-top: 10px;*/
  margin-bottom: 10px;
  text-align: center;
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-style:normal;
  color:black;
  font-size:xx-large;
}

.titre-card-accueil-galerie{
  text-align: left;
  font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-style:normal;
  color:rgb(255, 255, 255);
  font-size:larger ;
}

.texte-clic-vignette{
  text-align: center;
  align-items: center;
  font-size:small;
}

.container-btn-retour{
  margin-top: 100px;
  margin-bottom: 0px;
}

.texte-footer{
  text-align: center;
  font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-style:normal;
  color:black;
  font-size:small;
}

/* Back to Top */
#btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
}