:root {
    color-scheme: light only;
}

body, html {
    font-family: CustomSerif, Georgia, Cambria, 'Times New Roman', serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    text-align: center;
    margin: 0;
    padding: 0;
    background-color: #060e15;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Vertikální středění obsahu */
    min-height: 100vh;
    color: #c5c7c9;
    touch-action: auto;
    letter-spacing: 0.02em;
    width: 95vw;
}

a {
    text-decoration: none; /* Odstraní standardní podtržení */
    border-bottom: 1px solid gray; /* Přidá spodní ohraničení */
    color: inherit; /* Zachová barvu textu */
}

a:hover {
    color: white;
    border-bottom-color: white;
}

a:has(img) {
    border: none;
}

.pokracovat {
    text-align: center;
    justify-content: center;
    justify-items: center;
    font-family: Jost, Arial, Helvetica Neue, Helvetica, sans-serif;
}

.center {
    text-align: center;
    justify-content: center;
    justify-items: center;
}

.popisek{
    font-family: Jost, Arial, Helvetica Neue, Helvetica, sans-serif; font-size: 0.8em; font-weight: 300; font-style: italic;
}

.button-primary {
    color: #000;
    text-align: center;
    text-transform: uppercase;
    border: 1px #000;
    border-radius: 10px;
    padding: 1.25rem 2.25rem 1.2rem;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    transition: all .3s ease-out;
    position: relative;
    overflow: hidden;
    font-family: Jost, Arial, Helvetica Neue, Helvetica, sans-serif;
    border-bottom: 0px !important;
}

.w-inline-block {
    max-width: 100%;
    display: inline-block;
    color: #000 !important;
}

.button-text {
    z-index: 3;
    cursor: pointer;
    position: relative;
    color: #000 !important;
    font-size: 0.9em;
}

.gradient-container {
    z-index: 1;
    width: 400%;
    cursor: pointer;
    background-image: linear-gradient(95deg, #ff8b00, #ff7518 12.5%, #ff4500 25%, #8b0000 37.5%, #4b0082 50%, #8b0000 62.5%, #ff4500 75%, #ff7518 87.5%, #ff8b00);
    display: flex;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}



.nadpis {
    margin-top: 1rem;
}

h1 {
    font-family: Jost, Arial, Helvetica Neue, Helvetica, sans-serif;
    font-size: 4rem;
    line-height: 4.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    color: #ff8b00;
    text-transform: uppercase;
    display: inline;
    text-align: left;
}

.h1-container {
    display: inline-block;
}

.h1-container img {
    height: 5rem; /* Výška obrázku odpovídá výšce písma */
    vertical-align: bottom; /* Zarovnání obrázku s textem */
    padding-left: 7.5rem;
}


h2 {
    font-family: Jost, Arial, Helvetica Neue, Helvetica, sans-serif;
    font-size: 1.6rem;
    margin-top: 3rem;
    color: #c5c7c9;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0;
    padding-bottom: 0;
}

.postava {
    margin-top: 20px;
    max-height: 300px !important;
    width: auto !important;
}

.omalovanka {
    width: 100% !important;
    max-width: 400px !important;
    height: auto;
}

.article-container {
    width: 85%;
    max-width: 600px;
    margin: 0 auto;
    text-align: left; /* Zarovnání textu vlevo */
    font-size: 1.2rem;
    line-height: 2rem;
    padding: 0;
}

.article-container img {
    width: 100%;
    padding: 0;
    margin: 0;
}

.article-container h2 {
    padding: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.article-container h2::before,
.article-container h2::after {
    content: "-";
    margin: 0 0.5rem;
}

p {
    color: #c5c7c9;
    padding: 1rem 0 0 0;
}

.zastavky {
    font-size: 0.7em;
    font-weight: 200;
    text-transform: uppercase;
}
.zastavky strong{
    font-weight: 400;

}


.mini {
    padding-top: 0;
    margin-top: 0;
    font-size: 0.6em;
    font-family: Jost, Arial, Helvetica Neue, Helvetica, sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.02rem;
}

.podnadpis {
    padding-top: 0;
    margin-top: 0;
    font-size: 0.8em;
    font-family: Jost, Arial, Helvetica Neue, Helvetica, sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    color: #582105;/*#6a4b2a;*/
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    .h1-container img {
        height: 3rem; /* Výška obrázku odpovídá výšce písma */
        vertical-align: bottom; /* Zarovnání obrázku s textem */
        padding-left: 3.3rem;
    }
}


#playlist div {
    margin-top: 15px; /* odstupy v playlistu */
}

#playlist div:first-child {
    margin-top: 0;
    margin-bottom: 0;
}

