body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #000;
    color: #0f0;
    font-family: 'Courier New', monospace;
    position: relative;
    overflow-x: hidden;
}

.matrix-bg {
    position: relative;
}

#matrix {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.terminal-header {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 2px solid #0f0;
    margin-bottom: 2rem;
}

.terminal-nav {
    margin-bottom: 2rem;
    padding: 1rem;
    border-bottom: 1px solid #0f0;
}

.terminal-nav ul {
    list-style: none;
    padding: 0;
}

.terminal-nav a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.terminal-section {
    margin-bottom: 3rem;
}

.terminal-content {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border: 1px solid #0f0;
    border-radius: 5px;
    box-shadow: 0 0 10px #0f0;
}

.terminal-footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 2px solid #0f0;
}

h1, h2, h3 {
    text-shadow: 0 0 5px #0f0;
}

p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Project Grid */
.project-grid, .writeup-grid, .cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.project-card, .writeup-card, .cert-card {
    background: rgba(0, 0, 0, 0.6);
    padding: 1.5rem;
    border: 1px solid #0f0;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.project-card:hover, .writeup-card:hover, .cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px #0f0;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.terminal-input {
    width: 100%;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #0f0;
    color: #0f0;
    font-family: 'Courier New', monospace;
    margin-top: 0.5rem;
}

.terminal-input:focus {
    outline: none;
    box-shadow: 0 0 5px #0f0;
}

.terminal-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid #0f0;
    color: #0f0;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.terminal-button:hover {
    background: #0f0;
    color: #000;
}

/* Social Links */
.social-links {
    text-align: center;
}

.social-links a {
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    text-shadow: 0 0 10px #0f0;
}

/* Matrix rain animation */
@keyframes matrix-rain {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .content {
        padding: 1rem;
    }
    
    .terminal-nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    .terminal-nav li {
        margin: 0.5rem 0;
    }
    
    .project-grid, .writeup-grid, .cert-grid {
        grid-template-columns: 1fr;
    }
} 