@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');

/* General Styles */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    font-family: "Mulish", sans-serif;
    background-color: #efefef;

    box-sizing: border-box;
}

.container {
    border: 30px solid white;
    box-sizing: border-box;
    width: 100vw;
    height: 100vh;
    margin: 0 auto;
    padding: 0;
    overflow: auto;
}

header {
    background-color: #efefef;

    text-align: center;
    padding: 1em 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.logo-link {
    display: inline-block;
}

.logo-link img {
    max-width: 100%;
    height: auto;
    max-width: 350px;
    transition: opacity 0.3s ease;
	margin-top: 30px;
}

.logo-link img.hover {
    display: none;
}

.logo-link:hover img.hover {
    display: inline-block;
}

.logo-link:hover img.default {
    display: none;
}

.social-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-link img {
    width: 30px;
    height: 30px;
    transition: opacity 0.3s ease;
}

.social-link img.hover {
    display: none;
}

.social-link:hover img.hover {
    display: inline-block;
}

.social-link:hover img.default {
    display: none;
}

/* Artist Filter Menu */
.artist-filter {
    margin: 20px 0;
    text-align: center;
}

.artist-filter a {
    margin: 0 10px;
    color: #691313;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.artist-filter a:hover {
    color: #545453;
}

.artist-filter a.active {
    color: #545453;
}

main {
    flex: 1;
    padding: 1em;
    margin-bottom: 4em;
    max-width: 1200px; /* Set the maximum width for the main content */
    margin-left: auto;
    margin-right: auto;
}

.masonry {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1em;
}

.release {
    background-color: #efefef;
    margin-bottom: 1em;
    padding: 0;
    width: calc(33.333% - 1em);
    max-width: 400px;
    box-shadow: 0;
    display: flex;
    flex-direction: column;
	display: none;
}

.release img {
    width: 100%;
    display: block;
    transition: filter 0.3s ease;
}

.release img:hover {
    filter: grayscale(100%);
}

.release-content {
    padding: 0;
    flex-grow: 1;
    color: #dcdcdc;
}

.release.hidden {
    display: none; /* Completely remove hidden bricks from the grid */
}

.release h2 {
    font-size: 1.2em;
    margin: 0.5em 0 0 0;
    color: #545453;
}

.release p {
    margin: 0.1em 0 0.4em 0;
    font-size: 0.8em;
    color: #545453;
}

.release a {
    color: #691313;
    font-size: 0.9em;
    text-decoration: none;
}

.release a:hover {
    color: #545453;
}

.release-details {
    text-align: center;
    padding: 20px;
}

.release-details img {
    max-width: 600px; /* Set maximum width for the release image */
    width: 100%;
    height: auto;
}

.release-details h1 {
    font-size: 1.2em;
    margin: 0.5em 0 0 0;
    color: #545453;
}

.release-details p {
    margin: 0.1em 0 1.5em 0;
    font-size: 0.8em;
    color: #545453;
}

p.release-info {
    margin: 1.6em 0 0 0;
    font-size: 0.8em;
    color: #545453;
}

p.author {
	font-size: 1.0em;
    color: #545453;
}

.release-details a {
    color: #691313;
    font-size: 0.9em;
    text-decoration: none;
}

.release-details a:hover {
    color: #545453;
}

.tracklist {
    margin-top: -15px;
}

.tracklist ul {
    list-style-type: none;
    padding: 0;
}

.tracklist li {
    margin-bottom: 10px;
}

.track-title {
    cursor: pointer;
    font-size: 1.5em;
    display: block;
    margin: 2px 0;
    color: #691313;
    text-decoration: none;
}

.track-title:hover {
    text-decoration: none;
}

.lyrics-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
    margin-top: 10px;
    color: #545453;
}

span.copyright {
    font-size: 0.8em;
    font-style: italic;
}

.lyrics-content p.copyright {
    font-size: 1.5em;
}

.lyrics-content.show {
    max-height: 1000px; /* Set a sufficiently large value to fit all content */
    opacity: 1;
    padding: 10px;
    overflow: visible;
}

.youtube-video {
	padding: 5px 0 20px 0;
	aspect-ratio: 16 / 9;
	width: 100%;
	max-width: 600px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .release {
        width: calc(33.333% - 1em); /* Maintain three bricks per row */
    }

    .logo-link img {
        max-width: 80%; /* Adjust logo size for medium screens */
		max-width: 350px;
    }
}

@media (max-width: 900px) {
    .release {
        width: calc(50% - 1em); /* Two bricks per row */
    }

    .logo-link img {
        max-width: 60%; /* Further reduce logo size for smaller screens */
		max-width: 250px;
    }
}

@media (max-width: 600px) {
    .release {
        width: calc(100% - 2em); /* One brick per row */
    }
	
    .logo-link img {
        max-width: 50%; /* Reduce logo size for small screens */
    }
	
	.video-wrapper {
        max-width: 75%;
    }
}
