* {
  box-sizing: border-box;
}


.column {
  float: left;
  width: 33%;
  padding: 0 10px;
}

.row {
  margin: 0 -5px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

@media screen and (max-width: 600px) {
  .column {
      width: 100%;
      display: block;
      margin-bottom: 20px;
  }
}

.card2 {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  padding: 16px;
  text-align: center;
  background-color: #f1f1f1;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s forwards;
}

/* Custom card width */
.card2-custom-width {
  width: 90%; /* Default width */
  margin: 0 auto; /* Center the card within the column */
}

/* Responsive adjustments */
@media screen and (max-width: 1200px) {
  .card2-custom-width {
      width: 90%; /* Increase width on larger screens */
  }
}

@media screen and (max-width: 992px) {
  .card2-custom-width {
      width: 95%; /* Further increase width on medium screens */
  }
}

@media screen and (max-width: 768px) {
  .card2-custom-width {
      width: 100%; /* Full width on small screens */
  }
}

/* Add space between cards for mobile view */
@media screen and (max-width: 600px) {
  .card2-custom-width {
      margin-bottom: 20px; /* Add bottom margin */
  }
}

/* Hover effect */
.card2:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Fade-in animation */
@keyframes fadeInUp {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}
