body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  background-color: #FDF6EC;
  color: #5C3A21;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #FFF;
  border-bottom: 1px solid #ddd;
}

.logo {
  height: 80px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: #5C3A21;
  font-weight: bold;
}

.hero {
  background: url('hero.jpg') center/cover no-repeat;
  text-align: center;
  padding: 6rem 2rem;
  color: #FFF;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta {
  background-color: #C1440E;
  color: #FFF;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.cta:hover {
  background-color: #a8370c;
}

.biens {
  padding: 3rem 2rem;
  text-align: center;
}

.biens h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background-color: #FFF;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3 {
  margin: 1rem 0 0.5rem;
}

.card p {
  padding: 0 1rem;
  font-size: 0.9rem;
}

.details {
  display: block;
  margin: 1rem;
  background-color: #C1440E;
  color: #FFF;
  padding: 0.5rem;
  text-decoration: none;
  border-radius: 4px;
}

.details:hover {
  background-color: #a8370c;
}

.apropos {
  background: url('apropos.jpg') center/cover no-repeat;
  color: #FFF;
  text-align: center;
  padding: 4rem 2rem;
}

.apropos h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
}

footer {
  background-color: #5C3A21;
  color: #FFF;
  text-align: center;
  padding: 1rem;
}
.contact {
  background-color: #FFF;
  padding: 3rem 2rem;
  text-align: center;
}

.contact h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact p {
  margin-bottom: 2rem;
  font-size: 1rem;
  color: #5C3A21;
}

form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

div.transbox {
  background-color: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: grey(100%);
  backdrop-filter: grey(100%);
  padding: 30px;
  margin: 30px;
  font-weight: normal;
}

label {
  text-align: left;
  font-weight: bold;
  color: #5C3A21;
}

input, textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
}

button {
  background-color: #C1440E;
  color: #FFF;
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background-color: #a8370c;
}

  #myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #C1440E; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#myBtn:hover {
  background-color: #a8370c; /* Add a dark-grey background on hover */
}   
