@media (max-width: 768px) {

body {
    margin: 0;
    overflow-x: hidden;
}   
    
header {
    background-color: rgb(51, 51, 51, 0);
    color: #ffffff;
    text-align: center;
    padding: 0 5% 0 5%;
    display: flex;
    height: 60px;
    align-items: center;
    box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.0);
    z-index: 9;
    }
    
        #logotipo {
            flex: 1px;
            margin-top: 0px;
            text-align: left;
            padding: 0px 0px 0px 0px;
            height: 57px;
            z-index: 9;
            }

        #menu {
            flex: 1;
            text-align: right;
            z-index: 9;
            }
        
#mensaje_principal {
    display: none;
}
    
    
/* FONDO DINÁMICO REPRODUCTOR ######## */

        #cBackground {
            background-color: black;
            width: 100%;
            min-width: 100%; /* Que el contenedor no sea más ancho que su contenedor padre */
            min-height: 90vh; /* Establece el alto deseado de la imagen */
            overflow: hidden; /* Oculta cualquier parte de la imagen que exceda el alto */
            z-index: -1;
            margin: -60px 0% 0% 0%;
            position: relative;
            border-radius: 0px;
            overflow: hidden;
            opacity: 0.9;
            }

        #coverBackground {
            width: auto; /* Establece el ancho al 100% del contenedor */
            height:  130%; /* Permite que la altura se ajuste proporcionalmente al ancho */
            filter: blur(40px);
            position: absolute;
            top: -15%;
            left: -45%;
            transform: translate(-0%, -0%);
            border-radius: 100em;
            z-index: -1;          
            animation: rotate 45s linear infinite alternate;
            opacity: 0;
            }
    
            .frame-bg{
                position: absolute; 
                top: 0; 
                left: 0; 
                width: 100%; 
                height: 100%; 
                pointer-events: 0; 
                z-index: 0; 
                overflow: hidden; 
                border-radius: em;
                filter: blur(40px);
                opacity: 0.9;
                    .bg-color, 
                    .bg-black{
                        width: auto; 
                        height: 100%;
                        position: absolute; 
                        border-radius: 50em;
                        animation: rotate 60s linear infinite;
                        }
                    .bg-color{
                        left: 0%; 
                        top: -0%;       
                        z-index: 10;
                        mix-blend-mode: lighten;/*lighten*/
                        }
                    .bg-black{
                        right: 0; 
                        bottom: -0%; 
                        z-index: 1;
                        animation-direction: reverse; animation-delay: 7s;                     
                        }
                }

                @keyframes rotate{
                    0% {transform: rotate(0deg);}
                    100% {transform: rotate(360deg);}
                }
    
    
/* FIN FONDO DINÁMICO REPRODUCTOR ######## */

/* REPRODUCTOR ########################################################### */

