/* =====================================================
   IMAX PRELOADER STYLES - JEMNÁ VERZIA
   Veľmi jemné zatmavenie + rotujúci progress kruh
   ===================================================== */

/* Loading state */
body .content .inner .animation-block .btn {
    font-size:1.5rem;
}
body.imx-loading {
    overflow: hidden;
}

body.imx-loading .animation-block,
body.imx-loading .scroll-progress {
    visibility: hidden;
}

/* Preloader overlay - vidieť cez to stránku */
.imx-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: imxFadeIn 0.25s ease-out forwards;
    transition: opacity 0.35s ease-out;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

@keyframes imxFadeIn {
    to { opacity: 1; }
}

/* Hiding state */
.imx-preloader.imx-preloader-hiding {
    opacity: 0;
    pointer-events: none;
}

/* ---- Progress wheel ---- */
.imx-preloader-wheel {
    position: relative;
    width: 52px;
    height: 52px;
    animation: imxWheelSpin 1.2s linear infinite;
}

@keyframes imxWheelSpin {
    to { transform: rotate(360deg); }
}

/* SVG */
.imx-preloader-wheel svg {
    width: 52px;
    height: 52px;
    transform: rotate(-90deg);
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.1));
}

/* Track (pozadie kruhu) */
.imx-progress-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 3;
}

/* Progress oblúk - napĺňa sa podľa stavu */
.imx-progress-arc {
    fill: none;
    stroke: rgba(255, 255, 255, 0.8);
    stroke-width: 3;
    stroke-linecap: round;
    /* circumference = 2 * PI * 22 ≈ 138.23 */
    stroke-dasharray: 138.23;
    stroke-dashoffset: 138.23;
    transition: stroke-dashoffset 0.3s ease-out;
}

/* Percentá v strede - counter-rotate aby sa text nekrútil */
.imx-preloader-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.3px;
    animation: imxTextCounterSpin 1.2s linear infinite;
    user-select: none;
}

