/* Podstawowe ustawienia */
body {
    margin: 50px;
    font-family: Arial, sans-serif;
    padding-top: 80px; /* Dopasuj do wysokości menu */
    background-color: #f4f4f4;
    color: #333;
}

/* Styl dla głównej zawartości */
.content {
    padding: 30px;
}

/* Nawigacja */
.navbar-container,
.navbar-container-en {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    z-index: 1000;
    box-sizing: border-box;
}

/* Logo */
.logo img {
    height: 70px;
    width: 140px;
}

.container_patent {
  display: flex;
  justify-content: center; /* poziomo */
  align-items: center;     /* pionowo */
}

/* Logo */
.patented img {
    height: 100px;
    width: 100px;
}

/* Menu */
.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.menu li {
    margin: 0 15px;
}

.menu li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 10px;
    transition: 0.3s;
}

.menu li a:hover {
    background-color: #575757;
    border-radius: 5px;
}

/* Hamburger */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    margin-left: 10px;
}

/* Przycisk języka */
.language-switch {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-right: 20px;
    padding: 5px 10px;
}

.language-switch img {
    height: 20px;
    margin-right: 5px;
}




/* Typografia */
h1, h2, p {
    margin: 50px;
    color: #333;
}

/* Sekcje */
section {
    padding: 20px;
    margin: 0 auto;
    width: 80%;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* ułatwia przewijanie w Safari na iOS */
}

/* Tabele */
table {
    width: 80%;
    border-collapse: collapse;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

th {
    background-color: #f4f4f4;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #e0e0e0;
}

.sum-row {
    font-weight: bold;
    background-color: #dff0d8;
}

/* Stopka */
.footer-container {
    background-color: #808080;
    color: white;
    text-align: center;
    padding: 0;
    margin: 0;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Kontakt */
.contact-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 120px;
    padding: 10px;
}

.contact-box img {
    width: 100px;
    height: auto;
}

.contact-box span {
    font-size: 16px;
}

/* Chmurka */
.kontener-z-chmurka {
    position: relative;
    display: inline-block;
   
    margin: 10px;
}

.chmurka {
    position: absolute;
    top: -10px;
    right: -150px;
    width: 180px;
    padding: 10px 15px;
    font-size: 13px;
    text-align: center;
    background: red;
    color: white;
    border-radius: 20px;
    font-weight: bold;
    animation: skacz 1.5s infinite;
    z-index: 9999;
}

@keyframes skacz {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Responsywność */

/* Tablety */
@media screen and (max-width: 992px) {
    body { padding-top: 50px; }
    .logo img { height: 60px; width: 145px; }
    .menu li { margin: 0 10px; }
    .menu li a { font-size: 16px; }
    section, table { width: 90%; }
    h1, h2, p { margin: 40px 20px; }
}

/* Telefony */
@media screen and (max-width: 768px) {
    body { padding-top: 50px; margin: 5px; }
    .menu { display: none; position: absolute; top: 80px; left: 0; width: 100%; flex-direction: column; background-color: #333; }
    .menu.active { display: flex; }
    .menu-toggle { display: block; }
    
    .chmurka {
            position: fixed;
        top: 130px;
        right:10px;
        left:10px;
        width: 80%;
        font-size: 20px;
        padding: 6px 10px;
        }

}

/* Moj telefon czyli SAMSUNG */
@media screen and (max-width: 576px) {
.logo img { height: 40px; width: 100px; }
    
.chmurka {
        position: fixed;
        top: 60px;
        left:150px;
        
        width: 50%;
        font-size: 12px;
        padding: 6px 10px;
    }
    
    
/* Mały obrazek (np. 200px na desktop) */
.image-card.small {
    max-width: 200px;
    margin: 0 auto; 
}

.video-container{
    max-width: 400px;
    margin: 0 auto; 
}

table {
    width: 80%;
    border-collapse: collapse;
    margin: 1px auto;
    font-family: Arial, sans-serif;
}

th, td {
    border: 1px solid #ddd;
    padding: 1px;
    text-align: center;
}

th {
    background-color: #f4f4f4;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #e0e0e0;
}

.sum-row {
    font-weight: bold;
    background-color: #dff0d8;
}

}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    body { background-color: #222; color: #eee; }
    section { background-color: #333; box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); }
    h1, h2, p { color: #eee; }
    th { background-color: #3a3a3a; color: #eee; }
    tr:nth-child(even) { background-color: #2a2a2a; }
    tr:hover { background-color: #444; }
    .sum-row { background-color: #2d4033; }
}


