/* Terminal Style */
body {
    background-color: #000;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: start;
}

/* Terminal Typing Cursor */
.blinking-cursor::after {
    content: '|';
    animation: blink 1s infinite;
}

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

/* Command Input */
#terminal-input {
    border: none;
    background: none;
    color: #00ff00;
    width: 100%;
    outline: none;
}

.output {
    margin: 5px 0;
}

/* Blog Modal */
#blog-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: #00ff00;
    padding: 20px;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
}

#blog-modal-content {
    max-width: 800px;
    background-color: #111;
    padding: 20px;
    position: relative;
    border-radius: 8px;
}

#blog-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.5em;
    color: #00ff00;
}

/* Overlay style */
.overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Overlay content with scrollable resume */
.overlay-content {
    position: relative;
    width: 80%;
    max-width: 800px;
    max-height: 90%;
    background-color: #000;
    padding: 20px;
    border-radius: 8px;
    overflow-y: auto; /* Enable scrolling */
}

/* Style for the resume content */
#resume-content {
    font-size: 1rem;
    background-color: #000;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    line-height: 1.6;
}

/* Close button hidden by default */
.close-btn {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    background: transparent;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    border: none;
    cursor: pointer;
}