h2 {
    /*font-size: 24px; 
    font-weight: bold;*/
    text-align: left; /* Center the text (optional) */
    border-bottom: 2px solid black; /* Adds a black bottom border */
    padding-bottom: 5px; /* Adds space between text and border */
    margin-bottom: 10px; /* Adds spacing below the heading */
}

/*.heading {
 font-family: Arial, sans-serif;
 font-size: 3rem;
 font-weight: 700;
 color: orange;
 line-height: 2rem;
}*/

/*Styling for Card Flip*/

.grid-container {
  margin: 0 auto; /* Ensures centering if needed */
  text-align: center; /* Centers text inside */
  display: grid;
  /*grid-template-columns: repeat(3, 1fr);*/
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  max-width: 800px; /* Ensures it doesn't stretch too much */
  column-gap: 2px;
  row-gap: 20px; /* Controls spacing between rows */
  justify-content: center;
  padding: 20px;
}
.grid-item {
  width: 250px;
  height: 100px;
  perspective: 1000px;
  cursor: pointer;
}
.card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}
.card.flipped {
  transform: rotateY(180deg);
}
.card .front,
.card .back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-size: 18px;
  text-align: center;
  background-color: white;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 15px;
  padding-right: 15px;
}
.card .front {
  background: lightgray;     /*dce775  d4e157  */
  color: darkslategray;
}
.card .back {
  background: #2ecc71;
  color: white;
  transform: rotateY(180deg);
}