.wrapper {
  padding: 0 20%;
}

/* Copperplate */

.annonce-title h1 {
  font-family: 'Copperplate CC', serif;
  font-weight: 500;
  font-style: normal;
  color: black;
  font-size: 2.8em;
}

h2 {
  font-family: "Varela Round", sans-serif;
  color: #333333;
  font-size: 1.8em;
  margin: 0;
}

.annonce-title {
  margin-top: 100px;
  margin-bottom: 30px;
  text-align: center;
}

.annonce-section {
  margin-bottom: 50px;
  margin-top: 50px;
}

.annonce-section h2 {
  margin-bottom: 30px;
}

.specs-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.specs-box {
  display: grid;
  align-content: flex-start;
  gap: 20px;
}

.description p {
  color: black;
}

.specs-item p {
  color: #9c9c9c;
  /* margin-top: 5px; */
}

.places-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.places-item {
}

/* Set the size of the div element that contains the map */

#map {
  height: 400px;
  /* The height is 400 pixels */
  width: 100%;
  /* The width is the width of the web page */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.annonce-card-title {
  background-color: #f89b00;
  padding: 25px 15px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  text-align: center;
  margin-bottom: 30px;
}

.annonce-card-title h3 {
  padding: 0;
}

.annonce-card {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 30px;
}

.energy-container {
  display: grid;
  justify-content: start;
  align-items: center;
}

.btn-energy {
  width: 30px;
  height: 30px;
  background: red;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  margin-top: 5px;
}

.btn-energy p {
  padding: 0;
  margin: 0;
  color: white;
}

.gallery-container {
  padding-bottom: 40px;
}

/* global status btns */
.btn-available p {
  text-decoration: none;
  color: white;
  padding: 4px 8px;
  border-radius: 5px;
  width: max-content;
  background: #5cb85c;
}

.btn-agreed p {
  text-decoration: none;
  color: white;
  padding: 4px 8px;
  border-radius: 5px;
  width: max-content;
  background: #e08632;
}

.btn-sold p {
  text-decoration: none;
  color: white;
  padding: 4px 8px;
  border-radius: 5px;
  width: max-content;
  background: #d9534f;
}

/*  ---  Tablet  ---  */

@media (max-width: 980px) {
  .wrapper {
    padding: 0 10%;
  }
  .annonce-title h1 {
    font-size: 2.5em;
  }
}

/*  ---  Smartphone  ---  */

@media (max-width: 480px) {
  .wrapper {
    padding: 0 15px;
  }
  .annonce-title h1 {
    font-size: 2em;
  }
  .form-card {
    padding: 30px 15px;
  }
  .specs-container {
    grid-template-columns: 1fr;
  }
  .places-container {
    grid-template-columns: 1fr;
  }
}
