@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;500;600&display=swap');

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

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'IBM Plex Mono', monospace;
    background: #0a0a0a;
    color: #00ff41;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.terminal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

.terminal-header {
    background: #1a1a1a;
    border: 2px solid #00ff41;
    border-radius: 8px 8px 0 0;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-buttons {
    display: flex;
    gap: 5px;
}

.btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn.close { background: #ff5f56; }
.btn.minimize { background: #ffbd2e; }
.btn.maximize { background: #27ca3f; }

.terminal-title {
    margin-left: 15px;
    font-size: 14px;
    color: #00ff41;
}

.terminal-content {
    background: #0a0a0a;
    border: 2px solid #00ff41;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 30px;
    min-height: 80vh;
    overflow-x: hidden;
    width: 100%;
}

.prompt {
    color: #00ff41;
    margin-bottom: 10px;
}

.prompt::before {
    content: "sagi@benbas.at:~$ ";
    color: #ffa500;
}

nav {
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px solid #333;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

nav a {
    color: #00ff41;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

nav a:hover {
    border: 1px solid #00ff41;
    background: rgba(0, 255, 65, 0.1);
}

.section {
    margin-bottom: 60px;
    padding: 20px 0;
}

.section h2 {
    color: #ffa500;
    margin-bottom: 20px;
    font-size: 24px;
}

.section h2::before {
    content: "## ";
    color: #666;
}

.hero {
    text-align: center;
    padding: 60px 0;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #00ff41;
}

.typewriter {
    font-size: 18px;
    color: #ffa500;
    margin-bottom: 10px;
    min-height: 50px;
}

.cursor {
    display: inline-block;
    background: #00ff41;
    width: 3px;
    height: 1.2em;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.profile-pic {
    width: 150px;
    height: 150px;
    border: 3px solid #00ff41;
    border-radius: 8px;
    margin: 5px auto 20px auto;
    display: block;
    image-rendering: pixelated;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
    transition: all 0.3s ease;
}

.profile-pic:hover {
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.5);
    transform: scale(1.05);
}

.ascii-art {
    font-size: 12px;
    line-height: 1;
    color: #666;
    margin: 20px auto 10px auto;
    text-align: center;
    white-space: pre;
    font-family: 'IBM Plex Mono', monospace;
    display: block;
    max-width: 100%;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    overflow-x: auto;
}

.career-timeline {
    margin: 30px 0;
}

.timeline-item {
    margin-bottom: 25px;
    padding-left: 30px;
    position: relative;
}

.timeline-item::before {
    content: ">";
    position: absolute;
    left: 0;
    color: #ffa500;
    font-weight: bold;
}

.timeline-year {
    color: #666;
    font-size: 14px;
}

.timeline-role {
    color: #00ff41;
    font-weight: 500;
    margin-bottom: 5px;
}

.timeline-company {
    color: #ffa500;
    font-weight: 500;
}

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

.interest-card {
    border: 1px solid #333;
    padding: 20px;
    border-radius: 5px;
    background: rgba(0, 255, 65, 0.05);
}

.interest-card h3 {
    color: #ffa500;
    margin-bottom: 10px;
}

.contact-form {
    max-width: 600px;
    margin: 30px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #ffa500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #00ff41;
    font-family: 'IBM Plex Mono', monospace;
    border-radius: 3px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ff41;
}

.btn-submit {
    background: transparent;
    border: 2px solid #00ff41;
    color: #00ff41;
    padding: 12px 30px;
    font-family: 'IBM Plex Mono', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #00ff41;
    color: #0a0a0a;
}

.social-links {
    margin: 30px 0;
}

.social-links a {
    color: #00ff41;
    text-decoration: none;
    margin-right: 20px;
    padding: 5px 10px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.social-links a:hover {
    border: 1px solid #00ff41;
    background: rgba(0, 255, 65, 0.1);
}

.footer {
    text-align: center;
    padding: 40px 0 20px;
    border-top: 1px solid #333;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .terminal-container {
        padding: 10px;
    }
    
    .terminal-content {
        padding: 20px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .typewriter {
        font-size: 16px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .interests-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Text selection */
::selection {
    background: rgba(0, 255, 65, 0.2);
} 

/* Easter Egg Styles */
.easter-egg {
    cursor: pointer;
    font-size: 16px;
    opacity: 0.7;
    transition: all 0.3s ease;
    display: inline-block;
    animation: pulse 2s infinite;
}

.easter-egg:hover {
    opacity: 1;
    transform: scale(1.2) rotate(10deg);
    animation: none;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.easter-egg-message {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.easter-egg-content {
    background: #0a0a0a;
    border: 3px solid #00ff41;
    border-radius: 10px;
    padding: 30px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 0 50px rgba(0, 255, 65, 0.5);
    animation: easterEggAppear 0.5s ease-out;
}

@keyframes easterEggAppear {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.easter-egg-content h4 {
    color: #ffa500;
    margin-bottom: 20px;
    font-size: 20px;
}

.easter-egg-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.easter-egg-hint {
    color: #666;
    font-style: italic;
    font-size: 14px;
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 5px;
    background: rgba(0, 255, 65, 0.05);
}

.easter-egg-close {
    background: transparent;
    border: 2px solid #00ff41;
    color: #00ff41;
    padding: 10px 20px;
    margin-top: 20px;
    font-family: 'IBM Plex Mono', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.easter-egg-close:hover {
    background: #00ff41;
    color: #0a0a0a;
    transform: scale(1.05);
}

.retro-text {
    color: #ffa500;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin: 15px 0;
    font-size: 14px;
    letter-spacing: 1px;
}

.button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.email-fallback-btn {
    background: transparent;
    border: 2px solid #ffa500;
    color: #ffa500;
    padding: 10px 20px;
    font-family: 'IBM Plex Mono', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.email-fallback-btn:hover {
    background: #ffa500;
    color: #0a0a0a;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.5);
}

.retry-btn {
    background: transparent;
    border: 2px solid #00ff41;
    color: #00ff41;
    padding: 10px 20px;
    font-family: 'IBM Plex Mono', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.retry-btn:hover {
    background: #00ff41;
    color: #0a0a0a;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
}

.error-details {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 15px;
    padding: 10px;
    border: 1px solid #ff6b6b;
    border-radius: 5px;
    background: rgba(255, 107, 107, 0.1);
    font-family: 'IBM Plex Mono', monospace;
}

/* Responsive design for Easter egg */
@media (max-width: 768px) {
    .easter-egg-content {
        margin: 20px;
        padding: 20px;
    }
} 