<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* Obecné styly */
body {
    font-family: 'Comic Sans MS', sans-serif;
    margin: 0;
    padding: 0;
}

.body-gramatik {
    background: linear-gradient(to bottom, white, #e0f7e0) no-repeat;
    background-attachment: fixed;
}

.body-gramatynka {
    background: linear-gradient(to bottom, white, #f7e0f4) no-repeat;
    background-attachment: fixed;
}

/* --- ÚPRAVA PRO RESPONSIVNÍ ROZLOŽENÍ --- */
@media (max-width: 1200px) {
    .prostorCile {
      display: flex;
      flex-direction: column;
    }
  
    .body-gramatik,
    .body-gramatynka {
      width: 100%;
      box-sizing: border-box;
    }
  }
  

.body-obsah {
    background: linear-gradient(to bottom, white, #e0f0f7) no-repeat;
    background-attachment: fixed;
}

/* Skrytý text */
.skryto {
    display: none;
}

/* Zakryté tlačítko */
.zakryto {
    visibility: hidden;
}

.uvodObrazekProstor {
    display: flex;
    justify-content: center;
    align-items: center;
}

.uvodObrazek {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 20px;
    filter: drop-shadow(8px 8px 8px rgba(0, 0, 0, 0.3));
}
  
/* Lišta s tlačítky */
.horizMenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background-color: #82c882;
    background-image: url('images/grafickePrvky/pozadí.png');
    background-size: contain;
    background-blend-mode: multiply;
    padding: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    gap: 6px;
    text-align: right;
}

/* Zelená tlačítka v liště */
.horizMenu a {
    font-family: 'Comic Sans MS', sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #58b258, #239423);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

/* Efekt tlačítka v liště */
.horizMenu a:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #4aa84a, #1f821f);
}

/* Nadpis stránky v liště */
.horizMenu-title {
    flex: 1;
    font-family: 'Comic Sans MS', sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: white;
    padding-right: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.horizMenuB {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background-color: #c078c0;
    background-image: url('images/grafickePrvky/pozadí2.png');
    background-size: contain;
    background-blend-mode: multiply;
    padding: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    gap: 6px;
    text-align: right;
}

/* Fialová tlačítka v liště */
.horizMenuB a {
    font-family: 'Comic Sans MS', sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #b258b2, #942394);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

/* Efekt tlačítka v liště */
.horizMenuB a:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #a84aa8, #821f82);
}

/* Nadpis stránky v liště */
.horizMenuB-title {
    flex: 1;
    font-family: 'Comic Sans MS', sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: white;
    padding-right: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.prostorLista {
    gap: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Logo v liště */
.horizMenu-logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.5));
}

/* Prostor pro tlačítka navigace */
.navigaceButtons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background-color: #ffffff;
    padding: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    gap: 6px;
} 

/* Tlačítka navigace */
.navigaceButtons a {
    font-family: 'Comic Sans MS', sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: linear-gradient(135deg, #8ecae6, #219ebc);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Efekt tlačítek navigace */
.navigaceButtons a:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #66c1e6, #197bbd);
}

/* Tlačítka navigace */
.navigaceButtons button {
    font-family: 'Comic Sans MS', sans-serif;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Efekt tlačítek navigace */
.navigaceButtons button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 700px) {
    .navigaceButtons {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding: 6px;
    }

    .navigaceButtons {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding: 6px;
    }
  }

/* Tlačítko připomenutí */
#pripomenutiButton {
    background: linear-gradient(135deg, #ffcc80, #ffab40);
}

/* Efekt tlačítka připomenutí */
#pripomenutiButton:hover {
    background: linear-gradient(135deg, #ffb74d, #ff8a65);
}

@keyframes pripomenutiHover {
    0%, 100% {
        background: linear-gradient(135deg, #ffcc80, #ffab40);
        transform: scale(1.00);
    }
    50% {
        background: linear-gradient(135deg, #ffb74d, #ff8a65);
        transform: scale(1.05);
    }
}

/* Animaci aplikujeme pouze na tlačítka s atributem data-hover-animation="true" */
button[data-hover-animation="true"] {
    background: linear-gradient(135deg, #ffcc80, #ffab40);
    transition: background 0.3s ease-in-out;
    animation: pripomenutiHover 2s infinite;
}

/* Zakliknuté tlačítko připomenutí */
#pripomenutiButton.active {
    background: linear-gradient(135deg, #ffb74d, #ff8a65);
    transform: scale(1.05);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Blok pro text připomenutí */
.pripomenutiBlok {
    position: relative;
    display: inline-block;
    flex-wrap: wrap;
}

/* Bublina s textem připomenutí */
#pripomenutiText {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    padding: 15px;
    max-width: 700px;
    background-color: rgba(255, 200, 100, 0.85);
    border: 1px solid rgba(255, 140, 0, 0.7);
    border-radius: 8px;
    color: rgb(57, 57, 57);
    font-size: 14px;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100000;
    display: none;
}

/* Zviditelnění bubliny s textem připomenutí */
#pripomenutiText.visible {
    display: block;
}

/* Tlačítko obnovení stránky */
#obnovitButton {
    background: linear-gradient(135deg, #f5e082, #f7c142);
}

/* Efekt tlačítka obnovení stránky */
#obnovitButton:hover {
    background: linear-gradient(135deg, #ffe066, #f9a828);
}

/* Prostor pro nadpis úlohy */
.nadpisUlohy {
    text-align: center;
}

/* Nastavení nadpisu úlohy */
.nadpisUlohy h1 {
    font-size: 24px;
    padding-top: 3px;
    margin: 5px 0;
}

/* Prostor pro úlohu jako takovou */
.obsah {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
    align-items: flex-start;
    margin: 5px;
}

/* Textové zadání */
.zadani {
    flex: 1 1 400px;
    padding: 8px;
    font-size: 18px;
    min-width: 300px;
}

.obrazekBlok {
    flex: 1 1 400px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Výběr správné odpovědi – klikání nao obrázky */ 
.prostorProObrazky {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.prostorProTuneloveSmery {
    display: flex;
    padding-top: 8px;
    padding-left: 8px;
}

@media (max-width: 1200px) {
    .prostorProTuneloveSmery {
        gap: 5px;
    }
}

.cyklickeObrazky {
    filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.3));
    object-fit: contain;
    display: block;
}

.necyklickeObrazky {
    filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.3));
    object-fit: contain;
    display: block;
}

.cyklickeSmery {
    filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.3));
    object-fit: contain;
    display: block;
}

