/*
Theme Name: Bertitadinamita
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&display=swap');

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #0e0e0e;
    color: white;
    text-align: center;
}

/* HERO */

.hero {
    height: 70vh;
    background: url('banner.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    padding: 50px;
    border-radius: 10px;
    background: transparent;
}

/* TITULO */

h1 {
    font-family: 'Cinzel', serif;
    font-size: 60px;
    letter-spacing: 4px;
    margin: 0;
    text-transform: uppercase;
    text-shadow:
        2px 2px 0px #000,
        4px 4px 8px rgba(0, 0, 0, 0.7);
    transition: 0.3s;
}

h1:hover {
    transform: scale(1.05);
}

.tagline {
    opacity: .8;
    margin-bottom: 30px;
}

/* BOTON SUSCRIBIRSE */

.subscribe {
    background: #ff0000;
    color: white;
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 18px;
    display: inline-block;
    margin-top: 10px;
}

/* REDES SOCIALES */

.social {
    margin-top: 25px;
    display: flex;
    gap: 25px;
    justify-content: center;
}

.social a {
    font-size: 28px;
    color: white;
    transition: 0.3s;
}

.social a:hover {
    transform: scale(1.2);
}

.social a:nth-child(1):hover {
    color: #ff0000;
}

.social a:nth-child(2):hover {
    color: #e1306c;
}

.social a:nth-child(3):hover {
    color: #00f2ea;
}

/* SECCION VIDEOS */

.videos {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

h2 {
    margin-bottom: 40px;
}

/* REPRODUCTOR GRANDE */

#player {
    max-width: 900px;
    margin: 40px auto;
    aspect-ratio: 16/9;
    display: none;
}

#player.active {
    display: block;
}

#player iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* GRID VIDEOS */

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

.video-item img {
    width: 100%;
    border-radius: 8px;
    transition: 0.3s;
    cursor: pointer;
}

.video-item img:hover {
    transform: scale(1.05);
}

/* FOOTER */

footer {
    padding: 40px;
    opacity: .6;
}

/* MOBILE */

@media (max-width:768px) {

    h1 {
        font-size: 34px;
        letter-spacing: 2px;
    }

    .hero {
        height: 60vh;
    }

}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
}

.hero {
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
}