body {
    font-family: Roboto, sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding-top: 30px;

    margin: 0;

    background: linear-gradient(
        to bottom,
        #ecc,
        #607d8b,
        #acd1d3
    ), url('/default/10004352.png'); 
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat; 
}

.container {
    text-align: center;
    background-color: #ffffff82;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgb(0 0 0 / 69%);
    max-width: 600px;
    width: 80%;
    margin: 50px auto 0;
}

.content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;

    margin-top: 15px;
}
.button-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
.cover-and-shazam {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
}

.cover-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

.shazam-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.shazam-button img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.download-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.download-button img {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
}

.shazam-button img:hover {
    transform: scale(1.1);
}

.shazam-result {
    font-size: 14px;
    color: #333;
    text-align: center;
    margin-top: 5px;
    min-height: 20px;
}

.track-info {
    text-align: left;
    font-size: 16px;
    max-width: 400px;
    min-width: 0;
    flex: 1 1 auto;
}

.track-info div {
    margin-bottom: 10px;
}

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    position: relative;
}

.track-title {
    display: inline-block;
    font-weight: bold;
    font-size: 24px;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
}

.track-artist {
    font-style: italic;
    font-size: 16px;
    color: #666;
    margin-top: 5px;
}

.audio-player {
    margin-top: 20px;
    width: 100%;
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.pulsing {
    animation: pulse 2s infinite;
}