.necyklickeTunely {
    filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.2));
    object-fit: contain;
    display: block;
}

.cyklickeTunely {
    filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.2));
    object-fit: contain;
    display: block;
}

.cyklickeTunely2 {
    filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.2));
    object-fit: contain;
    display: block;
}

.levaZavorka {
    padding-left: 6px;
    filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.3));
    object-fit: contain;
    display: block;
}

.pravaZavorka {
    margin-left: -16px;
    margin-right: -16px;
    filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.3));
    object-fit: contain;
    display: block;
}

.textovePole {
    padding-top: 12px;
    max-width: 700px;
}

.textovePole textarea {
    font-family: 'Comic Sans MS', sans-serif;
    max-width: 80%;
    max-height: 150px;
    min-height: 50px;
    min-width: 100px;
    padding: 10px;
    background-color: rgba(255, 200, 100, 0.85);
    border: 2px solid rgba(255, 140, 0, 0.7);
    border-radius: 8px;
    color: rgb(57, 57, 57);
    font-size: 16px; /* Velikost písma */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
  
.textovePole textarea:focus {
    outline: none;
    border-color: rgba(172, 94, 0, 0.7);
    box-shadow: 0 0 8px rgba(172, 94, 0, 0.2);
}

.textovePolicko {
    max-width: 50px;
}

.textovePolicko textarea {
    font-family: 'Comic Sans MS', sans-serif;
    max-height: 25px;
    min-height: 25px;
    max-width: 50px;
    min-width: 35px;
    padding: 5px;
    background-color: rgba(255, 200, 100, 0.85);
    border: 2px solid rgba(255, 140, 0, 0.7);
    border-radius: 8px;
    color: rgb(57, 57, 57);
    font-size: 16px; /* Velikost písma */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
  
.textovePolicko textarea:focus {
    outline: none;
    border-color: rgba(172, 94, 0, 0.7);
    box-shadow: 0 0 8px rgba(172, 94, 0, 0.2);
}

.textovePolicko2 {
    max-width: 25vh;
}

.textovePolicko2 textarea {
    font-family: 'Comic Sans MS', sans-serif;
    min-height: 25px;
    max-height: 25px;
    max-width: 25vh;
    aspect-ratio: 25 / 3;
    padding: 5px;
    background-color: rgba(255, 200, 100, 0.85);
    border: 2px solid rgba(255, 140, 0, 0.7);
    border-radius: 8px;
    color: rgb(57, 57, 57);
    font-size: 16px; /* Velikost písma */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
    .textovePolicko2 textarea {
        max-width: 14vh;
    }
  }
  
.textovePolicko2 textarea:focus {
    outline: none;
    border-color: rgba(172, 94, 0, 0.7);
    box-shadow: 0 0 8px rgba(172, 94, 0, 0.2);
}

/* Skrytí původního checkboxu */
input[type="checkbox"] {
    display: none;
}

/* Styl pro odpovědi (9. úloha) */
.odpovedi {
    list-style: none;
    counter-reset: list-counter;
    font-size: 16px;
    margin-left: -12px;
}

.odpovedi li {
    counter-increment: list-counter;
    margin-bottom: 8px;
}

.odpovedi li::before {
    content: counter(list-counter) ") ";
    font-weight: bold;
}

.abeceda {
    list-style: none;
    counter-reset: abeceda-counter;
    font-size: 16px;
    margin-left: -12px;
}

.abeceda li {
    counter-increment: abeceda-counter;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.abeceda li::before {
    content: counter(abeceda-counter, lower-alpha) ") ";
    font-weight: bold;
}

/* Styl zaškrtávacích tlačítek */
.tfProstor {
    margin-right: 6px;
}

/* Základní styl tlačítek */
.tfTlacitko {
    width: 25px;
    height: 25px;
    font-family: 'Comic Sans MS', sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    background-color: #ccc;
    border: 2px solid rgba(137, 137, 137, 0.7);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}
  
/* Styl pro aktivní tlačítko */
.tfTlacitko.active {
    background-color: #ffb74d;
    border-color: #ff8a65;
    transform: scale(1.1);
}  

/* Hover efekt */
.tfTlacitko:hover {
    background-color: #ffb74d;
    border-color: #ff8a65;
}

form {
    padding-bottom: 12px;
}

/* Obecný styl pro label */
.custom-checkbox {
    padding-left: 12px;
    display: flex;
    align-items: center;
    font-size: 16px;
    margin-bottom: -8px;
    cursor: pointer;
}

/* Styl pro čtvereček */
.custom-checkbox .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 140, 0, 0.7);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
}

/* Efekt při zaškrtnutí */
.custom-checkbox input:checked + .checkmark {
    background-color: #ffb74d;
    border-color: #ff8a65;
}

/* Symbol zaškrtnutí */
.custom-checkbox input:checked + .checkmark::after {
    content: '✔';
    color: white;
    font-size: 14px;
}
  
/* Plátno */
canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: default;
}

