html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: sans-serif;
}

body {
  background-image: url('bg-tile.jpg');
  background-repeat: repeat;
  background-size: auto;
  background-attachment: fixed;
}


header, footer {
  background-color: #f8f8f8;
  padding: 10px;
  text-align: center;
}

h1 {
  font-family: "Comic Sans MS", "Comic Sans", cursive;
  color: #b3003c;
}



#map {
  flex-grow: 1;
  width: 100%;
}

/*Subpage Styling*/

main.place-details {
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.place-image {
  max-width: 100%;
  margin-bottom: 1rem;

}

.place-overview {
  background-color: #fff6f9;
  padding: 1rem;
  border: 1px solid #ffd1e0;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.place-overview ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.place-overview li {
  margin: 0.5rem 0;
}

.place-overview a {
  color: #b3003c;
  text-decoration: none;
}

.place-overview a:hover {
  text-decoration: underline;
}

.description {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.rating-table {
  margin: 2rem 0;
}

.rating-table table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.rating-table th,
.rating-table td {
  border: 1px solid #ffd1e0;
  padding: 0.5rem 1rem;
  text-align: left;
}

.rating-table th {
  background-color: #fff0f5;
  color: #b3003c;
}

.rating-table td.score {
  text-align: center;
  font-weight: bold;
  color: #333;
}

.overall-row td {
  background-color: #fff0f5;
  color: #b3003c;
  font-weight: bold;
  text-align: center;

}



.back-link {
  display: inline-block;
  margin-top: 1rem;
  color: #b3003c;
  text-decoration: none;
  font-weight: bold;
}

.back-link:hover {
  text-decoration: underline;
}
