/* src/pages/styles.module.css */

.features {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
  width: 100%;
  flex-wrap: wrap;
}

.featureSvg {
  color: var(--ifm-color-primary);
  height: 250px;
  width: 250px;
  transition: transform 0.3s ease-in-out;
}

.featureSvg:hover {
  transform: scale(1.5); /* Zoom in slightly on hover */
}

/* Adding animation to feature items */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply animation to each feature item */
.row .col {
  animation: fadeInUp 0.5s ease forwards;
  animation-delay: 0.3s;
}

.heading {
  font-weight: bold;
}

.text--center {
  text-align: center;
}

.padding-horiz--md {
  padding: 0 1.5rem;
}

.container {
  width: 100%;
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.col {
  flex: 1 1 calc(33.333% - 20px); /* Ensure 3 columns */
  margin: 10px;
  box-sizing: border-box;
}

@media screen and (max-width: 996px) {
  .features {
    padding: 2rem 0;
  }
  .col {
    flex: 1 1 calc(50% - 20px); /* Ensure 2 columns on smaller screens */
    margin: 10px 0;
  }
}

@media screen and (max-width: 600px) {
  .col {
    flex: 1 1 100%; /* Ensure 1 column on very small screens */
    margin: 10px 0;
  }
}
