/* SLIDE LOGOS */
@-webkit-keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 7));
    }
}

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

    100% {
        transform: translateX(calc(-250px * 28));
    }
}

.slider {
    background: white;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 1440px;
}

.slider::before,
.slider::after {
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 100px;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.slider::before {
    left: 0;
    top: 0;
}

.slider .slide-track {
    -webkit-animation: scroll 40s linear infinite;
    animation: scroll 40s linear infinite;
    display: flex;
    width: calc(250px * 14);
}

.slider .slide {
    height: 100px;
    width: 250px;
}

/* TERMINA SLIDE LOGOS */
/* SITE */
body

        #back-video {
    position: fixed;
    top: 64;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

font-family: 'Montserrat', sans-serif;

a {
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    text-decoration: none;
}

nav.navbar {
    border-bottom: 1px solid #333;
}

.banner-section {
    position: relative;
    overflow: hidden;
}

img.banner-image {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
}

.banner-text {
    margin: -5px 0;
}

.floating-title {
    position: absolute;
    top: 0%;
    left: 50%;
    font-size: 17vmin;
    font-weight: 800;
    opacity: 0.1;
    max-width: 900px;
    z-index: -2;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

main {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

a.event-main-link {
    background: white;
    color: black;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

a.event-main-link img {
    height: 500px;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

a.event-main-link:hover {
    background: -webkit-gradient(linear, left top, right top, from(#b92b27), to(#1565c0));
    background: -webkit-linear-gradient(left, #b92b27, #1565c0);
    background: -o-linear-gradient(left, #b92b27, #1565c0);
    background: linear-gradient(to right, #b92b27, #1565c0);
    background-color: gray;
    color: white;
}

a.event-link {
    color: white;
    padding: 1.5rem;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

a.event-link:hover {
    color: black;
    background-color: white;
}

a.event-link img {
    height: 350px;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

a.see-more {
    font-size: 1rem;
    font-weight: 500;
    display: inline-block;
    background: white;
    color: #000000;
    padding: 0.3rem 1rem;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    border: 2px solid white;
    text-decoration: none;
}

a.see-more:hover {
    background: black;
    color: white;
}

a.see-more.btn-big {
    font-size: 1.25rem;
    padding: 0.5rem 1.2rem;
}

.h-scrolling-block {
    width: 100%;
}

@media (min-width: 992px) {
    .h-scrolling-block {
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: -1;
    }
}

.h-scrolling-block > .row {
    min-width: 1200px;
}

.h-scrolling-block img {
    height: 240px;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    padding: 0px;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.social-links a {
    font-size: 1.5rem;
    background-color: black;
    color: white;
    border: 2px solid black;
}

.social-links a:hover {
    color: black;
    background-color: white;
}

.go-to-top {
    position: fixed;
    right: 50%;
    bottom: 0px;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
    background-color: black;
    color: white;
    border: none;
    font-size: 1.5rem;
    padding: 0rem 0.5rem;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.go-to-top:hover {
    color: white;
    background-color: #555;
}

.bg-black {
    background: #111111;
}

/* === VIDEO DE FONDO CORREGIDO === */
#video-background {
    position: absolute;

    /* en lugar de fixed */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;

    /* justo debajo del texto pero sobre el fondo */
}

#video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.95);
    transform: scale(1.05);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

/* === CAPA DE MÁSCARA Y TEXTO === */
.banner-overlay {
    position: relative;
    z-index: 2;

    /* sobre el video */
    pointer-events: none;
    overflow: hidden;
}

.banner-overlay .bg-black {
    background-color: #000;
    transition: transform 1.2s ease;
}

.banner-overlay .banner-text {
    transition: opacity 1s ease, transform 1s ease;
    opacity: 1;
    transform: translateY(0);
    will-change: opacity, transform;
    pointer-events: auto;
}

/* === ESTADO DURANTE EL SCROLL === */
body.scrolled #video-background video {
    transform: scale(1);
    opacity: 1;
}

body.scrolled .banner-overlay .bg-black:first-child {
    transform: translateY(-100%);
}

body.scrolled .banner-overlay .bg-black:last-child {
    transform: translateY(100%);
}

body.scrolled .banner-overlay .banner-text {
    opacity: 0;
    transform: translateY(-50px);
}

/* === TEXT ERIK RUBÍN === */
.event-main-link {
    text-decoration: none;
}

.event-main-link:hover {
    text-decoration: none;
}

/* === TEXT VENUES === */
.event-link {
    text-decoration: none;
}

.event-link:hover {
    text-decoration: none;
}

/* === NO HAY COTROLES EN VIDEO EN MOBILE === */
#video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
  background: #000; /* evita parpadeos al cargar */
}


