/* NASTAVENÍ - START */
* {
    margin: 0;
    padding: 0;
    box-sizing: content-box;
}

body {
    font-family: "Lexend Tera", sans-serif;
}

:root {
    --btn-background: #000000;
    --btn-hover-background: #b42020;
    --color: #000;
    --box-shadow: 0 0 12px rgba(0, 0, 0, .4);
    --box-shadow-8px: 0 0 8px rgba(0, 0, 0, .2);
    --background-default: #ffffff;
}

.button {
    border: none;
    background: var(--btn-background);
    color: #ffffff;
    cursor: pointer;
    min-height: 30px;
    min-width: 30px;
    transition: all ease-in-out 0.3s;
    z-index: 9999;
}

.button:hover {
    background: var(--btn-hover-background) !important;
}

.button:active {
    transition: scale(0.9);
}

.container {
    width: 100%;
    min-height: 100dvh;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to top, #ffffff, #e1bb85);
    display: none;
}

/* NASTAVENÍ - KONEC */

/* BTN NA MOB. ZOBRAZIT OVL. CENTRUM */

#btn-ovl-prvky-open {
    display: none;
    position: fixed;
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    box-shadow: var(--box-shadow-8px);
}

/* BTN NA MOB. ZOBRAZIT OVL. CENTRUM */

/* KATALOG - START */
.serie-box {
    z-index: 999;
    position: absolute;
    top: -1000px;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 1000px;
    min-width: 300px;
    background: var(--background-default);
    padding: 20px;
    box-shadow: var(--box-shadow);
    transition: all ease-in-out 0.4s;
    overflow: auto;
    max-height: 444px;
}

.serie-box-obsah {
    position: relative;
    width: 100%;
    height: 100%;
}

#btn-menu-close {
    position: absolute;
    top: -7px;
    right: -7px;
}

#btn-fullscreen-close {
    display: none;
}

.serie-box>.serie-box-obsah>ul {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: start;
    align-items: start;
    flex-wrap: wrap;
    list-style: none;
    gap: 7px;
}

.serie-box>.serie-box-obsah>ul>li {
    width: 100px;
    height: 130px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    box-shadow: var(--box-shadow-8px);
    cursor: pointer;
    transition: all ease-in-out 0.2s;
}

.serie-box>.serie-box-obsah>ul>li:hover {
    transform: scale(1.05);
}

