body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: #fafafa;
  color: #333;
  overflow-x: hidden;
}

.upper {
  background-image: url("./resources/back.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100vh;
  position: relative;
  box-shadow: inset 0px -36px 93px -9px rgba(66, 68, 90, 1);
  transition: background-size 0.3s ease-out, background-position 0.3s ease-out;
}

.text-center {
  text-align: center;
  color: #222;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.up-item {
  font-size: 5rem;
  font-weight: 700;
  transition: ease-in-out 0.5s;
  color: #333;
  text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.6);
}

.up-item:hover {
  font-size: 5.5rem;
}

.arrow {
  display: block;
  margin: 50px auto 0;
  width: 30px;
  height: 30px;
  border-left: 5px solid #333;
  border-bottom: 5px solid #333;
  transform: rotate(-45deg);
  animation: bounce 1.5s infinite;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.arrow:hover {
  transform: rotate(-45deg) scale(1.2);
}

html {
  scroll-behavior: smooth; /* Dodatkowo zapewnia płynne przewijanie w całej stronie */
}


@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: rotate(-45deg) translateY(0);
  }
  40% {
    transform: rotate(-45deg) translateY(10px);
  }
  60% {
    transform: rotate(-45deg) translateY(5px);
  }
}

.content {
  padding: 100px 10%;
  background: #fff;
  text-align: center;
  line-height: 1.8;
}

.content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #444;
}

.content p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  color: #666;
}
