/* Center card element */
.box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 600px;
}

/* Style for top section of card */
.box-top {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #f8f7f0;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  margin: -12px 10px 0px 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

/* Style for image in top section of card */
.box-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

/* Style for title in top section of card */
.box-title {
  margin: 0;
  font-size: 24px;
  text-align: center;
}

/* Style for description in top section of card */
.description {
  text-align: justify;
  margin: 0;
}

/* Style for bottom section of card */
.box-bottom {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

/* Style for previous and next buttons */
#prev-btn,
#next-btn {
  z-index: 1;
  padding: 10px 20px;
  margin: 0 10px;
  border: none;
  border-radius: 5px;
  background-color: #f8f7f0;
  color: #252a32;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
}

.ReviewCard {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 600px;
  margin: 20px auto;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.ReviewCard h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

.ReviewCard .Review {
  margin: 20px 0;
}

.ReviewCard .Review h4 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.ReviewCard .Review p {
  font-size: 16px;
  margin-bottom: 10px;
}


.ReviewButton {
   z-index: 1;
  padding: 10px 20px;
  margin: 0 10px;
  border: none;
  border-radius: 5px;
  background-color: #a9cd9c;
  color: #252a32;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
}

.ReviewButtonClose {
    z-index: 1;
    padding: 10px 20px;
    margin: 0 0px;
    border: none;
    border-radius: 5px;
    background-color: #c74444;
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    margin-left: auto;
    width: min-content;
}


/* Media query for mobile devices */
@media only screen and (max-width: 768px) {
  .box {
    max-width: 100%;
  }
  
   .ReviewCard {
    max-width: 90%;
  }

  .ReviewCard h3 {
    font-size: 20px;
  }

  .ReviewCard .Review h4 {
    font-size: 18px;
  }

  .ReviewCard .Review p {
    font-size: 14px;
  }
  
}
 
 
 