/* přiblížení/zvětšení img v divu */
.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;
    }
    @keyframes posun {
        0%   {transform: scale3d(.8, .8, .8);}
        100% {transform: scale3d(1, 1, 1);}
    }
    .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%
    }
    .photo-animation {
        position: relative;
        left: -80px;
        top: -80px;
        width: 160%;
        height: 160%;
        overflow: hidden;
        -webkit-animation: posun 5s linear;
        -webkit-animation-iteration-count: infinite;
        -webkit-animation-direction: alternate;
        animation: posun 5s linear;
        animation-iteration-count: infinite;
        animation-direction: alternate;
    }
}
@media screen and (min-width: 576px) {
    .my-video {
        visibility: visible !important;
    }
    .home-photo {
        visibility: hidden !important;
        display: none !important;

    }
}