/* OCULTAR BANNER 00WEBHOST */
img[src="https://www.000webhost.com/static/default.000webhost.com/images/powered-by-000webhost.png"]{
    display: none;
    }

body {
    font-family: Arial, sans-serif;
    margin: 0;
    overflow-x: hidden;
    }

/* TEXTOS */

h2 {
    font-family: Poppins;
    font-weight: 700;
    font-size: 1.2em;
    text-align: left;
    line-height: 1.2;
    }

header {
    background-color: rgba(0,0,0,0.7);
    color: #ffffff;
    text-align: center;
    padding: 0 15% 0 15%;
    display: flex;
    height: 10vh;
    align-items: center;
    z-index: 9;
    position: relative;
    box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.1);
    }

        #logotipo{
            flex: 1px;
            margin-top: 0px;
            text-align: left;
            padding: 0px 0px 0px 0px;
            height: 57px;
            }

        #menu {
            flex: 1;
            z-index: 9;
            display: flex; /* Usar flexbox */
            justify-content: right; /* Centrar horizontalmente */
            align-items: center; /* Centrar verticalmente */
            }
            
                 #usuarios-online {
                    font-size: 14px;
                    padding: 3px 0px 0px 10px;
                    line-height: 0.3;
                    display: inline-block;
                    align-items: center;
                     font-family: poppins;
                }

                    #usuarios-online img {
                        margin: -5px -0px 0px -5px;
                        display: inline-block;
                        align-items: center;
                        font-family: poppins;
                        transform: none;
                        }
                
            
                #menu img {
                    width: 20px;
                    padding:5px;
                    flex: 1;
                    transform: scale(1);
                    transition: transform 0.5s ;
                    vertical-align: middle;
                    }

                        #menu img:hover{
                            transform: scale(1.3);
                            transition: transform 0.5s ;
                            }

#mensaje_principal {
    height: 50px;
    text-align: center;
    margin: auto;
    color: #000000;
    line-height: 0.2;
    font-size: 14.5px;
    font-family: poppins;
    font-weight: 700;
    text-transform: uppercase;
    background-color: #000000;
    padding: 1px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
    display: none;
}

#coverImage {
    opacity: 1;
    transition: opacity 0.5s linear 0.5s;
    }
 
#coverBackground, #bg-color, #bg-black {
    opacity: 1;
    transition: opacity 0.5s linear 1s; 
    }

/* Ocultar tabla PHP de usuarios online */
#usuarios-online table {
            display: none;
        }

/* REPRODUCTOR ########################################################### */

