

.container5 {
    max-width: 800px;
   margin-top: -20px;
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #000;
    border-radius: 30px;
    box-shadow: 15px 15px 30px #bebebe,
    -15px -15px 30px #ffffff;
}
.h2review{ 
    font-size:x-large; 
    margin: 25px;
    color: #007bff;
    font-weight:bold;
    text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.3);
   letter-spacing: 1px;
   text-align: center;
       animation: bounce 2s infinite;}


.reviews {
    display: flex;
    overflow-x: auto;
    margin-top:20px;
    padding-bottom: 20px;
    word-wrap: break-word;
    white-space: pre-line;
}


.review {
    min-width: 300px; /* Set a minimum width for each review */
    box-sizing: border-box;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin-right: 10px; /* Add some space between reviews */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.review p {
    margin: 0;
    color: #555;
    font-size: 16px;
}

.review .author {
    color: #777;
    font-style: italic;
    font-size: 14px;
}

/* Updated styles for the star rating */
.star-rating {
    display: inline-flex;
    
    
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 2em;
    color: #ccc;
    cursor: pointer;
    margin-right: 8px;
}

.star-rating label:before {
    content: '\2605';
    transition: color 0.3s ease;
}

.star-rating input:checked ~ label {
    color: #ffac00; /* Gold color for checked stars */
}

/* Additional styles for different ratings if needed */
.star-rating input[value="2"]:checked ~ label,
.star-rating input[value="3"]:checked ~ label {
    color: #55a630; /* Green color for 2 and 3 stars */
}

.star-rating input[value="4"]:checked ~ label,
.star-rating input[value="5"]:checked ~ label {
    color: #e74c3c; /* Red color for 4 and 5 stars */
}
.rating {
    display: flex;
    flex-direction: row-reverse;
    gap: 0.3rem;
    --stroke: black;
    --fill: #ffc73a;
  }
  
  .rating input {
    appearance: unset;
  }
  
  .rating label {
    cursor: pointer;
  }
  
  .rating svg {
    width: 2rem;
    height: 2rem;
    overflow: visible;
    fill: transparent;
    stroke: var(--stroke);
    stroke-linejoin: bevel;
    stroke-dasharray: 12;
    animation: idle 4s linear infinite;
    transition: stroke 0.2s, fill 0.5s;
  }
  
  @keyframes idle {
    from {
      stroke-dashoffset: 24;
    }
  }
  
  .rating label:hover svg {
    stroke: var(--fill);
  }
  
  .rating input:checked ~ label svg {
    transition: 0s;
    animation: idle 4s linear infinite, yippee 0.75s backwards;
    fill: var(--fill);
    stroke: var(--fill);
    stroke-opacity: 0;
    stroke-dasharray: 0;
    stroke-linejoin: miter;
    stroke-width: 8px;
  }
  
  @keyframes yippee {
    0% {
      transform: scale(1);
      fill: var(--fill);
      fill-opacity: 0;
      stroke-opacity: 1;
      stroke: var(--stroke);
      stroke-dasharray: 10;
      stroke-width: 1px;
      stroke-linejoin: bevel;
    }
  
    30% {
      transform: scale(0);
      fill: var(--fill);
      fill-opacity: 0;
      stroke-opacity: 1;
      stroke: var(--stroke);
      stroke-dasharray: 10;
      stroke-width: 1px;
      stroke-linejoin: bevel;
    }
  
    30.1% {
      stroke: var(--fill);
      stroke-dasharray: 0;
      stroke-linejoin: miter;
      stroke-width: 8px;
    }
  
    60% {
      transform: scale(1.2);
      fill: var(--fill);
    }
  }
  
