/* přiblížení/zvětšení img v divu */
.animate { 
    overflow: hidden; 
}
@keyframes zoomin {
    0%   {transform: scale3d(1, 1, 1);}
    100% {transform: scale3d(1.1, 1.1, 1.1);}
}
@keyframes zoomin-2 {
    0%   {transform: scale3d(1, 1, 1);}
    100% {transform: scale3d(1.8, 1.8, 1.8);}
}
.zoomin {
    position: relative;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    -webkit-animation: zoomin 8s linear;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
    -webkit-animation-play-state: paused;
    animation: zoomin 8s linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-play-state: paused; 
    /* 
    animation-delay: 0s;
    */ }
.zoomin-2 {
    position: relative;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    -webkit-animation: zoomin-2 8s linear;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
    -webkit-animation-play-state: paused;
    animation: zoomin-2 8s linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-play-state: paused; 
}

@keyframes shiftright {
    0%   {transform: scale3d(1.05, 1.05, 1.05) translateX(-2%);}
    100% {transform: scale3d(1.05, 1.05, 1.05) translateX(2%);}
}
.shiftright {
    position: relative;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    -webkit-animation: shiftright 8s linear;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
    -webkit-animation-play-state: paused;
    animation: shiftright 8s linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-play-state: paused;  
    /* 
    */
}
@keyframes shifttop {
    0%   {transform: scale3d(1.1, 1.1, 1.1) translateY(-3%);}
    100% {transform: scale3d(1.1, 1.1, 1.1) translateY(3%);}
}
.shifttop {
    position: relative;
    left: 0px;
    top: 0px;
    width: 200%;
    height: 200%;
    overflow: hidden;
    -webkit-animation: shifttop 8s linear;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
    -webkit-animation-play-state: paused;
    animation: shifttop 8s linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-play-state: paused; 
    /*
    */
}

@keyframes shifttopright {
    0% {transform: scale3d(1.1, 1.1, 1.1) translateX(-4%) translateY(4%);}
    100% {transform: scale3d(1.1, 1.1, 1.1) translateX(4%) translateY(-4%);}
}
.shifttopright {
    position: relative;
    left: 0px;
    top: 0px;
    width: 200%;
    height: 200%;
    overflow: hidden;
    -webkit-animation: shifttopright 8s linear;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
    -webkit-animation-play-state: paused;
    animation: shifttopright 8s linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-play-state: paused; 
    /*
    */
}


/* ============== */

.highlight { 
    overflow: hidden; 
}
.highlight img {
    max-width: 100%;
    -webkit-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
}
.highlight:hover img {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    transition: all 0.5s ease 0s;
}
.highlight .highlight-content {
    z-index: 51;
    opacity: 0;
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    padding: 25% 10% 0% 10%;
    transition: all 0.5s ease 0s;
    overflow: hidden; 
}
.highlight:hover .highlight-content h3 {
    color: #ffffff;
    padding-bottom: 10px;
}
.highlight:hover .highlight-content p {
    color: #ffffff;
    line-height: 1.2;
}
.highlight-btn {
    padding: 5px 24px;
    border: 1px #ffffff solid;
}
.highlight:hover .highlight-content {
    background-color: rgb(0, 0, 0, 0.8);
    color: #ffffff;
    opacity: 1;
    transition: all 0.5s ease 0s;
}



/* animace pohybu na fotce a vypínání zobrazení videa v mobilním prohlížeči */
@media screen and (max-width: 575px) {
    .my-video {
        /* visibility: hidden !important;*/ 
        display: none !important;
    }
    /*todo nastavit správně výšku pro mobily */
    .hero-area {
        height: 300px;
    }
    .video-container {
        height: 300px;
    }
    .home-photo {
        visibility: visible !important;
        z-index: 50;
        width: 100%;
        height: 350px;
        overflow: hidden;
    }
    .home-text {
        position: absolute;
        top: 240px;
        left: 25px;
        z-index:51;
        width:100%;
        height:100%;
        color: #ffffff;
    }
    .home-text h1 {
        font-family: 'Calibri', sans-serif; 
        font-weight: 600;
        color: #ffffff;
    }
    .home-text span {
        font-family: "futura",  Arial, Helvetica, sans-serif;
        color: #ffffff;
        margin-top: 0;
        font-size:150%
    }
}
@media screen and (min-width: 576px) {
    .my-video {
        visibility: visible !important;
    }
    .home-photo {
        visibility: hidden !important;
        display: none !important;

    }   
}