body {
  font-family: Consolas, 'Courier New', monospace;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #1e1e1e;
  color: #d4d4d4;
}

.title {
  color: #d4d4d4;
}

header {
  background: #1e1e1e; /* match the .tabs background */
  color: #fff;
  padding: 1em;
  text-align: center;
}

summary {
  color: #333;
}

nav a {
  margin: 0 10px;
  color: #fff;
  text-decoration: none;
  font-family: 'Fira Code', monospace;
}

section {
  padding: 2em;
}

h1, h2, h3 {
  color: #d4d4d4;
}

a {
  color: #007acc;
}

details summary {
  cursor: pointer;
  padding: 0.5em;
  background-color: #f2f2f2;
  border-radius: 5px;
}

details[open] summary {
  background-color: #e0e0e0;
}

.tag {
  margin-bottom: 2px;
}

#job {
  margin-bottom: 1px;
}

#position {
  margin-top: 0px;
  margin-bottom: 5px;
}

/* Carousel */
.carousel {
  position: relative;
  max-width: 700px;
  margin: 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.carousel-track {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #181818;
}

.carousel-track .images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.carousel-track .images.active {
  opacity: 1;
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #d4d4d4;
  border: 1px solid #444;
  font-size: 1.4rem;
  padding: 0.6rem 0.8rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.carousel-dots {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #555;
  cursor: pointer;
  transition: background 0.2s;
}

.dot.active {
  background: #007acc;
}

@media (max-width: 768px) {
  .carousel {
    max-width: 100%;
    padding: 0 0.5rem;
  }

  .carousel-btn {
    font-size: 1.1rem;
    padding: 0.4rem 0.6rem;
  }
}

.contact {
  margin-top: 3px;
  margin-bottom: 3px;
  margin-left: 20px;
}

.contactgithub {
  margin-top: 1px;
  margin-left: 20px;
}

#about-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 1em;
}

#professional {
  width: 425px;
  height: 425px;
}

#about-grid div {
  margin-bottom: 1em;
}

@media (max-width: 768px) {
  #about-grid {
    grid-template-columns: 1fr;
  }

  #professional {
    width: 100%;
    height: auto;
    display: block;
    margin: 1em auto 0 auto;
    max-width: 425px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }
}

p, h2, h3, h4, a {
  margin: 1%;
}

ul.no-bullets {
  list-style-type: none;
}

/*Look like VS Code tabs*/
.tabs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;                /* 🔸 CENTER the tabs */
  background-color: #1e1e1e;
  padding: 0.5rem;
  border-bottom: 1px solid #333;
  gap: 0.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;                  /* Hide scrollbar in Firefox */
}

.tabs::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.tab-link {
  flex: 0 0 auto;
  color: #cccccc;
  background-color: #2d2d2d;
  padding: 0.4rem 1rem;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  text-decoration: none;
  border: 1px solid transparent;
  border-bottom: none;
  transition: background 0.2s ease;
  white-space: nowrap;
  font-size: 0.95rem;
}

.tab-link:hover {
  background-color: #3a3a3a;
}

.tab-link.active {
  background-color: #262626;
  color: white;
  border: 1px solid #3c3c3c;
  border-bottom: 1px solid #1e1e1e;
  z-index: 2;
}
/*Add orange to the <> tab*/
.tab-symbol {
  color: #e66407;
  margin-left: 4px;
  font-weight: bold;
}

.pound-symbol {
  color: #4FC1FF;
  margin-left: 4px;
  font-weight: bold;
}

.javascript-symbol {
  color: #f1e05a;
  margin-left: 4px;
  font-weight: bold;
}

.angled {
  font-family: Consolas, 'Courier New', monospace;
  font-variant-ligatures: none;
  letter-spacing: -0.0ch; /* shrinks the space */
  margin-right: 6px;
}

/*<h#> Symbol color changes*/
.header-symbols {
  color: #569cd6;
}

.alligators {
  color: #808080;
}

.comment {
  color: #6a9955;
}

.hreference {
  color: #9cdcfe;
}

.quotes {
  color: #ce9178;
}

.mailto {
  color: #6a9955;
}
.links {
  color: #fff;
  margin-left: 3px;
  margin-right: 3px;
}

/*Resume Styling*/

.header-yellow {
  color: #f8c555;
}

.stylesheet-links {
  color: #ce9178;
  margin-left: 3px;
  margin-right: 1px;
}

.media-style {
  color: #c586c0;
}

.pixel-style {
  color: #b5cea8;
}