/* Ported verbatim from it44-mov-slider/assets/css/style.css (homepage video hero) */

.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 1080px;
    overflow: hidden;
    background: #0f172a;
}

#video1, #video2 {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 1;
}

.text-overlay {
    font-size: 20px;
    text-align: center;
    opacity: 0;
    color: white;
}

@media (max-width: 768px) {
    .video-container video {
        height: auto;
        min-height: 430px;
    }
}

.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease-in-out, visibility 0s 0s;
}

.deactive {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 0s 1s;
}

.custom-wrapper-container {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 1080px;
    overflow: hidden;
    z-index: 10;
}

.custom-wrapper-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
}

.custom-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0 auto;
    width: 80%;
    max-width: 1400px;
    z-index: 3;
}

.custom-col-r {
    padding: 30px;
    max-width: 100%;
    border-radius: 10px;
    backdrop-filter: blur(3px);
    transform: translateY(0);
    transition: transform 0.3s ease;
    margin-top: -50px;
    width: 100%;
    text-transform: uppercase;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.custom-col-r:hover {
    transform: translateY(-3px);
}

.hero-main-text {
    font-size: 50px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 8px;
    line-height: 60px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    word-spacing: 8px;
}

.hero-sub-text {
    font-size: 1.3em;
    font-weight: 400;
    color: #e8f4fd;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    max-width: 100%;
}

@media (max-width: 768px) {
    .custom-container {
        flex-direction: column;
        padding: 5px;
        width: 100%;
    }
    .hero-main-text {
        font-size: 32px;
        line-height: 38px;
    }
    .hero-sub-text {
        font-size: 1.1em;
    }
    .custom-col-r {
        margin-top: -30px;
    }
}
