body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 18px;
    font-weight: bold;
    background-color: #98FB98;
}

.header {
    max-width: 1400px;
    margin: 0 auto 14px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background-color: #ffd700;
    padding: 12px 14px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


h1 {
    color: #008000;
    margin: 0;
    font-size: 22px;
}

.email-link {
    color: #4682b4;
    text-decoration: underline;
    cursor: pointer;
}



.rss-container {
    display: flex;
}

.rss-link, .atom-link {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px 4px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.rss-link {
    background-color: #4682b4;
    color: #ffd700;
}

.rss-link:hover {
    background-color: #00FA9A;
    transform: scale(1.05);
}

.rss-icon, .atom-icon {
    font-size: 14px;
}

/* Kontejner pro dvě tabulky vedle sebe */
.tables-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.table-wrapper {
    flex: 1;
    min-width: 300px;
}

.table-title {
    background-color: #006400;
    color: #ffd700;
    padding: 10px 15px;
    margin: 0 0 10px 0;
    border-radius: 8px;
    font-size: 18px;
    text-align: center;
}

.table-container {
    background-color: #ffd700;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow-x: auto;
    margin-bottom: 14px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffd700;
}

th {
    background-color: #006400;
    color: #ffd700;
    padding: 2px;
    text-align: left;
    font-weight: bold;
    position: sticky;
    top: 0;
}

td {
    padding: 2px 2px;
    border-bottom: 1px solid #ddd;
}

table td:first-child {
    font-size: 12px; /* Nastavte požadovanou velikost */
}

tr:hover {
    background-color: #98fb98;
}

.zip-button {
    background-color: #4682b4;
    color: #ffd700;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

.zip-button:hover {
    background-color: #00FA9A;
}

.video-link {
    color: #006400;
    text-decoration: none;
    padding: 1px 2px;
    border-radius: 4px;
    display: inline-block;
}

.video-link:hover {
    text-decoration: underline;
    background-color: #ffd700;
}

.video-links {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.nazev-link {
    color: #006400;
    text-decoration: none;
    margin: 0 5px;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.nazev-link:hover {
    text-decoration: underline;
    background-color: #ffd700;
}

.nazev-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}


/* Styly pro obrázky videí */
.video-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.video-icon {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.video-icon:hover {
    transform: scale(1.1);
}

.video-icon img {
    width: 100px;
    height: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: box-shadow 0.2s ease;
}

.video-icon:hover img {
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}


.subtitle-info {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.note {
    text-align: left;
    margin-top: 20px;
    color: #666;
    font-size: 14px;
    padding: 10px;
    background-color: #e3f2fd;
    border-radius: 4px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.note a {
    color: #2196F3;
    text-decoration: none;
    font-weight: bold;
}

.note a:hover {
    text-decoration: underline;
}

/* Kontejner pro obrázek */
.obrazek-bublina {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* Skrytá bublina s velkým obrázkem */
.obrazek-bublina .bublina {
  visibility: hidden;
  position: absolute;
  top: 0%;
  left: 150%;
  transform: translateX(-50%);
  border: 2px solid #ccc;
  background: white;
  padding: 5px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 100;
  transition: opacity 0.3s; /* Plynulé zobrazení */
  opacity: 0;
}

/* Zobrazení bubliny po najetí myší */
.obrazek-bublina:hover .bublina {
  visibility: visible;
  opacity: 1;
}

/* Omezení šířky velkého obrázku v bublině */
.bublina img {
  max-width: 300px;
  height: auto;
  display: block;
}


/* Šířka vertikálního posuvníku */
::-webkit-scrollbar {
  width: 10px; /* Změňte podle potřeby */
}

/* Šířka horizontálního posuvníku */
::-webkit-scrollbar {
  height: 10px;
}

/* Styl pro posuvnou část (thumb) */
::-webkit-scrollbar-thumb {
  background-color: #ffd700;
  border-radius: 5px;
  background: #006400;
}

/* Styl pro pozadí posuvníku (track) */
::-webkit-scrollbar-track {
  background-color: #ffd700;
}


/* Responzivní design pro menší obrazovky */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 2px;
        text-align: center;
    }
    
    .rss-container {
        width: 100%;
        justify-content: center;
    }
    
    h1 {
        font-size: 20px;
    }
    
    .tables-container {
        flex-direction: column;
    }
    
    .table-wrapper {
        width: 100%;
    }
    
    .table-title {
        font-size: 16px;
    }
    
    th, td {

        font-size: 12px;
    }
    
    .zip-button {
        font-size: 11px;

    }
    
    .video-link {
        font-size: 11px;

    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .tables-container {
        gap: 15px;
    }
    
    th, td {

        font-size: 13px;
    }
    
    .zip-button {
        font-size: 12px;

    }
}