:root {
    --text: #000000;
    --muted: #545252;
    --rule: #bbb;
    --link: #0000ee;
    --max-width: 1000px;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 17px;
}

body {
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;

    max-width: var(--max-width);

    background: #ffffff;
    color: var(--text);

    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.65;
}

h1,
h2,
h3,
h4 {
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 432;
    color: #111;
    text-align: center;
}

h1 {
    margin: 0;
    font-size: 1.35rem;
    letter-spacing: 0.01em;
}

p {
    text-align: justify;
}

strong {
    font-weight: 600;
}

em {
    font-style: italic;
}

.site-header {
    margin-bottom: 2rem;
    text-align: center;
}

section {
    margin-bottom: 2.5rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 1rem;

    margin-bottom: 1.8rem;

    font-family: Helvetica, Arial, sans-serif;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.section-title::before,
.section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--rule);
}

.skill-theme { margin-top: 1rem; margin-bottom: 1.5rem; }
.skill-theme h4 { margin-bottom: 0.4rem; font-size: 0.95rem; }
.skill-tag {
  display: inline-block;
  background: #eef2f7;
  color: #1a2b4c;
  padding: 0.25rem 0.7rem;
  margin: 0.15rem 0.3rem 0.15rem 0;
  border-radius: 999px;
  font-size: 0.8rem;
}

a {
    color: var(--link);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

figure img {
    display: block;
    margin: auto;
    width: 70%;
    height: auto;
}

ul {
    padding-left: 1.5rem;
}


footer {
    margin-top: 5rem;

    border-top: 1px solid var(--rule);
    padding-top: 1rem;

    color: var(--muted);
    font-family: Helvetica, Arial, sans-serif;
    font-size: 0.75rem;
}

@media (max-width: 600px) {
    html {
        font-size: 16px;
    }

    figure {
        display: block;
        margin: auto;
        width: 100%;
        height: auto;
    }

    body {
        padding: 2rem 1.1rem 3rem;
    }

    .site-header {
        margin-bottom: 2rem;
    }

    section {
        margin-bottom: 3rem;
    }
}
