/* Stylizacja ogólna */
body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    color: #333; /* Ustawienie domyślnego koloru tekstu */
  }
  
  h1, h2 {
    text-align: center;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Nagłówek */
  header {
    display: flex; /* Ustaw display na flex */
    flex-direction: column; /* Ustawienie kierunku kolumnowego */
    justify-content: center; /* Wyśrodkowanie elementów w pionie */
    align-items: center; /* Wyśrodkowanie elementów w poziomie */
    background-color: #f0f0f0; /* Ustawienie koloru tła nagłówka */
    padding: 20px 0; /* Ustawienie marginesów nagłówka */
  }
  
  header.baner {
    margin-bottom: 20px; /* Dodanie marginesu dolnego pod banerem */
    display: flex; /* Wyświetlanie elementu jako blokowy */
    justify-content: center; /* Wyśrodkuj elementy w poziomie */
    align-items: center; /* Wyśrodkuj elementy w pionie */
  }
  
  header img {
    max-width: 100%;
    height: auto;
    margin: 0 auto; /* Wyśrodkowanie elementu img */
  }
  
  header h1 {
    color: #333;
    margin: 0;
  }
  
  /* Sekcja Trening */
  .trening {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #f5f5f5;
  }
  
  .trening h2 {
    color: #444;
    margin-bottom: 20px;
  }
  
  .trening p {
    color: #666;
    text-align: center;
    line-height: 1.6; /* Zwiększenie odstępu między wierszami */
  }
  
  .trening .btn {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
  }
  
  .trening .btn:hover {
    background-color: #0056b3;
  }
  
  /* Sekcja O metodzie */
  .o-metodzie {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #f5f5f5;
  }
  
  .o-metodzie h2 {
    color: #444;
    margin-bottom: 20px;
  }
  
  .o-metodzie p {
    color: #666;
    text-align: center;
    line-height: 1.6;
  }
  
  .o-metodzie ul {
    list-style-type: disc;
    padding: 0;
    margin-bottom: 20px; /* Dodanie odstępu pod listą */
  }
  
  .o-metodzie li {
    color: #666;
    margin-bottom: 10px;
  }
  
  /* Stopka */
  footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
  }
  
  /* Animacja przesuwania tekstu */
  .trening h2, .o-metodzie h2 {
    animation: slideIn 2s ease-in-out;
  }
  
  @keyframes slideIn {
    from {
      transform: translateX(-50%);
      opacity: 0;
    }
}