:root {
    --bg-color: #121212;
    --text-color: #33ff33;
    --dim-white: #aaaaaa;
    --dark-gray: #222222;
    --glow-color: rgba(51, 255, 51, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'VT323', monospace;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    text-transform: lowercase;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content {
    text-align: center;
    position: relative;
    z-index: 2;
}

h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 5px var(--glow-color), 0 0 10px var(--glow-color);
    letter-spacing: 2px;
}

h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    text-align: left;
}

.image-container {
    margin: 2rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-image {
    max-width: 100%;
    height: auto;
    border: 2px solid var(--text-color);
    box-shadow: 0 0 10px var(--glow-color);
}

.links {
    margin-top: 2rem;
    text-align: center;
    font-size: 1.5rem;
}

a {
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    margin: 0 0.5rem;
}

a:hover {
    text-shadow: 0 0 5px var(--glow-color), 0 0 10px var(--glow-color);
}

a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--text-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s;
}

a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Project page styles */
.project-content {
    text-align: left;
    margin: 2rem 0;
    line-height: 1.6;
}

.project-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.back-link {
    margin-top: 2rem;
}

/* CRT Effects */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(18, 18, 18, 0) 50%,
        rgba(0, 0, 0, 0.3) 50%
    );
    background-size: 100% 4px;
    z-index: 10;
    pointer-events: none;
    opacity: 0.15;
}

.glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        rgba(51, 255, 51, 0.1) 0%,
        rgba(18, 18, 18, 0.1) 70%,
        rgba(18, 18, 18, 0) 100%
    );
    pointer-events: none;
    z-index: 3;
}

/* Responsive design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 1.5rem 1rem;
    }
    
    .project-content p {
        font-size: 1rem;
    }
    
    .links {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .links {
        font-size: 1.1rem;
    }
}

/* Animation for CRT flicker effect */
@keyframes flicker {
    0% {
        opacity: 0.9;
    }
    5% {
        opacity: 0.8;
    }
    10% {
        opacity: 0.9;
    }
    15% {
        opacity: 0.85;
    }
    20% {
        opacity: 0.9;
    }
    70% {
        opacity: 0.9;
    }
    72% {
        opacity: 0.8;
    }
    77% {
        opacity: 0.9;
    }
    100% {
        opacity: 0.9;
    }
}

body {
    animation: flicker 5s infinite;
} 