/* General styles */
body {
    font-family: 'Roboto Mono', monospace;
    background-color: #000;
    color: #0f0;
    margin: 0;
    width: 100%;
    overflow-x: hidden;
}

audio {
    filter: invert(1) hue-rotate(180deg);
}

@media (prefers-color-scheme: dark) {
    audio {
        filter: none;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px;
}

h1,
h2 {
    color: #0f0;
    text-align: center;
}

li {
    padding-top: 10px;
}

pre {
    color: #0f0;
    padding: 10px;
    overflow-x: auto;
    background-color: rgba(0, 255, 0, 0.1);
    /* Faint green background for pre */
    border: 1px solid rgba(0, 255, 0, 0.3);
    /* Subtle green border */

}

.highlight {
    color: #ff0;
    /* Yellow */
}

.section_max {
    padding: 5px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    max-width: 700px;

}

/* Buttons */
.button {
    background-color: #F00;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    /* To ensure Donate button looks correct */
    display: inline-block;
    /* For spacing consistency */
}

.button:hover {
    opacity: 0.8;
}

/* Song Styles */
.song-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.song-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
}

.song {
    width: 45%;
    margin: 10px;
    padding: 10px;
    background-color: #000;
    box-shadow: 2px 2px 5px rgba(0, 255, 0, 0.2);
    color: #0f0;
}

audio {
    width: 100%;
    margin-bottom: 10px;
}

/* Lyrics Styles */
.lyrics {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: multiply, darken;
    color: #fff;
    /* Ensure text is readable on the image */
    padding: 15px;
    /* Consistent padding */
    border-radius: 5px;
    /* Optional: Rounded corners for the lyrics block */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    /* Improved text shadow */
}


.lyrics1 {
    background-image: url("images/band_1.jpg");
    background-color: rgba(0, 0, 0, 0.8);

}

.lyrics2 {
    background-image: url("images/band_2.jpg");
    background-color: rgba(0, 0, 0, 0.8);
}

.lyrics3 {
    background-image: url("images/band_3.jpg");
    background-color: rgba(0, 0, 0, 0.8);
}

.lyrics4 {
    background-image: url("images/band_4.jpg");
    background-color: rgba(0, 0, 0, 0.8);
}

.lyrics5 {
    background-image: url("images/band_5.jpg");
    background-color: rgba(0, 0, 0, 0.8);
}

.lyrics6 {
    background-image: url("images/band_matrix.jpg");
    background-color: rgba(0, 0, 0, 0.8);
}

.lyrics7 {
    background-image: url("images/band_matrix_2.jpg");
    background-color: rgba(0, 0, 0, 0.8);
}

/* Testimonials */
#testimonials .testimonial {
    border: 1px solid #ccc;
    padding: 20px;
    margin: 20px auto;
    max-width: 80%;
    background-color: #000;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

/* Forms */
#subscribe form,
#donate,
#merchandise form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

#subscribe input[type="email"],
#subscribe button,
#donate #donate-button,
#merchandise input[type="email"],
#merchandise button {
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 70%;
    /* Ensure consistent width */
    max-width: 300px;
    /* Prevent too much stretching */
}

header {
    padding-top: 10px;
}

/* Glitch Header */
#glitch-header {
    width: 100%;
    text-align: center;
    color: #0f0;
    text-shadow: 0 0 5px #0f0;
    /* Additional glow */
    filter: blur(0px);
    padding: 0px !important;
    margin: 0px !important;
    font-size: 3em;
    /* Adjust as needed */
    animation: glitch 2s infinite;
    /* Apply glitch animation */
    font-family: monospace;
}

@keyframes glitch {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(2px, 2px);
    }

    50% {
        transform: translate(-3px, -2px);
    }

    75% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0, 0);
    }
}

/* Footer */
.footer {
    background-color: #111827;
    color: #fff;
    padding: 20px 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer-section h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid #374151;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: #fff;
}

.copyright {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Matrix Effect (Relocated to be after the Glitch Header for cascading) */
#matrix-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.matrix-letter {
    position: absolute;
    color: #0f0;
    font-size: 14px;
    font-family: monospace;
    opacity: 0;
    animation: fall 3s linear forwards;
    transform: rotate(180deg);
    writing-mode: vertical-rl;
}

@keyframes fall {
    0% {
        opacity: 0;
        transform: translateY(-20px) rotate(180deg);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(10vh) rotate(180deg);
        /* Ensure full screen coverage */
    }
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .song {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    #testimonials .testimonial {
        max-width: 95%;
    }

    #subscribe input[type="email"],
    #subscribe button,
    #donate #donate-button,
    #merchandise input[type="email"],
    #merchandise button {
        width: 90%;
        /* Wider on smaller screens */
        max-width: none;
        /* Remove max-width */
    }

    /* Adjust footer columns on smaller screens */
    .footer-content {
        grid-template-columns: 1fr;
        /* Stack columns on smaller screens */
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        /* Center text in the footer */
    }

    .footer-legal {
        flex-direction: column;
        /* Stack legal links */
        align-items: center;
        /* Center legal links */
    }
}

.merch-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.merch-item {
    text-align: center;
    margin-bottom: 20px;
}

.merch-item img {
    border: 1px solid #ddd;
    padding: 5px;
    background-color: #fff;
    /* Optional: Add a white background to the images */
}



/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Row */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

/* Columns */
.col {
    flex: 1;
    padding-left: 15px;
    padding-right: 15px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Responsive Grid */
@media (max-width: 768px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

a {
    color: green;
    text-decoration: none;
}

a:hover {
    color: darkgreen;
    text-decoration: underline;
}

.playing {
    animation: highlight 0.5s ease-in-out;
    border: 2px solid green;
    border-radius: 5px;
    /* Adjust duration and easing as needed */
}

@keyframes highlight {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 1.2;
        /* Slightly increase opacity for emphasis */
        transform: scale(1.05);
        /* Slightly scale up */
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}