html{
    overflow-y:scroll;
}

body::before{
    content:"";
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:url("/assets/img/bg.webp") center center / cover no-repeat;
    z-index:-1;
}

body{
    font-family:system-ui;
    background-color:#f4f6fb;
    margin:0;
    padding:15px;
    background: url('/assets/img/back.webp') no-repeat center center fixed;
    background-size: cover; /* dopasowanie do ekranu */
    background-attachment: fixed; /* tło nie przewija się */
    background-position: center center;
    background-repeat: no-repeat;
    color: #FFF;
}

#content{
transition:opacity .25s ease;
}

.container{
max-width:900px;
margin:auto;
}

.logo {
  width: 100%;          /* kontener zajmuje całą szerokość */
  text-align: center;   /* opcjonalnie, jeśli chcesz centrować obraz */
  margin-bottom: 20px;  /* odstęp pod banerem */
}

.logo img {
  width: 100%;          /* obraz zajmuje całą szerokość kontenera */
  height: auto;         /* zachowuje proporcje obrazu */
  display: block;       /* usuwa marginesy pod obrazem */
}

.countdown{
    text-align:center;
    font-size:1.2rem;
    margin:5px 15px;
    height: 30px;
    display: flex;
    flex-direction: column; /* dwie linie */
    text-align: center;
    justify-content: center;
    align-items: center;
    font-family: system-ui;
    color: #ffffff; /* biały tekst */    
    font-weight: bold;    
}

.stats{
display:flex;
justify-content:space-around;
margin:10px 0;
text-align: center;
}

.menu{
display:grid;
grid-template-columns:1fr 1fr;
gap:10px;
margin:20px 0;
}

.fader-hr {
    /* Usuwamy domyślne obramowanie */
    border: 0;
    height: 1px;
    /* Kolor #2c3e50 zanikający do przezroczystości */
    background-image: linear-gradient(to right, transparent, #d7c3a8, transparent);
    margin: 5px 0;
}
/* .menu a{
background:#3b6cff;
color:white;
padding:14px;
text-align:center;
border-radius:8px;
text-decoration:none;
font-weight:600;
} */

.button {
    display: block;       /* każdy link w nowej linii */
    margin: 5px 0;        /* odstęp między przyciskami */
    padding: 10px 15px;   /* wewnętrzne wypełnienie */
    background-color: #535049; /* kolor tła */
    color: white;         /* kolor tekstu */
    text-decoration: none; /* usuwa podkreślenie */
    border-radius: 5px;   /* zaokrąglone rogi */
    text-align: center;   /* wyśrodkowanie tekstu */
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom:25px
}

.menu a {
    display: block;       /* każdy link w nowej linii */
    margin: 5px 0;        /* odstęp między przyciskami */
    padding: 10px 15px;   /* wewnętrzne wypełnienie */
    background-color: #d7c3a8; /* kolor tła */
    color: white;         /* kolor tekstu */
    text-decoration: none; /* usuwa podkreślenie */
    border-radius: 5px;   /* zaokrąglone rogi */
    text-align: center;   /* wyśrodkowanie tekstu */
    font-size: 1.2em;
    font-weight: bold;
}

.menu a:hover {
    background-color: #6cb07d; /* efekt hover */
}
.book,.card,.rank{
background:white;
padding:12px;
margin-bottom:10px;
border-radius:8px;
box-shadow:0 2px 4px rgba(0,0,0,0.1);
}

.progress{
height:10px;
background:#eee;
border-radius:6px;
margin-top:6px;
}

.progress div{
height:10px;
background:#d7c3a8;
border-radius:6px;
}

.sponsors{
display:flex;
gap:12px;
overflow-x:auto;
margin-top:20px;
}

.sponsors img{
height:42px;
}

.search input{
width:100%;
padding:10px;
margin-bottom:10px;
}

@media(min-width:900px){
.menu{grid-template-columns:repeat(4,1fr);}
}

@media (max-width: 480px) {
#booksTable th,
#booksTable td,
#whereTable th,
#whereTable td {
    padding:5px;
    font-size:0.95rem;
}

}

/* ----------------------------
   Główny tekst strony (countdown style)
---------------------------- */
.main-text {
    display: flex;
    flex-direction: column; /* dwie linie */
    text-align: center;
    justify-content: center;
    align-items: center;
    font-family: system-ui;
    color: #ffffff; /* biały tekst */    
    font-weight: normal;
    padding: 20px 5px 5px 5px;
}