/* Prostor pro obrázek */
.prostorObrazek {
    position: relative;
    display: inline-block;
    padding-right: 8px;
}

/* Samotný obrázek */
.obrazek {
    position: relative;
    width: 100%;
    max-width: 750px;
    max-height: 375px;
    margin: 5px;
    filter: drop-shadow(8px 8px 8px rgba(0, 0, 0, 0.3));
}

.kompas {
    position: absolute;
    top: 10%;
    right: 6%;
    max-width: 10%;
    filter: drop-shadow(8px 8px 8px rgba(0, 0, 0, 0.2));
    transform: translate(-50%, -50%);
}

.popup {
    position: absolute;
    top: 0px;
    left: 50%;
    margin: -5px;
    max-width: 35%;
    height: auto;
    transform: translateX(-50%);
    background-color: rgba(255, 200, 100, 0.85);
    border: 1px solid rgba(255, 140, 0, 0.7);
    border-radius: 8px;
    color: rgb(57, 57, 57);
    font-size: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 500; /* Nejvyšší priorita */
    cursor: pointer;
}

/* Prostor pro tlačítko editoru */
.prostorEditorButton {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Tlačítko editoru */
#editorButton {
    font-family: 'Comic Sans MS', sans-serif;
    font-size: 14px;
    margin: 5px 5px;
    font-weight: bold;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

/* Efekt tlačítka editoru */
#editorButton:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #8e44ad, #732d91);
}

/* Zakliknutí tlačítka editoru */
#editorButton.selected {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #8e44ad, #732d91);
}