#contendor-reproductor {
    width: 100%;
    height: 80vh;
    top: 0%;
    margin: auto;
    padding: 10vh 0% 10vh 0%;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.5) 40%, 
        rgba(0, 0, 0, 0.25) 100%);   
    flex-direction: column;
    vertical-align: center;
    position: absolute;
    display: flex;
    z-index: 0;
    }

    #contenedor-caratula {
        width: 80%;
        max-width: 260px;
        display: flex;
        flex: 50vh;
        display: flex; /* también permite alinear los div dentro de él */
        justify-content: flex-start; /* Alineación horizontal a la izquierda */
        align-items: flex-end; /* Alineación vertical al centro */
        flex: 38vh;
        }
                        
            #cover {
                width: 100%;
                padding-top: 100%; /* Esto hace que el div sea cuadrado (altura igual al ancho) */
                background-image: url(../Imágenes/fondo-caratula.png);
                background-size: 100%;
                border-radius: 53px;
                box-shadow: 0px 0px 30px -15px;
                position: relative;
                }

                    #coverImage {
                        top: 0;
                        left: 0;
                        width: 100%; /* La imagen ocupa el 100% del ancho div "cover" */
                        border-radius: 50;
                        position: ;
                        }

    #contenedor-nowplaying {
        width: 90%;
        height: auto;
        margin: 0px auto 0 auto;
        padding: 3vh 5% 0% 5%;
        transition: 2s ease;
        vertical-align: center;
        flex: 37vh;
        display: flex;
        
        }

            #al-aire {
                width: 75px;
                height: 15px;
                margin: auto;
                font-family: poppins;
                background-color: #FE330A;
                font-size: 9px;
                color: #FFFFFF;
                border-radius: 10px;
                padding: 2px 5px 2px 5px ;
                text-align: center;
                box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.0);
                flex: 0;
                display: flex;
                }

                    #ecualizador {

                        }

                            .barra {
                                width: 2px;
                                margin: 0 1px;
                                background-color: #FFFFFF;
                                transition: height 0.3s ease-in-out;
                                }

                    #texto-al-aire{
                        flex: 2;
                        padding: 3px 0px 0px 0px;
                        line-height: 1;
                        font-size: 10px;
                        }

            #nombre-cancion {
                width: 70%;
                margin: auto;
                height: auto;
                padding: 0px 0px 0px 0px;
                flex-direction: column; /* Alinea los elementos en una columna */
                justify-content: center; /* Alinea al centro verticalmente */
                position: relative;
                display: block;
                flex: 0;
                }

                    #song {
                        margin: auto;
                        width: 100%;
                        height: auto;
                        text-align: center;
                        font-family: Poppins;
                        font-size: 1.2em;  
                        text-transform: uppercase;
                        font-weight: 800;
                        position: relative;
                        line-height: 1;
                        overflow: hidden;
                        text-shadow: 0px 0px 15px rgba(0, 0, 0, 0);
                        }

                    #artist {
                        width: 100%;
                        height: auto;
                        top: -15px;
                        text-align: center;
                        font-family: Poppins;
                        font-size: 0.9em;  
                        font-weight: normal;
                        position: relative;
                        line-height: 1.15;
                        text-shadow: 0px 0px 10px rgba(0, 0, 0, 0);
                        }

            #reproductor {
                width: 90%;
                height: auto;
                margin: -27px auto 0% auto;
                position: relative;
                align-items: center;
                justify-content: center;
                flex: 1;
                }

                    #playPauseButton {
                        width: 60px;
                        height: 60px;
                        display: flex;
                        cursor: pointer;
                        border-radius: 50%;
                        background-color: #FE330A;
                        flex: 0 0 60px;
                        }
                              

                                /* Imagen del botón */
                                #boton-like img {
                                    width: 100%;
                                    height: 100%;
                                    cursor: pointer;
                                    transform: scale(1);
                                    transition: transform 1s;
                                    background-color: #FE330A;
                                    border-radius: 50%;
                                    }

                                                #boton-like:hover {
                                                    transform: scale(1);
                                                    background-color: #FE330A;
                                                    }

                                                /* .boton-like img#boton-like-song.pulsado */
                                                #boton-like-song.pulsado {                     
                                                    background-color: #00B140;
                                                    width: 100%;
                                                    height: 100%;
                                                    border-radius: 50%;
                                                    transform: scale(1.1);
                                                    transition: transform 1s;
                                                    }

                            #playImage,
                            #pauseImage {
                                display: block;
                                width: 80%;
                                height: 80%;
                                }

                            #pauseImage {
                                display: none;
                                }

                            #playPauseButton:hover img, 
                            #playPauseButton:hover {
                                transform: scale(1);
                                }

                            #playPauseButton img, 
                            #playPauseButton {
                                transform: scale(1);
                                }

                    .slider {
                        width: 100px;
                        margin-left: 10px;
                        display: none;
                        }