/* pierwsza linia większa */
.main-text span:first-child {
    font-size: 1.1rem;
}
.main-text span:last-child {
    font-size: 1.1rem;    
}
/* responsywność */
@media (max-width: 1024px) {
    .main-text span:first-child { font-size: 1.1rem; }
    .main-text span:last-child { font-size: 1.1rem; }
}

@media (max-width: 768px) {
    .main-text span:first-child { font-size: 1.1rem; }
    .main-text span:last-child { font-size: 1.1rem; }
}

@media (max-width: 480px) {
    .main-text span:first-child { font-size: 1.1rem; }
    .main-text span:last-child { font-size: 1.1rem; }
}
@media screen and (max-width: 640px) {
  .dataTables_wrapper .dataTables_filter {
    margin: 2em 5px !important;
  }
}

.display {
    font-size: 1rem;
}

@media (max-width:600px){

.display {
    font-size: 1rem;
}
}
.dataTables_info{
    font-size: 1rem !important;
}
#whereTable td:nth-child(3),
#whereTable th:nth-child(3){
white-space: nowrap;
}
.dataTables_wrapper{
overflow-x:auto;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled{
color:#bbb !important;
opacity:0.6;
}
.dataTables_length select{
background:#719798 !important;
color:white !important;
}

.info-text {
    font-family: system-ui;
    color: #fff;    
    padding: 20px;
    border-radius: 10px;
    margin: 15px auto;
    max-width: 900px;
    line-height: 1.6;

}

.info-text p {
    margin-bottom: 1em;
    font-size: 1rem;
}

.info-text ul {
    padding-left: 1.2em;
    list-style-type: disc;
}

.info-text li {
    margin-bottom: 0.5em;
    font-size: 1rem;
}

/* Responsywność dla tabletów */
@media (max-width: 768px) {
    .info-text {
        padding: 15px;
    }
    .info-text p {
        font-size: 1rem;
    }
    .info-text li {
        font-size: 0.95rem;
    }
}

/* Responsywność dla telefonów */
@media (max-width: 480px) {
    .info-text {
        padding: 10px;
        margin: 10px;
    }
    .info-text p {
        font-size: 0.95rem;
    }
    .info-text li {
        font-size: 0.9rem;
    }
}

.sponsors-carousel{
overflow:hidden;
width:100%;
max-width:900px;
margin:auto;
margin-top:30px;
}

.sponsors-track{
display:flex;
align-items:center;
gap:40px;
width:max-content;
animation:scrollSponsors 35s linear infinite;
}

.sponsors-track img{
height:60px;
flex-shrink:0;
transition:0.2s;
}

.sponsors-track img:hover{
transform:scale(1.1);
}

/* animacja */

@keyframes scrollSponsors{

0%{
transform:translateX(0);
}

100%{
transform:translateX(-50%);
}

}

/* duże ekrany */

@media (min-width:1000px){

.sponsors-track img{
height:70px;
}

.sponsors-track{
gap:50px;
animation-duration:40s;
}

}

/* tablet */

@media (max-width:900px){

.sponsors-track img{
height:55px;
}

.sponsors-track{
gap:30px;
animation-duration:30s;
}

}

/* telefon */

@media (max-width:600px){

.sponsors-track img{
height:45px;
}

.sponsors-track{
gap:20px;
animation-duration:22s;
}

}

.main-footer {
    color: #ffffff;            /* Kolor tekstu */
    padding: 5px;
    text-align: center;    

    overflow-x:auto;

}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-info {
    font-size: 1rem;           /* Większy rozmiar tekstu głównego */
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: 400;
}

.footer-cta {
    font-size: 1rem;
    margin-bottom: 30px;
    font-weight: 400;
}

.footer-logo {
    margin-top: 20px;
}

.footer-logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Stylizacja logo zrzutka.pl */
.footer-logo img {
    height: 40px;              /* Rozmiar ikony świnki */
    width: auto;
    /* Filtr zmieniający kolor logo na różowy/czerwony zbliżony do oryginału, 
       jeśli używasz standardowego SVG */
    filter: brightness(0) saturate(100%) invert(35%) sepia(87%) saturate(3443%) hue-rotate(334deg) brightness(101%) contrast(104%);
}

.logo-text {
    color: #333333;            /* Ciemny tekst pod logo */
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -1px;
}

/* Responsywność dla urządzeń mobilnych */
@media (max-width: 768px) {
    .footer-info {
        font-size: 0.8rem;
    }
    .footer-cta {
        font-size: 0.8rem;
    }
    .logo-text {
        font-size: 0.8rem;
    }
}

.zrzutka-pl{
    color:#E74165;
}