@charset "UTF-8";
/* snippet-banner-full-viewport-video START */
#snippet-banner-full-viewport-video {
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
    background-color: var(--bs-secondary);

    #banner-video-vid {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: 100%;
        height: auto;
        z-index: 0;
        transform: translateX(-50%) translateY(-50%);
    }
    .bg-overlay {
        z-index: 1;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: linear-gradient(to bottom, rgba(0,0,0, 0.8), rgba(0, 0, 0, 0.2));
    }
    .fill-body {
        fill: var(--bs-body-bg);
    }

    /* butoane */
    .btn { transition: background-color .3s ease, color .3s ease, transform .3s ease; }
    .btn:hover, .btn:focus-visible { transform: translateY(-3px); }
    .btn-primary:hover, .btn-primary:focus-visible {
        background-color: #fff;
        border-color: #fff;
        color: var(--bs-secondary) !important;
    }
    .btn-outline-light:hover, .btn-outline-light:focus-visible {
        background-color: var(--bs-primary);
        border-color: var(--bs-primary);
        color: var(--bs-secondary) !important;
    }
    .typewrite-h { padding: 12px 0; }
    .buttons { padding: 20px 0; }

    /* bara de contact de jos */
    aside {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2;
        background: rgba(var(--bs-secondary-rgb), .65);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, .15);
    }
    aside a:hover, aside a:focus-visible { color: var(--bs-primary) !important; }
}
@media (max-width: 768px) {
    #snippet-banner-full-viewport-video {
        height: auto;
        min-height: 0;
        padding-bottom: 0;
        aside { position: relative; margin-top: 1.5rem; }
    }
}
@media (max-aspect-ratio: 16/9) {
    #banner-video-vid {
        width: auto !important;
        height: 100% !important;
    }
}

/* start text animation */
#snippet-banner-full-viewport-video .typewrite-h {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.5rem;
    font-size: clamp(1.9rem, 4.2vw + .4rem, 3.6rem);
    line-height: 1.15;
}
#snippet-banner-full-viewport-video .typewrite-h .typewrite {
    position: relative;
    display: inline-block;
    min-height: 2.5rem;
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
}
#snippet-banner-full-viewport-video .typewrite-h .typewrite .wrap {
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInOut 4s ease-in-out infinite;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#snippet-banner-full-viewport-video .typewrite-h .text-white {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 1s;
    white-space: nowrap;
    font-weight: 300;
}
#snippet-banner-full-viewport-video h2.fw-light {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.5s;
    min-height: 2rem;
}
#snippet-banner-full-viewport-video h2.fw-light .tagline {
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInOut 4s ease-in-out infinite;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 767.98px) {
    #snippet-banner-full-viewport-video .typewrite-h { flex-wrap: wrap; justify-content: center; }
    #snippet-banner-full-viewport-video .typewrite-h .typewrite { white-space: normal; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes fadeInOut {
    0%, 100% { opacity: 0; transform: translateY(20px); }
    5%, 95%  { opacity: 1; transform: translateY(0); }
}
/* end text animation */

@media (prefers-reduced-motion: reduce) {
    #snippet-banner-full-viewport-video .typewrite-h,
    #snippet-banner-full-viewport-video .typewrite-h .text-white,
    #snippet-banner-full-viewport-video .typewrite-h .wrap,
    #snippet-banner-full-viewport-video h2.fw-light,
    #snippet-banner-full-viewport-video h2.fw-light .tagline {
        animation: none;
        opacity: 1;
        transform: none;
    }
    #snippet-banner-full-viewport-video .btn:hover { transform: none; }
}
/* snippet-banner-full-viewport-video END */