:root {
  --bg: #fafafa;
  --text: #222;
  --accent: #0077ff;
  --border: #e5e5e5;
}

main {
  flex: 1;
  width: 100%;
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

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

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
    padding: 3rem 1.5rem 1rem;
    text-align: center;
}

header .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

header .logo img {
  height: 40px;
  margin-right: 0.5rem;
}

header .logo span {
  font-weight: 600;
  font-size: 1rem;
}

header h1 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.date-posted {
  color: #666;
  font-size: 0.9rem;
}


footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #777;
}

.linked_box {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    transition: all 0.2s ease;
    background: white;
    margin: 1rem 1rem 1rem 0rem;
}

.linked_box:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgb(74, 76, 88);
}

.linked_box h2 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.linked_box p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.linked_box a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.no-link {
        color: inherit;
        outline: none;
        text-decoration: none;
    }

@media (max-width: 600px) {
  header h1 {
    font-size: 1.6rem;
  }
  .project {
    padding: 1rem;
  }
}
