    /* Barra de Busqueda */

.Barra {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    background-color: rgb(0, 115, 255);
    padding: 18px;
    border: 2px solid black;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.Barra a {
    color: white;
    text-decoration: none;
    margin: 10px;
    font-size: 20px;
    margin-right: 25px;
    margin-left: 5px;
}
.Barra a:hover {
    color: rgb(255, 0, 0);
}
.Logo {
    border: 3px solid white;
    border-radius: 50%;
    margin-right: 2px;
    background-image: url("Fanthor.jpeg");
    background-position: left;
    cursor: pointer;
}

    /* Fondo */

body {
    margin: 0;
    min-height: 100vh;
    margin-top: 100px;

    background-image: url(), linear-gradient(to bottom, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 100%);
    background-size: 100% 500px, 100% 100%;
    background-repeat: no-repeat, no-repeat;
    background-position: 0 100px, top;

    font-family: 'Bungee', cursive;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}

.Parrafo {
    color: white;
}

/* REDES SOCIALES */
.FooterRedes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.FooterRedes .Redes {
    width: 50px;             
    height: auto;           
    border: 2px solid white; 
    border-radius: 50%;      
    cursor: pointer;
    transition: transform 0.3s;
}

.FooterRedes .Redes:hover {
    transform: scale(1.2);
}

/* COPYRIGHT */
.Copyright {
    color: white;
    text-align: center;
    margin-bottom: 10px;
}





/* ==========================
   Mejora general
========================== */
* {
    box-sizing: border-box;
}

/* Imágenes responsivas */
img {
    max-width: 100%;
    height: auto;
}

/* ==========================
   Media Queries - MÓVIL
========================== */
@media screen and (max-width: 768px) {

    /* Barra */
    .Barra {
        flex-direction: column;
        padding: 10px;
    }

    .Barra a {
        font-size: 18px;
        margin: 5px 0;
    }

    /* Logo con tamaño (antes no tenía) */
    .Logo {
        width: 60px;
        height: 60px;
        background-size: cover;
        background-position: center;
    }

    /* Texto */
    .Parrafo {
        font-size: 5vw;
        padding: 0 10px;
        text-align: center;
    }

    /* Redes sociales */
    .FooterRedes {
        gap: 10px;
    }

    .FooterRedes .Redes {
        width: 40px; /* más chico en móvil */
    }

    /* Copyright */
    .Copyright {
        font-size: 4vw;
        padding: 0 10px;
    }
}


/* Contenedor responsive */
.video-container {
    position: relative;
    width: 100%;
    max-width: 1020px; 
    padding-bottom: 56.25%; 
    margin: 20px auto;
    z-index: 0; /* se asegura que el video quede detrás */
}

/* Iframe */
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 0; /* lo mismo para el iframe */
}

/* Aseguramos que la barra quede encima */
.Barra {
    position: fixed;
    z-index: 1000; /* siempre encima del contenido */
}

@media screen and (max-width: 480px) {
    .video-container {
        margin-top: 80px; /* espacio extra para celulares */
    }
}