body {
  width: 100%;
  height: 100vh;
  /* background-image: url('../../assets/images/destinations/destination.webp'); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 1;
}

.destination-section-main h1 {
  padding-top: 110px;
  /* font-family: 'Kalam', cursive; */
  font-weight: 700;
  font-size: 36px;
  text-align: center;
}

.destination-section-contents {
  padding: 30px 0px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
}
.destination-cards {
  margin-top: 20px;
  width: 21%;
  height: 15%;
  position: relative;
}

.destination-cards-title {
  width: 90%;
  height: 100%;
  position: absolute;
  bottom: 30px;
  left: 10;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s ease-in-out 1s forwards;
  color: white;
  font-family: 'Staatliches', sans-serif;
}

.destination-cards img {
  opacity: 0;
  animation: fadeIn 1s ease-in-out 1s forwards;
  width: 90%;
  border: 2px solid white;
  border-radius: 10px;
  z-index: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.price-overlay {
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 90%;
  height: 20%;
  background: rgba(0, 0, 0, 0.6);
  color: black;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  text-align: center;
  padding: 3px;
  box-sizing: border-box;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.price {
  font-size: 14px;
  font-weight: bold;
  color: white;
  font-family: 'Staatliches', sans-serif;
  font-weight: 400;
}

.destination-cards:hover .price-overlay {
  opacity: 1;
}

@media (max-width: 767px) {
  .destination-section-main h1 {
    padding-top: 80px;
    font-weight: 600;
    font-size: 24px;
  }
  .destination-section-contents {
    flex-direction: column;
  }
  .destination-cards {
    margin-top: 20px;
    width: 100%;
    height: 15%;
    position: relative;
  }

  .destination-cards-title {
    margin: 5px 10px;
    font-size: 14px;
  }

  .destination-cards img {
    opacity: 0;
    animation: fadeIn 1s ease-in-out 1s forwards;
    margin: 0 18px;
    width: 90%;
    border: 2px solid white;
    border-radius: 10px;
    z-index: 1;
  }
  .price-overlay {
    animation: fadeIn 1s ease-in-out 1s forwards;
    margin: 0 18px;
  }
}
