/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
    background: #f9f9f9;
}
h2 {
    margin: 0 0 10px;
    text-transform: uppercase;
    color: #444;
}
h1 {
    font-size: 4rem;
    font-weight: bold;
    color: #fff; /* Base text color */
    text-shadow: 
        0 0 5px #00ff00, 
        0 0 10px #00ff00, 
        0 0 15px #00ff00, 
        0 0 20px #00ff00, 
        0 0 25px #00ff00, 
        0 0 30px #00ff00;
    animation: greenGlowPulse 3s infinite alternate;
}

@keyframes greenGlowPulse {
    0% {
        text-shadow: 
            0 0 5px #00ff00, 
            0 0 10px #00ff00, 
            0 0 20px #00ff00, 
            0 0 25px #00ff00;
    }
    100% {
        text-shadow: 
            0 0 10px #00ff00, 
            0 0 20px #00ff00, 
            0 0 30px #00ff00, 
            0 0 40px #00ff00;
    }
}


.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px 0;
}
.section {
    padding: 50px 0;
    text-align: center;
}
.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background: #4caf50;
    color: #fff;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
}
#matrixCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Navbar */
.navbar ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    background: #333;
    margin: 0;
}
.navbar ul li {
    margin: 0;
}
.navbar ul li a {
    color: #fff;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
}
.navbar ul li a:hover {
    background: #4caf50;
}

/* Portfolio */
.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.portfolio-item {
    background: #e0e0e0;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

/* Standards Section */
#grids {
    background: #f5f5f5;
    padding: 50px 0;
    text-align: center;
}
.grids-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}
.grid-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.grid-item h3 {
    color: #4caf50;
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.grid-item p {
    font-size: 1rem;
    margin-bottom: 15px;
}
.grid-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.grid-item ul li {
    margin: 5px 0;
}
.grid-item ul li a {
    color: #22a6b3;
    text-decoration: none;
    font-weight: bold;
}
.grid-item ul li a:hover {
    text-decoration: underline;
    color: #4caf50;
}

/* Playlists Section */
#playlists {
    background: #f9f9f9;
    padding: 50px 0;
    text-align: center;
}
.playlist-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap; /* Makes it responsive */
}
.playlist {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1 1 48%; /* Makes each playlist take up 48% of the row */
    text-align: left;
    max-width: 550px; /* Limits the width */
}
.playlist h3 {
    font-size: 1.2rem;
    color: #4caf50;
    margin-bottom: 10px;
}
.playlist iframe {
    width: 100%;
    height: 315px;
    border: none;
    border-radius: 4px;
}


/* Resources Section */
#resources {
    background: #222;
    color: #fff;
    padding: 50px 0;
    text-align: center;
}
#resources h2 {
    color: #4caf50;
    font-size: 2rem;
    margin-bottom: 20px;
}
#resources p {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #ddd;
}
.resource-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}
.resource-item {
    flex: 1;
    text-align: center;
    min-width: 250px; /* Ensures a minimum width */
}
.resource-item a {
    color: #22a6b3;
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.resource-item a:hover {
    color: #4caf50;
    text-decoration: underline;
}
.resource-item img {
    width: 24px;
    height: 24px;
}
