@charset "utf-8";
/* CSS Document */

.activity-block {
  border: 3px solid #00A693;
  border-radius: 10px;
  width: 95%;
  max-width: 800px; /* Ici, la largeur maximale a été modifiée à 800px */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  box-shadow: 0px 3px 6px rgba(0,0,0,0.16);
  transition: transform 3s ease, border 3s ease;
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 60px; /* Maintenant, cela fonctionnera comme prévu */
  margin-left: auto;
}

.activity-container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0 10px;
  margin: 0 auto; /* Ajoutez cette ligne pour centrer les blocs conteneurs */
}

.activity-block .block-image {
  position: relative;
  width: 100%;
  padding-bottom: 50%;
  overflow: hidden;
}

.activity-block .block-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-block .text-top,
.activity-block .text-bottom,
.activity-block .activity-title {

  background-image: url('images/imagebackgroundcolor/backdefault1.gif');
  position: relative;
  width: 100%;
  color: white;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  transition: background 2s ease-in-out;
  background-size: auto 100%; /* Ajuste l'image sur la hauteur */
  background-repeat: repeat-x; /* Répète l'image sur la longueur */
  font-weight: bold; /* Ajout de la propriété font-weight */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Ajoute une ombre portée */
}

.activity-block .text-top::before,
.activity-block .text-bottom::before,
.activity-block .text-top::after,
.activity-block .text-bottom::after {
  content: "";
  position: absolute;
  left: 0;
  height: 2px;
  width: 100%;
  background: #009999;
  transition: background 2s ease-in-out;
}

.activity-block .text-top::before,
.activity-block .text-bottom::before {
  top: 0;
}

.activity-block .text-top::after,
.activity-block .text-bottom::after {
  bottom: 0;
}

.activity-block .text-container {
  display: flex;
  align-items: center;
}

#container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.logo-image {
  max-width: 100%;
  height: auto;
  margin-top: 40px; /* Ajoute une marge en haut */
  margin-bottom: 20px; /* Ajoute une marge en bas */
}

.activity-block:hover {
  transform: scale(1.05);
}

.activity-block .text-container p {
  text-decoration: none;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  color: #00A693; /* change this to the hex color code of the green color you want */
}

.activity-block a {
  text-decoration: none;
}

.activity-block a:hover {
  text-decoration: none;
}

/* Pour les écrans plus grands que 600px */
@media (min-width: 601px) {
  .activity-block:hover {
    transform: scale(1.05);
  }
}

/* Pour les écrans de 600px ou moins */
@media (max-width: 600px) {
  .activity-block:hover {
    transform: none;
  }

  /* Ajout d'une règle pour élargir le conteneur */
  #container {
    width: 100%; /* Vous pouvez ajuster cette valeur selon vos besoins */
    padding: 0 0px; /* Ajout de padding pour garder un peu d'espace sur les côtés */
  }
}

.colorable-description-border {
  border-color: inherit;
}

.description p::before {
  content: "\2022";
  margin-right: 5px;
  color: #009999;
}

.description p {
  margin-bottom: 20px;
}

main {
  margin-top: 50px;
}

#title-container {
  margin-top: 50px;
  width: 100%; /* Ceci permet au conteneur de s'adapter à la largeur de la fenêtre de navigation */
  text-align: center;
}

#seasonImage {
  width: 100%; /* Cela permet à l'image de s'adapter à la largeur du conteneur */
  height: 50px; /* Ceci fixe la hauteur de l'image */
  object-fit: cover; /* Ceci assure que l'image conserve son ratio d'aspect */
}


.changeable-background {
  transition: background-image 4s ease;
}



