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

html {
    scroll-behavior: smooth;
}

img {
    user-select: none;
    pointer-events: none;
}

.social-icons {
    position: fixed;
    left: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #C6181F;
    color: white;
    text-decoration: none;
    font-size: 20px;
    border-radius: 50%;
    transition: background-color 0.5s ease; /* Poprawione - dodane 's' */
}

.social-icon:hover {
    background-color: #1B447C;
}

/* width */
::-webkit-scrollbar {
    width: 5px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: #C6181F;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #1B447C;
    border-radius: 5px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #1B447C;
  }

body {
    font-family: 'Inter', sans-serif;
}

nav {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center; /* Wyśrodkuj elementy w pionie */
    padding: 20px 100px;
    z-index: 10;
    background-color: #000000;
}

nav .logo {
    flex: 1;
}

nav .logo a {
    color: #ffffff;
    font-size: 24px;
    text-decoration: none;
    line-height: 40px; /* Ustaw tę samą wysokość linii co obrazek logo */
}

nav .logo a img {
    height: 50px;
    width: auto;
    vertical-align: middle; /* Wyśrodkuj obrazek logo */
}

.nav-links {
    padding: 0;
    margin: 0;
    display: flex;
    list-style: none;
    align-items: center;
    text-align: center;
}

.nav-links li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    margin-right: 30px;
    line-height: 40px; /* Ustaw tę samą wysokość linii co logo */
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #C6181F;
}

.nav-buttons {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-buttons .btn {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #C6181F;
    text-decoration: none;
    padding: 10px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 30px;
}

.nav-buttons .btn:hover {
    background-color: #ffffff;
    color: #141414;
    border: 2px solid #ffffff;
}

.navbtnspan {
    color:#C6181F;
}


.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient( rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 1) )
}

.content {
    position: relative;
    z-index: 2;
}

.herologo {
    max-width: 400px;
    margin-bottom: 60px;
}

.herocount {
    width: auto;
    height: auto;
    background-color: #C6181F;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    transform: skew(-15deg);
    padding: 20px;
    
}

.herocount span {
    transform: skew(15deg);
    font-weight: 600;
}

.content p {
    margin-top: 20px;
    font-size: 20px;
}

.content h2 {
    margin-bottom: 20px;
    font-size: 25px;
}

.content h3 {
    font-size: 25px;
}

.xredp {
    color: #C6181F;
}

.xredp2 {
    color: #C6181F;
    font-weight: bolder;
}

.zbiorka {
    padding: 100px;
    color: black;
    background-color: white;
    align-items: center;
    text-align: center;
}

.zbiorkacontent {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 10px;
    max-width: 1200px;
    margin: auto;
    background-color: black;
}

 .gallery img {
    width: 50%;
    height: auto;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Dodaj tę linię */
    border-bottom: 5px solid transparent; /* Rezerwuj miejsce na border */
}

.gallery img:hover{
    border-bottom-color: #C6181F; /* Tylko zmienia kolor bordera */
}

@media screen and (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 kolumny zamiast 6 */
        gap: 5px;
    }

    .gallery img {
        width: 100%;
    }
}

.btn {
    opacity: 1; /* Pełna widoczność */
    transition: opacity 0.3s ease; /* Płynne zanikanie */
}