.serie-box>.serie-box-obsah>ul>li>a {
    text-decoration: none;
    color: var(--color);
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.serie-box>.serie-box-obsah>ul>li>a>img {
    width: 100%;
    width: 100px;
    object-fit: cover;
}

.serie-box>.serie-box-obsah>ul>li>a>p {
    width: 100%;
    height: 100%;
    height: 30px;
    font-size: 12px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 15px;
}

.katalog {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

/* ovladaci prvky - start */
.katalog-ovladaci-prvky {
    width: 100%;
    max-width: 1200px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.katalog-ovladaci-prvky-box {
    width: 33.3333%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.katalog-ovladaci-prvky-box-leva {
    justify-content: start;
}

.katalog-ovladaci-prvky-box-leva a {
    min-width: 100px;
    text-decoration: none;
}

.katalog-ovladaci-prvky-box-stred {
    position: relative;
}

.katalog-ovladaci-prvky-box-stred #btn-menu {
    margin-right: 5px;
}

.katalog-ovladaci-prvky-box-prava {
    justify-content: end;
}

.katalog-ovladaci-prvky-box-prava input {
    padding: 5.5px;
}

/* ovladaci prvky - konec */
.katalog-obsah {
    width: 100%;
    max-width: 1200px;
    height: auto;
    max-height: 850px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.slider {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: nowrap;
    position: relative;
    transition: transform 0.4s ease;
}

.katalog-dvojlist {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.katalog-list {
    height: auto;
    background: #fff;
    position: relative;
}

.katalog-leva,
.katalog-prava {
    flex: 1;
    width: 50%;
}

.katalog-list .pozadi-img {
    max-width: 600px;
    width: 100%;
    max-height: 850px;
    height: 100%;
}

/* KATALOG - KONEC */

/* TLAČÍTKA - START */
.btnLR {
    width: 50px;
    height: 50px;
    background-color: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 20px;
    position: absolute;
    top: 50%;
    box-shadow: 0 0 6px rgba(0, 0, 0, .2);
    z-index: 99;
    transition: all ease-in-out .3s;
}

.btnLR:hover {
    background-color: #b42020;
}

.btnLR:active {
    transform: scale(0.90);
}

#btnLeft {
    left: -25px;
}

#btnRight {
    left: calc(100% + (-25px));
}

/* TLAČÍTKA - KONEC */

/* STRÁNKOVÁNÍ - START */
.strankovani {
    position: absolute;
    bottom: 5px;
    left: 5px;
    padding: 5px 10px;
    font-size: 14px;
    background: #4c4c4c;
    color: #fff;
}

/* STRÁNKOVÁNÍ - KONEC */

/* KOLEČKA NA STRÁNKÁCH - START */
.koleckoA {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    z-index: 99;
    position: absolute;
    cursor: pointer;
}

.koleckoA-obsah {
    position: relative;
}

.koleckoB {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #00000086;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #fff;
}

.koleckoC {
    width: 13.5px;
    height: 13.5px;
    border-radius: 50%;
    background: #ffffff;
    transition: all ease-in-out .3s;
}

.koleckoA:hover .koleckoC {
    width: 10px;
    height: 10px;
    box-shadow: 0 0 2px rgba(0, 0, 0, .2);
}

.koleckoA-div {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 35px;
    right: 50px;
    display: none;
    transition: all .3s ease-in-out;
}

.koleckoA-div-hoverBox {
    width: 120px;
    min-height: 100px;
    background: #fff;
    box-shadow: 0 0 12px rgba(0, 0, 0, .4);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    color: #000;
    padding: 5px;
    transition: all ease-in-out .3s;
    cursor: default;
    text-align: center;
}

.kod {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.rozmer {
    color: #2a2a2a;
    letter-spacing: -1px;
    font-size: 10px;
}

.odkaz {
    width: auto;
    padding: 3.5px;
    color: #fff;
    background: #000000;
    font-size: 20px;
    text-align: center;
    transition: all .3s ease-in-out;
}

.odkaz:hover {
    /*width: 80%;*/
    background: #b42020;
}

/* KOLEČKA NA STRÁNKÁCH - KONEC */

/* LUPA - START */

.zoom-container {
    position: relative;
}

.zoom-lens {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 2px solid #434343;
    background: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    display: none;
    z-index: 99999;
}

/* LUPA - KONEC */

/* ZOOM ZA POMOCI ctrl & + nebo ctrl & - | - START */

#zoom-controls {
    position: fixed;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 8px;
    z-index: 10000;
}

#zoom-controls button {
    padding: 8px;
    font-size: 12.5px;
    cursor: pointer;
    background: #000;
    color: #fff;
    border: none;
    transition: 0.3s;
}

#zoom-controls button i {
    cursor: pointer;
    width: 20px;
    text-align: left;
}

#zoom-controls button:hover {
    background: #b42020 !important;
}

/* ZOOM ZA POMOCI ctrl & + nebo ctrl & - | - KONEC */

/* RELOAD OKNO PO KLIKNUTÍ NA RELOAD BTN - START */

.reload-set-timeOut {
    display: none;
    position: absolute;
    z-index: 99999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100vh;
    box-shadow: var(--box-shadow);
    background: #e1bb85;
    color: var(--color);
    justify-content: center;
    align-items: center;
}

.reload-set-timeOut-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    flex-direction: column;
}

.reload-set-timeOut-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    flex-direction: column;
}

.reload-set-timeOut-flex span {
    color: #000000;
    font-weight: 700;
    margin: 30px;
    text-transform: uppercase;
    text-align: center;
}

