:root {
    --primary: #2a2a2a;
    --secondary: #4a4a4a;
    --accent: #00ff9d;
    --accent-muted: #4dcc8c;
    --text: #ffffff;
    --retro-bg: #1a1a1a;
    --warning: #ff9d00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', monospace;
}

body {
    background-color: var(--retro-bg);
    color: var(--text);
    line-height: 1.6;
}

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

header {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 2px solid var(--accent);
    margin-bottom: 2rem;
}

hr {
    border: 1px solid var(--accent);
    margin: 2rem 0px;
    width: 50%;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.2rem;
    color: var(--text);
    opacity: 0.8;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--primary);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--accent);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h2 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: var(--text);
    opacity: 0.9;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    background: var(--secondary);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.contact {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    border-top: 2px solid var(--accent);
}

.contact a {
    color: var(--accent);
    text-decoration: none;
    margin: 0 1rem;
    transition: opacity 0.3s ease;
}

.contact a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

#profile-photo {
    width: 200px; 
    height: 200px; 
    border-radius: 50%; 
    margin-bottom: 1.5rem;
    border: 3px solid var(--accent);
}

/* Link styling */
a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.card a {
    color: var(--accent);
}

.card a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Style for external link icons */
.fa-up-right-from-square {
    font-size: 0.8em;
    margin-left: 4px;
}

.resume-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background: var(--accent-muted);
    color: var(--primary);
    border-radius: 4px;
    font-weight: bold;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.resume-link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    text-decoration: none;
}

.resume-link i {
    margin-right: 0.5rem;
}

.warning-banner {
    background: var(--warning);
    color: var(--primary);
    text-align: center;
    padding: 0.5rem;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0.5rem 1rem;
}

.warning-banner .warning-content {
    grid-column: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.warning-banner .close-button {
    grid-column: 3;
    justify-self: end;
}

.warning-banner i:not(.fa-times) {
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

.close-button {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    font-size: 1.2rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.close-button:hover {
    opacity: 1;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}