@keyframes imxTextCounterSpin {
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* ---- Loaded state ---- */
body.imx-loaded .animation-block,
body.imx-loaded .scroll-progress {
    visibility: visible;
}

body.imx-loaded .imx-preloader {
    display: none;
}

body.imx-loaded p.ul-like {

}

body.imx-loaded .list-item {
    display: list-item;
    list-style-type: disc;
    list-style-position: inside;
    text-align: right;
}

/* ---- Mobile ---- */
@media (max-width: 480px) {
    .imx-preloader-wheel {
        width: 44px;
        height: 44px;
    }
    .imx-preloader-wheel svg {
        width: 44px;
        height: 44px;
    }
    .imx-preloader-percent {
        font-size: 10px;
    }
}


/* ===========================================
   CSS CUSTOM PROPERTIES - Výšky sekcií
   =========================================== */
:root {
    /* Landscape defaults */
    --section-height-default: 65vh;
    --section-height-block1: 65vh;
    --section-height-block2: 30vh;
    --section-height-block3: 100vh;
    --section-height-block4: 70vh;
    --section-height-block5: 70vh;
}

/* Portrait (aspect-ratio < 1) */
@media (max-aspect-ratio: 1/1) {
    :root {
        --section-height-default: min(65vh, 55vw);
        --section-height-block1: 75vh;
        --section-height-block2: min(30vh, 30vw);
        --section-height-block3: min(100vh, 90vw);
        --section-height-block4: 75vh;
        --section-height-block5: 75vh;
    }
}

@media (max-width:768px) and (max-aspect-ratio: 1/1) {
    :root {
        --section-height-default: min(65vh, 55vw);
        --section-height-block1: 75vh;
        --section-height-block2: min(30vh, 30vw);
        --section-height-block3: min(100vh, 90vw);
        --section-height-block4: 75vh;
        --section-height-block5: 75vh;
    }
}

/* Tablet Portrait (3:4) */
@media (max-aspect-ratio: 3/4) and (min-aspect-ratio: 9/16) {
    :root {
        --section-height-default: min(55vh, 65vw);
        --section-height-block1: 75vh;
        --section-height-block2: min(30vh, 35vw);
        --section-height-block3: min(80vh, 95vw);
        --section-height-block4: min(60vh, 75vw);
        --section-height-block5: min(60vh, 75vw);
    }
}

/* Extreme Portrait - Mobile (9:16 a užšie) */
@media (max-aspect-ratio: 9/16) {
    :root {
        --section-height-default: min(50vh, 80vw);
        --section-height-block1: 75vh;
        --section-height-block2: min(32vh, 50vw);
        --section-height-block3: min(70vh, 110vw);
        --section-height-block4: min(55vh, 90vw);
        --section-height-block5: min(55vh, 90vw);
    }
}

/* ===========================================
   PÔVODNÉ CSS - bez zmien okrem vh hodnôt
   =========================================== */

/* Ensure all child elements stay within section */
.animation-block {
    /*contain: layout style paint;*/
    contain: style paint;
}
body .content {
    overflow-x:clip;
}
body .content .inner .animation-block {
    width: 100vw !important;
    position: relative;
    left: 50%;
    margin-left: -50vw;
}

/* Force all elements within section to be contained */
.animation-block * {
    /*max-width: 100%;*/
    max-height: 100%;
    box-sizing: border-box;
}

.animation-block .col {
    height:100%;
}

/* Specific rules for images and media */
.animation-block img,
.animation-block video,
.animation-block canvas,
.animation-block svg {
    max-width: 100%;
    max-height: 100vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.animation-block video,
.animation-block canvas {
    max-width: inherit !important;
    max-height: inherit !important;
}
body .content .inner .animation-block .icon-list {
    list-style:none;
    margin:0px;
    padding:0px;
    vertical-align:top;
    width:100%;
    text-align:Center;
    margin-top:60px;
    display:flex;
    flex-wrap:wrap;
}
body .content .inner .animation-block .icon-list span {
    color:white;
    display:block;
    font-size:28px;
    font-weight:600;
}
body .content .inner .animation-block .icon-list span + span {
    font-weight:400;
    font-size:16px;
    margin-top:5px;
}
body .content .inner .animation-block .icon-list li {
    display:inline-block;
    padding-left:30px;
    padding-right:30px;
    flex:0 0 33.33%;
    max-width:33.33%;
    text-align:Center;
}
/*body .content .inner .animation-block .icon-list li img {
    max-height:109px;
    width:auto;
    display:inline-block;
}*/

/* ZMENENÉ - používa CSS variable */
body .content .inner .animation-block {
    width:100%;
    height: var(--section-height-default);
}

/* ZMENENÉ - používa CSS variable */
body .content .inner .animation-block.block1 {
    position:relative;
    overflow:hidden;
    background-color:#121418;
    height: var(--section-height-block1);
}

body .content .inner .animation-block.block1 .layer-zemegula{
    position:absolute;
    z-index:10;
    bottom:-1300px;
    left:0;
    right:0;
    margin-left:auto;
    margin-right:auto;
    /*background:url('/fileadmin/templates/cine-max2024/img/imax/blok1/EARTH_02_sm.jpg') no-repeat center center transparent;*/
    /*background:url('/fileadmin/templates/cine-max2024/img/imax/blok1/earth_zoom_out2_zmensene.jpg') no-repeat center center transparent;*/
    background:url('/fileadmin/templates/cine-max2024/img/imax/blok1/EARTH_02_midjourney1.jpg') no-repeat center center transparent;
    width:100%;
    height:2048px;
    max-height:2048px;
    /*height:100%;
    max-height:100%;*/
    background-size:cover;
    display:none !important;
}
body .content .inner .animation-block.block1 .layer-nadpis{
    position:absolute;
    height:auto;
    width:100%;
    z-index:15;
    top:100px;
    left:-100%;
    opacity:1;
}
body .content .inner .animation-block.block1 .layer-nadpis:before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1000%;
    top:-1000%;
    background: #121418;
    z-index: 1;
}
body .content .inner .animation-block.block1 .layer-nadpis:after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1000%;
    bottom:-1000%;
    background: #121418;
    z-index: 1;
}
body .content .inner .animation-block.block1 .layer-black-cover{
    position:absolute;
    height:100%;
    width:100%;
    z-index:12;
    top:0px;
    left:-100px;
    opacity:1;
    top:0px;
    background-color:#121418;
}
body .content .inner .animation-block.block1 .layer-button{
    position:absolute;
    z-index:20;
    width:100%;
    text-align:center;
    bottom:20%;
}
body .content .inner .animation-block.block1 .layer-button a {
    bordeR:1px solid #018ed2;
}
body .content .inner .animation-block.block1 .layer-nadpis img {
    width:auto;
}
body .content .inner .animation-block .layer {
    opacity:0;
    position:absolute;
}
body .content .inner .animation-block.block4 img,
body .content .inner .animation-block.block5 img {
    max-width:100%;
    height:auto;
    max-height:100%;
    width:auto;
}
body .content .inner .animation-block h2,
body .content .inner .block7 h2 {
    color:#018ed2;
    font-size:45px;
    line-height:50px;
    margin:0 0 10px 0;
}
body .content .inner .animation-block.block6 {
    margin-bottom:100px;
    height:auto;
}

/* BLOCK 8 - height auto, min-height 0 */
body .content .inner .animation-block.block8 {
    height:auto;
    min-height:0;
    margin-bottom:70px;
}

body .content .inner .animation-block.block6 h2,
body .content .inner .block7 h2 {
    margin:0 0 30px 0;
}
body .content .inner .animation-block p {
    font-size:17px;
    line-height:24px;
    text-transform:none;
    max-width:90%;
}
body .content .inner .animation-block h3 {
    color:#018ed2;
    font-size:30px;
    line-height:32px;
    font-weight:600;
    margin:0 0 55px 0;
}

/* ZMENENÉ - používa CSS variable */
body .content .inner .animation-block.block4 > .row,
body .content .inner .animation-block.block5 > .row {
    height: var(--section-height-block4);
}

/* ZMENENÉ - používa CSS variable */
body .content .inner .animation-block.block4,
body .content .inner .animation-block.block5 {
    height: var(--section-height-block4);
    margin-bottom:160px;
    padding-top:50px;
    padding-bottom:140px;
}

body .content .inner .animation-block.block5 {
    margin-bottom:20px;
}
body .content .inner .animation-block.block5 .col,
body .content .inner .animation-block.block5 .col p{
    text-align:right;
}
body .content .inner .animation-block.block5 .col p {
    margin-left:auto;
}
body .content .inner .animation-block.block3 .layers{
    position:relative;
    width:100%;
    height:100%;
}
body .content .inner .animation-block.block3 {
    overflow:hidden;
    padding-bottom:0px;
}

