* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Helvetica, Arial, sans-serif;
}

body {
    line-height: 1.6;
    margin: 0;
    border: 1px solid black;
}

@media (min-width: 768px) {
    body {
        margin: 0 20%;
    }
}

header {
    background: #fff;
    color: #333;
    padding: 0;
    top: 0;
    border-bottom: 1px solid black;
}

.profile-container {
    display: flex;
    align-items: center;
}

.profile {
    background-image: url("/assets/profile.jpg");
    background-position: center;
    background-size: cover;
    width: 50px;
    height: 50px;
    border: 1px solid #333;

    margin-right: 10px;
}

.name-variant {
    font-size: 14px;
    line-height: 1.2;
}

.tagline {
    font-size: 11px;
    color: #666;
    font-style: italic;
    margin-top: 2px;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: #333;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    border-top: 0;
    border-bottom: 0;
}

section {
    margin-bottom: 4rem;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid black;
}

.section-column {
    border-right: 1px solid black;
    margin: 0;
}

.section-column:last-child {
    border-right: none;
}

@media (max-width: 767px) {
    .section-grid {
        grid-template-columns: 1fr;
    }

    .section-column {
        border-right: none;
        border-bottom: 1px solid black;
    }

    .section-column:last-child {
        border-bottom: none;
    }
}

.card {
    border-bottom: 1px solid black;
    padding: 1.5rem;
}

.card:last-child {
    border-bottom: none;
}

.card p:first-child {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    color: #333;
}

.tag:hover {
    background: #333;
    color: #fff;
    border-color: #333;
}

footer {
    border: 1px solid black;
    border-left: 0;
    border-right: 0;
}

.footer-left ul {
    margin: 0;
    padding: 0;
}

.footer-left li {
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 18px;
    line-height: normal;
    text-align: left;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 33.33%;
}

.footer-left {
    border-right: 1px solid black;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-quote {
    font-style: italic;
    color: #666;
    font-size: 14px;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

.footer-right {
    background-image: url("/assets/letters.jpeg");
    background-position: center;
    background-size: cover;
}

.black-square {
    padding: 0;
    margin: 0 3px;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    background-color: black;
}

.black-square a {
    font-size: 15px;
    color: white;
    display: inline-block;
    text-align: center;
    line-height: 20px;
    padding: 2px;
    margin: 4px 2px;
    text-decoration: none;
}
