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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: white;
  color: #333;
}

/* Main centering wrapper */
.wrapper {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

/* Sidebar + Content container */
.container {
  display: flex;
  max-width: 1000px;
  width: 100%;
  gap: 60px;
  position: relative;
}

/* Sidebar (fixed on large screens) */
.sidebar {
  width: 280px;
  position: fixed;
  top: 60px;
  left: max(calc(50% - 500px), 20px);
  flex-shrink: 0;
}

.sidebar h1 {
  font-size: 1.5em;
  margin-bottom: 10px;
  font-weight: 400;
}

.sidebar p {
  font-size: 14px;
  margin: 6px 0 16px 0;
  font-weight: 300;
}

.sidebar a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #444;
  margin: 8px 0;
  font-size: 14px;
  font-weight: 300;
}

.sidebar a i {
  margin-right: 8px;
  min-width: 18px;
}

.sidebar a:hover {
  text-decoration: underline;
}

/* Main content area */
.content {
  max-width: 640px;
  flex: 1;
  margin-left: 320px; /* space for sidebar */
  font-weight: 300;
}

.section {
  margin-bottom: 50px;
}

.section p {
  margin-bottom: 16px;

  line-height: 1.6;
}

.work-item {
  margin-bottom: 30px;
}

.work-item .date {
  font-size: 14px;
  color: #888;
  margin-bottom: 5px;
  font-weight: 300;
}

.work-item a {
  font-size: 16px;
  color: #428bca;
  text-decoration: none;
  font-weight: 400;
}

.work-item .desc {
  font-size: 14px;
  color: #555;
  margin-top: 4px;
  line-height: 1.5;
  font-weight: 300;
}

.work-item a:hover {
  text-decoration: underline;
}

.footer {
  text-align: center;
  font-size: 13px;
  color: #888;
  font-weight: 300;
  padding: 40px 0 20px;
  margin-top: 80px;
  line-height: 1.6;
}

/* Responsive for tablets and phones */
@media (max-width: 768px) {
  .wrapper {
    padding: 40px 20px;
  }

  .container {
    flex-direction: column;
    gap: 20px;
  }

  .sidebar {
    position: static;
    width: 100%;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
  }

  .content {
    margin-left: 0;
    padding-top: 20px;
  }
}