/* ZMENENÉ - používa CSS variable */
body .content .inner .animation-block.block3 {
    margin-bottom:100px;
    height: var(--section-height-block3);
}

body .content .inner .animation-block.block3 .layers .layer-zemegula2 {
    background:url('/fileadmin/templates/cine-max2024/img/imax/blok2/zemegula.png') no-repeat center -300px transparent;
    width:100%;
    height:100%;
    background-size:100% auto;
    position:absolute;
    z-index:10;
    left:0px;
    top:0px;
}
body .content .inner .animation-block.block3 .layers .layer-raketoplan {
    background:url('/fileadmin/templates/cine-max2024/img/imax/blok3/Raketoplan.png') no-repeat top center transparent;
    width:50%;
    height:100%;
    background-size:100% auto;
    position:absolute;
    z-index:15;
    /*left:150px;
    right:0;
    margin-left:auto;
    margin-right:auto;*/
    left: 50%;
    transform: translateX(-50%);
    bottom:-100%;
}
body .content .inner .animation-block.block3 .layers .layer-napis {
    width:80%;
    height:30%;
    position:absolute;
    z-index:30;
    top:10%;
    display:flex;
    justify-content:center;
    lefT:0;
    right:0;
    margin-left:auto;
    margin-right:auto;
}
body .content .inner .animation-block.block3 .layers .layer-napis > span {
    display:block;
    flex:0 0 25%;
    max-width:25%;
    background-size:contain !important;
    opacity:0;
    margin-right:15px;
}
body .content .inner .animation-block.block3 .layers .layer-napis > span:first-child {
    margin-right:45px;
}
body .content .inner .animation-block.block3 .layers .layer-napis > span:last-child {
    margin-right:0px;
}
body .content .inner .animation-block.block3 .layers .layer-napis > span:first-child {
    flex:0 0 5%;
    max-width:5%;
}
body .content .inner .animation-block.block3 .layers .layer-napis > span:first-child + span + span{
    flex:0 0 23.5%;
    max-width:23.5%;
}
body .content .inner .animation-block.block3 .layers .layer-napis > span.letter-i {
    background:url('/fileadmin/templates/cine-max2024/img/imax/blok2/pismeno-i.png') no-repeat center center transparent;
}
body .content .inner .animation-block.block3 .layers .layer-napis > span.letter-m {
    background:url('/fileadmin/templates/cine-max2024/img/imax/blok2/pismeno-m.png') no-repeat center center transparent;
    flex:0 0 25.5%;
    max-width:25.5%;
}
body .content .inner .animation-block.block3 .layers .layer-napis > span.letter-a {
    background:url('/fileadmin/templates/cine-max2024/img/imax/blok2/pismeno-a.png') no-repeat center center transparent;
}
body .content .inner .animation-block.block3 .layers .layer-napis > span.letter-x {
    background:url('/fileadmin/templates/cine-max2024/img/imax/blok2/pismeno-x.png') no-repeat center center transparent;
}
body .content .inner .animation-block.block3 .layers .layer-dym1 {
    position:absolute;
    z-index:14;
    width:70%;
    left:10%;
    height:auto;
    bottom:0%;
    bottom:-50%;
}
body .content .inner .animation-block.block3 .layers .layer-dym2 {
    position:absolute;
    z-index:14;
    width:30%;
    height:auto;
    right:15%;
    bottom:-60%;
}
body .content .inner .animation-block.block3 .layers .layer-dym3 {
    position:absolute;
    z-index:14;
    width:40%;
    height:auto;
    bottom:0%;
    left:0px;
    bottom:-50%;
}
body .content .inner .animation-block.block3 .layers .layer-dym4 {
    position:absolute;
    z-index:14;
    width:40%;
    height:auto;
    bottom:0%;
    right:0px;
    bottom:-50%;
}
body .content .inner .animation-block.block3 .layers .layer-dym4 img{
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}
body .content .inner .animation-block.block3 .layers .layer-boxy {
    position:absolute;
    z-index:50;
    top:50%;
    width:50%;
    left:0;
    right:0;
    margin-left:auto;
    margin-right:auto;
}
body .content .inner .animation-block.block3 .layers .layer-boxy ul {
    list-style:none;
    margin:0px;
    padding:0px;
    display:flex;
    border-radius:5px;
    overflow:hidden;
}
body .content .inner .animation-block.block3 .layers .layer-boxy ul li {
    color:white;
    font-size:40px;
    line-height:45px;
    font-weight:600;
    flex:0 0 33.33%;
    max-width:33.33%;
    text-align:center;
    background-color:rgba(0,0,0,.5);
    padding:30px;
}
body .content .inner .animation-block.block3 .layers .layer-boxy ul li span {
    display:block;
    color:#018ed2;
    font-size:16px;
    line-height:18px;
    text-transform:uppercase;
    margin-top:5px;
}

/* ZMENENÉ - používa CSS variable */
body .content .inner .animation-block.block2 {
    height: var(--section-height-block2);
    padding-top:75px;
}

