body {
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Cabeçalho */
.header {
    background: linear-gradient(135deg, #ff7a00, #ffbb33);
    color: white;
    padding: 8px; /* Reduzido para 8px */
    text-align: center;
    font-size: 1.2rem; /* Reduzido para 1.2rem */
    font-weight: bold;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Ícone de compartilhamento */
.share-icon {
    font-size: 34px;
    transition: transform 0.3s ease;
}

.share-icon:hover {
    transform: scale(1.2);
}

/* Barra lateral de ícones */
.sidebar {
    background-color: #6f20b8;
    position: fixed;
    top: 140px;
    left: 0;
    width: 70px;
    height: calc(70% - 100px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 4px 0 6px rgba(0, 0, 0, 0.1);
}

.sidebar a {
    color: white;
    margin: 5px 0;
    font-size: 28px;
    padding: 10px;
    border-radius: 50%;
    transition: transform 0.3s ease;
    background-color: transparent;
}

.sidebar a:hover {
    transform: scale(1.3);
    background-color: transparent;
}

/* Conteúdo principal */
.main-content {
    margin-left: 100px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Animação de tremidinha na logo */
.logo {
    margin: -80px 0 40px 0;
    width: 30vw;
    max-width: 300px;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s ease;
    animation: shakeLogo 5s ease infinite; /* Tremidinha a cada 5 segundos */
}

@keyframes shakeLogo {
    0%, 97% {
        transform: translate(0, 0); /* Posição normal */
    }
    98% {
        transform: translate(-5px, 0); /* Move levemente para a esquerda */
    }
    99% {
        transform: translate(5px, 0); /* Move levemente para a direita */
    }
    100% {
        transform: translate(0, 0); /* Volta à posição original */
    }
}

/* Botão de play */
.play-btn {
    background: linear-gradient(135deg, #ff7a00, #ffbb33);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 4rem;
    width: 15vw;
    max-width: 128px;
    height: 15vw;
    max-height: 128px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
}

.play-btn:hover {
    background: linear-gradient(135deg, #ff9f40, #ffcc66);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Contêiner de volume */
.volume-container {
    position: absolute;
    top: calc(70% - 8px); /* Mantém a mesma posição superior para todos os dispositivos */
    right: 10px; /* Mantém a mesma posição à direita */
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.volume-container:hover {
    background-color: transparent;
}

.volume-icon {
    color: #ff7a00;
    font-size: 38px; /* Tamanho do ícone original */
    margin-right: 0;
}

.volume-container:hover .volume-icon {
    color: #ff7a00;
}

/* Seção "No ar" (Rodapé) */
.now-playing {
    background-color: #6f20b8; /* Cor do rodapé */
    color: white;
    padding: 1px; /* Reduzido para 1px */
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000; /* Garante que o rodapé fique acima de outros elementos */
}

.now-playing img {
    width: 10vw;
    max-width: 60px;
    height: auto;
    border-radius: 10px;
    margin-right: 10px;
}

.now-playing p {
    margin: 0;
    font-size: 0.5rem; /* Reduzido para 0.5rem */
}

.now-playing small {
    display: block;
    color: #ddd;
}

/* Layout Responsivo */

/* Para telas menores que 768px */
@media (max-width: 768px) {
    .sidebar {
        width: 50px;
    }

    .main-content {
        margin-left: 60px;
    }

    .logo {
        width: 60vw;
    }

    .play-btn {
        font-size: 2.5rem;
        width: 20vw;
        height: 20vw;
    }

    .volume-container {
        top: calc(70% - 8px); /* Mantém a posição para todos os dispositivos */
        right: 10px;
    }

    .volume-icon {
        font-size: 28px; /* Tamanho do ícone ajustado para telas menores */
    }

    .now-playing img {
        width: 15vw;
    }

    .now-playing p {
        font-size: 0.4rem; /* Ajuste adicional para o texto */
    }
}

/* Para telas entre 769px e 1080px */
@media (min-width: 769px) and (max-width: 1080px) {
    .sidebar {
        width: 60px;
    }

    .main-content {
        margin-left: 80px;
    }

    .logo {
        width: 25vw;
        max-width: 180px;
    }

    .play-btn {
        font-size: 3rem;
        width: 15vw;
        max-width: 100px;
        height: 15vw;
        max-height: 100px;
    }

    .volume-container {
        top: calc(550px - 8px); /* Mesma posição ajustada */
        right: 50px;
    }

    .volume-icon {
        font-size: 32px;
    }

    .now-playing img {
        width: 12vw;
        max-width: 55px;
    }

    .now-playing p {
        font-size: 0.5rem; /* Ajuste adicional para o texto */
    }
}

/* Para telas maiores que 1080px */
@media (min-width: 1081px) {
    .sidebar {
        width: 70px;
    }

    .main-content {
        margin-left: 100px;
    }

    .volume-container {
        top: calc(550px - 8px);
        right: 50px;
    }

    .volume-icon {
        font-size: 38px;
    }
}

/* Seção de Banners */
.banner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.banner {
    width: 400px; /* Largura fixa */
    height: 90px; /* Altura fixa */
    overflow: hidden; /* Garante que a imagem não ultrapasse o contêiner */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adiciona uma sombra suave */
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem se ajuste dentro do banner sem distorção */
    border-radius: 8px;
}

/* Layout Responsivo para Banners */
@media (max-width: 768px) {
    .banner {
        width: 90vw; /* Ajusta a largura do banner para telas menores */
    }
}