body {
  align-items: center;
}

.container {
  display: flex;
  gap: 6rem;
  padding: 2rem;
  animation: fadeIn 0.5s ease-out;
}

@media (max-width: 640px) {
  .container {
    flex-direction: column;
    gap: 3rem;
  }
}

/* profile */

h1 {
  font-size: 16px;
  font-weight: normal;
  margin-bottom: 1.5rem;
  color: #fff;
}

nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

nav a {
  color: #949494;
  text-decoration: none;
  transition: color 0.15s;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

nav a::after {
  content: attr(data-user);
  color: #878787;
  font-size: 12px;
}

nav a:hover {
  color: #fff;
}

nav a:hover::after {
  color: #aaa;
}

.lang {
  margin-top: 1.2rem;
  display: inline-block;
}

.cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.1em;
  background: #0f0;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
  margin-top: 1.5rem;
  box-shadow: 0 0 8px rgba(0, 255, 0, 0.4), 0 0 2px rgba(0, 255, 0, 0.8);
}

@keyframes blink {
  50% { opacity: 0; }
}

/* blog list */

.blog {
  max-width: 420px;
}

.blog h2 {
  font-size: 16px;
  font-weight: normal;
  color: #878787;
  margin-bottom: 1.5rem;
}

.post a {
  color: #fff;
  text-decoration: none;
  transition: color 0.15s;
}

.post a:hover {
  color: #0f0;
}

.post p {
  color: #878787;
  margin-top: 0.3rem;
  line-height: 1.5;
}

.posts {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
