:root {
  --color-base: #1e1e2e;
  /* Background */
  --color-text: #cdd6f4;
  /* Main text */
  --color-subtext: #a6adc8;
  /* Dimmed text */
  --color-blue: #89b4fa;
  /* Links */
  --color-green: #a6e3a1;
  /* Prompts, cursor */
  --color-yellow: #f9e2af;
  /* Key hints */
  --color-mauve: #cba6f7;
  /* Accents */
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--color-base);
  color: var(--color-text);
  font-family: "Inconsolata", monospace;
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Terminal Container */
#terminal {
  width: 100%;
  max-width: 800px;
}

a {
  color: var(--color-blue);
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-yellow);
}

.key {
  color: var(--color-yellow);
  font-weight: bold;
  font-size: 0.8rem;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  padding-right: 0.2rem;
}


/* Cursor */
.vim-cursor {
  display: inline-block;
  animation: blink 1.5s step-end infinite;
  pointer-events: none;
  color: var(--color-green);
}

.section {
  margin-bottom: 2rem;
}

.web-links nav {
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-mauve);
}

@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

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

  .section {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 12px;
    padding: 0.5rem;
  }

  .section {
    margin-bottom: 1rem;
  }
}

/* Selection */
::selection {
  background-color: var(--color-mauve);
  color: var(--color-base);
}

::-moz-selection {
  background-color: var(--color-mauve);
  color: var(--color-base);
}
