/* Definir variables */
:root {
  --verde-primario: #337A04; 
  --verde-secundario: #51B807; 
}

*{
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}


body {
    
    margin: 0;
    padding: 0;
    height: 100vh;
}

header {
    color: green;
    background-color: black;
    margin: 0;
    padding: 0;
}

.titulo {
    font-size: 55px;
}

header h1 h2 {
    margin: 0;
    font-size: small;
}

.principal {
    color: green;
    background-color: black;
    display: flex;
    justify-content: center;
}

main {
    margin: 0;
    background-color: black; 
    width: 100%;
}

#reproductor {
    margin: 0;
    background-color: black;
    width: 80%;
    height: 60%;
    padding: 5%;
}

main p {
    text-align: center;
    padding: 1%;
}

#btn-menu {
    display: none;
}

aside {
    color: black;
    background: linear-gradient(to right, var(--verde-primario),var(--verde-secundario));
    width: 20%;
    max-width: 300px; 
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    overflow-y: auto; /* Agrega scroll si el contenido es demasiado largo */
    position: relative; /* Establece el contexto de posición para los elementos hijos */

}


.seccion h3 {
    background-color: black;
    color: green;
    
}

.seccion ul {
    padding: 5%;
    list-style-type: none;
}

.seccion li {
    padding: 2%;
    padding-left: 5%;
}

.seccion li a {
    text-decoration: none;
    color: black;
    display: block; /* Hacer que los enlaces ocupen todo el ancho del contenedor li */
}

.seccion li a:hover {
    background-color: black;
    color:green;
}

.seccion a {
    text-decoration: none;
    color: black;
}


.hamburguesa {
    display: none;
}

footer {
    text-align:justify;
    background-color: rgb(213, 255, 1);
}

#donacion {
    padding: 0 10px;
    color: black;
    background: linear-gradient(to right, var(--verde-primario),var(--verde-secundario));
    text-decoration: none;
    position: fixed;
    line-height: 55px;
    bottom: 5px;
    left: 30px;
    border-radius: 5px;
}



/* Estilos para pantallas pequeñas */
@media screen and (max-width: 768px) {
    .principal {
        height: 100%;
    }

    #btn-menu {
        width: 50px;
        height: 50px;
        background: rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        border-radius: 50px;
        cursor: pointer;
        padding: 20px;
        top: 0 ;
        right: 0; 
        position: fixed;
    }

    #back-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        display: none;
    }

    aside {
        position: fixed;
        background-color: green;
        top: 0;
        right: -350px;
        width: 250px;
        height: 100vh;
        padding: 20px;
        z-index: 999;
        transition: all 300ms;
    }



    header .titulo{
        text-align: center;
        font-size: larger;
        padding: 5px;
    }

    header {
        display: flex;
        align-items: center;
        height: 100px;
    }


    h1, h2 {
        width: 50%;
        padding: 5px;
        margin: 0;
        font-size: larger;
    }

    h1 {
        width: 20%;
        text-align: center;
    }

    .seccion li a {
        color: black;
        font-size: 20px;
    }


.activo {
    display: block; /* o cualquier otra propiedad que desees para mostrar el aside */
}
}




