/* @haesler-oscar-emf */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

body {
  background-image: url(/img/kendrick-fernandez-BD_MFmE_uvY-unsplash.jpg) !important;
  background-size: cover;
  font-family: "Roboto", sans-serif;
  background-position: 50%;
  margin: 0;
}
/* barre de titre en haut */
.glassmorphism-bar {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background-color: #00000020;
  color: azure;
  border-radius: 10px;
  margin: 20px auto;
  padding: 20px;
  width: 90%;
  max-width: 800px;
  text-align: center;
}
/* arriere plan du contenu */
.glassmorphism-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
  padding: 20px;
  overflow: hidden;
}
/* style du contenue*/
.content {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background-color: #00000020;
  color: rgb(255, 255, 255);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 20px;
  padding: 20px;
  width: 800px;
  overflow: hidden;
}

.content h2 {
  color: #71a8e3;
  font-size: 20px;
}
/* style pour le bouton de retour */
.button-retour {
  font-size: large;
  background-color: #0056b3;
  color: white;
  padding: 10px 15px;
  top: 10px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
  position: fixed;
  z-index: 100;
}

.button-retour:hover {
  background-color: #003d7a;
}
/* style des images des logements*/
.image-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px; /* Espacement entre les images */
  padding: 10px;
  width: 100%;
}

@media (max-width: 768px) {
  .image-gallery {
    grid-template-columns: 1fr; /* Sur les petits écrans revient à une seule colonne */
  }
}

.image-gallery img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.image-gallery img:hover {
  transform: scale(1.05); /* Agrandit légèrement l'image au survol */
}
p {
  margin-bottom: 60px;
  font-size: larger;
}

/* style pour le footer, avec les sources*/
.footer {
  background-color: #222;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer .footer-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.footer .footer-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.footer .footer-logo p {
  margin: 0;
  margin-left: 10px;
  margin-right: 10px;
}

.footer .footer-liens {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-liens li {
  display: inline-block;
  margin: 0 10px;
}

.footer .footer-liens a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer .footer-liens a:hover {
  color: #ccc;
}
