@import url(https://fonts.googleapis.com/css?family=VT323);


:root {
    --cor-fundo-gradiente: linear-gradient(to bottom, #383838, #101010);
    --cor-fundo: #212121; /* Sobrescreve o fundo padrão do Bootstrap */
    --cor-texto: #00dd00;
    --cor-bg-container: rgba(34, 34, 34, 0.7);
    --sombra-container: rgba(0, 0, 0, 0.5);
    --cor-acento: #00dd00;
    --progresso-bg: rgba(0, 221, 0, 0.1);
    --progresso-preenchido: #00dd00;
    --scroll-bg: transparent;
    --scroll-thumb: #00dd00;
}

body {
    margin: 0;
    font-family: 'VT323', Courier, monospace;
    background: var(--cor-fundo) !important; /* Aplica a cor sólida de fundo */
    color: var(--cor-texto);
    display: flex;
    font-family: 'VT323', Courier;
    flex-direction: column;
    height: 100dvh; /* Altura visível dinâmica */
}

.page-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%; /* Garante que ocupa a altura total */
}

.e-body {
    flex: 1;
    /* min-height: 100dvh;  */
    flex-direction:column;
    /* padding: 20px; */

}

#player-controles, #player-controles-extras, #letra-musica{
    width: 350px;
}

.container-player{
    height: 80dvh;
    margin-bottom: 100px;
}

.e-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #343a40; 
    color: white;
    text-align: center;
    z-index: 1000;
    box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.1);
}

.fundo-player{
    background: #111;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 200px;
}

#letra-musica{
    width: 100%;
    max-height: 350px;
    margin-bottom: 150px;
}

.card-album {
    max-width: 100%;
    flex: 1 1 calc(25% - 20px);

}

.capa-player{
    width: 300px;
    height: 300px;
}

.capa-album {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}


.titulo-musica {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--cor-acento);
    text-align: center;
}

.card {
    background: #111;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

.card img {
    border-radius: 10px 10px 0 0;
}

.card-title {
    text-align: center;
    color: #00ff00;
    font-weight: bold;
}

.nome-artista {
    font-size: 1rem;
    color: #ccc;
    text-align: center;
}

.barra-progresso {
    position: relative;
    width: 100%;
    height: 8px;
    background: var(--progresso-bg);
    border-radius: 5px;
    overflow: hidden;
}

.progresso {
    height: 100%;
    width: 0%;
    background: var(--progresso-preenchido);
    transition: width 0.2s ease;
}

.footer .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 1rem;
    line-height: 1;
    width: 40px;
    height: 40px;
}

.controles,
.controles-adicionais {
    display: none;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.controles.mostrar, .controles-adicionais.mostrar {
    display: flex;
}

.controles button,
.controles-adicionais button {
    background: none;
    border: none;
    color: var(--cor-texto);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.controles button:hover,
.controles-adicionais button:hover {
    transform: scale(1.2);
}

.volume-controle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.controle-volume {
    width: 100px;
    background: linear-gradient(90deg, #00ff00 50%, #ccc 50%);
    border-radius: 10px;
    appearance: none;
    height: 5px;
    outline: none;
}

.controle-volume::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    background-color: #00ff00;
    border-radius: 50%;
    cursor: pointer;
}


.letra-musica {
    white-space: pre-wrap;
    font-size: 1.1rem;
    line-height: 1.5;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    color: #fff;
    overflow-y: scroll;
    display: none;
    scrollbar-width: thin;
    scrollbar-color: var(--scroll-thumb) var(--scroll-bg);
}

.letra-musica.mostrar {
    display: block;
}


.list-group {
    max-height: 60dvh;
    overflow-y: auto;
    background-color: var(--cor-bg-container);
    color: var(--cor-texto);
    border: 1px solid var(--progresso-preenchido);
    border-radius: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--scroll-thumb) var(--scroll-bg);
}

.list-group-item {
    background-color: transparent;
    color: var(--cor-texto);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.list-group-item:hover {
    background-color: var(--cor-acento);
    color: var(--cor-bg-container);
}

.list-group::-webkit-scrollbar {
    width: 6px;
}
.list-group::-webkit-scrollbar-thumb {
    background-color: var(--scroll-thumb);
    border-radius: 10px;
}
.list-group::-webkit-scrollbar-track {
    background: var(--scroll-bg);
}

.controls-container {
    display: flex;
    flex-wrap: wrap; 
}


.text-effect {
    text-align: center;
    color: #e7e7e7;
}

.text-effect p {
    margin: 0;
    font-size: 20px; /* Tamanho inicial padrão */
    opacity: 0; /* Começa invisível */
    animation: showText 2s linear infinite;
}

.text-effect p:nth-child(1) {
    animation-delay: 0s;
    font-size: 20px; /* Tamanho menor */
}

.text-effect p:nth-child(2) {
    animation-delay: 0.3s;
    font-size: 25px; /* Cresce um pouco */
}

.text-effect p:nth-child(3) {
    animation-delay: 0.6s;
    font-size: 30px;
}

.text-effect p:nth-child(4) {
    animation-delay: 0.9s;
    font-size: 35px;
}

.text-effect p:nth-child(5) {
    animation-delay: 1.2s;
    font-size: 40px;
}

.text-effect p:nth-child(6) {
    animation-delay: 1.5s;
    font-size: 45px; /* Maior tamanho para destaque */
}

@keyframes showText {
    0%, 80% {
        opacity: 0; /* Invisível */
        transform: scale(0.8); /* Reduzido inicialmente */
    }
    81%, 100% {
        opacity: 1; /* Visível */
        transform: scale(1); /* Cresce suavemente */
    }
}