/* Prostor pro tlačítka editoru */
.editorMenu {
    justify-content: center;
    margin: 5px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Prostor pro řadu tlačítek */
.radaEditorButtons {
    display: flex;
    gap: 10px;
}

/* Tlačítka v řade tlačítek editoru */
.radaEditorButtons button {
    font-family: 'Comic Sans MS', sans-serif;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #58b258, #239423);
    color: white;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

/* Efekt tlačítek pro výběr nástrojů v editoru */
.radaEditorButtons button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #4aa84a, #1f821f);
}

/* Zakliknutí tlačítek pro výběr nástrojů v editoru */
.radaEditorButtons button.active {
    background: linear-gradient(135deg, #4aa84a, #1f821f);
    box-shadow: 0 0 10px #FF6600;
    transform: scale(1.1);
}

/* Obrázky v tlačítkách editoru */
.radaEditorButtons button img {
    width: 40px;
    height: 40px;
}

/* Nastavení velikosti pera */
.velikostPera {
    font-family: 'Comic Sans MS', sans-serif;
    font-size: 16px;
    width: 60px;
    font-weight: bold;
    padding: 8px 8px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #ffcc80, #ffab40);
    color: white;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

/* Efekt nastavení velikosti pera */
.velikostPera:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ffb74d, #ff8a65);
}

/* Tlačítko pro mazání plátna */
.mazaniPlatna {
    font-family: 'Comic Sans MS', sans-serif;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #ff4d4d, #cc0000);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

/* Efekt tlačítka pro mazání plátna */
.mazaniPlatna:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #e63939, #990000);
}

/* Blok barev */
.barevnaPaleta {
    display: flex;
    gap: 10px;
}

/* Samotné barvičky */
.vyberBarvy {
    width: 30px;
    height: 30px;
    border: 2px solid #000;
    cursor: pointer;
    border-radius: 25%;
}

/* Efekt samotných barviček */
.vyberBarvy:hover {
    transform: scale(1.1);
}

/* Zakliknutí barviček */
.vyberBarvy.selected {
    border: 3px inset #FFFF00;
    box-shadow: 0 0 10px #FFFF00;
}

/* Prostor pro tlačítka ukončení úlohy */
.prostorUkonceniButton {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

/* Tlačítka pro zobrazení řešení */
.prostorUkonceniButton button {
    font-family: 'Comic Sans MS', sans-serif;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 16px;
    margin-bottom: 6px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* Tlačítko pro uložení řešení */
#ulozitButton {
    background: linear-gradient(135deg, #e97e7e, #e94228);
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Efekt tlačítka pro uložení řešení */
#ulozitButton:hover {
    background: linear-gradient(135deg, #e94228, #d83117);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

#ulozitButton.selected {
    background: linear-gradient(135deg, #752417, #5c1004);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    content: "Uložena odpověď";
}

/* Tlačítko pro zobrazení řešení */
#reseniButton {
    background: linear-gradient(135deg, #58b258, #239423);
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Efekt tlačítka pro zobrazení řešení */
#reseniButton:hover {
    background: linear-gradient(135deg, #4aa84a, #1f821f);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

#rozmazani {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Přidá poloprůhledné ztmavení */
    backdrop-filter: blur(2px); /* Aplikuje rozmazání na pozadí */
    z-index: 999; /* Nižší než dialog */
}

/* Modální okno */
#zadaniHesla, #upozorneniOdchod {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    z-index: 1000;
    width: 300px;
    text-align: center;
}

/* Pole pro zadání hesla */
#hesloVstup {
    width: calc(100% - 16px);
    margin: 10px 0;
    padding: 8px;
    font-size: 16px;
}

/* Tlačítka v modálním okně */
#potvrditHeslo, #zrusitHeslo, #potvrditOdchod, #zrusitOdchod {
    padding: 8px 16px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Tlačítko na potvrzení hesla */
#potvrditHeslo, #potvrditOdchod {
    font-family: 'Comic Sans MS', sans-serif;
    background: linear-gradient(135deg, #58b258, #239423);
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-right: 10px;
}

/* Efekt tlačítka na potvrzení hesla */
#potvrditHeslo:hover, #potvrditOdchod:hover {
    background: linear-gradient(135deg, #4aa84a, #1f821f);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Tlačítko na zrušení hesla */
#zrusitHeslo, #zrusitOdchod {
    font-family: 'Comic Sans MS', sans-serif;
    background-color: #f44336;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-right: 10px;
}

/* Efekt tlačítka na zrušení hesla */
#zrusitHeslo:hover, #zrusitOdchod:hover {
    background: linear-gradient(135deg, #e94228, #d83117);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Skrytý dialog */
.obsahUpozorneni.hidden {
    display: none;
}

/* Překrytí pro modální okno */
.obsahUpozorneni {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Obsah upozornění */
.obsah-upozorneni {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 300px;
}

/* Tlačítko zavření */
.obsah-upozorneni button {
    font-family: 'Comic Sans MS', sans-serif;
    background-color: #f44336;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-right: 10px;
}

/* Efekt tlačítka zavření*/
.obsah-upozorneni button:hover {
    background: linear-gradient(135deg, #e94228, #d83117);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Prostě skrytý prostor */
#skrytyProstor {
    display: none;
}

/* Styl pro upozornění s editorem */
#editor-warning-tooltip {
    position: absolute;
    background-color: rgba(255, 200, 100, 0.85);
    border: 1px solid rgba(255, 140, 0, 0.7);
    border-radius: 8px;
    color: rgb(57, 57, 57);
    font-size: 16px;
    text-align: center;
    padding: 5px 10px;
    border-radius: 8px;
    width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    top: -50px; /* Umístění nad tlačítky */
    left: 50%; /* Centrované podle šířky tlačítek */
    transform: translateX(-50%);
    display: none; /* Skryté ve výchozím stavu */
}

/* Styl pro upozornění s ulozitButton */
#reseni-warning-tooltip {
    position: absolute;
    background-color: rgba(255, 200, 100, 0.85);
    border: 1px solid rgba(255, 140, 0, 0.7);
    border-radius: 8px;
    color: rgb(57, 57, 57);
    font-size: 16px;
    text-align: center;
    padding: 5px 10px;
    border-radius: 8px;
    width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    top: -50px; /* Umístění nad tlačítky */
    left: 50%; /* Centrované podle šířky tlačítek */
    transform: translateX(-50%);
    display: none; /* Skryté ve výchozím stavu */
}

.zobrazeniReseni {
    background-image: linear-gradient(to bottom, #e0f7e0, #ffffff);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    padding-bottom: 12px;
}

.zobrazeniReseni2 {
    background-image: linear-gradient(to bottom, #f7e0f4, #ffffff);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    padding-bottom: 12px;
}


/* Odsazení nadpisu pro řešení od okraje */
.odsazeniNadpisu {
    padding-left: 12px;
}

/* Nadpis řešení */
h2 {
    padding-top: 6px;
    font-size: 14;
    font-style: bold;
}

/*********************************************************/

/* Blok s řešením úlohy */
.reseniBlok {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* Obrázek Gramatíka */
.gramatik {
    max-height: 40vh;
    margin: 0px 16px 16px 16px;
    filter: drop-shadow(6px 6px 6px rgba(0, 0, 0, 0.3));
}

.reseniTextak {
    font-size: 18px;
    text-align: center;
    margin: 0px 16px 16px 16px;
    padding: 12px 16px; /* Trochu větší padding pro lepší vzhled */
    background-color: #ffffff;
    border: 3px dotted #333; /* Přidán přesný rozměr okraje */
    border-radius: 12px; /* Pravidelné zaoblené rohy */
    filter: drop-shadow(6px 6px 6px rgba(0, 0, 0, 0.3));
}

.bezObrazku {
    max-width: 40vw;
}

.sObrazkem {
    max-width: 30vw;
}

.reseniObrMapy {
    max-width: 80vh;
    margin: 0px 32px 16px 16px;
    filter: drop-shadow(6px 6px 6px rgba(0, 0, 0, 0.3));
}

.reseniObrSmery {
    max-width: 75vh;
    margin: 0px 32px 16px 16px;
    filter: drop-shadow(6px 6px 6px rgba(0, 0, 0, 0.3));
}

.reseniObrSymboly {
    height: clamp(100px, 25vh, 100px);
    margin: 0px 32px 16px 16px;
    filter: drop-shadow(6px 6px 6px rgba(0, 0, 0, 0.2));
}

.reseniObrTunely {
    height: clamp(100px, 25vh, 100px);
    filter: drop-shadow(6px 6px 6px rgba(0, 0, 0, 0.2));
}

/* Responzivita */
@media (max-width: 1000px) {
    .reseniBlok {
        flex-direction: column;
        align-items: center;
    }

    .sObrazkem {
        max-width: 90vw;
    }

    .bezObrazku {
        max-width: 90vw;
    }

    .reseniObrMapy {
        max-width: 90vw;
    }

    .reseniObrSmery {
        max-width: 80vw;
    }

    .reseniObrSymboly {
        max-width: 80vw;
    }
    
    .reseniObrTunely {
        max-width: 80vw;
    }

    .gramatik {
        max-height: 20vh;
    }
}

/*********************************************************/

/* Prostor pro patičku */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Patička samotná */
.paticka {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 6px 0;
    font-size: 10px;
    margin-top: auto;
}

/* Logo v patičce */
.paticka-logo {
    max-height: 11px;
    margin-left: 5px;
    margin-right: 5px;
}

/*************************************************************************/
/* OBSAH */

.horizMenuObsah {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* nebo space-between podle potřeby */
    text-align: center;
    align-items: center;
    background-color: #219ebc;
    background-image: url('images/grafickePrvky/pozadí3.png');
    background-size: contain;
    background-blend-mode: multiply;
    padding: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    gap: 6px;
}


.horizMenuObsah-title {
    flex: 1;
    font-family: 'Comic Sans MS', sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: white;
    padding-right: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Prostor pro tlačítka navigace */
.navigaceButtonsObsah {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    padding: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    gap: 6px;
}

/* Tlačítka navigace */
.navigaceButtonsObsah a.button1 {
    font-family: 'Comic Sans MS', sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: linear-gradient(135deg, #8ecae6, #219ebc);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Efekt tlačítek navigace */
.navigaceButtonsObsah a.button1:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #66c1e6, #197bbd);
}

/* Tlačítka navigace */
.navigaceButtonsObsah a.button2 {
    font-family: 'Comic Sans MS', sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: linear-gradient(135deg, #80d880, #d070b0);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Efekt tlačítek navigace */
.navigaceButtonsObsah a.button2:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #6acb6a, #c058a0);
}

h3 {
    font-size: 14;
    font-style: bold;
    margin-bottom: -6px;
}

h4 {
    font-size: 12;
    font-style: bold;
    margin-bottom: -6px;
}

.prostorObrazky {
    margin: -8px 16px -8px 16px;
    justify-content: space-between;
}

.prostorText {
    margin: -8px 16px -8px 16px;
    text-align: justify;
    width: 70%;
}

.prostorText p {
    margin: 10px 0;
}

.prostorCile {
    margin: -8px 16px 32px 16px;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Rozdělení na dvě stejné poloviny */
}

.ramecekA {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    background-color: #82c882;
    background-image: url('images/grafickePrvky/pozadí.png');
    background-size: contain;
    background-blend-mode: multiply;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.ramecekB {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    background-color: #c078c0;
    background-image: url('images/grafickePrvky/pozadí2.png');
    background-size: contain;
    background-blend-mode: multiply;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.ramecek-title {
    flex: 1;
    display: flex;
    font-size: clamp(12px, 2vw, 20px);
    justify-content: center;  /* Zarovná text horizontálně */
    align-items: center;      /* Zarovná text vertikálně */
    font-family: 'Comic Sans MS', sans-serif;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin: 0; /* Odstranění margin-bottom: auto */
}

.hrA {
    border: 1px dotted;
}

.hrB {
    max-width: calc(100% + 4vw);
    margin-left: -2vw;
    margin-right: -2vw;
    border: 1px dotted;
}

.hrC {
    border: 1px dotted;
    width: 80%;
}

.odkazy {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 0; /* horní a dolní odsazení */
  }
  

.odkazy a {
    font-family: 'Comic Sans MS', sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Efekt tlačítek navigace */
.odkazy a:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);

}

.prostorObrazky {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
    gap: 30px; /* volitelné mezery mezi obrázky */
  }
  
  .navigaceObrazky {
    position: relative;
    flex: 0 0 auto; /* zabrání zmenšování */
    width: 400px; /* pevná šířka nebo max-width místo flex */
    max-width: 60vh;
    filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.5));
  }
  
  .navigaceObrazky img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.2s ease-in-out;
  }
  
  .hover-obrazek {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.01);
    cursor: pointer;
  }
  
  @media (max-width: 900px) {
    .navigaceObrazky {
      max-width: 60vw;
      width: 100%;
    }
  }

.navigaceObrazky:hover .hover-obrazek {
    opacity: 1;
}

.v1 {
    background: linear-gradient(135deg, #c2f0c2, #80d880);
}

.v1:hover {
    background: linear-gradient(135deg, #b0f2b0, #6acb6a);
}

.v2 {
    background: linear-gradient(135deg, #a8f2dc, #5ec8a8);
}

.v2:hover {
    background: linear-gradient(135deg, #94ebd0, #4ab899);
}

.v3 {
    background: linear-gradient(135deg, #c2e0f7, #80bce0);
}

.v3:hover {
    background: linear-gradient(135deg, #b0d8f2, #6aa8cb);
}

.v4 {
    background: linear-gradient(135deg, #a8e0f0, #5cb3d1);
}

.v4:hover {
    background: linear-gradient(135deg, #94d8eb, #49a2c0);
}

.v5 {
    background: linear-gradient(135deg, #e8a8d8, #d070b0);
}

.v5:hover {
    background: linear-gradient(135deg, #e090c8, #c058a0);
}

.v6 {
    background: linear-gradient(135deg, #c490e0, #a058c0);
}

.v6:hover {
    background: linear-gradient(135deg, #b478d8, #9048b0);
}

.v7 {
    background: linear-gradient(135deg, #b078c0, #9050a0);
}

.v7:hover {
    background: linear-gradient(135deg, #a068b4, #804090);
}

.uvodGramatik {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.uvodGramatik .gramatik {
    max-height: 350px;
    margin-right: 16px;
    filter: drop-shadow(6px 6px 6px rgba(0, 0, 0, 0.3));
    order: 1;
}

/* Tlačítka navigace */
.buttonUvodStr {
    font-family: 'Comic Sans MS', sans-serif;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: linear-gradient(135deg, #ffcc80, #e090c8);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

  @media (max-width: 900px) {
    .buttonUvodStr {
        white-space: nowrap;
        max-width: 100%;
        box-sizing: border-box;
        font-size: 18px;
    }
  }

/* Efekt tlačítek navigace */
.buttonUvodStr:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ffb74d, #c058a0);
}

.infoGramatik {
    text-align: left;
    flex: 1 1 35%;
    min-width: 300px;
    order: 2;
}

.prostorSlideShow {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 0 1 550px;
    padding-left: 20px;
    order: 3;
    height: 100%;         /* &lt;-- přidá výšku pro srovnání */
    min-height: 350px;    /* přizpůsobeno výšce Gramatýnky */
    box-sizing: border-box;
}

.slideShow {
    width: 100%;
    max-width: 600px;
    max-height: 280px;
    margin: 0 auto;
    filter: drop-shadow(6px 6px 6px rgba(0, 0, 0, 0.3));
    transition: opacity 1s ease-in-out;
}

.slideShow2 {
    width: 100%;
    max-width: 600px;
    max-height: 280px;
    margin: 0;
    filter: drop-shadow(6px 6px 6px rgba(0, 0, 0, 0.3));
    transition: opacity 1s ease-in-out;
    object-fit: contain;
    display: block;
    align-self: center;  /* &lt;-- klíčová změna */
}

.slideShow, .slideText {
    transition: opacity 1s ease-in-out;
    font-size: 20px;
    margin-top: 6px;
    text-align: center;
}

/* 🌐 Při zmenšení – mapa dolů */
@media screen and (max-width: 1200px) {
    .uvodGramatik {
        flex-wrap: wrap;
    }

    .prostorSlideShow {
        flex: 1 1 100%;
        padding-left: 0;
        margin-top: 20px;
        order: 3;
    }
}

.obrazekText {
    max-width: 750px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 12px 0;
    box-sizing: border-box;
}

.obrazekPopis {
    max-width: 750px;
    width: 100%; /* Tím se obrázek přizpůsobí šířce rodiče */
    height: auto; /* Zachová správný poměr stran */
    border: 3px solid #219ebc;
    border-radius: 12px;
    filter: drop-shadow(6px 6px 6px rgba(0, 0, 0, 0.3));
}


.nadpisObr {
    display: flex;
    align-items: center;
    gap: 10px;
}</pre></body></html>