blockquote {
    font-family: Jost, Georgia, Cambria, 'Times New Roman', serif;
    margin: 30px 21px 30px 0;
    padding-left: 15px;
    position: relative;
    font-style: italic;
    word-wrap: break-word;
    border-left: 3px solid silver;
}

blockquote strong {
    font-weight: 600;
}

.tvurci {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 300;
}


/*AUDIO*/

.audio-player {
    display: flex;
    align-items: center;
    background-color: #321303;
    padding: 13px 10px;
    border-radius: 5555px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: 50px;
    width: 95%;
    max-width: 500px;
    white-space: nowrap;
}

.audio-player button {
    background-color: #ff8b00;
    border: none;
    padding: 10px 15px;
    margin: 0 10px;
    cursor: pointer;
    border-radius: 5555px; /* Kulaté okraje */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    color: black;
    font-family: CustomSerif, Georgia, Cambria, 'Times New Roman', serif;
    white-space: nowrap;
}

.audio-player button:hover {
    /*  background-color: #fea863;*/
}

.audio-player input[type="range"] {
    flex-grow: 1;
    margin: 0 10px;
    border-radius: 10px; /* Mírně zaoblené rohy */
    overflow: hidden;
    -webkit-appearance: none;
    appearance: none;
    background: #da7720;
}

.audio-player input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background:  #b8330b;
    cursor: pointer;
}

.audio-player input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background:  #b8330b;
    cursor: pointer;
}

.time {
    font-family: Jost, Georgia, Cambria, 'Times New Roman', serif;
    font-size: 0.8rem;
    color: #da7720;
}

.audio-player2 {
    display: flex;
    align-items: center;
    background-color: #321303;
    padding: 13px 10px;
    border-radius: 5555px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: 50px;
    width: 95%;
    max-width: 500px;
    white-space: nowrap;

}

.audio-player2 button {
    background-color: #da7720;
    border: none;
    padding: 2px 15px;
    margin: 0 10px;
    cursor: pointer;
    border-radius: 5555px; /* Kulaté okraje */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    color: black;
    font-family: CustomSerif, Georgia, Cambria, 'Times New Roman', serif;
    white-space: nowrap;
font-size: 0.8em;
}

.audio-player2 button:hover {
    /*  background-color: #fea863;*/
}

.audio-player2 input[type="range"] {
    flex-grow: 1;
    margin: 0 10px;
    border-radius: 10px; /* Mírně zaoblené rohy */
    overflow: hidden;
    -webkit-appearance: none;
    appearance: none;
    background: #da7720;
}

.audio-player2 input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background:  #b8330b;
    cursor: pointer;
}

.audio-player2 input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background:  #b8330b;
    cursor: pointer;
}


.time2 {
    font-family: Jost, Georgia, Cambria, 'Times New Roman', serif;
    font-size: 0.8rem;   
    color: #da7720;
}

.souradnice {
    font-size: 0.8rem;
    font-weight: 200;

}

.footer {
    margin: 3rem 0;
    border: 0;
    border-top: 1px solid gray; /* Barva a tloušťka čáry */
    font-weight: 200;
    font-size: 1rem;
}

.footer a {
    font-weight: 200;
}

.stezka {
    width: 50%;
    min-width: 450px;
    height: auto;
    margin-top: 2rem;
}

.tenke {
    font-weight: 200;
}

#overlay {
    z-index: 1002;
}

#consent-overlay {
    z-index: 1000;

}
#start-overlay {
    z-index: 1001;

}

#overlay, #consent-overlay, #start-overlay {

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    font-family: Jost, Arial, Helvetica Neue, Helvetica, sans-serif;
}
#over-overlay-content, #consent-overlay-content, #start-overlay-content {
    background: black;
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    max-width: 500px;
    width: 80%;
    border: #332200 1px solid;
}
#over-overlay-content p, #consent-overlay-content p, #start-overlay-content p {
    font-size: 0.8em;
}
#over-overlay-content h1, #consent-overlay-content h1, #start-overlay-content h1 {
    margin: 0;
    font-size: 2em;
}
#over-overlay-content h2 {
    margin: 10px 0;
    font-size: 1.5em;
    color: #ff8b00;
}
#over-countdown {
    font-size: 1.2em;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.over-countdown-item {
    text-align: center;
}
.over-countdown-item span {
    display: block;
}
.over-countdown-item small {
    font-size: 0.6em;
}
.over-button, .consent-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    border: none;
    cursor: pointer;
    font-size: 1em;
    border-radius: 5px;
    letter-spacing: 0.01em;
}
.consent-button {
    font-weight: 500;

}
.over-close-btn, .consent-button {
    background: #ff8b00;
    color: black;
    font-weight: 500;
}
.over-link-btn {
    background: #000000;
    border: 1px solid #5f5f5f;
    color: #5f5f5f;
}
#media-container {
    position: relative;
    width: 400px;
    height: 400px;
}