.owydarzeniu {
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 1)), 
                     url('img/adas2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Kluczowa właściwość dla efektu panoramy */
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.owydarzeniu-container {
    display: flex;
    flex-direction: row;
    justify-content: center; /* Zmienione z space-around */
    align-items: flex-start; /* Zmienione z center dla lepszego wyrównania */
    gap: 40px; /* Ta wartość będzie teraz stała */
    padding: 0 50px;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}

.owydarzeniu-content {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    gap: 20px;
    justify-content: center; /* Dodane */
    flex: 0 1 600px; /* Nie rozszerza się powyżej 600px, ale może się zmniejszać */
    min-width: 0; /* Pozwala na zmniejszanie */
}

/* Reszta stylów pozostaje bez zmian... */
.text-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.owydarzeniu img {
    flex: 0 0 35%; /* Stała szerokość obrazu */
    max-width: 35%;
    height: auto;
    border-radius: 5px;
    object-fit: cover; /* Lepiej obsługuje różne proporcje obrazu */
}

.owydarzeniu p {
    margin: 0;
    line-height: 1.5;
}

.owydarzeniu-buttons {
    margin-top: 20px;
}

.owydarzeniu-buttons .btn {
    display: inline-block;
    background-color: #C6181F;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.5s ease;
    transform: skew(-15deg);
    position: relative; /* potrzebne dla poprawnego pozycjonowania */
    border: 2px solid #C6181F;
    font-weight: bolder;
}

.owydarzeniu-buttons .btn .btnspan {
    display: inline-block;
    transform: skew(15deg); /* kompensacja pochylenia */
    transform-origin: center;
}

.owydarzeniu-buttons .btn:hover {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.owydarzeniu-buttons .btn:hover .btnspan {
    color: #ffffff; /* zmiana koloru tekstu przy hover */
}

.discordsec {
    width: 100%;
    background-image: url('img/dcbc.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.discordsec-container {
    display: flex;
    flex-direction: row;
    justify-content: center; /* Zmienione z space-around */
    align-items: flex-start; /* Zmienione z center dla lepszego wyrównania */
    gap: 40px; /* Ta wartość będzie teraz stała */
    padding: 0 50px;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}

.discordsec-content {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    gap: 20px;
    justify-content: center; /* Dodane */
    flex: 0 1 600px; /* Nie rozszerza się powyżej 600px, ale może się zmniejszać */
    min-width: 0; /* Pozwala na zmniejszanie */
}

/* Reszta stylów pozostaje bez zmian... */
.discordsectext-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.discordsec img {
    flex: 0 0 35%; /* Stała szerokość obrazu */
    max-width: 35%;
    height: auto;
    border-radius: 5px;
    object-fit: cover; /* Lepiej obsługuje różne proporcje obrazu */
}

.discordsec p {
    margin: 0;
    line-height: 1.5;
}

.discordsec-buttons {
    margin-top: 20px;
}

.discordsec-buttons .btn {
    display: inline-block;
    background-color: #C6181F;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.5s ease;
    transform: skew(-15deg);
    position: relative; /* potrzebne dla poprawnego pozycjonowania */
    border: 2px solid #C6181F;
    font-weight: bolder;
}

.discordsec-buttons .btn .btnspan {
    display: inline-block;
    transform: skew(15deg); /* kompensacja pochylenia */
    transform-origin: center;
}

.discordsec-buttons .btn:hover {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.discordsec-buttons .btn:hover .btnspan {
    color: #ffffff; /* zmiana koloru tekstu przy hover */
}




.sponsorzy {
    background-color: black;
    padding: 50px;
}


.tabelasec {
    text-align: center;
    background-image: url(img/tabelabc.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 25px;
}

.tabela {
    align-items: right;    
}

.tabela img{
    height: auto;
    max-width: 1250px;
}

/* Stylizacja stopki */
.footer {
    background-color: black;
    color: #ffffff;
    padding: 25px 0 0;
    font-family: 'Inter';
    align-items: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    padding: 50px;
    gap: 30px;
    max-width: 1200px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    margin-right: 4rem;
}

.logo-img {
    max-width: 100%;
    height: auto;
}

.footer-links, .footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer h3 {
    color: #C6181F;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer li {
    margin-bottom: 10px;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #C6181F;
}

.footer i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    background-color: black;
    font-size: 0.9rem;
}

.footer-bottom-content {
    background: linear-gradient(#C6181F, #C6181F) center top / 80% 2px no-repeat;
    padding: 25px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: space-around;
}

.btn.active {
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #ffffff;
}


.regulamin {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    color: white;
    background-color: #000000;
    padding: 100px;
}

.regulamin-content {
    padding: 50px 25px;
    background-color: #000000;
    align-items: center;
    justify-content: center;
}

.regulamin-content h1{
    font-weight: bolder;
    font-size: 60px;
    text-align: center;
}

.regulamin-content h3{
    font-weight: bolder;
    font-size: 40px;
    margin-bottom: 60px;
    text-align: center;
}

.regulamin-content h2{
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 24px;
    margin-top: 60px;
    color: #C6181F;
}

.regulamin-content p{
    font-weight: 300;
    font-size: 16px;
    margin-bottom: 16px;
    text-align: left;
}

.kontakt-section-content {
    padding: 100px;
    background-image: 
        linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.9)),     /* Mocny gradient u dołu */
        url(img/kontaktsec_img.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.kontakt-content {
    max-width: 900px;
    margin: 80px auto 20px;
    padding: 30px;
    text-align: center;
    color: white;
    border-radius: 30px;
    
    /* Efekt szkła (glassy) */
    background: rgba(18, 18, 18, 0.4); /* Lekko przezroczyste ciemne tło */
    backdrop-filter: blur(10px); /* Rozmycie tła */
    -webkit-backdrop-filter: blur(10px); /* Wersja dla Safari */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtelna biała obwódka */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* Delikatny cień */
}

.kontakt-content h1 {
    color: #C6181F; /* Pomarańczowy dla lepszej widoczności */
    font-weight: 500;
    font-size: 48px;
    margin-bottom: 10px;
}

.kontakt-content p {
    color: #bbb; /* Jasnoszary dla czytelności */
    font-size: 16px;
    margin-bottom: 10px;
}

.kontakt-content .card {
    background: #1e1e1e; /* Ciemniejsza szarość dla kart */
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    margin: 15px auto;
    max-width: 500px;
    color: white;
}

.kontakt-content .card img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 15px;
}

.kontakt-content .info {
    text-align: left;
}

.kontakt-content .info h3 {
    margin: 5px 0;
    color: #C6181F; /* Pomarańczowy akcent */
}

.kontakt-content .info p {
    margin: 3px 0;
    color: #ddd;
}

/* Prezes osobno */
.kontakt-content .prezes {
    display: flex;
    justify-content: center;
}

/* Grid dla dyrektorów */
.kontakt-content .dyrekcja {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    justify-content: center;
}

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

    .kontakt-content .card img {
        margin: 0 auto 10px;
    }

    .kontakt-content .dyrekcja {
        grid-template-columns: 1fr;
    }
}

.numeremo .material-symbols-outlined {
    font-size: 18px;
    margin-right: 6px;
    vertical-align: middle;
    color: #C6181F;
  }

  .mailemo .material-symbols-outlined {
    font-size: 18px;
    margin-right: 6px;
    vertical-align: middle;
    color: #1B447C;
  }

  .owydarzeniui {
    width: 100%;
    background: black;
    color: white;
    padding-top: 50px;
}

.owydarzeniui-container {
    display: flex;
    flex-direction: row;
    justify-content: center; /* Zmienione z space-around */
    align-items: flex-start; /* Zmienione z center dla lepszego wyrównania */
    gap: 40px; /* Ta wartość będzie teraz stała */
    padding: 0 50px;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}

.owydarzeniui-content {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    gap: 20px;
    justify-content: center; /* Dodane */
    flex: 0 1 600px; /* Nie rozszerza się powyżej 600px, ale może się zmniejszać */
    min-width: 0; /* Pozwala na zmniejszanie */
}

.owydarzeniui img {
    flex: 0 0 35%; /* Stała szerokość obrazu */
    max-width: 35%;
    height: auto;
    border-radius: 5px;
    object-fit: cover; /* Lepiej obsługuje różne proporcje obrazu */
}

.owydarzeniui p {
    margin: 0;
    line-height: 1.5;
}

.owydarzeniui-buttons {
    margin-top: 20px;
}

.owydarzeniui-buttons .btn {
    display: inline-block;
    background-color: #C6181F;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.5s ease;
    transform: skew(-15deg);
    position: relative; /* potrzebne dla poprawnego pozycjonowania */
    border: 2px solid #C6181F;
    font-weight: bolder;
}

.owydarzeniui-buttons .btn .btnspan {
    display: inline-block;
    transform: skew(15deg); /* kompensacja pochylenia */
    transform-origin: center;
}

.owydarzeniui-buttons .btn:hover {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.owydarzeniui-buttons .btn:hover .btnspan {
    color: #ffffff; /* zmiana koloru tekstu przy hover */
}