:root {
  --bg: #0f1116;
  --accent: #00ffc6;
  --text: #e3e3e3;
  --muted: #999999;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto Mono', monospace;
}

iframe {
  border: none;
  border-radius: 0.625rem;
  width: 100%;
  padding-left: 0;
}

body {
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  /* set on body so elements that inherit font (reset.css) get the correct font */
  font-family: 'Roboto Mono', monospace;
}

header {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  background: rgba(15, 17, 22, 0.9);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
}

strong {
  color: var(--accent);
  font-weight: bold;
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
}

.logo .accent .user {
  color: var(--accent);
}

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: bold;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--accent);
}

hr {
  width: 50%;
  border-bottom: 0.125rem solid var(--accent);
}

.user {
  color: var(--accent);
}

.host {
  color: red;
}

.title {
  font-weight: bold;
  font-size: 1.2rem;
}

.hidden {
  display: none;
}

.output {
  color: var(--muted);
}

.btn {
  background: var(--accent);
  color: #000;
  padding: 0.8rem 1.5rem;
  border-radius: 0.3125rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #00dab0;
}

section {
  padding: 3rem 10%;
}

#about {
  padding-top: 6rem;
}

h3 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--text)
}

.banners {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 48rem) {
  .banners {
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  }
}

.about p {
  max-width: 43.75rem;
  color: var(--muted);
}

.skills-grid, .education-grid, .certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13.75rem, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.skill, .education-card, .certification-card {
  background: #1a1d26;
  padding: 1.5rem;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.skill:hover, .education-card:hover, .certification-card:hover {
  transform: translateY(-0.3125rem);
}

.btn-small {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: 0.25rem;
  transition: all 0.3s ease;
}

.btn-small:hover {
  background: var(--accent);
  color: #000;
}

footer {
  text-align: center;
  padding: 2rem 0;
  border-top: 0.0625rem solid #1d1f25;
  color: var(--muted);
}

.cursor {
  display: inline-block;
  width: 0;
  height: 1em;
  border-left: 0.125rem solid var(--text);
  margin-left: 0.1rem;
  vertical-align: -0.12em; /* lower the caret slightly to match text baseline */
  animation: cursor-blink 1s steps(1, end) infinite;
}
@keyframes cursor-blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}