/* Terminal-style portfolio styling */

:root {
    --terminal-bg: #0e1019;
    --terminal-text: #fffaf4;
    --terminal-text-secondary: #008df8;
    --terminal-border: #008df8;
    --terminal-highlight: #8ce10b;
}

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

body {
    background-color: var(--terminal-bg);
    color: var(--terminal-text);
    font-family: "Courier New", Courier, monospace;
    line-height: 1.6;
    padding: 20px;
}

.terminal {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--terminal-border);
    border-radius: 4px;
    padding: 20px;
    background-color: rgba(0, 10, 0, 0.7);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
}

header h1,
header h2 {
    margin-bottom: 20px;
}

.prompt {
    color: var(--terminal-text);
    font-weight: normal;
    margin: 20px 0 10px 0;
}

.command {
    color: var(--terminal-text-secondary);
    font-weight: bold;
}

#about p {
    margin: 15px 0;
    padding: 10px;
    border-left: 2px solid var(--terminal-border);
    background-color: rgba(0, 20, 0, 0.3);
}

/* Projects section */
#projects {
    margin: 30px 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.project-card {
    border: 1px solid var(--terminal-border);
    border-radius: 4px;
    padding: 15px;
    background-color: rgba(0, 20, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    background-color: rgba(0, 30, 0, 0.5);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

.project-card .project-title {
    color: var(--terminal-highlight);
    margin-bottom: 10px;
    font-size: 1.2em;
}

.project-card .project-description {
    margin-bottom: 15px;
    font-size: 0.95em;
    flex-grow: 1;
}

.project-card p:last-child {
    margin-bottom: 10px;
}

.project-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--terminal-border);
    align-items: center;
    margin-top: auto;
}

.btn {
    background-color: transparent;
    color: var(--terminal-text);
    border: 1px solid var(--terminal-border);
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.9em;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    min-width: 100px;
    text-align: center;
    flex: 1;
    max-width: 150px;
}

.btn:hover {
    background-color: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.3);
}

/* Footer */
footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--terminal-border);
    text-align: left;
}

footer > ul {
    list-style-type: none;
}

.email-link {
    color: var(--terminal-text-secondary);
}

/* Responsive design */
@media (max-width: 768px) {
    .terminal {
        padding: 15px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-links {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