#contenedor_programacion{
    width: 100%;
    height: auto;
    bottom: 0vh;
    padding: 0px 0px 0px 0px;
    z-index: 9;
    position: absolute;
    }
    
        #barra-progreso {
            height: 5px;
            background-color: rgba(0, 0, 0, 0.2);
            box-shadow: none;
            }

                .progress-fill {
                    height: 5px;
                    background-image: #FE330A;
                    transition: width 3s ease;
                    z-index: 9;
                    }

                        .progress-fill::after {
                            content: "";
                            width: 11px;
                            height: 11px;
                            background-color: #fe5e0a; /* Color del círculo */
                            position: absolute;
                            top: 50%;
                            transform: translateY(-50%);
                            right: -6.5px;
                            border-radius: 50%; /* Círculo perfecto */
                            transition: right 3s ease; /* Animación de movimiento del círculo */
                            overflow-x: hidden;
                            }

        #programacion {
            min-height: 9vh;
            font-size: 0.8em;
            padding: 5px 5% 10px 5%;
            background-color: transparent;
            color: #FFFFFF;
            }
    
                #ahora {
                    display: none;
                    }

                #horaActual, #horaProximo {
                    font-size: 1.1em;
                    font-weight: 600;
                     }
        
                #programaActual, #programaProximo {
                    flex: 1;
                    text-align: left;
                    line-height: 1.3;
                    color: #ffffff;
                    font-family: poppins;
                    font-weight: 500;
                    }

/* CONTENEDOR CUERPO PRINCIPAL MAIN */
    
main {
    margin: 0vh auto 0% auto;
    padding: 0%;
    display: block;
    width: 100%;
    z-index: 0;
    }
    
        .cuerpo-principal {

        }

        .fb-comments{
            width: 100% !important;
        }

        aside{
        }
        
footer{
    padding: 5% 5% 15vh 5%;
    font-size: 0.7em;
    }
        

    /* */



/* */
    
/* ANIMACIÓN DE CARGA */
    
.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.99); /* Fondo semitransparente */
    z-index: 9999; /* Coloca la animación de carga sobre todo el contenido */
    transition: opacity 0.5s linear 0.5s;
}

/* Estilos para la animación de carga */
.loader {
    border: 7px solid #FE330A; /* Color del borde de la animación */
    border-top: 7px solid rgba(0, 0, 0, 0.0); /* Color del borde superior (casi blanco) */
    border-radius: 50%; /* Forma circular */
    width: 50px;
    height: 50px;
    margin-top: -7vh;
    animation: spin 2s linear infinite; /* Animación de giro infinito */
}

/* Animación de giro */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}  
    
    .version {
        font-family: arial;
        bottom: 5vh;
        position: absolute;
        color: white;
        font-size: 11px;
    }
    
/* FIN ANIMACIÓN DE CARGA */
    
#rinoranking {
    background-color: #120310;
    padding: 10px;
    color: white;
    padding: 0px 2% 0px 2%;
    display: block;
}
 
        #ranking {
            background-color: transparent;
            padding: 0px 0px 0px 0px;
            color: white;
            }
    
                #semana_ranking {
                    padding: 20px 5px 15px 5px;
                    color: white;
                    }

                .numero {
                    flex: 0 50px;
                    text-align: center;
                    color: white;
                    padding: 0px 0px 0px 5px;
                    font-size: 1.5em;
                    font-weight: 600;
                    }

                .symbol {
                    flex: 0 30px;
                    text-align: center;
                    font-size: 1.5em;
                    font-weight: 800;
                    }

                .nombre_cancion_ranking{
                    font-size: 0.87em;
                    flex: 1;
                    padding: 0px 0px 0px 8px;
                    line-height: 1;
                    margin-top: -5px;
                    }

                .ranking_like {
                    flex: 0 45px;
                    padding: 0px 5px 0px 3px;
                    color: white;
                    margin: auto;
                    display: flex;
                    justify-content: center;
                    }  

                        .votar {
                            width: 35px;
                            background-color: transparent;
                            padding: 0px 5px 0px 0px;
                            border: none;
                            }

        #new-cancion {
            padding: 20px 0px 20px 0px;
            margin: 0 auto; /* Centrar el formulario en el contenedor */
            }


        }