html{
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #FFFFFF;
}

header {
  background-color: #4CAF50;
  color: white;
  text-align: center;
}

main {
  background-color: #ffffff;
}

.content{
  margin-bottom: 0px;
  margin-top: 30px;
  padding-bottom: 0px;
  padding-top: 0px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.content .title{
  padding-left: 50px;
  width: 85%;
  position: relative;
  top: -10px;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #0cc753;
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom: solid 2px #b2b2b2;
  font-size: 22px;
}

.chantier {
  background-color: white;
  margin: 1rem 0;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chantier h2 {
  color: #4CAF50;
}

.chantier p {
  margin: 0.5rem 0;
}

.photos {
  margin-top: 3rem;
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.photos a {
  display: block;
  position: relative;
  transition: transform 0.2s ease-in-out;
}

.photos a img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.photos a:hover img {
  transform: scale(1.05) !important;
}

@media (max-width: 768px) {
  .photos {
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}

@media (max-width: 480px) {
  .photos {
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}
