@charset 'utf-8';
@import url('https://fonts.googleapis.com/css?family=Share:400i,700i');
@import url('bootstrap.min.css');

/* Global Styles */
html, body {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-flow: row;
    justify-content: center;
    overflow-x: hidden;
}

/* Links */
a {
    color: #FFFFFF;
    text-decoration: none;
}

/* Buttons */
.btn-like {
    margin-right: 10px;
}

/* Background and Cover */
.cover-site {
    min-width: 100%;
    min-height: 100%;
    position: fixed;
    background-position: center;
    background-size: cover;
    transition: background-image 1s;
    background-attachment: fixed;
}

#bgCover {
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    background-position: center;
    background-size: cover;
    transition: background-image 1s;
    background-attachment: fixed;
    z-index: 1;
}

.bg-mask {
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    background: radial-gradient(rgba(0, 0, 0, .5) 20%, #000 85%);
    z-index: 2;
}

.web-player {
    height: 100%;
    color: #fff;
    padding: 5px;
    position: relative;
    z-index: 3;
    margin-top: 25px;
}

/* Album Cover */
.cover-album {
    width: 250px;
    height: 250px;
    margin: auto;
    background: url('../img/bg-capa.jpg') no-repeat;
    background-size: cover;
    border: 1px solid #383838;
    box-shadow: 0px 5px 10px 3px rgba(0, 0, 0, 0.4);
    transition: background-image 1s;
}

#currentCoverArt {
    width: 250px;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s;
}

/* Logo */
.logo {
    display: none;
}

/* Sidebar Menu */
.menu-lateral {
    width: 250px;
    height: 100%;
    background-color: rgba(51, 51, 51, 0.75);
    position: fixed;
    left: -250px;
    top: 0;
    transition: left 0.3s;
    z-index: 1000;
}

.menu-aberto {
    left: 0;
}

.menu-lateral a {
    display: block;
    color: #FFFFFF;
    padding: 14px 16px;
    font-size: 17px;
}

.menu-lateral a:hover {
    background-color: #ddd;
    color: black;
}

/* Sidebar Menu Button */
.botao-abrir-menu, .botao-fechar-menu {
    position: fixed;
    background-color: #333;
    color: #fff;
    padding: 10px;
    cursor: pointer;
    z-index: 1001;
}

.botao-abrir-menu {
    left: 0;
    top: 0;
}

.botao-abrir-menu:hover, .botao-fechar-menu:hover {
    background-color: #555;
}


/* Choose Genre Button */
.botao-escolher-genero {
    position: fixed;
    left: 10px;
    bottom: 10px;
    background-color: #28a745;
    color: #fff;
    padding: 10px 30px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    z-index: 1001;
}

.botao-escolher-genero:hover {
    background-color: #105e21;
}

/* Content */
.conteudo-pagina {
    margin-left: 250px;
    padding: 20px;
}

.novidade {
    color: #28a745;
    font-size: 12px;
    margin-left: 5px;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Custom Button */
.botao {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 20px;
    background-color: #28a745;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.botao:hover {
    background-color: #105e21;
}

/* Music Info */
.info-current-song {
    font-family: 'Share', sans-serif;
    text-align: center;
}

.info-current-song h2 {
    font-size: 22px;
    font-weight: 700;
}

.info-current-song h3 {
    font-size: 18px;
    font-weight: 400;
}

.historic h2 {
    color: #fff;
    border-bottom: 2px solid #fff;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 10px 0;
}

.historic article {
    margin: 5px 0;
}

.historic .cover-historic {
    width: 95px;
    height: 95px;
    margin-right: 15px;
    float: left;
    background: url('../img/bg-capa.jpg') no-repeat center center; /* Centraliza a imagem */
    background-size: cover; /* Ajusta para cobrir o elemento */
    border: 1px solid #383838;
    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.3);
    transition: background-image 1s;
    overflow: hidden; /* Garante que o conteúdo extra seja cortado */
}


/* Estilo geral para informações musicais */
.historic .music-info {
    color: #fff;
    font-family: 'Share', sans-serif;
}

/* Estilo para o título da música */
.historic .music-info .song {
    width: 100%; /* Ocupa todo o espaço disponível */
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    white-space: nowrap; /* Evita que o texto quebre em várias linhas */
    overflow: hidden; /* Esconde o texto que excede o espaço disponível */
    text-overflow: ellipsis; /* Adiciona reticências ("...") ao final do texto cortado */
}


/* Estilo para o nome do artista */
.historic .music-info .artist {
    width: 100%;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* Contêiner para o ícone e o texto do horário */
.historic .music-info .songTimeContainer {
    display: flex; /* Alinha ícone e texto na mesma linha */
    align-items: center; /* Alinha verticalmente ícone e texto */
    margin-top: 5px; /* Espaço acima do contêiner */
    line-height: 1.2; /* Espaçamento vertical do texto */
}

/* Estilo para o ícone de relógio */
.historic .music-info .songTimeContainer .fas.fa-clock {
    font-size: 14px; /* Tamanho do ícone */
    color: #FFFFFF; /* Cor do ícone */
    margin-right: 5px; /* Espaço entre o ícone e o texto */
}

/* Estilo para o texto do horário */
.historic .music-info .songTimeContainer .songTime {
    font-size: 10px; /* Tamanho do texto */
    color: #FFFFFF; /* Cor do texto */
    text-transform: uppercase;
}



