* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 3rem;
  background: #f4f4f4;
  color: #222;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.personal * {
	text-align: center;
}

.personal h1 {
	font-size: 36px;
	margin-bottom: 0;
}

.personal h2 {
	margin-top: 0;
	color: #b1b1b1;
	opacity: 0.85;
	letter-spacing: 0.5px;
}

/* section card */
.card {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem;

  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
}

/* section header */
.card h2 {
  margin: 0 0 1rem 0;
  font-size: 0.95rem;
  font-weight: 600;
}


/* card stacking */
.card + .card {
  margin-top: 2rem;
}

/* showcase layout */
.showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

/* entry card */
.entry {
  padding: 0.75rem;
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 6px;

  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background 0.15s ease;
}

/* entry title */
.entry h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.card:last-of-type .entry {
  text-align: center;
}

/* entry image */
.preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;

  border-radius: 4px;
  background: #ddd;
}

/* entry description */
.entry p {
  margin: 0;
  font-size: 0.8rem;
  color: #555;
}

/* entry list container */
.entry ul {
  margin: 0.5rem 0 0 0;
  padding-left: 1.1rem;

  font-size: 0.8rem;
  color: #555;
}

/* entry list items */
.entry ul li {
  margin-bottom: 0.25rem;
}


/* entry hover */
.entry:hover {
  background: #f0f0f0;
}

#social-card {
  max-width: 900px;
  margin: 1.5rem auto 0 auto;
  padding: 0.75rem 0;

  text-align: center;
  border-top: 1px solid #e0e0e0;
}

#social-card h3 {
  margin: 0 0 0.75rem 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #444;
}

#social-card ul {
  margin: 0;
  padding: 0;

  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icon {
  width: 20px;
  height: 20px;
  fill: #666;
  transition: fill 0.15s ease;
}

.social-link a:hover .social-icon {
  fill: #000;
}

.steam-icon {
  transform: scale(0.9);
}