#contendor-reproductor {
    padding: 0px 15% 4vh 15%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.6);
    height: 76vh;
    margin: -90vh 0% 0% 0%;
    display:flex;
    position: relative;
    align-items: center;
    border-radius: 0px;
    }
    
        #contenedor-caratula {
                width: 100%;
                max-width: 240px;
                min-width: 210px;
                display: flex;
                flex: 1;
                }

                    #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: 54px;
                        position: relative;
                        align-items: center; /* Alinea verticalmente al centro, depende del flex del contenedor padre */
                        }

                            #coverImage {
                                top: 0;
                                left: 0;
                                width: 100%; /* ocupa el 100% del ancho del div "cover" */
                                height: 100%;
                                object-fit: cover;
                                border-radius: 50px;
                                position: absolute;
                                }
                              
        #contenedor-nowplaying {
                height: auto;
                width: 100%;
                margin: 0px auto 0 auto;
                padding: 0% 0% 0% 17px;
                transition: 2s ease;
                display: flex;
                flex-direction: column;
                flex: 2;
                }

                    #al-aire {
                        width: 75px;
                        height: 15px;
                        margin: 0;
                        font-family: poppins;
                        background-color: #FE330A;
                        /*background: linear-gradient(45deg, #c400ff, #FE330A);*/
                        font-size: 9px;
                        color: #FFFFFF;
                        border-radius: 10px;
                        padding: 2px 5px 2px 6px ;
                        text-align: center;
                        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.0);
                        display: flex;
                        flex: 0;
                        }

                            #ecualizador {
                                margin-left: 0px;
                                display: flex;
                                align-items: flex-end;
                                padding: 2px 0px 0px 5px;
                                justify-content: center;
                                width: 12px;
                                height: 10px;
                                }

                                    .barra {
                                        width: 2px;
                                        margin: 0 1px;
                                        background-color: #FFFFFF;
                                        transition: height 0.3s ease-in-out;
                                        }

                            #texto-al-aire{
                                flex: 2;
                                padding-top: 1px;
                                }

                    #nombre-cancion {
                        height: auto;
                        width: 100%;
                        margin: auto;
                        padding: 0;
                        position: relative;
                        color: white;
                        }

                            #song {
                                width: 100%;
                                height: auto;
                                top: 0px;
                                text-align: left;
                                font-family: Poppins;
                                font-size: 1.6em;  
                                text-transform: uppercase;
                                font-weight: 700;
                                position: relative;
                                line-height: 1.2;
                                text-shadow: 0px 0px 15px rgba(0, 0, 0, 0);
                                }


                            #artist {
                                width: 100%;
                                height: auto;
                                top: -15px;
                                text-align: left;
                                font-family: Poppins;
                                font-size: 0.9em;  
                                font-weight: normal;
                                position: relative;
                                line-height: 1.2;
                                text-shadow: 0px 0px 10px rgba(0, 0, 0, 0);
                                }

                    #reproductor {
                            background-color: ;
                            display: flex;
                            margin: -10px 0 0 0;
                            }

                                #playPauseButton {
                                    width: 50px;
                                    height: 50px;
                                    display: flex;
                                    align-items: center;
                                    justify-content: center;
                                    cursor: pointer;
                                    border-radius: 50%;
                                    background-color: #FE330A;
                                    flex: 0 0 50px;
                                    }

                                            #playImage,
                                            #pauseImage {
                                                display: block;
                                                width: 80%;
                                                height: 80%;
                                            }

                                            #pauseImage {
                                                display: none;
                                            }

                                                    /* Animación para los botones */
                                                    #playPauseButton:hover img, 
                                                    #playPauseButton:hover {
                                                        transform: scale(1.2);
                                                        transition: transform 0.5s ;
                                                    }

                                                    #playPauseButton img, 
                                                    #playPauseButton {
                                                    transform: scale(1);
                                                    transition: transform 1s;
                                                    }

                                #boton-like {
                                    width: 50px;
                                    height: 50px;
                                    margin: 0px 0px 0px 10px;
                                    display: flex;
                                    align-items: center;
                                    justify-content: center;
                                    cursor: pointer;
                                    border-radius: 50%;
                                    background-color: #FE330A;
                                    flex: 0 0 50px;
                                    transform: scale(1);
                                    transition: transform 1s;
                                    }                                

                                /* 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.2);
                                                    transition: transform 0.5s;
                                                    background-color: #FE330A;
                                                    border-radius: 50%;
                                                    }

                                                /* .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 5s ease-in 1s;
                                                    animation-delay: 7s;
                                                    }

                                .slider {
                                    width: 200px;
                                    height: 50px;
                                    margin-left: 20px;
                                    flex: 0;
                                    }



/* FONDO DINÁMICO REPRODUCTOR ######## */

        #cBackground {
            width: 100%; /* Que el contenedor no sea más ancho que su contenedor padre */
            height: 100vh; /* Establece el alto deseado de la imagen */
            overflow: hidden; /* Oculta cualquier parte de la imagen que exceda el alto */
            z-index: 0;
            margin: -10vh auto auto auto;
            border-radius: 0px;
            position: relative;
            }

        #coverBackground {
            width: 106%; /* Establece el ancho al 100% del contenedor */
            height: auto; /* Permite que la altura se ajuste proporcionalmente al ancho */
            filter: blur(40px);
            padding-left: 0%;
            position: relative;
            overflow: hidden;
            top: 50%;
            transform: translate(-3%, -50%);
            border-radius: 0% 0% 0% 0%;
        }

           .frame-bg{
                position: absolute; 
                top: 0; 
                left: 0; 
                width: 100%; 
                height: 100%; 
                pointer-events: 0; 
                z-index: 0; 
                overflow: hidden; 
                border-radius: 0em;
                opacity: 0.7;
                filter: blur(40px);
                    .bg-color, 
                    .bg-black{
                        width: 100%; 
                        height: auto;
                        position: absolute; 
                        border-radius: 50em;
                        animation: rotate 120s linear infinite alternate;
                        
                         }
                    .bg-color{
                        left: 0; 
                        top: 0; 
                        filter: blur(0px);            
                        z-index: 10;
                        mix-blend-mode: luminosity;/*lighten*/
                        }
                    .bg-black{
                        right: 0; 
                        bottom: 0; 
                        filter: blur(0px);
                        z-index: 1;
                        animation-direction: reverse; animation-delay: 7s;
                        }
                }

    @keyframes rotate{
        0% {transform: rotate(0deg);}
        100% {transform: rotate(360deg);}
    }

