.hero {
    position: relative;

    width: 100%;
    height: auto;

    overflow: hidden;
}

.hero_container {
    width: 100%;
    height: 100%;
    padding: calc(var(--vh) * 14) 4% calc(var(--vh) * 10);

    background-color: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);

    animation: blurOut 1s ease-in-out forwards;
    animation-delay: 3s; /* Time before video starts play -> change in hero.php, hero_bg.css TimeOut to the same time */
}





.hero_bg {
    position: absolute;
    inset: 0;
    z-index: -10;

    overflow: hidden;
}

.bg_photo {
    width: 100%;
    height: 100%;

    background-image: url(../img/bg_concrete.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 20% 100%;

    opacity: 1;
    animation: fade_out 1s ease forwards;
    animation-delay: 3s; /* Time before video starts play -> change in hero.php, hero.css TimeOut to the same time */
}

.podlahove_studio .bg_photo {
    background-image: url(../img/main_floor.webp);
    animation: none;
}

.bg_video {
    position: absolute;
    inset: 0;
    z-index: -10;

    height: 102%;

    opacity: 0;
    animation: fade_in 1s ease forwards;
    animation-delay: 3.8s;

    filter: brightness(.6);
}




.hero_headline {
    margin-bottom: max(calc(var(--vh) * 4), 12px);
}

.hero_text {
    padding: 4% 8% 0;
}

.hero_text p {
    margin-bottom: var(--fs-hero_text);
}

.hero_text p:first-child {
    font-weight: 500;
}

.more {
    display: flex;
    justify-content: center;
    align-items: center;

    margin: auto;
    margin-top: max(calc(var(--vh) * 6), 24px);
}









/* ------------------------------------------------------ MOBILE HORIZONTAL --------------------------- */
@media (orientation: landscape) and (max-height: 500px) {
    .hero_container {
        width: 100vw;
        padding: calc(var(--vh) * 22) 8% calc(var(--vh) * 12);
    }

    .bg_video {
        width: 102%;
        height: auto;
    }

    .more {
        margin-top: max(calc(var(--vh) * 12), 36px);
    }
}









/* ---------------------------------------------------------- TABLET ---------------------------------- */
@media (min-width: 768px) and (orientation: portrait) {
    .hero_container {
        width: 100vw;
        padding: calc(var(--vh) * 18) 8% calc(var(--vh) * 8);
    }

    .bg_video {
        min-width: 102%;
        height: auto;
    }

    .hero_text {
        padding: 6% 8%;
    }

    .hero_text p {
        margin-bottom: var(--fs-hero_text);
    }
}









/* -------------------------------------------------- NOTEBOOK ------------------------------------ */
@media (min-width: 1024px) {
    .hero_container {
        padding: calc(var(--vh) * 18) 4% calc(var(--vh) * 10);
    }

    .bg_video {
        width: 102%;
        height: auto;
    }

    .hero_text {
        width: 86%;
        padding-left: 20%;
        padding-top: 4%;
    }

    .more {
        margin-left: 0;
    }
}









/* --------------------------------------------------- DELL ------------------------------------- */
@media (min-width: 1200px) {
    .hero, .hero_container {
        /* min-height: calc(var(--vh) * 92); */
        min-height: auto;
    }

    .hero_text {
        width: 90%;
        padding-left: 16%;
    }

    .hero .font_headline {
        opacity: 0;
    }

    .hero .font_headline.podlahy {
        opacity: 1;
    }
}









/* ----------------------------------------------------- Standard Display ----------------------------- */
@media (min-width: 1440px) {
    .hero_text {
        padding: 4% 16% 0 20%;
    }
}