body {
    background: #1a1a1a;
    color: #fff;
    margin: 0;
    padding: 0;
    text-align: center;
}

.content-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 60px 10%;
    max-width: 1200px;
    margin: 0 auto;
}

.category {
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    flex: 1;
    min-width: 250px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
    gap: 20px;
    padding: 40px;
}

.hero h1 {
    text-align: center;
    margin: 0 auto;
}

.hero img {
    width: 100%;
    height: auto;
    max-width: 1200px; /* Prevents image from getting too large on big screens */
    display: block;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.blurb {
    max-width: 600px;
    background: #292929;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    font-size: 1.2rem;
    line-height: 1.5;
}

.music-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.music-item {
    text-align: center;
    flex: 1;
    min-width: 250px;
}

.music-item img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.mkd-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-direction: row;
}

.mkd-text {
    max-width: 600px;
    width: 100%;
}

footer {
    text-align: center;
    padding: 20px;
} 

/* Mobile-friendly fix */
@media (max-width: 768px) {
    .content-grid {
        flex-direction: column;
        align-items: center;
        padding: 40px 5%;
    }

    .category {
        width: 100%;
        max-width: 400px; /* Prevents items from being too wide on mobile */
    }

    .hero {
        flex-direction: column; /* Ensures stacking on mobile */
        text-align: center;
    }

    .hero img {
        max-width: 90%;
    }

    .blurb {
        max-width: 90%; /* Allows better readability on mobile */
        text-align: center;
    }

    .music-links {
        flex-direction: column;
        align-items: center;
    }

    .music-item {
        width: 100%;
    }

    .mkd-container {
        flex-direction: column;
        text-align: center;
    }

    .mkd-text {
        max-width: 90%;
    }
}
