body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    text-align: center;
    overflow-x: hidden;
}

header {
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeIn 1s ease-out forwards;
}

h1 {
    font-size: 2.5em;
    color: #222;
}

.hero img {
    width: 80%;
    max-width: 600px;
    margin-top: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.about, .gallery {
    margin: 50px auto;
    padding: 20px;
}

.gallery .grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.gallery img {
    width: 30%;
    max-width: 250px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

footer {
    background-color: #222;
    color: #fff;
    padding: 20px;
    margin-top: 50px;
}

footer a {
    color: #ffcc00;
    text-decoration: none;
}

.pulse {
    display: inline-block;
    margin: 10px;
    padding: 10px 15px;
    background: #ffcc00;
    border-radius: 5px;
    color: #222;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    animation: pulseAnimation 1.5s infinite;
}

.pulse:hover {
    background: #ffdd44;
}

.background-dots {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 165, 0, 0.8);
    border-radius: 50%;
    opacity: 0.5;
    animation: floatDots 5s infinite alternate;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes floatDots {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}

.about {
  display: flex;
  align-items: center; /* Wyśrodkowanie w pionie */
  justify-content: center; /* Wyśrodkowanie w poziomie */
  padding: 80px 20px; /* Dodajemy padding */
  background-color: #f8f8f8; /* Delikatny kolor tła */
}

.about-content {
  flex: 1; /* Treść zajmuje większą część */
  max-width: 600px; /* Maksymalna szerokość treści */
  text-align: left; /* Tekst wyrównany do lewej */
}

.about h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #333; /* Ciemniejszy kolor nagłówka */
}

.about p {
  font-size: 1.1em;
  line-height: 1.6; /* Lepsza czytelność */
  margin-bottom: 20px;
  color: #555; /* Jaśniejszy kolor tekstu */
}

.about strong {
  color: #333; /* Podkreślenie ważnych słów */
}

.about-cta {
  margin-top: 30px;
}

.about-image {
  flex: 1; /* Obraz zajmuje część miejsca */
  max-width: 400px; /* Maksymalna szerokość obrazu */
  margin-left: 40px; /* Dodajemy margines z lewej strony */
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}