/* */

/* FIN FONDO DINÁMICO REPRODUCTOR ######## */

#contenedor_programacion{
    width: 100%;
    height: 11vh;
    padding: 0px 0px 0px 0px;
    z-index: 9;
    position: relative;
    margin-top: -7px;
}

         #barra-progreso {
            background-color: #ffffff;
            width: 100%;
            height: 7px;
            box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
            background-color: rgba(252,252,252,1);
            z-index: 9;
            position: relative;
            }

                .progress-fill {
                    height: 7px;
                    background-color: #FE330A;
                    transition: width 3s ease;
                    position: relative;
                    }

                        .progress-fill::after {
                            content: "";
                            width: 14px;
                            height: 14px;
                            background-color: #fe5e0a; /* Color del círculo */
                            top: 50%;
                            transform: translateY(-50%);
                            right: -7px;
                            border-radius: 50%; /* Círculo perfecto */
                            transition: right 3s ease; /* Animación de movimiento del círculo */
                            z-index: 9;
                            position: absolute;
                            overflow-x: hidden;
                            }

        #programacion {
            width: 100%;
            height: 10vh;
            font-size: 1em;
            display: flex;
            align-items: baseline;
            margin: auto;
            padding: 2vh 22% 1vh 22%;
            background-color: #dedede;

            box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.3);
            box-sizing: border-box; /* Evita que el padding expanda el div */
            }

                #horaActual, #horaProximo {
                    width: 60px;
                    text-align: center;
                    color: #FE330A;
                    font-family: poppins;
                    font-weight: 600;
                    }

                #ahora {
                    display: none;
                    }

                #programaActual, #programaProximo {
                    flex: 1;
                    text-align: left;
                    line-height: 1;
                    color: #000000;
                    font-family: poppins;
                    font-weight: 600;
                    }

/* CUERPO PRINCIPAL ###################################################### */

main {
    margin: 0px auto auto auto;
    width: 70%;
    display: flex;
}

        .cuerpo-principal {
            padding: 10px;
            flex: 2;
        }

        aside {
            padding: 10px;
            flex: 1;
            background-color: #f2f2f2;
        }

/* PIE DE PÁGINA ######################################################### */

footer {
    background-color: #000000;
    color: #fff;
    padding: 30px 15% 15vh 15%;
    text-align: left;
    position: relative;
    bottom: 0px;
    height: 200px;
    font-size: 0.7em;
}



