
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #0f1419;
}

/* Layout container */
nav {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.logo {
    margin-right: auto;
    font-weight: 700;
}

/* Top nav */
nav > p:first-child {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 15px;
    margin-bottom: 20px;
}

/* Links */
a {
    color: #1d9bf0;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

/* Headings / section titles */
p:first-of-type {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Lists (blog/posts feed) */
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Each post/blog card */
li {
    padding: 16px 0;
    border-bottom: 1px solid #eff3f4;
}

/* Title */
.title,
li > p:first-child {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
}

/* Body text */
li p {
    margin: 4px 0;
    line-height: 1.5;
    font-size: 15px;
    color: #0f1419;
}

/* Timestamp */
li p:nth-child(2) {
    color: #536471;
    font-size: 13px;
}

/* Buttons */
button {
    background-color: #1d9bf0;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

button:hover {
    background-color: #1a8cd8;
}

/* Forms */
input,
textarea,
select {
    width: 100%;
    padding: 10px;
    margin: 8px 0 16px;
    border-radius: 6px;
    border: 1px solid #cfd9de;
    font-size: 14px;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #1d9bf0;
}

/* Divider */
hr {
    border: none;
    border-top: 1px solid #eff3f4;
    margin: 20px 0;
}

/* Subtle hover for posts */
li:hover {
    background-color: #f7f9f9;
}
