a.button {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 14px;
    font-size: 14px;
    color: white;
    background: linear-gradient(to right, #007bff, #00c6ff);
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}
a.button:hover {
    background: linear-gradient(to right, #00c6ff, #007bff);
    transform: scale(1.05);
}
#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgb(2, 78, 78);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#loader::after {
    content: "";
    width: 50px;
    height: 50px;
    border: 5px solid white;
    border-top: 5px solid black;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
html {
    background: linear-gradient(to bottom right, #0d2b46, #102a13);
    color: #f5f5f5;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
body {
    color: white;
    font-family: 'Poppins', sans-serif;
    text-align: left;
    
}
hr {
    margin-bottom: 50px;
}
h1 {
    font-size: 90px;
    text-align: center;
    font-family: 'Great Vibes', cursive;
    background: linear-gradient(90deg, #ff6b6b, #ffb6b9, #ffe66d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 3px;
    margin-bottom: 60px;
    padding-top: 80px;
    animation: fadeIn 2s ease-in-out;
    text-shadow: 4px 4px 12px rgba(255, 255, 255, 0.2);
}
@keyframes fadeIn {
    0% { opacity: 0; transform: translatey(-30px) scale(0.8);}
    100% { opacity: 1; transform: translateY(0) scale(1);}
}
.jedna {
    color: #fff;
    font-size: 20px;
    text-align: left;
    line-height: 1.8;
    margin: 30px auto;
    width: 1100px;
    font-family: 'Poppins', sans-serif;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border-left: 6px solid #00ffc3;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease-in-out;
    position: relative;
    margin-left: 20px;
}
p:before {
    content: "📘";
    position: absolute;
    left: -40px;
    top: 15px;
    font-size: 28px;
}
p:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 255, 200, 0.4);
}
h2 {
    font-size: 90px;
    text-align: center;
    font-family: 'Great Vibes', cursive;
    background: linear-gradient(90deg, #ff6b6b, #ffb6b9, #ffe66d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 3px;
    margin-bottom: 60px;
    padding-top: 80px;
    animation: fadeIn 2s ease-in-out;
    text-shadow: 4px 4px 12px rgba(255, 255, 255, 0.2);
}
.dva {
    color: #fff;
    font-size: 20px;
    text-align: left;
    line-height: 1.8;
    margin: 30px auto;
    width: 1100px;
    font-family: 'Poppins', sans-serif;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border-left: 6px solid #00ffc3;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease-in-out;
    position: relative;
    margin-left: 20px;
}
table {
    width: 70%;
    margin: 40px auto;
    border-collapse: collapse;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    color: white;
    transition: all 0.3s ease-in-out;
}

th, td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    font-size: 15px;
}

th {
    background: linear-gradient(45deg, rgba(255,107,107,0.3), rgba(255,182,185,0.2));
    color: #ffe66d;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(12px);
}

tr:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.01);
    transition: 0.2s ease-in-out;
}


.left-menu {
    position: fixed;
    top: 60px;
    left: 20px;
    width: 220px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.left-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.left-menu li {
    padding: 10px;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease-in-out, transform 0.2s;
    border-radius: 8px;
}
.left-menu li:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}
.main-tab {
    color: #ffe66d;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
}
.left-menu a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1));
}
.left-menu a:hover {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    transform: scale(1.03);
    color: #ffe66d;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}
.submenu {
    display: none;
}
.sub-tab {
    color: #ddd;
    font-size: 15px;
    margin-left: 10px;
    padding-left: 5px;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
}

.content {
    margin-left: 260px;
    padding: 30px;
    color: white;
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    font-size: 18px;
}

@media (max-width: 1200px) {
  .content,
  .jedna,
  .dva {
    width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .left-menu {
    position: static;
    width: auto;
    margin: 0 auto;
    border-radius: 0;
    box-shadow: none;
  }

  .content {
    margin-left: 0;
    padding: 20px;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: 7vw;
    text-align: center !important;
  }

  table {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .left-menu {
    padding: 10px;
  }

  .left-menu a {
    font-size: 14px;
    padding: 6px 10px;
  }

  .main-tab {
    font-size: 18px;
  }

  .modal-content {
    max-width: 95%;
    max-height: 90vh;
  }

  .modal-img {
    width: 100%;
  }

  .obrazek1 {
    float: none;
    margin: 20px auto;
    display: block;
  }
}

@media (max-width: 480px) {
  .content {
    font-size: 16px;
  }

  th, td {
    padding: 10px;
    font-size: 13px;
  }

  .tucne1 {
    font-size: 18px;
  }

  .popis {
    font-size: 16px;
  }
}

