/* ==========================================================
   AUCTARIUM
   Main stylesheet
   ========================================================== */

/* ----------------------------------------------------------
   Global
---------------------------------------------------------- */

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {

    margin: 0;
    padding: 0;

    font-family: "Inter", sans-serif;
    font-size: 1rem;
    line-height: 1.7;

    background: #ffffff;
    color: #202124;
}

/* ----------------------------------------------------------
   Typography
---------------------------------------------------------- */

h1,
h2,
h3 {

    margin-top: 0;

    font-weight: 600;
    line-height: 1.2;

    color: #111827;
}

h1 {
    font-size: 3.2rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.4rem;
}

p {

    margin-bottom: 1.5rem;

    color: #444;
}

/* ----------------------------------------------------------
   Links
---------------------------------------------------------- */

a {

    color: #1F4E79;

    text-decoration: none;

    transition: color 0.2s ease;
}

a:hover {

    color: #163A5A;
}

/* ----------------------------------------------------------
   Header
---------------------------------------------------------- */

header {

    background: white;

    border-bottom: 1px solid #e5e7eb;

    padding: 1.25rem 0;
}

/* ----------------------------------------------------------
   Navigation
---------------------------------------------------------- */

nav {

    max-width: 1100px;

    margin: auto;

    display: flex;

    justify-content: flex-end;

    gap: 2rem;

    padding: 0 2rem;
}

nav a {

    color: #555;

    font-size: 0.95rem;

    font-weight: 500;
}

nav a:hover {

    color: #202124;
}

/* ----------------------------------------------------------
   Main
---------------------------------------------------------- */

main {

    max-width: 1100px;

    margin: auto;

    padding: 5rem 2rem;
}

/* ----------------------------------------------------------
   Hero
---------------------------------------------------------- */

.hero {

    max-width: 760px;
}

.hero h1 {

    margin-bottom: 1rem;

    font-size: 4rem;

    font-weight: 700;
}

.hero .subtitle {

    margin-bottom: 2rem;

    font-size: 1.3rem;

    color: #666;
}

.hero p {

    font-size: 1.1rem;
}

/* ----------------------------------------------------------
   Buttons
---------------------------------------------------------- */

.button {

    display: inline-block;

    margin-top: 1rem;

    padding: 0.9rem 1.6rem;

    border: 2px solid #1F4E79;

    color: #1F4E79;

    font-weight: 600;

    transition: 0.25s ease;
}

.button:hover {

    background: #1F4E79;

    color: white;
}

/* ----------------------------------------------------------
   Footer
---------------------------------------------------------- */

footer {

    border-top: 1px solid #e5e7eb;

    margin-top: 4rem;

    padding: 2rem;

    text-align: center;

    font-size: 0.9rem;

    color: #777;
}

/* ----------------------------------------------------------
   Responsive
---------------------------------------------------------- */

@media (max-width: 800px) {

    nav {

        justify-content: center;

        flex-wrap: wrap;

        gap: 1rem;
    }

    h1 {

        font-size: 2.5rem;
    }

    .hero h1 {

        font-size: 3rem;
    }

    main {

        padding: 3rem 1.5rem;
    }
}

/* ----------------------------------------------------------
   Project cards
---------------------------------------------------------- */

.project-card {

    margin-top: 3rem;

    padding: 2rem;

    border: 1px solid #e5e7eb;

    border-radius: 8px;

    background: #fafafa;
}

.project-card h2 {

    margin-top: 0;
}

.project-card p {

    margin-bottom: 2rem;
}