/* Base styles */
:root {
  --bg-color: #0d1117;
  --text-color: #e6edf3;
  --accent-color: #58a6ff;
  --code-keyword: #ff7b72;
  --code-function: #d2a8ff;
  --code-string: #a5d6ff;
  --code-variable: #79c0ff;
  --code-property: #79c0ff;
  --code-return: #ff7b72;
  --code-const: #79c0ff;
}

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

body {
  font-family: 'Fira Code', monospace;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  padding: 2rem;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Profile section */
.profile {
  margin-bottom: 2rem;
  text-align: center;
}

.avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid var(--accent-color);
  object-fit: cover;
}

/* Tags section */
.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tag {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--accent-color);
}

/* Code container */
.code-container {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 1.5rem;
  overflow-x: auto;
  margin-bottom: 2rem;
}

.code-block {
  font-family: 'Fira Code', monospace;
  white-space: pre-wrap;
  color: var(--text-color);
  line-height: 1.5;
  word-break: break-word;
}

/* Code syntax highlighting */
.const {
  color: var(--code-const);
}

.variable {
  color: var(--code-variable);
}

.function {
  color: var(--code-function);
}

.return {
  color: var(--code-return);
}

.property {
  color: var(--code-property);
}

.string {
  color: var(--code-string);
}

/* Footer */
footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  body {
      padding: 1rem;
  }

  .code-container {
      padding: 1rem;
  }
}
