/* Reset bÃ¡sico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #121212;
    color: #ffffff;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

header {
    background: #121212;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
}

header img {
    height: 40px;
}

nav {
    position: relative;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    transition: background 0.3s, color 0.3s;
}

nav ul li a:hover, nav ul li a:focus {
    background: #ffffff;
    color: #121212;
    border-radius: 5px;
}

nav ul li a:active {
    background: #ffcc00;
    color: #121212;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}

/* Ajustes para mÃ³viles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 0;
        left: -100%;
        width: 250px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.9);
        padding-top: 50px;
        transition: left 0.3s ease-in-out;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        padding: 12px;
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        width: 100%;
        text-align: left;
    }
    
    nav ul li a:hover, nav ul li a:focus {
        background: #ffffff;
        color: #121212;
        border-radius: 0;
    }
    
    nav ul li a:active {
        background: #ffcc00;
        color: #121212;
    }
}

/* Estilos del footer */
footer {
    background: #1a1a1a;
    color: #ffffff;
    text-align: center;
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: auto;
    font-size: 14px;
}

footer a {
    color: #ffcc00;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #ffffff;
}
.agenda-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px 0;
}

.agenda-wrapper {
    width: 90%;
    max-width: 1200px;
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.1);
}

#theframe {
    display: block;
    width: 100%;
    height: 700px;
    border: none;
}
.inicio {
    text-align: center;
    padding: 15px 10px;  /* Reducimos el padding para menos altura */
}

.inicio-content {
    max-width: 800px;
    margin: 0 auto;
}

.inicio h1 {
    font-size: 24px;  /* TamaÃ±o mÃ¡s compacto */
    font-weight: bold;
    color: #ffcc00;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    margin-bottom: 5px; /* Espacio mÃ­nimo entre H1 y el pÃ¡rrafo */
}

.inicio p {
    font-size: 14px;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    margin-top: 5px; /* Menos espacio arriba */
    line-height: 1.4;
}
.canales {
    text-align: center;
    padding: 15px 10px;
}

.canales h2 {
    font-size: 24px;
    font-weight: bold;
    color: #ffcc00;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    margin-bottom: 5px;
}


.canales p {
    font-size: 14px;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    margin-top: 5px;
    line-height: 1.4;
}

.canales-lista {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.canal {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    width: 120px;
    padding: 8px;
    border: 2px solid transparent;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, border 0.3s ease-in-out;
}

.canal img {
    width: 100%;
    max-width: 80px;
    height: auto;
    border-radius: 8px;
}

.canal span {
    margin-top: 5px;
    font-size: 14px;
    font-weight: bold;
}

/* Efecto al pasar el cursor */
.canal:hover {
    transform: scale(1.05);
    border: 2px solid red;
}
.search-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    background: #1a1a1a;
    border-radius: 25px;
    padding: 5px;
    border: 2px solid #ff0000;
}

.search-bar input {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    border: none;
    outline: none;
    background: none;
    color: #ffffff;
}

.search-bar button {
    background: none;
    border: none;
    color: #ff0000;
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s;
}

.search-bar button:hover {
    color: #ffffff;
}


/* Estilos para el contenedor del canal */
.canal-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 15px;
    background: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Estilos para el tÃ­tulo h1 */
.canal-container h1 {
    font-size: 24px;
    color: #ffcc00;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

/* Estilos para el pÃ¡rrafo */
.canal-container p {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 15px;
}

/* Estilos del iframe */
.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-top: 56.25%; /* RelaciÃ³n de aspecto 16:9 para responsive */
    background: black; /* Fondo negro para evitar espacios vacÃ­os */
    border-radius: 8px;
}

iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Estilos de los botones */
.opciones {
    margin-top: 15px;
}

.opciones p {
    font-size: 18px;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
}

/* Botones de opciones */
.btn {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px;
    background: #D32F2F;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #ffcc00;
    color: black;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .canal-container {
        width: 95%;
        padding: 10px;
    }

    .iframe-wrapper {
        padding-top: 75%; /* RelaciÃ³n de aspecto mÃ¡s cuadrada en mÃ³viles */
    }

    .btn {
        display: block;
        width: 100%;
        text-align: center;
    }
}
