/* Resets */
body, nav, ul, li, a, p {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.4rem;
}
img {
    display: block;
    width: 100%;
    height: auto;
}

/* Typography
-------------------------------------------------*/
h1 {
    font-size: 1.6rem;
    padding: 1.4rem 0 0 1.4rem;
    margin: 0;
    box-sizing: border-box;
}
h1 a {
    text-decoration: none;
    color: #00c;
}
h1 span.lolite {
    color: #ccc;
    font-weight: 400;
}


/* Container/column styling
-------------------------------------------------*/
main {
    margin: 0 auto;
    max-width: 1200px;
}
.container {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 20px;
    margin: 0 -10px;
}
.column {
    flex: 0 0 50%; /* Flex-grow, Flex-shrink, Flex-basis set to no-grow, no-shrink, and half of the container width */
    padding: 0; /* Padding inside each column for 'gutter' space */
    box-sizing: border-box;
}
.inner {
    background-color: #f4f4f4;
    margin: 10px;
    padding: 20px;
}

/* Header styles
-------------------------------------------------*/
.header {
    background-color: black;
    color: white;
}
.logo {
    max-width: 1200px;
    text-align: left;
    padding: 0;
    margin: 0 auto;
}
.logo img {
    width: 80%;
    height: auto;
    max-width: 640px;
}

/* Navigation styles
-------------------------------------------------*/
nav {
    padding: 4px 0;
    background-color: #333;
    border-top: 1px solid #666;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.alphabet-nav ul {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    overflow: hidden;
    max-width: 1200px;
}
.alphabet-nav li {
    float: left;
    width: 3.70%; /* 27 parts */
    box-sizing: border-box;
}
.alphabet-nav a {
    display: block;
    margin: 3px 3px 5px 3px;
    padding: 7px;
    color: white;
    background-color: #000;
    text-decoration: none;
    transition: background-color 0.3s;
    border-top: 1px solid #666;
    border-left: 1px solid #666;
}
.alphabet-nav li.active a {
    color: #000;
    background-color: #dd0;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
}
.alphabet-nav a:hover {
    color: #ff3;
    background-color: #555;
}

/* Featured Artist box
-------------------------------------------------*/
.artists-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.feature_artist {
    display: block;
    overflow: hidden; /* Clearfix */
    padding: 10px;
    background-color: #f0f0f0; /* Light grey background */
    border-bottom: 1px solid #ccc; /* Adds a border between items */
}
.artist-image {
    float: left;
    width: 80px;
    height: 80px;
    margin-right: 15px; /* Space between image and text */
}
.artist-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
}
.artist-content {
    overflow: hidden; /* Contains floated elements */
}
.artist-content h3 {
    margin: 0 0 10px 0; /* Spacing under the title */
    font-size: 1.2em; /* Slightly larger text for the title */
}
.artist-content a {
    text-decoration: none; /* No underlines on links */
    color: #333; /* Darker text for better readability */
}
.artist-content p {
    margin: 0; /* No margin for the paragraph */
    color: #666; /* Lighter text color for the listeners count */
}
.additional-artists {
    margin-top: 20px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #eaeaea;
    font-size: 0.9em;
}

/* Responsive adjustments
-------------------------------------------------*/
@media (max-width: 780px) {
    .alphabet-nav li {
        width: 11.11%; /* 9 parts */
    }
    .column {
        flex-basis: 100%; /* Each column takes full width of the container */
    }
    .container {
        margin: 0; /* Remove negative margin when stacking columns */
    }
}