@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    max-width: 100%;
}

/* Kontener strony */
.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
}

/* Główna część strony */
.content-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #410c19;
}

/* Nawigacja */
.navbar {
    background-color: #410c19;
    padding: 10px;
    display: flex;
    justify-content: flex-start;
}

.navbar a {
    display: inline-block;
    color: #410c19;
    padding: 10px 80px;
    margin: 0 15px;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar a:hover {
    color: #dddddd;
}
.left-col {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    margin-top: 12vw;
}

/* Sekcja główna */
.main {
    background-color: #410c19;
}

/* Nagłówki */
.main h1,
.main h2,
.main h3 {
    position: relative;
    left: 4vw;
}

.main h1 {
    margin: 0;
    font-family: 'Lexend', sans-serif;
    font-size: 6vw;
    color: white;
}

.main h2 {
    margin: 0;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5vw;
}

.main h3 {
    margin: 0;
    color: rgba(255, 254, 254, 0.719);
    font-family: 'Poppins', sans-serif;
    font-weight: 200;
    font-size: 1vw;
}

.btn {
    position: relative;
    display: inline-block;
    justify-content: center;
    gap: 20px;
    background-color: #5e1527;
    color: white;
    padding: 15px 30px;
    left: 3vw;
    margin-left: 1vw;
    margin-top: 1vw;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.btn:hover {
    background-color: #721d32;
    transform: scale(1);
}

.btn:active {
    background-color: #721d32;
    transform: scale(1);
}

/* Logo i obrazy */
.logo {
    position: absolute;
    top: 2%;
    right: 2vw;
}

.right-col {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    margin-top: -24vw;
    margin-right: -50vw;
}

.foto {
    border-radius: 6%;
    max-width: 20vw;
    height: 36vw;
}

/* Stopka */
footer {
    background-color: #4d1120;
    color: white;
    padding: 20px 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

/* Kontener stopki */
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    padding: 10px 20px;
}

/* Logo stopki */
.footer-logo h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

.purple {
    color: #8d4bf6;
}

/* Tekst w stopce */
.footer-info {
    text-align: right;
}

.footer-info p {
    margin: 5px 0;
}

.small-text {
    font-size: 12px;
    color: #bbb;
}

/* Linki */
.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    margin-left: 20px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #8d4bf6;
}

/* Responsywność */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-info {
        text-align: center;
        margin-top: 10px;
    }

    .footer-links a {
        display: block;
        margin: 5px 0;
    }
}

/* Sekcja zespołu */
/* Sekcja zespołu */
.team {
    display: flex;
    flex-direction: column; /* Ustawienie elementów w pionie */
    justify-content: center;
    align-items: center;
    margin-top: 220px; /* Dodanie odstępu od elementów powyżej */
    margin-bottom: 40px; /* Dodanie przestrzeni poniżej sekcji */
}

.team h1 {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5vw;
    margin-bottom: 20px; /* Przestrzeń poniżej nagłówka */
    margin-top: 20px; /* Dodanie przestrzeni nad nagłówkiem */
}

/* Kontener kart */
.team-container {
    display: flex;
    justify-content: center; /* Wyśrodkowanie kart poziomo */
    align-items: center; /* Wyśrodkowanie kart pionowo */
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    flex-grow: 1; /* To sprawia, że kontener zajmuje pozostałą przestrzeń */
    margin: 0 auto; /* Automatyczne marginesy dla lepszego wyśrodkowania */
}

.card {
    background-color: #b9b9b911;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    text-align: center;
    position: relative;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 300px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.team-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #410c19;
    margin-bottom: 10px;
}

.card-content {
    text-align: center;
    padding: 10px;
}

.card-content h2 {
    font-family: Poppins;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.card-content p {
    font-family: Poppins;
    font-size: 16px;
    font-weight: 300;
    color: #d1d1d1;
    margin: 5px 0;
}

.card-content a {
    font-family: Poppins;
    font-size: 16px;
    font-weight: 200;
    color: #8f8f8f;
    margin: 5px 0;
}

.card-content p:first-child {
    font-weight: bold;
    color: #007bff;
}

.stats-txt {
    display: inline-flex;
    flex-direction: column;
    width: 40%; /* Możesz dostosować szerokość sekcji tekstowej */
    margin-right: 5%; /* Dodanie marginesu po prawej stronie */
}

.stats-txt h1 {
    margin-top: 15vw;
    margin-left: 5vw;
    font-family: Poppins;
    color: #ffffff;
}

.stats-txt a {
    font-family: Poppins;
    margin-top: 1vw;
    margin-left: 5vw;
    color: rgb(165, 165, 165);
}

.stats-wrapper {
    display: flex;
    flex-wrap: wrap; /* Pozwala na przejście do nowego wiersza, gdy brak miejsca */
    justify-content: space-between;
    gap: 20px;
    width: 40%; /* Zmieniamy szerokość sekcji statystyk, aby zmieściła się obok tekstu */
    max-width: 600px;
    margin-top: -10vw;
    margin-left: 60vw; /* Przesuwa sekcję na prawo */
}

.stat-card {
    background-color: #22060d94; /* Kolor tła prostokąta */
    border-radius: 12px; /* Zaokrąglone rogi */
    padding: 20px;
    width: 48%; /* Szerokość prostokąta, aby mieściły się dwa w jednym wierszu */
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: white;
}

.stat-card h3 {
    font-family: Lexend;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.stat-card p {
    font-family: Poppins;
    font-size: 2rem;
    font-weight: bold;
}

.perks {
    text-align: center;
    margin-top: 10vw;
  }
  
  .perks h1 {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 3vw;
    margin-bottom: 30px;
  }
  
  .perks-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    width: 80%;
    margin: 0 auto;
  }
  
  .perk-card {
    background-color: #410c19; /* Kolor tła karty */
    border-radius: 12px; /* Zaokrąglone rogi */
    padding: 30px;
    margin-top: 5vw;
    width: 22%; /* Szerokość karty, 4 karty obok siebie */
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: white;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .perk-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }
  
  .perk-card i {
    color: #8d4bf6; /* Kolor ikon */
    font-size: 2vw;
    margin-bottom: 20px;
  }
  
  .perk-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .perk-card p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
  }
  
  @media (max-width: 768px) {
    .perks-container {
      flex-direction: column;
      align-items: center;
    }
  
    .perk-card {
      width: 80%; /* Zmniejszenie szerokości kart na mniejszych ekranach */
      margin-bottom: 20px;
    }
  }

  /* Stylowanie dla loadera */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Upewnia się, że loader będzie na wierzchu */
}

.loader {
    border: 16px solid #f3f3f3; /* Szare tło */
    border-top: 16px solid #3498db; /* Kolor obracającej się części */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

/* Animacja dla spinnera */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

  