/* LANDING VIDEO */
.video-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
    background-image: url("../img/video_background.jpg");
    background-position-y: center;
}

.content-overlay {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    align-content: center;
    padding: 1em 2em;
}

.video-filter {
    background: rgba(0, 0, 80, 67%);
}

/* LANDING HEADLINE + TEXT */
.landing-content {
    z-index: 2;
    max-width: 1400px;
    margin: auto;
    margin-bottom: 3em;
    align-content: center;
}

.landing-headline {
    font-size: 3.8em;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 0.5em;
    transition: all 0.2s ease-in-out;
}

.landing-subheadline {
    font-size: 2.2em;
    margin-bottom: 1em;
    transition: all 0.2s ease-in-out;
}

.landing-text {
    font-size: 1.2em;
    margin: 3em 0;
    transition: all 0.2s ease-in-out;
}

.btn-cta {
    border: 0;
    border-radius: 2em !important;
    color: #FFFFFF !important;
    font-weight: 600;
    background: #390;
    transition: all 0.15s ease-in-out;
}

.btn-cta:hover {
    text-decoration: none;
    box-shadow: 0.1em 0.2em 0em rgb(66, 207, 10);
}

.scroll-arrow {
    width: 50px;
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    transition: all 0.2s ease-out;
    animation: arrowJump 1.5s ease-in-out infinite;
}

@keyframes arrowJump {
    0% {
        bottom: 60px;
    }

    50% {
        bottom: 80px;
    }

    100% {
        bottom: 60px;
    }
}

.rounded-corners {
    border-radius: 0.5em;
}

.w100-section {
    padding: 8vh 0;
}

/* MARQUEE WITH TECHNOLOGIES */
.marquee-wrapper {
    margin-top: 3em;
    max-width: 100%;
    overflow: hidden;
}

.marquee {
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.marquee-content {
    display: inline-flex;
}

.technology-card {
    color: white;
    font-size: 1.25em;
    display: flex;
    gap: 0.5em;
    align-items: center;
    margin-left: 5em;
}

.technology-card img {
    width: 64px;
    transition: all 0.2s ease-in-out;
}

/* USECASES */
#usecasesCarousel {
    padding: 6em 0 3em 0;
}

.usecase-card {
    width: 75%;
    height: auto;
    max-width: 800px;
    flex-direction: column;
}

.usecase-headline {
    font-size: 1.75em;
    text-align: left;
    margin-bottom: 1em;
}

.usecase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.usecase-result {
    display: flex;
    margin: 0.5em 0;
}

.usecase-result img {
    width: 48px;
    filter: brightness(60%) sepia(100) saturate(100) hue-rotate(225deg);
}

.usecase-result p {
    font-size: 1.3em;
    margin: auto 0 auto 1em;
    text-align: left;
}

/* TESTIMONIALS */
#testimonialsCarousel {
    flex-direction: column;
}

.testimonial-card {
    width: 80%;
    max-width: 1000px;
    min-height: 450px;
    margin: 0 auto;
    padding: 0 3rem;
}

.testimonial-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-size: 1.5em;
    font-weight: 300;
}

.testimonial-person {
    font-size: 1.25em;
    font-weight: 500;
    float: right;
    margin-right: 1em;
    margin-bottom: 0;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 1000px) {
    .landing-headline {
        font-size: 3.2em;
    }

    .landing-subheadline {
        font-size: 2.0em;
    }

    .landing-text {
        font-size: 1.2em;
    }

    .testimonial-card {
        max-width: 750px;
    }

    .testimonial-text {
        font-size: 1.25em;
        font-weight: 300;
        margin-top: 1rem;
    }

    .testimonial-person {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .landing-content {
        text-align: center;
    }

    .w100-section {
        padding: 8vh 2em;
    }

    .landing-headline {
        font-size: 2.6em;
    }

    .landing-subheadline {
        font-size: 1.8em;
    }

    .landing-text {
        font-size: 1.1em;
    }

    .technology-card {
        margin-left: 3em;
    }

    .technology-card img {
        width: 48px;
    }

    .carousel-item .btn-lg {
        font-size: 1.1em;
        font-weight: 400;
    }

    .scroll-arrow {
        width: 42px;
    }

    .usecase-result {
        margin: 0.3em 0;
    }

    .usecase-result img {
        width: 42px;
    }

    .usecase-result p {
        font-size: 1.2em;
        margin: auto 0 auto 0.5em;
    }

    .carousel-item .btn-lg {
        font-size: 1.0em;
        font-weight: 500;
    }

    .use-case-img {
        max-height: 35vh;
        max-width: 100%;
        width: unset;
    }
}