@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Playfair Display", serif;
}

body {
    background-color: #000;
    color: #fff;
}

.container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.sidebar {
    width: 200px;
    background-color: #121212;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.logo {
    font-size: 32px;
    color: #1db954;
    text-align: center;
}

.library {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
}

.library:hover p {
    color: #1db954;
}

.playlist,
.nav-podcast {
    background-color: #242424;
    padding: 16px;
    border-radius: 12px;
}

.playlist h5,
.nav-podcast h5 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 6px;
    font-family: "Poppins", sans-serif;
}

.playlist p,
.nav-podcast p {
    font-size: 12px;
    color: #ccc;
    margin-bottom: 10px;
    font-family: "Poppins", sans-serif;
}

.playlist button,
.nav-podcast button {
    background-color: #fff;
    color: #000;
    border: none;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
}

.footer {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer a {
    font-size: 10px;
    color: #a7a7a7;
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
}

.language {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-family: "Poppins", sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

main {
    flex-grow: 1;
    padding: 24px;
    overflow-y: auto;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: #242424;
    padding: 10px 16px;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    gap: 15px;
    margin-bottom: 30px;
}

.search-bar input {
    background-color: transparent;
    border: none;
    color: #fff;
    width: 100%;
    font-size: 14px;
    outline: none;
    font-family: "Poppins", sans-serif;
}

.content h2 {
    margin: 24px 0 12px;
    font-size: 20px;
    font-weight: bold;
    font-family: "Poppins", sans-serif;
}

.nav-artists,
.nav-albums {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}

.artist-card,
.album-card {
    background-color: #181818;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.artist-card:hover,
.album-card:hover {
    background-color: #282828;
}

.artist-card img,
.album-card img {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 10px;
}

.artist-card p,
.album-card p {
    font-size: 14px;
    font-family: "Poppins", sans-serif;
}