body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

header {
  background-color: #333;
  color: white;
  padding: 20px;
  text-align: center;
}

h1 {
  margin: 0;
}

main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* changed from space-around */
  padding: 20px;
}

.destination {
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  margin: 10px;
  max-width: 300px;
  padding: 20px;
  text-align: center;
}

.destination img {
  border-radius: 5px;
  max-width: 100%;
}

.destination h2 {
  margin-top: 20px;
}

.destination p {
  font-size: 14px;
  line-height: 1.5;
}

.destination a {
  background-color: #333;
  color: white;
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  text-decoration: none;
}

.destination a:hover {
  background-color: #555;
}

@media only screen and (max-width: 991px) {
  main {
    padding: 10px;
  }

  .destination {
    margin: 10px auto;
    max-width: 400px;
  }
}

@media only screen and (max-width: 767px) {
  main {
    justify-content: center;
  }

  .destination {
    max-width: 100%;
  }
}

@media only screen and (max-width: 480px) {
  .destination {
    max-width: 300px;
    margin: 10px auto;
  }
}
