html {
    max-width: 100%;
    overflow-x: hidden;
}
body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #1d3557, #457b9d, #a8dadc);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #fff;
    overflow-x: hidden;
    max-width: 100%;
}

.sidebar {
    height: 100vh;
    width: 250px;
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    color: #fff;
    padding-top: 20px;
    z-index: 1040;
}

    .sidebar h3 {
        text-align: center;
        font-weight: bold;
        margin-bottom: 20px;
    }


    .sidebar a,
    .offcanvas-body .nav-link {
        color: #ffffff !important; /* blanco siempre */
        display: block;
        padding: 12px 20px;
        text-decoration: none;
        transition: 0.3s;
        border-left: 3px solid transparent;
    }


        .sidebar a:hover,
        .offcanvas-body .nav-link:hover {
            background: rgba(255,255,255,0.1);
            color: #ffffff !important;
            border-left: 3px solid #00d4ff; /* azul claro */
        }


        .sidebar a.active,
        .offcanvas-body .nav-link.active {
            color: #007bff !important; /* azul oscuro */
            font-weight: bold;
            border-left: 3px solid #007bff;
        }

.content {
    margin-left: 260px;
    padding: 40px;
}

.carousel-item video,
.carousel-item img {
    max-width: 100%;
    height: auto;
    display: block;
    min-height: 300px;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .content {
        margin: 0;
        padding: 70px 0 0 0;
        width: 100%;
        max-width: 100%;
    }

    h2 {
        font-size: 1.4rem;
    }

    body {
        padding: 0;
    }

    footer {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .navbar.fixed-top {
        left: 0;
        right: 0;
        width: 100% !important;
        max-width: 100% !important;
    }

    #carrusel,
    #carouselClub,
    .carousel-inner {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .carousel-item img {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
    }
    .img-responsive-custom {
        width: 100% !important;
    }
}