/* =========================================
   sysadmin.solutions
   Main stylesheet
   ========================================= */


/* ---------- Base ---------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #111;
    color: #d8d8d8;

    font-family:
        "Courier New",
        Courier,
        monospace;

    line-height: 1.6;
}


/* ---------- Layout ---------- */

.container {
    width: min(900px, 100%);
    margin: 0 auto;

    padding: 60px 25px;
}


/* ---------- Header ---------- */

header {
    padding-bottom: 30px;
    margin-bottom: 45px;

    border-bottom: 1px solid #444;
}

.terminal {
    margin-bottom: 15px;

    color: #777;
    font-size: 14px;
}

h1 {
    margin: 0;

    color: #eee;

    font-size: clamp(32px, 7vw, 64px);
    font-weight: 700;

    letter-spacing: 4px;
}

.tagline {
    margin-top: 10px;

    color: #888;

    font-size: 16px;
}


/* ---------- Sections ---------- */

section {
    margin-bottom: 50px;
}

h2 {
    margin-bottom: 20px;

    padding-left: 12px;

    border-left: 3px solid #888;

    color: #eee;

    font-size: 18px;
    letter-spacing: 2px;
}

p {
    max-width: 700px;

    color: #aaa;
}


/* ---------- Projects ---------- */

.project {
    margin-bottom: 14px;

    padding: 20px;

    background: #151515;

    border: 1px solid #333;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.project:hover {
    background: #191919;

    border-color: #666;
}

.project h3 {
    margin-top: 0;
    margin-bottom: 8px;

    color: #ddd;

    font-size: 16px;
}

.project p {
    margin-bottom: 0;

    font-size: 14px;
}


/* ---------- Links ---------- */

a {
    color: #ccc;

    text-decoration: none;

    border-bottom: 1px dotted #777;

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

a:hover {
    color: #fff;

    border-color: #fff;
}


/* ---------- Status ---------- */

.status {
    margin-top: 30px;
    margin-bottom: 35px;

    color: #666;

    font-size: 13px;
}

.status span {
    color: #aaa;
}


/* ---------- Footer ---------- */

footer {
    padding-top: 25px;

    border-top: 1px solid #333;

    color: #666;

    font-size: 13px;
}

footer span {
    margin: 0 5px;
}


/* ---------- Mobile ---------- */

@media (max-width: 600px) {

    .container {
        padding: 40px 20px;
    }

    h1 {
        font-size: 34px;

        letter-spacing: 2px;
    }

    .project {
        padding: 16px;
    }

}