#copywriter {
    color: #000000;
    font-size: 12px;
    position: absolute;
    bottom: 20px;
    left: 20px;
}

/* animace loaderu - start */
.loader {
    display: block;
    position: relative;
    height: 12px;
    width: 80%;
    border: 1px solid var(--btn-background);
    overflow: hidden;
}

.loader:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--btn-hover-background);
    animation: 6s prog ease-in;
}

@keyframes prog {
    0% {
        width: 8%;
    }

    11% {
        width: 20%;
    }

    8% {
        width: 20%;
    }

    20% {
        width: 38%;
    }

    38% {
        width: 64%;
    }

    64% {
        width: 77%;
    }

    100% {
        width: 100%;
    }
}

/* animace loaderu - konec */
/* RELOAD OKNO PO KLIKNUTÍ NA RELOAD BTN - KONEC */

/* SELECT #STRANKY - START */

#stranky {
    width: 80px;
    margin: 0px 5px;
    background: var(--color);
    font-size: 15px;
    height: 30px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

#stranky i {
    color: var(--background-default);
}

#stranky option {
    background: #000;
    font-size: 15px;
    color: var(--background-default);
}

/* SELECT #STRANKY - KONEC */

/* RESPONZIV - START */
@media screen and (max-width: 1720px) {

    #zoom-controls {
        flex-direction: column;
        top: 50px;
    }

}

@media screen and (max-width: 1270px) {

    #btnRight {
        left: calc(100% - 50px);
        background: #00000050;
    }

    #btnLeft {
        left: 0px;
        background: #00000050;
    }

    .katalog-ovladaci-prvky {
        padding: 10px 0px;
    }

}

@media screen and (max-width: 1100px) {

    #zoom-controls {
        flex-direction: row;
        top: 50px;
    }

}

@media screen and (max-width: 1200px) {

    .katalog {
        max-width: 1190px;
    }

}

    /* POZOR HEIGHT !!!!!!!! */
@media screen and (max-height: 900px) {
    /* POZOR HEIGHT !!!!!!!! */

    #zoom-controls {
        flex-direction: column;
        top: 50px;
    }

    #zoom-controls span {
        display: none;
    }

    #zoom-controls button i {
        text-align: center;
    }

    .katalog {
        max-width: 900px;
    }

}

@media screen and (max-width: 767px) {

    #btn-ovl-prvky-open {
        display: block;
    }

    .katalog-ovladaci-prvky {
        flex-direction: column;
        gap: 10px;
        justify-content: center;
        align-items: center;
        background: #d3d3d3;
        position: fixed;
        top: -400px;
        left: 0px;
        display: none;
        transition: all ease-in-out .3s;
        width: 100%;
        justify-content: center;
        box-shadow: var(--box-shadow-8px);
        z-index: 999;
    }

    .katalog-ovladaci-prvky-box {
        width: 80%;
    }

    .katalog-ovladaci-prvky-box-leva,
    .katalog-ovladaci-prvky-box-stred,
    .katalog-ovladaci-prvky-box-prava {
        justify-content: center;
    }

    #zoom-controls {
        display: none;
    }

    .container {
        width: 100%;
        height: auto;
    }

    .katalog {
        height: 100%;
    }

    .slider {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        transition: transform 0.3s ease-in-out;
    }

    .katalog-obsah {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 100%;
        box-shadow: var(--box-shadow);
        overflow: hidden;
    }

    .katalog-dvojlist {
        display: block;
        flex-direction: row;
        width: 100%;
        justify-content: start;
    }

    .katalog-list {
        flex: 0 0 100%;
        display: block;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .katalog-list .pozadi-img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    .btnLR {
        height: 100px;
        position: fixed;
        top: calc(50% - 50px);
    }

    #btnRight {
        left: calc(100% -25px) !important;
    }

    #btn-fullscreen-open,
    #btn-lupa, 
    #btn-play {
        display: none;
    }

}

/* RESPONZIV - KONEC */

