@media (max-width: 768px) {
  .banner-container {
    display: none;
  }
}

.banner-container {
  position: relative;
  height: 350px; /* Możesz dostosować wysokość banera */
}

.text {
  font-family: "Yanone Kaffeesatz", sans-serif;
  font-size: 7rem;
  color: white; /* Jednolity kolor dla całego tekstu */
  display: flex;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  user-select: none;
  z-index: 10; /* Tekst pod overlayem, ale nad tłem */
}

.text .wrapper {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
}

.text .wrapper .letter {
  transition: ease-out 1s;
  transform: translateY(40%);
  color: white; /* Jednolity kolor liter */
}

.text .wrapper .shadow {
  margin-top: 1vh;
  transform: scale(1, -1);
  color: #999; /* Kolor cienia */
  transition: ease-in 1s, ease-out 1s;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
}

.text .wrapper:hover .letter {
  transform: translateY(-5%);
  color: white; /* Zachowanie jednolitego koloru przy hover */
}

.text .wrapper:hover .shadow {
  opacity: 0;
  transform: translateY(-10%);
}

.hero-section {
  min-height: 40vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4rem;
  margin: 0 4rem;
  /* text-align: center; */
  backdrop-filter: blur(10px);
}

.hero-img {
  padding: 0, 1rem;
  position: relative;
  max-height: 800px;
  /* max-width: 300px; */
  aspect-ratio: 4/3;
  overflow: hidden;
}

.hero-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  opacity: 0;
  animation: fadeIn 2s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.logo-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.prolog-container {
  color: var(--main-white);
  font-size: 2.25rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 0;
  padding-bottom: 0;
}

.prolog-container p {
  line-height: 1.25;
  letter-spacing: -1px;
  max-width: 75%;
}

.prolog-container .fw-bold {
  font-weight: 700;
  display: block;
  margin-bottom: 1rem;
  font-size: 3.75rem;
  line-height: 1;
  letter-spacing: -2px;
}

@media (max-width: 992px) {
  .prolog-container p {
    max-width: 100%;
  }
  .prolog-container {
    font-size: 1.75rem;
    padding: 1.5rem;
    padding-bottom: 0;
  }

  .prolog-container .fw-bold {
    font-size: 2rem;
    letter-spacing: 0;
  }

  .hero-section {
    margin: 0 2rem;
    padding: 0 2rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 0 1rem;
    margin: 0;
  }
  .prolog-container {
    padding: 0.5rem;
    padding-bottom: 0;
  }

  .prolog-container .fw-bold {
    letter-spacing: 0;
  }
}

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column-reverse;
  }

  .hero-img {
    max-height: 300px;
  }
}
