/* Header image and button container*/

/* Keyframes for vertical grow animation */
@keyframes verticalGrow {
  0% {
    transform: scaleY(0); /* Start with no height */
    opacity: 0;
  }
  100% {
    transform: scaleY(1); /* Grow to full height */
    opacity: 1;
  }
}

.hidden {
  opacity: 0; /* Initially hidden */
  transform: scaleY(0); /* Start with no height */
}

.home-container .center-content-container {
  transform-origin: center; /* Ensure the grow starts from the center */
  opacity: 1;
}


.home-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Space out elements from top to bottom */
  max-width: 350px;
  text-align: center;
  align-items: center;
  width: 25vw;
}

.home-content img {
  margin-bottom: 5px;
  margin-top: -20px;
  margin-right: -25px;
  margin-left: -25px;
  padding: 0;

}

.home-content h2 {
  margin-top: 5px;
}

.styled-button {
  width: 100%;
}

.home-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, max-content)); /* Columns will not grow excessively */
  justify-content: center;
  align-content: center;
  grid-gap: 4%; /* Adjust as needed */
  height: 100vh;
  margin-top: -2%;
  padding:  20px;
}


@media screen and (max-width: 992px) {

.home-container {
  grid-template-columns: repeat(auto-fit, minmax(100vw, 0fr)); /* Automatically fit as many columns as possible */
  grid-gap: 30px;            /* Space between grid items */
  margin-bottom: 50px;
  height: 100%;
  margin-top: 20px;
}

.home-content {
  width: 40vw;
  max-width: 100%;
}

}

@media screen and (max-width: 768px) {

.home-container {
  grid-template-columns: repeat(auto-fit, minmax(100vw, 0fr)); /* Automatically fit as many columns as possible */
  grid-gap: 50px;            /* Space between grid items */
}

.home-content {
  width: 80vw;
  max-width: 100%;
}

}