body {
    font-family: Arial, sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.starting-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.starting-image:hover {
    transform: scale(1.05);
}

h1 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

.description {
    font-size: 1.2em;
    margin-bottom: 30px;
}

#welcomeMessage {
    font-size: 24px;
    margin: 20px 0;
    color: #ff69b4;
}

#scoreDisplay {
    font-size: 20px;
    margin: 20px 0;
    color: #ffd700;
}

.main-image {
    width: 400px;
    height: 400px;
    border-radius: 10px;
    margin: 20px 0;
}

.controls {
    margin: 20px 0;
}

button {
    background: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #444;
}

.nav-buttons {
    margin-top: 20px;
}

.nav-button {
    background: #553355;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
}

.nav-button:hover {
    background: #664466;
}

.section {
    margin-bottom: 50px;
}

.effects-section {
    background: rgba(51, 51, 51, 0.3);
    padding: 20px;
    border-radius: 10px;
}

.effects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.effect-card {
    background: rgba(85, 51, 85, 0.9);
    padding: 20px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, background 0.3s ease;
}

.effect-card:hover {
    transform: translateY(-5px);
    background: rgba(102, 68, 102, 0.9);
}

.effect-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.3em;
}

.effect-card p {
    margin: 0;
    opacity: 0.8;
}

/* p5js canvas container */
.p5-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}


#p5-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#container {
    position: relative;
    z-index: 1;
    background: rgba(26, 26, 26, 0.7);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}
