.navbar {
  box-shadow: 0 1px 20px 30px  rgba(33,37,41,1);

}

.column {
  position: fixed;
  top: 0;
  z-index: 10;
}

.backgr {
position: relative;
  z-index: 5;
}

.alma {                
  box-shadow: 0 5px 20px 50px rgba(33,37,41,1);    
}

.szinesdiv {
    height: 100%;
    width: 100%;
    background-image: -webkit-linear-gradient(#a853f8, #3ec5fb 50%, #52b6a0);
    background-image: -o-linear-gradient(#a853f8, #3ec5fb 50%, #52b6a0);
    background-image: linear-gradient(#a853f8, #3ec5fb 50%, #52b6a0);
    background-repeat: no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffed3537',
     endColorstr='#fffb3e40', GradientType=0);
}


.fade-in {
  opacity: 0;
    transform: translateY(50px); 
    transition: opacity 1s ease-out, transform 1s ease-out; 
    will-change: opacity, transform;
}

fade-in-section {
    opacity: 0;
    transform: translateY(20vh);
    visibility: hidden;
    transition: opacity 1200ms ease-out, transform 600ms ease-out,
      visibility 1200ms ease-out;
    will-change: opacity, transform, visibility;
  }

  
  .fade-in-section.is-visible {
    opacity: 1;
    transform: none;
    visibility: visible;
  }

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}


hr {

  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  border-color: #EEEEEE -moz-use-text-color #FFFFFF;
  border-style: solid none;
  border-width: 2px 0;
}



@keyframes swingUp {
  0% {
      transform: translateY(30px); /* Only translateY here */
      opacity: 0;
  }
  100% {
      transform: translateY(0); /* Reset the Y translation */
      opacity: 1;
  }
}
.card.product-tile {
  width: 100%;
  height: auto;
  min-height: 100%;

  border: none;
  background-color: #343a40;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: swingUp 0.5s ease-out forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  border: 1px solid #f8f9fa; /* light border */
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1); /* light shadow */
  color: #e0e0e0; /* darkened text */
}

.card.product-tile:hover {
  -webkit-transform: scale(1.05); /* For older Safari */
  -ms-transform: scale(1.05); /* For older IE */
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1); /* light shadow */
  
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.card.product-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease-in-out;
}

.main-img {
  opacity: 1; /* Main image is visible initially */
  position: relative;
  z-index: 1;
}

.alt-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0; /* Alternate image is initially hidden */
  z-index: 2;
  transition: opacity 0.3s ease-in-out;
}
.card.product-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease-in-out;
}
.main-img {
  opacity: 1; /* Main image is visible initially */
  position: relative;
  z-index: 1;
}


.card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 2em; /* Dynamic padding */
}

.card-text-wrapper {
  opacity: 1; /* Always visible */
  transition: opacity 0.3s ease;
}
