/* ========================================
   BASE
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #0d1117;
    color: #e6edf3;

    font-family:
        "Courier New",
        Courier,
        monospace;

    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


/* ========================================
   LAYOUT
   ======================================== */

header,
main,
footer {
    width: min(1100px, 90%);
    margin: 0 auto;
}

section {
    padding: 100px 0;
}


/* ========================================
   NAVIGATION
   ======================================== */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 25px 0;

    border-bottom: 1px solid #30363d;
}

.logo {
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 25px;
}


/* ========================================
   TERMINAL
   ======================================== */

.terminal-line {
    color: #7ee787;
    margin-bottom: 15px;
}


/* ========================================
   HERO
   ======================================== */

#hero {
    min-height: 75vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

#hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
}

#hero h2 {
    color: #8b949e;
    font-size: clamp(1.2rem, 3vw, 2rem);

    margin-top: 10px;
}

.intro {
    max-width: 600px;
    margin-top: 25px;

    color: #8b949e;
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;

    margin-top: 35px;
}

.hero-buttons a {
    border: 1px solid #30363d;
    padding: 10px 18px;

    transition: 0.2s ease;
}

.hero-buttons a:hover {
    border-color: #7ee787;
    color: #7ee787;

    text-decoration: none;
}


/* ========================================
   HEADINGS
   ======================================== */

section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

section p {
    max-width: 750px;
}


/* ========================================
   PROJECTS
   ======================================== */

.projects-container {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(300px, 1fr));

    gap: 25px;
}

.project-card {
    border: 1px solid #30363d;

    padding: 30px;

    transition: 0.2s ease;
}

.project-card:hover {
    border-color: #7ee787;

    transform: translateY(-3px);
}

.project-card h3 {
    margin-bottom: 15px;
}

.project-card p {
    color: #8b949e;
}

.technologies {
    margin-top: 20px;

    color: #7ee787 !important;

    font-size: 0.9rem;
}

.project-links {
    display: flex;
    gap: 20px;

    margin-top: 25px;
}


/* ========================================
   SKILLS
   ======================================== */

.skills-container {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(250px, 1fr));

    gap: 30px;
}

.skills-container h3 {
    margin-bottom: 10px;
}

.skills-container p {
    color: #8b949e;
}


/* ========================================
   CONTACT
   ======================================== */

.contact-links {
    display: flex;
    gap: 25px;

    margin-top: 25px;

    color: #7ee787;
}


/* ========================================
   FOOTER
   ======================================== */

footer {
    border-top: 1px solid #30363d;

    padding: 30px 0;

    display: flex;
    justify-content: space-between;

    color: #8b949e;

    font-size: 0.85rem;
}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 700px) {

    nav {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    section {
        padding: 70px 0;
    }

    footer {
        flex-direction: column;
        gap: 10px;
    }

}
