.home-slider {
    width: 100%;
    position: relative;
}

.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 50vh;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content {
    position: relative;
    z-index: 1;
    width: 70%;
    padding: 32% 6% 10% 35%;
    text-align: center;
}

.content1 {
    position: relative;
    z-index: 1;
    width: 70%;
    padding: 45% 6% 10% 35%;
    text-align: left;
}

.text h2 {
    font-size: 24px;
    margin-bottom: 10px;
}


@media (max-width: 768px) {
    .content {
        padding: 10px;
    }

    .video-background {
        min-height: 40vh;
    }

    .text h2 {
        font-size: 18px;
    }

    .btn {
        font-size: 14px;
    }

    .intro-btn {
        width: 10%;
        /* o el tamaño que desees */
        font-size: 12px;
        /* o el tamaño que desees */
    }
}

@media (max-width: 768px) {
    .swiper-slide.mobile-layout {
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .video-background {
        height: 100%;
    }

    video {
        margin-top: 10%;
        width: 100%;
        height: auto;
    }

    .content {
        margin-top: 50%;
        margin: auto;
    }

    .intro-btn {
        margin-top: 100%;
        width: 70%;
    }
}

@media (max-width: 400px) {
    .video-background {
        min-height: 50vh;
    }
}