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

body {
    font-family: "Times New Roman", Times, Georgia, serif;
    font-size: 18px;
    line-height: 1.7;
    color: #111;
    background: #f9f8f6;
    max-width: 620px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

/* Index */

.index h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 2rem;
}

.index ul {
    list-style: none;
}

.index li {
    margin-bottom: 0.25rem;
}

.index a {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 1rem;
}

.index a:hover {
    text-decoration-thickness: 2px;
}

/* Back link */

.back {
    display: inline-block;
    margin-bottom: 2.5rem;
    font-size: 0.85rem;
    color: #111;
    text-decoration: none;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
}

.back::before {
    content: "\2190\00a0";
}

.back:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Typography */

h1 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

a {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

a:hover {
    text-decoration-thickness: 2px;
}

/* Projects */

.project {
    margin-bottom: 3rem;
}

.project p {
    color: #333;
    line-height: 1.8;
}

.project .link {
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    font-weight: 600;
}

/* About */

.about-section {
    margin-bottom: 2.5rem;
}

.about-section p {
    color: #333;
    line-height: 1.8;
}

.skills {
    list-style: none;
}

.skills li {
    font-size: 0.95rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid #ddd;
}

.skills li:last-child {
    border-bottom: none;
}

hr {
    border: none;
    border-top: 2px solid #111;
    margin: 2.5rem 0;
}

/* Contact row */

.contact-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

/* Button */

.btn {
    display: inline-block;
    background: none;
    color: #111;
    text-decoration: none;
    padding: 0.35rem 1rem;
    border: 1px solid #111;
    font-family: inherit;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.btn:hover {
    background: #111;
    color: #f9f8f6;
}