body .content .inner .animation-block.block2 p {
    margin-left:auto;
    margin-right:auto;
    position:relative;
    z-index:10;
    left:0;
    right:0;
    margin-left:auto;
    margin-right:auto;
    /*bottom:-30%;*/
    transform: translateY(40px); /* počiatočný posun nadol */
    transition: none;
    opacity:0;
    margin-top:auto;
    margin-bottom:auto;
}
body .content .inner .animation-block.block2 p strong {
    display:block;
    font-size:35px;
    color:white;
    line-height:43px;
    text-transform:uppercase;
}
body .content .inner .animation-block.block4 .col1 {
    position:relative;
    left:-50%;
}
body .content .inner .animation-block.block4 .col2 h2,
body .content .inner .animation-block.block4 .col2 h3,
body .content .inner .animation-block.block4 .col2 p,
body .content .inner .animation-block.block4 .col2 a {
    opacity:0;
}
body .content .inner .animation-block.block4 .col2 .icon-list,
body .content .inner .animation-block.block5 .col1 .icon-list {
    position:relative;
    max-width:80%;
}
body .content .inner .animation-block.block4 .col2 .icon-list {
    margin-left:-60px;
}
body .content .inner .animation-block.block5 .col1 .icon-list {
    margin-right:-40px;
}
body .content .inner .animation-block.block5 .col1 .icon-list li .img-wrapper {
    aspect-ratio: 3 / 1;
    width: 100%;
    overflow: hidden;
}
body .content .inner .animation-block.block5 .col1 .icon-list li .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
body .content .inner .animation-block.block4 .col2 .icon-list li .img-wrapper {
    aspect-ratio: 6 / 5;
    width: 100%;
    overflow: hidden;
}
body .content .inner .animation-block.block4 .col2 .icon-list li .img-wrapper img {
    width: 60% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}
body .content .inner .animation-block.block5 .col1 .icon-list {
    margin-left:auto;
}

body .content .inner .animation-block.block4 .col2 .icon-list li {
    position:relative;
    margin-top:100%;
}

body .content .inner .animation-block.block5 .col2 {
    position:relative;
    right:-50%;
}
body .content .inner .animation-block.block5 .col1 h2,
body .content .inner .animation-block.block5 .col1 h3,
body .content .inner .animation-block.block5 .col1 p,
body .content .inner .animation-block.block5 .col1 a {
    opacity:0;
}
body .content .inner .animation-block.block5 .col1 .icon-list {
    position:relative;
}
body .content .inner .animation-block.block5 .col1 .icon-list li {
    position:relative;
    margin-top:100%;
}
body .content .inner .animation-block.block4 img {
    width:100%;
    position:relative;
    z-index:10;
}
body .content .inner .animation-block.block4 .col1 div {
    position:Relative;
    z-index:10;
    width:100%;
    height:100%;
}
/*body .content .inner .animation-block.block4 .col1 div:after {
    content:"";
    display:block;
    z-index:1;
    position:absolute;
    top:0px;
    right:0px;
    width:30%;
    height:100%;
    background-color:#121418;
    z-index:2;
}*/
/*body .content .inner .animation-block.block4 .col1 div:before {
    content:"";
    display:block;
    z-index:1;
    width:20%;
    height:22%;
    position:absolute;
    background:url('/fileadmin/templates/cine-max2024/img/imax/blok4/okuliare-background-2.jpg') no-repeat center center transparent;
    background-size:100% auto;
    left:80px;
    right:0;
    margin-left:auto;
    margin-right:auto;
    top:14%;
    transform-origin: center;
    transform: scale(1.1);
    clip-path: inset(0px round 8px);
}*/

/*Robot wrapper TEST*/
/* Wrapper sa prispôsobí obsahu */
body .content .inner .animation-block.block4 .col1 .robot-wrapper {
    position: relative;
    height: 100%;
    width: fit-content;
    margin: 0 auto;
    overflow: hidden;
}


body .content .inner .animation-block.block4 .col1 .robot-wrapper img {
    height: 100%;
     width: auto !important;
    display: block;
    position: relative;
    z-index: 5;
    /* Odstráň object-fit: contain — nepotrebujeme ho */
}

/* Teraz percentá sediac presne na obrázok */
body .content .inner .animation-block.block4 .col1 .okuliare-wrapper {
    position: absolute;
    overflow: hidden;
    z-index: 1;
    top: 10%;
    left: 20%;
    width: 100%;
    height: 40%;
}
body .content .inner .animation-block.block4 .col1 .okuliare-bg {
    width: 100%;
    height: 100%;
    background: url('/fileadmin/templates/cine-max2024/img/imax/blok4/okuliare-background-2.jpg')
                no-repeat center center;
    background-size: cover;
    transform: scale(0.7);
    transform-origin: center;
}

@keyframes okuliareZoom {
    0%   { transform: scale(0.7); }
    50%  { transform: scale(1.25); }
    100% { transform: scale(0.7); }
}

body .content .inner .animation-block.block4 .col1.zoom .okuliare-bg {
    animation: okuliareZoom 7000ms ease-in-out 1 forwards;
    animation-delay: 1000ms;
}

/* Mobile — inline-block sa scvrkne presne na obrázok */
@media (max-width: 768px) {
    body.imx-loaded .list-item {
        text-align:center;
    }
    body .content .inner .animation-block.block4 .col1 {
        text-align: center;
    }

    body .content .inner .animation-block.block4 .col1 .robot-wrapper {
        display: inline-block; /* kľúč — wrapper = veľkosť obrázka */
        height: auto;
        width: auto;
        position: relative;
        vertical-align: top;
    }

    body .content .inner .animation-block.block4 .col1 div.robot-wrapper img {
        width: auto !important;
        height: auto !important;
        max-height: 45vh; /* obmedzí výšku aby nebol príliš veľký */
        max-width: 100%;
        display: block;
    }
}

