@media (min-width: 801px) {
    header {
        display: flex;
        justify-content: space-between;
    }

    .spotify-login-button {
        display: inline-flex;
        align-items: center;
        background-color: #D65555;
        color: #fff;
        text-decoration: none;
        font-weight: 500;
        font-size: 13px;
        padding: 4px 10px; /* 🔥 Reduce padding for slimmer button */
        border-radius: 20px; /* Rounder edges */
        transition: background-color 0.3s ease, transform 0.2s ease;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

    .spotify-login-button:hover {
        background-color: #b44848;
        transform: translateY(-1px); /* subtle hover pop */
    }

    .spotify-icon {
        height: 25px; /* Small icon */
        margin-right: 6px;
    }

    /* -----MAIN CONTENT----- */
    body .container main {
        grid-area: main;
        padding-left: 6px;
        height: auto;
        max-height: 100vh;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        scrollbar-color: darkred transparent;
        scrollbar-width: thin;
    }

    body .container main .scrollable-content {
        overflow-y: auto;
        max-height: calc(100vh - 60px);
    }

    body .container main ul {
        list-style-type: none;
        padding: 0;
    }

    body .container main .artist-entry:hover {
        background-color: rgba(139, 0, 0, 0.9);
    }

    body .container main .artist-entry {
        background-color: rgba(139, 0, 0, 0.7);
        border: 2px solid darkred;
        margin-bottom: 10px;
        padding: 10px;
        display: flex;
        align-items: flex-start;
        margin-right: 20px;
        transition: background-color 0.3s;
        border-radius: 12px;
    }

    body .container main a.artist-link {
        text-decoration: none;
        color: inherit;
    }

    body .container main .artist-content {
        display: flex;
        align-items: flex-start;
        width: 100%;
    }

    body .container main .artist-image {
        height: 20vh;
        width: 20vh;
        margin-right: 20px;
        border-radius: 10px;
    }

    body .container main .artist-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    body .container main .artist-name {
        font-size: larger;
        margin-bottom: 5px;
    }

    body .container main .artist-bio {
        font-size: medium;
        color: #FFF;
        opacity: 0.8;
    }

    body .container main h1,
    body .container main h2,
    body .container main p,
    body .container main li {
        color: white;
    }
    /* -----MAIN CONTENT----- */

    .error-box {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
    }

    .error-box p {
        color: black !important;
    }
}

/* CSS for Mobile environments */
@media (max-width: 800px) {
    .container {
        grid-template-rows: 10vh 10vh 70vh 10vh;
    }

        header {
        display: flex;
        justify-content: space-between;
    }

    .spotify-login-button {
        display: inline-flex;
        align-items: center;
        background-color: #D65555;
        color: #fff;
        text-decoration: none;
        font-weight: 500;
        font-size: 13px;
        padding: 4px 10px; /* 🔥 Reduce padding for slimmer button */
        border-radius: 20px; /* Rounder edges */
        transition: background-color 0.3s ease, transform 0.2s ease;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        margin-top: 33px;
        margin-right: 4px;
    }

    .spotify-login-button:hover {
        background-color: #b44848;
        transform: translateY(-1px); /* subtle hover pop */
    }

    .spotify-icon {
        height: 25px; /* Small icon */
        margin-right: 6px;
    }

    .error-box {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
    }

    .error-box p {
        color: black !important;
    }
}
