/* ==========
   General
========== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    background: #c6c6c6;
    color: black;
    max-width: 950px;
    margin: auto;
    padding: 50px 30px;
    line-height: 1.75;
    font-size: 17px;
}

/* ==========
   Headings
========== */

h1 {
    font-size: 2.8rem;
    font-weight: 600;
    color: white;
    margin-top: 20px;
    margin-bottom: 10px;
}

h2 {
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 600;
    color: black;
    border-bottom: 2px solid #e6e6e6;
    padding-bottom: 8px;
}

h3 {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* ==========
   Paragraphs
========== */

p {
    margin-bottom: 20px;
}

/* ==========
   Links
========== */

a {
    color: #666;
    text-decoration: none;
    transition: 0.2s;
}

a:hover {
    color: black;
    text-decoration: underline;
}

/* ==========
   Header
========== */

header {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

header img {
    width: 190px;
    height: 190px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 6px 20px rgba(0,0,0,.12);
}

.header-text {
    flex: 1;
}

.subtitle {
    color: #c0c0c0;
    font-size: 1.1rem;
    margin-bottom: 18px;
}

.hero {
    background-image: url("images/banner.jpg");
    background-size: cover;
    background-position: center;

    padding: 80px 50px;
    border-radius: 15px;
    color: white;
}

/* ==========
   Navigation
========== */

nav {
    margin-top: 15px;
}

nav a {
    margin-right: 20px;
    font-weight: 500;
}

/* ==========
   Lists
========== */

ul {
    padding-left: 25px;
    margin-bottom: 20px;
}

li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
}

ul.th-list {
    padding-left: 0 !important;
    list-style: none !important;
    list-style-image: none !important;
}

ul.th-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    list-style-type: none !important;
}

ul.th-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 20px;
    height: 20px;
    background-image: url("images/blackhole.svg");
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
}

/* ==========
   Project cards
========== */

.card {
    background: white;
    padding: 22px;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.card hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 20px 0;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

/* ==========
   Buttons
========== */

.button {
    display: inline-block;
    padding: 10px 18px;
    background: white;
    color: black;
    border-radius: 2px;
    margin-top: 10px;
    border: 3px solid black;
}

.button:hover {
    background: #c6c6c6;
    color: black;
    text-decoration: none;
}

/* ==========
   Footer
========== */

footer {
    margin-top: 80px;
    padding-top: 25px;
    border-top: 1px solid #ddd;
    color: #888;
    text-align: center;
    font-size: .9rem;
}

/* ==========
   Mobile
========== */

@media (max-width: 700px) {

    body {
        padding: 30px 20px;
    }

    header {
        flex-direction: column;
        text-align: center;
    }

    header img {
        width: 150px;
        height: 150px;
    }

    nav a {
        display: inline-block;
        margin: 8px;
    }

    h1 {
        font-size: 2.2rem;
    }
}