/* --- General Site Styles --- */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    min-height: 100vh;
    background: linear-gradient(to bottom, #000000, #1a1e38);
    background-repeat: no-repeat; 
    color: #ffffff;
    line-height: 1.6;
    padding-top: 50px;
}

code, pre {
    font-family: "Courier New", Courier, monospace;
    background-color: rgba(255,255,255,0.05);
    padding: 4px 6px;
    border-radius: 4px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(55, 63, 108, 0.95);
    padding: 5px 5px;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.iconbar{
    width: 40px;
    height: 40px;
    border: none;
    font-size: 14px;
    color: #ffffff;
    background: linear-gradient(#ff0000,#000000);
}

h1 { font-size: 3rem; margin-bottom: 0.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 0.5rem; }
h3 { font-size: 2rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.5rem; margin-bottom: 0.5rem; }
h5 { font-size: 1.25rem; margin-bottom: 0.5rem; }
h6 { font-size: 1rem; margin-bottom: 0.5rem; }

main {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

section {
    margin-bottom: 40px;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.7);
    border-top: 1px solid #444;
}

a {
    color: #50fa7b;
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: #8be9fd;
}

/* --- Project Section Styles --- */
.project {
    margin-bottom: 40px;
}

/* Buttons container */
.project-buttons {
    margin-top: 0.5em;
}

/* Show Details / GitHub buttons */
.project-toggle,
.project-toggle:link,
.project-toggle:visited {
    display: inline-block;
    box-sizing: border-box;
    cursor: pointer;
    background-color: rgba(55, 63, 108, 0.95);
    color: #50fa7b;
    border: 1px solid #50fa7b;
    padding: 0.5em 1em;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    font-family: inherit;        /* match button font */
    font-size: 1rem;             /* match button font size */
    line-height: 1.5;            /* consistent height */
    transition: background-color 0.3s, color 0.3s;
    margin-top: 0.5em;
    margin-right: 0.5em;
}

.project-toggle:hover {
    background-color: #50fa7b;
    color: #1a1e38;
}


/* Hidden details */
.hidden {
    display: none;
}

/* Detailed text styling */
.project-details p {
    font-size: 0.9rem;
    font-style: italic;
    color: #cccccc;
    line-height: 1.4;
}

/* --- Responsive Adjustments --- */
@media (max-width: 600px) {
    /* Stack buttons vertically on small screens */
    .project-buttons {
        display: flex;
        flex-direction: column;
    }
    .project-toggle {
        margin-right: 0;
        width: 100%;
        text-align: center;
    }
}
nav a.active {
  font-weight: bold;
  background-color: rgba(80, 250, 123, 0.2);
  border-radius: 4px;
  padding: 2px 4px;
}