/* =========================
   RESET
========================= */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* =========================
   BODY
========================= */
body{
    min-height: 100vh;

    background: linear-gradient(-45deg,
    #667eea,
    #764ba2,
    #6a11cb,
    #2575fc);

    background-size: 400% 400%;

    animation: fondo 12s ease infinite;
}

/* ANIMACIÓN FONDO */
@keyframes fondo{

    0%{
        background-position: 0% 50%;
    }

    50%{
        background-position: 100% 50%;
    }

    100%{
        background-position: 0% 50%;
    }
}

/* =========================
   MENÚ
========================= */
.menu{

    width: 100%;

    padding: 18px;

    text-align: center;

    background: rgba(0,0,0,0.3);

    backdrop-filter: blur(8px);

    position: sticky;

    top: 0;

    z-index: 1000;
}

/* LINKS */
.menu a{

    color: white;

    text-decoration: none;

    margin: 0 18px;

    font-size: 18px;

    transition: 0.4s;
}

/* HOVER */
.menu a:hover{

    color: yellow;

    text-shadow: 0 0 10px white;
}

/* =========================
   TITULO
========================= */
.titulo{

    text-align: center;

    color: white;

    font-size: 45px;

    margin-top: 35px;

    margin-bottom: 45px;

    animation: brillo 2s infinite alternate;
}

/* BRILLO */
@keyframes brillo{

    from{
        text-shadow: 0 0 10px white;
    }

    to{
        text-shadow: 0 0 25px yellow;
    }
}

/* =========================
   CONTENEDOR
========================= */
.contenedor-videos{

    width: 90%;

    margin: auto;

    display: flex;

    justify-content: center;

    gap: 30px;

    flex-wrap: wrap;

    padding-bottom: 50px;
}

/* =========================
   TARJETAS
========================= */
.video-card{

    width: 320px;

    border-radius: 20px;

    overflow: hidden;

    background: rgba(255,255,255,0.15);

    backdrop-filter: blur(10px);

    box-shadow: 0 10px 25px rgba(0,0,0,0.3);

    transition: 0.5s;

    animation: flotar 4s ease-in-out infinite;
}

/* EFECTO TARJETA */
.video-card:hover{

    transform: translateY(-10px) scale(1.05);

    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

/* ANIMACIÓN */
@keyframes flotar{

    0%{
        transform: translateY(0px);
    }

    50%{
        transform: translateY(-8px);
    }

    100%{
        transform: translateY(0px);
    }
}

/* =========================
   IMAGENES
========================= */
.video-card img{

    width: 100%;

    height: 220px;

    object-fit: cover;

    transition: 0.5s;
}

/* HOVER IMAGEN */
.video-card img:hover{

    transform: scale(1.1);

    filter: brightness(1.2);
}

/* =========================
   CONTENIDO
========================= */
.contenido{

    padding: 20px;

    text-align: center;
}

/* TITULOS */
.contenido h3{

    color: white;

    font-size: 28px;

    margin-bottom: 12px;
}

/* TEXTO */
.contenido p{

    color: #f1f1f1;

    line-height: 1.6;

    font-size: 15px;
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:768px){

    .titulo{

        font-size: 35px;
    }

    .menu a{

        display: block;

        margin: 10px 0;
    }

    .video-card{

        width: 90%;
    }
}