#results-container {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.result-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
    min-height: 40vh;
    gap: 15px;
    scroll-behavior: smooth;
    margin: auto;

    
}

.result-wrapper:has(.artist-card:only-child) {
    justify-content: center;
}

.artist-card {
    flex: 0 0 auto;
    width: 300px;
    text-align: center;
    font-size: 25px;
    background-color: #205375;
    color: white;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    border: 5px solid white;
    white-space: normal;
    word-wrap: break-word;
}

.artist-card.selected {
    background-color: #112B3C;
}

.artist-card:hover {
    background-color: #112B3C;
}

.result-wrapper::-webkit-scrollbar {
    height: 8px;
}

.result-wrapper::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.artist-img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 8px solid white;
    object-fit: cover;
}

#artist-details {
    max-width: 80%;
    text-align: center;
    margin-top: 20px;
    display: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    line-height: 1.5;
}

.no-results {
    text-align: center;
    font-size: 1.2rem;
    color: black;
    background: #d0cccc;
    padding: 10px;
    border-radius: 10px;
    width: 50%;
    margin: 50px auto;
}

#results {
    width: 100%;
    margin: 0 auto;
}