#rinoranking {
    background-color: transparent;
    background-image: url("https://images7.alphacoders.com/132/1325872.png");
    background-size: cover; /* Ajusta el tamaño de la imagen para cubrir el contenedor */
    background-repeat: no-repeat; /* Evita que la imagen de fondo se repita */
    background-position: center center; /
    padding: 10px;
    color: white;
    padding: 50px 15% 50px 15%;
    display: flex;
}

        #ranking {
            padding: 0px 10px 0px 0px;
            color: white;
            flex: 5;
            }

                #semana_ranking {
                    padding: 0px 0px 30px 5px;
                    color: white;
                    }

                .canciones_ranking {
                    border-radius: 2.5vh;
                    width: 100%;
                    margin: 7px auto 0px auto;
                    height: 75px;
                    display: flex;
                    font-family: poppins;     
                    background-color: #18171c;
                    align-items: center;
                    }
                        .numero {
                            flex: 0 70px;
                            text-align: center;
                            color: white;
                            padding: 0px 0px 0px 7px;
                            font-size: 1.8em;
                            font-weight: 600;
                            }

                            .symbol {
                                flex: 0 30px;
                                min-width: 30px;
                                text-align: center;
                                font-size: 1.6em;
                                font-weight: 800;
                                line-height: 1;
                                margin: -2px 0px 0px 0px;
                                height: auto;
                                }
                                    .symbol.amarillo {
                                        color: #ff9626; /* Color amarillo para "=" */
                                        }
                                    .symbol.rojo {
                                        color: #ff3000; /* Color rojo para "▼" */
                                        animation: parpadeo 2s ease-in-out infinite 0s;
                                        }
                                    .symbol.verde {
                                        color: #00bb2d; /* Color verde para "▲" */
                                        animation: parpadeo 2s ease-in-out infinite 1s;
                                        }
                                    .symbol.new {
                                        color: #ab3ed8; /* Color rosa para "✸" */
                                        font-size: 1.4em;
                                        }

                            .semana_anterior {
                                text-align: center;
                                line-height: 1;
                                font-size: 0.5em;
                                font-weight: 400;
                                margin: 0px 0px 0px 0px;
                                flex: 1;
                                }

                            .nombre_cancion_ranking{
                                flex: 1;
                                padding: 0px 0px 0px 17px;
                                line-height: 1;
                                margin-top: -5px;
                                }

                                    .ranking_cancion {
                                        font-size: 1em;
                                        color: #ffffff;
                                        line-height: 1;
                                        }

                                    .ranking_artista {
                                        font-size: 0.7em;
                                        color: #cccccc;
                                        line-height: 1;
                                        margin-top: -10px;
                                        }

                            .ranking_like {
                                flex: 0 70px;
                                padding: 0px 10px 0px 10px;
                                color: white;
                                margin: auto;
                                display: flex;
                                justify-content: center;
                                position: relative;
                                }  

                                    .votar {
                                        width: 50px;
                                        margin-top: 5px;
                                        transition: transform 5s ease-in 3600s;
                                        background-color: transparent;
                                        border:none;
                                        cursor: pointer;
                                        }

                                            .votar img#liked-ranking {
                                                transition: transform 0.3s ease-in-out;
                                                }

                                                .votar img#liked-ranking.pulsado {
                                                    content: url("../Imágenes/Like-2-Smartphone-01.png");
                                                    transform: scale(1.3); /* Escala la imagen al 130% cuando se hace clic */
                                                    }

                        .canciones_ranking:hover {
                            background-color: #000000;
                            transition: ease-in-out 0.25s;
                            }

                #new-cancion {
                    flex:2;
                    padding: 0px 0px 0px 10px;
                    margin: 0 auto; /* Centrar el formulario en el contenedor */
                    }

                        /* Estilos para las etiquetas y los campos de entrada */
                        #new-cancion label {
                            display: block; /* Etiquetas en una línea separada */
                            margin-bottom: 5px; /* Espaciado entre etiquetas y campos de entrada */
                            font-weight: bold;
                            }

                        #new-cancion input[type="text"] {
                            width: 100%; /* Ancho completo para los campos de entrada de texto */
                            padding: 10px; /* Espaciado interior de los campos de entrada */
                            margin-bottom: 10px; /* Espaciado inferior entre campos de entrada */
                            border: 1px solid #ccc; /* Borde alrededor de los campos de entrada */
                            border-radius: 10px; /* Bordes redondeados para los campos de entrada */
                            box-sizing: border-box;
                            }

                        /* Estilos para el botón de envío */
                        #new-cancion input[type="submit"] {
                            background-color: #007bff; /* Color de fondo del botón */
                            color: #fff; /* Color del texto del botón */
                            padding: 10px 20px; /* Espaciado interior del botón */
                            border: none; /* Eliminar el borde del botón */
                            border-radius: 10px; /* Bordes redondeados para el botón */
                            cursor: pointer; /* Cambiar el cursor al pasar por encima del botón */
                            }
    
@keyframes parpadeo {
            0% { opacity: 0; }
            50% { opacity: 1; }
            100% { opacity: 0; }
        }
    

