* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
}

body {
    background-image: url("/assets/background.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.container {
    position: relative;
    text-align: center;
}

.avatar-wrapper {
    position: relative;
}

.avatar-container {
    position: relative;
    z-index: 2;
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 15px;
    box-shadow: 0 0 35px rgba(0, 0, 0, 1.0);
    cursor: pointer;
}

.icons-container {
    position: absolute;
    top: 50px;
    left: 50px;
    transform: translate(-50%, -50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 1;
}

.icons-container.show {
    opacity: 0;
    visibility: visible;
}

.icon {
    position: absolute;
    width: 50px;
    height: 50px;
    transition: transform 0.4s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 1.0));
}

.icon:hover {
    transform: scale(1.1) translate(var(--x), var(--y)) !important; /* Scale while keeping position */
    filter: drop-shadow(0 0 10px #ffcd57);
}

.icon:not(:last-child) {
    margin-right: 20px;
}


#listening {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;  /* Stack the text and content */
    align-items: left;     /* Center-align all content */
    padding: 15px;
    padding-top: 10px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 1.0);
    opacity: 0;
    transition: opacity 2s ease;
    max-width: 90%;
    text-align: center;
}

#listening img {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    margin-right: 10px;
}

#trackInfo h3 {
    margin: 5px;
    margin-left: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-align:left;
}

#trackInfo p {
    margin: 5px;
    margin-left: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #d5d5d5;
    text-align:left;
}

#nowListeningText {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: white;
    margin-bottom: 11px; /* Adds space between the text and the content */
}

.listeningContent {
    display: flex;         /* Display the image and song info in a row */
    justify-content: flex-start;
    align-items: center;   /* Vertically align content */
}