* {
  margin: 0;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Manrope", sans-serif;
  font-size: 1em;
  background-color: #1f2039;
}

a {
  color: #242424;
  text-decoration: none;
}

em {
  color: #a5b4fc;
  font-style: normal;
}

h1 {
  font-size: 3.5em;
  color: #a5b4fc;
  font-family: "Montserrat", sans-serif;
}

h2 {
  color: #f9f8ff;
}

p,
li {
  font-size: 1.1em;
  color: #f9f8ff;
}

header,
footer {
  background-color: white;
  padding: 20px 50px;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lien {
  display: flex;
  gap: 15px;
}

.cta {
  display: inline-block;
  background: linear-gradient(#8e86b5, #acaeed);
  color: white;
  border-radius: 50px;
  padding: 20px 30px;
}

a:hover {
  text-decoration: underline;
}

.cta:hover {
  background: linear-gradient(#696484, #8788ba);
  text-decoration: none;
}
.icon {
  display: flex;
  gap: 15px;
}

.icon:hover {
  opacity: 0.5;
}

.main-a-propos {
  border-right: 1px solid #8e86b5;
  border-bottom: 1px solid #8e86b5;
  padding: 50px;
}

.main h2 {
  margin-top: 30px;
}

.main ul {
  margin-top: 30px;
}

section {
  padding: 80px;
}

.a-propos-main {
  width: 50%;
  margin: auto;
}

.main {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.contenu {
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 50%;
}
.photo {
  display: flex;
  width: 350px;
  height: 250px;
  margin-left: 30px;
}

.main .cta a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}
.image-projet {
  text-align: center;
  margin: 20px 0;
}
h2 {
  margin: 50px;
}

.images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px; /* Espacement entre les images */
}

.i {
  flex: 1 1 calc(33.333% - 20px); /* Chaque conteneur prend environ un tiers de la largeur */
  box-sizing: border-box;
  max-width: calc(33.333% - 20px);
}

.i img {
  width: 100%;
  height: 200px; /* Fixe une hauteur uniforme pour toutes les images */
  object-fit: cover; /* Assure que l'image reste centrée tout en recadrant */
  border-radius: 8px; /* Coins arrondis */
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.paysage {
  width: 220px;
  height: 150px;
}

.grid-paysages {
  display: grid;
  grid-template-columns: 220px 220px 220px;
  grid-template-rows: 150px 150px 150px;
  gap: 15px;
  justify-content: center;
}
.grid-portraits {
  display: grid;
  grid-template-columns: 220px 220px 220px;
  grid-template-rows: 150px 150px;
  gap: 15px;
  justify-content: center;
}
.lien-conteneur-photo {
  position: relative;
  width: 220px;
  height: 150px;
}

.photo-hover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
}

.lien-conteneur-photo:hover .photo-hover {
  display: flex;
}