/*Robot wrapper TEST*/

/*body .content .inner .animation-block.block4 .col1.zoom div:before {
    transform: scale(1.07);
}*/
/* Pridaj keyframes */
/*@keyframes okuliareZoom {
    0%   { transform: scale(1.1); }
    50%  { transform: scale(1.6); }
    100% { transform: scale(1.1); }
}*/

/* Animácia sa spustí keď dostane triedu .zoom — rovnaký trigger ako predtým */
/*body .content .inner .animation-block.block4 .col1.zoom div:before {
    animation: okuliareZoom 5000ms ease-in-out forwards;
}*/
body .content .inner .animation-block.block5 .layer2 {
    position:absolute;
    z-index:10;
    width:100%;
    height:100%;
    transform: scale(0.2);
    transform-origin: center;
    transition: transform 1000ms ease;
}
body .content .inner .animation-block.block5 .layer2.scaled {
    transform: scale(1);
}
body .content .inner .animation-block.block5 .layer1 {
    position:relative;
    z-index:15;
    width:100%;
    height:100%;
}
.item {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.item-fast {
    transition: transform 0.05s ease-out;
}

.item-medium {
    transition: transform 0.1s ease-out;
}

.item-slow {
    transition: transform 0.2s ease-out;
}
body .animation-block .cover {
    display:none !important;
}
body .animation-block a.showed {
    opacity:1 !important;
}
body .animation-block a.showed:before,
body .animation-block .btn.showed:before {
    width: 100% !important;
    background-color:#018ed2 !important;
}
body .animation-block .btn.showed.reverse-btn:before {
    background-color:white !important;
}
body .animation-block .btn.showed.reverse-btn {
    border-color:white !important;
}
body .animation-block .btn.showed.reverse-btn span {
    color:#018ed2 !important;
}
body .animation-block .button span,
body .animation-block .btn span {
    text-transform:uppercase;
}
body .animation-block a.showed span,
body .animation-block .btn.showed span {
    color: white !important;
    position: relative;
    z-index: 10;
}
body .animation-block .btn span small {
    position:absolute;
    z-index:15;
    right:15px;
    top:0;
    bottom:0;
    margin-top:auto;
    margin-bottom:auto;
    width:20px;
    height:20px;
    background:url('/fileadmin/templates/cine-max2024/img/icons/arrow-right-icon.svg') no-repeat center center transparent;
    background-size:100% auto;
    opacity:0;
    transition: opacity 0.8s ease;
}
body .animation-block .btn.showed span small {
    opacity:1;
}
body .animation-block.block1 .btn:first-child span {
    padding-right:50px;
}
@media (min-width: 769px) and (min-height: 800px) {
    body .content .inner .animation-block.block3 {
        /*max-height:850px;*/
    }
}
@media (min-width: 769px) and (min-height: 800px) and (orientation: portrait) {
    body .content .inner .animation-block.block3 {
        max-height:800px;
    }
    body .content .inner .animation-block.block4 .col1 div::before {
        width: 60% !important;
    }
}

@media (min-height: 1200px) {
    body .content .inner .animation-block.block4 .col1 div::before {
        top:5%;
    }
}

/* ===========================================
   WIDTH-BASED MEDIA QUERIES - pôvodné
   =========================================== */
@media only screen and (max-width: 1700px) {
    body .content .inner .animation-block.block4 .col2 .icon-list, body .content .inner .animation-block.block5 .col1 .icon-list {
        max-width: 100%;
    }
}
@media only screen and (max-width: 1536px) {
    body .content .inner .animation-block.block4 .col2 .icon-list {
        margin-left:-50px;
    }
    body .content .inner .animation-block.block5 .col1 .icon-list {
        margin-right:-30px;
    }
    body .content .inner .animation-block.block4 .col1 div::before {
        width:39%;
    }
    body .content .inner .animation-block .icon-list li img {
        height: 109px;
        width: auto;
    }
    body .content .inner .animation-block.block4,
    body .content .inner .animation-block.block5 {
        height:85vh;
    }
    body .content .inner .animation-block.block3 .layers .layer-zemegula2 {
        background-position:center -250px;
        background-size:cover;
    }
    body .content .inner .animation-block.block4,
    body .content .inner .animation-block.block5 {
        padding-bottom:40px !important;
        margin-bottom:40px !important;
    }
    body .content .inner .animation-block h2 {
        font-size: 40px;
        line-height: 45px;
    }
    body .content .inner .animation-block h3 {
        font-size: 25px;
        line-height: 27px;
        margin-bottom:25px;
    }
    body .content .inner .animation-block.block2 p strong {
        font-size: 25px;
        line-height: 33px;
    }
}
@media only screen and (max-width: 1366px) {
    body .content .inner .animation-block.block4 .col2 .icon-list,
    body .content .inner .animation-block.block5 .col1 .icon-list {
        max-width:85%;
    }
    body .content .inner .animation-block .icon-list span {
        font-size: 18px;
    }
    body .content .inner .animation-block .icon-list span + span{
        font-size: 13px;
    }
    body .content .inner .animation-block.block4 .col1 div::before {
        width: 60%;
    }
}
@media only screen and (max-width: 1280px) {
    body .content .inner .animation-block.block3 .layers .layer-raketoplan {
        width:70%;
    }
    body .content .inner .animation-block.block3 .layers .layer-dym1 {
        width:90%;
    }
    body .content .inner .animation-block.block3 .layers .layer-dym2 {
        width:50%;
    }
    body .content .inner .animation-block.block3 .layers .layer-dym3 {
        width: 60%;
    }
    body .content .inner .animation-block.block3 .layers .layer-dym4 {
        width: 60%;
    }
    body .content .inner .animation-block.block3 .layers .layer-boxy {
        width: 70%;
    }
    body .content .inner .animation-block.block1 .layer-nadpis img{
        max-width:130%;
        left:-15%;
        position:relative;
    }
    body .content .inner .animation-block.block3 {
        height: 80vh;
        max-height:900px;
    }
    body .content .inner .animation-block.block4,
    body .content .inner .animation-block.block5 {
        height:65vh;
        max-height:700px;
        min-height:700px;
    }
}
@media only screen and (max-width: 1150px) {
    body .content .inner .animation-block.block4 .col2 .icon-list {
        margin-left:-40px;
    }
    body .content .inner .animation-block.block5 .col1 .icon-list {
        margin-right:-20px;
    }
    body .content .inner .animation-block.block4 .col2 .icon-list li,
    body .content .inner .animation-block.block5 .col1 .icon-list li {
        padding-left:5px;
        padding-right:5px;
    }
    body .content .inner .animation-block.block4 .col2 .icon-list li img,
    body .content .inner .animation-block.block5 .col1 .icon-list li img {
        max-width:70%;
    }
    body .content .inner .animation-block.block3 .layers .layer-zemegula2 {
        background-position:center -200px;
    }
    body .content .inner .animation-block p {
        font-size: 14px;
        line-height: 20px;
        text-transform: none;
        max-width: 90%;
    }
}
@media only screen and (max-width: 998px){
    body .content .inner .animation-block.block3 .layers .layer-napis > span {
        margin-right:10px;
    }
    body .content .inner .animation-block.block3 .layers .layer-napis > span:first-child {
        margin-right:30px;
    }
}
@media only screen and (max-width: 998px) and (orientation: landscape) {
    body .content .inner .animation-block.block2 p strong {
        font-size: 20px;
        line-height: 23px;
    }
    body .content .inner .animation-block.block2 {
        min-height:250px;
    }
    body .content .inner .animation-block.block4 .col1 div::before {
        width: 45%;
    }
    .animation-block img, .animation-block video, .animation-block canvas, .animation-block svg {
        max-height:100%;
    }
    body .content .inner .animation-block.block3 .layers .layer-zemegula2 {
        background-position: center -150px;
    }
    body .content .inner .animation-block.block1 {
        min-height:520px;
    }
    body .content .inner .animation-block.block3 {
        min-height:600px;
    }
    body .content .inner .block7 h2 {
        font-size: 35px;
        line-height: 40px;
    }
}
@media only screen and (max-width: 1024px) {
    body .content .inner .animation-block.block4 .col2 .icon-list {
        margin-left:-30px;
    }
    body .content .inner .animation-block.block5 .col1 .icon-list {
        margin-right:-20px;
    }
    body .content .inner .animation-block.block4 .col2 .icon-list,
    body .content .inner .animation-block.block5 .col1 .icon-list {
        max-width:95%;
    }
    body .content .inner .animation-block.block3 .layers .layer-zemegula2 {
        background-size: 130% auto;
    }
    body .content .inner .animation-block.block5 .col p br {
        display:none;
    }
}

@media only screen and (max-width: 768px) {
    body .content .inner .block7 {
        padding-bottom:5rem;
    }
    body .content .inner .animation-block.block1 .layer-zemegula {
        height: 900px;
        max-height: 900px;
        bottom: -600px;
    }
    body .content .inner .animation-block .btn {
        font-size:1rem;
    }
    body .content .inner .animation-block.block4 .col2 .icon-list {
        margin-left:0px;
    }
    body .content .inner .animation-block.block5 .col1 .icon-list {
        margin-right:0px;
    }
    body .content .inner .animation-block.block4 .col2 .icon-list,
    body .content .inner .animation-block.block5 .col1 .icon-list {
        max-width:100%;
        justify-content:center;
    }
    body .content .inner .animation-block.block4 .col1,
    body .content .inner .animation-block.block4 .col2,
    body .content .inner .animation-block.block5 .col1,
    body .content .inner .animation-block.block5 .col2 {
        width:100% !important;
    }
    body .content .inner .animation-block.block4 .col1 img {
        max-width:40%
    }
    body .content .inner .animation-block.block5 .col2 img {
        max-width:40%
    }
    body .content .inner .animation-block.block5 .col1,
    body .content .inner .animation-block.block4 .col2 {
        text-align:Center;
    }
    body .content .inner .animation-block.block4 .col2 p {
        max-width:100%;
    }
    body .content .inner .animation-block.block4 .col1 {
        left:-100%;
        margin-bottom:50px;
    }
    body .content .inner .animation-block.block5 .col1 {
        text-align:Center;
    }
    body .content .inner .animation-block.block5 .col2 {
        margin-bottom:50px;
        right:-100%;
    }
    body .content .inner .animation-block.block5 .col1 p {
        max-width:100%;
        text-align:Center;
    }
    body .content .inner .animation-block.block5 > .row {
        flex-direction:column-reverse;
    }
    body .content .inner .animation-block.block6 {
        margin-bottom:30px;
    }
    body .content .inner .animation-block.block4 .col1 div::before {
        left:0px;
        width:30%;
    }
    body .content .inner .animation-block.block5,
    body .content .inner .animation-block.block5 > .row,
    body .content .inner .animation-block.block4,
    body .content .inner .animation-block.block4 > .row {
        height:auto !important;
    }
    body .content .inner .animation-block.block4 > .row,
    body .content .inner .animation-block.block5 > .row {
        margin-left:0px;
        margin-right:0px;
    }
    body .animation-block .btn span small {
        right:7.5px;
        width: 15px;
        height: 15px;
    }
    body .content .inner .animation-block.block3 .layers .layer-boxy ul li {
        padding:15px;
        font-size: 35px;
        line-height: 40px;
    }
    body .content .inner .animation-block.block3 .layers .layer-boxy ul li span {
        font-size: 14px;
        line-height: 16px;
    }
    body .content .inner .animation-block.block3 .layers .layer-boxy {
        width: 90%;
    }
    body .content .inner .animation-block.block2 p strong {
        font-size: 20px;
        line-height: 27px;
    }
    body .content .inner .animation-block.block2 {
        padding-top:30px;
    }
    body .content .animation-block.block1 .btn.wrapped span {
        padding: 5px 30px 5px 30px;
    }
    body .content .inner .animation-block.block1 .layer-nadpis img{
        max-width:130%;
        left:-15%;
        position:relative;
    }
    body .content .inner .animation-block.block1 .layer-nadpis {
        left:-90%;
    }
    body .content .inner .animation-block.block1 .layer-black-cover {
        width:200%;
        left:0px;
    }
    body .content .inner .animation-block.block3 {
        height: 70vh;
    }
     body .content .inner .animation-block.block3 .layers .layer-zemegula2 {
        background-position: center -190px;
    }
    body .content .inner .animation-block p {
        font-size: 14px;
        line-height: 20px;
    }
    body .content .inner .animation-block.block4,
    body .content .inner .animation-block.block5 {
        height:65vh;
    }
    body .content .inner .animation-block .icon-list li img {
        height: 60px;
    }
    body .content .inner .animation-block .icon-list span {
        font-size: 14px;
    }
    body .content .inner .animation-block .icon-list span + span {
        font-size: 11px;
    }
}

/* ===========================================
   HEIGHT-BASED MEDIA QUERIES - pôvodné
   =========================================== */
@media (max-height: 960px) {
    body .content .inner .animation-block.block2{
        height:35vh;
    }
    body .content .inner .animation-block.block1{
        height:70vh;
    }
    body .content .inner .animation-block h3 {
        margin-bottom:45px;
    }
    body .content .inner .animation-block p {
        font-size:17px;
        line-height:20px;
    }
    body .content .inner .animation-block .icon-list span {
        font-size:25px;
    }
}

@media (max-height: 900px) {
    body .content .inner .animation-block.block2{
        height:36vh;
    }
    body .content .inner .animation-block.block1{
        height:73vh;
    }
    body .content .inner .animation-block h3 {
        margin-bottom:35px;
    }
    body .content .inner .animation-block p {
        font-size:16px;
        line-height:19px;
    }
    body .content .inner .animation-block .icon-list span {
        font-size:23px;
    }
    body .content .inner .animation-block .icon-list {
        margin-top:40px;
    }
}

/* ===========================================
   ASPECT-RATIO OVERRIDES pre portrait
   Tieto prepisujú vh hodnoty na portrait zariadeniach
   =========================================== */
@media (max-aspect-ratio: 1/1) {
    body .content .inner .animation-block {
        height: var(--section-height-default);
    }

    body .content .inner .animation-block.block1 {
        height: var(--section-height-block1);
    }

    body .content .inner .animation-block.block2 {
        height: var(--section-height-block2);
    }

    body .content .inner .animation-block.block3 {
        height: var(--section-height-block3);
        max-height: none;
    }

    body .content .inner .animation-block.block4,
    body .content .inner .animation-block.block5 {
        height: var(--section-height-block4);
        max-height: none;
        min-height: auto;
    }

    body .content .inner .animation-block.block4 > .row,
    body .content .inner .animation-block.block5 > .row {
        height: var(--section-height-block4);
    }

    /* Block 6 a 8 zostávajú auto */
    body .content .inner .animation-block.block6 {
        height: auto;
    }

    body .content .inner .animation-block.block8 {
        height: auto;
        min-height: 0;
    }
}

/* Extreme portrait - dodatočné úpravy */
@media (max-aspect-ratio: 9/16) {
    body .content .inner .animation-block {
        height: var(--section-height-default);
    }

    body .content .inner .animation-block.block1 {
        height: var(--section-height-block1);
    }

    body .content .inner .animation-block.block2 {
        height: var(--section-height-block2);
    }

    body .content .inner .animation-block.block3 {
        height: var(--section-height-block3);
    }

    body .content .inner .animation-block.block4,
    body .content .inner .animation-block.block5 {
        height: var(--section-height-block4);
    }

    body .content .inner .animation-block.block4 > .row,
    body .content .inner .animation-block.block5 > .row {
        height: var(--section-height-block4);
    }

    /* Block 8 vždy auto */
    body .content .inner .animation-block.block8 {
        height: auto;
        min-height: 0;
    }
}

@media only screen and (max-width: 650px) {
    body .content .inner .animation-block.block3 {
        padding-left:0px;
        padding-right:0px;
        /*margin-left:-2.5%;
        margin-right:-2.5%;
        width: 105%;*/
        margin-bottom: 50px;
    }
    body .content .inner .animation-block.block8 {
        margin-bottom: 50px;
    }
    body .content .animation-block .btn.wrapped span {
        padding-top:5px;
        padding-bottom:5px;
    }
    body .content .inner .animation-block.block6 {
        padding-left:0px;
        padding-right:0px;
    }
    body .content .inner .animation-block.block6 > .row {
        /*width:100%;
        margin-left:0px;
        margin-right:0px;*/
    }
    body .content .inner .animation-block.block3 .layers .layer-zemegula2 {
        background-position: center -140px;
        background-size: 150% auto;
    }
    body .content .inner .animation-block p {
        font-size: 14px;
        line-height: 16px;
    }
    body .content .inner .animation-block .icon-list li {
        padding-left: 10px;
        padding-right: 10px;
    }
    body .content .inner .animation-block .icon-list span {
        font-size:16px;
    }
    body .content .inner .animation-block.block4 .col1 img {
        max-width: 60%;
    }
    body .content .inner .animation-block.block5 .col2 img {
        max-width: 60%;
    }
    body .content .inner .animation-block.block5 p br{
        display:none;
    }
     body .content .inner .animation-block h2 {
        font-size: 30px;
        line-height: 35px;
    }
    body .content .inner .animation-block h3 {
        font-size: 20px;
        line-height: 24px;
    }
     body .content .animation-block.block1 .btn.wrapped span {
        padding: 5px 20px 5px 20px;
        min-width:150px;
    }
     body .animation-block .btn span small {
        right: 5px;
        width: 13px;
        height: 13px;
    }
    body .content .inner .animation-block.block1 .layer-button {
        left:0px !important;
    }
    body .content .inner .block7 h2 {
        font-size: 30px;
        line-height: 35px;
    }
     body .content .inner .animation-block.block2 p strong {
        font-size: 18px;
        line-height: 23px;
    }
    body .content .inner .animation-block.block3 .layers .layer-raketoplan {
        left:50px;
        width:100%;
        transform:none;
    }
    body .content .inner .animation-block.block3 .layers .layer-boxy ul li {
        padding: 10px;
        font-size: 25px;
        line-height: 30px;
    }
    body .content .inner .animation-block p {
        max-width:100%;
    }
}
@media only screen and (max-width: 450px) {
     body .content .inner .animation-block.block2 p strong {
        font-size: 15px;
        line-height: 18px;
    }
    body .content .inner .animation-block.block2 p br,
    body .content .inner .animation-block.block2 p strong br {
        display:none;
    }
}

/* ===========================================
   PORTRAIT ≤ 500px – block1 + block2 na jednej obrazovke
   Block1 sa zmenší, block2 je hneď viditeľný.
   Block3 na celú výšku viewportu.
   Animácie sa spúšťajú sekvenčne cez JS.
   =========================================== */
@media (max-width: 500px) and (max-aspect-ratio: 1/1) {
    :root {
        --section-height-block1: 47vh;
        --section-height-block2: 25vh;
        --section-height-block3: 80vh;
    }
    body .content .inner .animation-block.block3 .layers .layer-dym4,
    body .content .inner .animation-block.block3 .layers .layer-dym3 {
        z-index:16;
    }
    body .content .inner .animation-block.block3 .layers .layer-dym4 {
        right:-1px
    }
    body .content .inner .animation-block.block3 .layers .layer-raketoplan {
        background-size:auto 100%;
    }
    body .content .inner .animation-block.block1 {
        height: var(--section-height-block1);
        min-height: 240px;
    }

    body .content .inner .animation-block.block3 {
        height: var(--section-height-block3);
        max-height: none;
        min-height: 0;
        background-color:black;
    }

    body .content .inner .animation-block.block2 {
        padding-top: 20px;
        max-height:300px;
    }
    body .content .inner .animation-block.block3 .layers .layer-zemegula2 {
        /*background-size: 200% auto;*/
        background-size: cover;
    }
    /* Tlačidlo v block1 posunúť vyššie keďže je menej miesta */
    body .content .inner .animation-block.block1 .layer-button {
        bottom: 25%;
    }

    /* Nadpis v block1 posunúť nižšie */
    body .content .inner .animation-block.block1 .layer-nadpis {
        top: 60px;
    }
}
@media (max-width: 600px) {
    body .content .inner .animation-block.block3 .layers .layer-napis > span {
        margin-right:7.5px;
    }
    body .content .inner .animation-block.block3 .layers .layer-napis > span:first-child {
        margin-right:20px;
    }
}

@media (max-width: 480px) {
    body .content .inner .animation-block.block1 .layer-zemegula {
        height: 700px;
        max-height: 700px;
        bottom: -500px;
    }
}
@media (max-width: 330px) {
    body .content .inner .animation-block.block1 .layer-button a + a{
        margin-left:.5rem !important;
    }
}
