﻿.nosotros-image {
    background-image: url('../images/top_pages/nosotros.jpg');
    background-size: cover;
    background-position: center;
    height: 70vh;
    width: 100%;
    object-fit: cover;
    filter: brightness(50%);
}

.videos-container {
    padding: 4rem 2rem;
    max-width: 1500px;
    margin: 0 auto;
}

.fade-in {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title-description {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.videos-description {
    flex: 1;
    font-size: 1.1rem;
    color: #555;
    opacity: 0.9;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .title-description {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

        .title-description h3::after {
            content: '';
            display: block;
            width: 100%;
            height: 2px;
            background-color: black;
            margin: 0 auto;
            margin-top: 0.5rem;
            background: linear-gradient(to right, #000, #ccc);
            border-radius: 2px;
        }

    .videos-description {
        flex: 1;
        font-size: 1.1rem;
        color: #555;
        opacity: 0.9;
        line-height: 1.6;
        text-align: justify;
        margin-top: 0.5rem;
        padding-right: 1rem;
        padding-left: 0rem;
    }
}
