main{
    color: #00ffff;
    background-color: black;
    margin: 0px;
    padding: 20px;
}
.site-header {
  width: 100%;
  padding: 0px;
  margin: 0px;
  background: #0d1117;
  border-bottom: 1px solid #00ffff;
}

.wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: #00ffff solid 1px;
  border-top: none;
  border-left: none;
  border-right: none;
}

.site-title {
  color: #ffffff;
  text-decoration: none;
  font-size: 2rem;
  margin-left: auto;
  margin-right: 20px;
}
.site-title:hover {
  text-decoration: underline;
  color: #00ffff;
}

.site-nav {
  position: relative;
  margin-left: 20px;
  margin-right: auto;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;/* Removes the underline */
}

.nav-links a:hover {
  text-decoration: underline;
  color: #00ffff;
}

.menu-btn {
  display: none;
  font-size: 2rem;
  color: #00ffff;
  cursor: pointer;
}

#nav-trigger {
  display: none;
}

/*
This is what enables:
-hamburger menu
-mobile dropdown
-responsive behavior
*/
@media (max-width: 768px) {

  .menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 50px;
    right: 0;
    background: #0d1117;
    padding: 1rem;
    border: 1px solid #00ffff;
  }

  #nav-trigger:checked ~ .nav-links {
    display: flex;
  }
}


/* =========================
   FOOTER
========================= */

.site-footer {
  background-color: #0d1117;
  color: #00ffff;
  border-top: 1px solid #00ffff;
  padding: 2rem 1rem;
}

.site-footer .wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  border: none; /* removes inherited wrapper border */
}

.footer-col-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-col {
  text-align: center;
}

/* Contact list */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  margin: 0.8rem 0;
}

/* Footer links */
.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #00ffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact-list a:hover {
  text-decoration: underline;
  opacity: 0.85;
}

/* SVG icons */
.icon svg {
  fill: #00ffff;
  vertical-align: middle;
}

/* Username text */
.username {
  font-size: 1rem;
  color: #00ffff;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .site-footer {
    padding: 1.5rem 1rem;
  }

  .contact-list a {
    font-size: 0.95rem;
  }

  .icon svg {
    width: 20px;
    height: 20px;
  }
}





:root {
    --bg: #0d1117;
    --text: #00ffff;
    --accent: #00ffff;
    --error: #ff4d4d;
  }

  body {
    font-family: "Courier New", monospace;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
  }

  h1 {
    font-size: 2rem;
    margin: 0.3rem 0;
    color: var(--accent);
    text-shadow: 0 0 8px var(--accent);
  }

  p {
    font-size: 1rem;
    color: #00ffff;
    text-align: center;
    max-width: 700px;
    line-height: 1.5;
  }

  /* Typing Game */
  #game {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  #command {
    font-size: 1.1rem;
    /*color: var(--accent);*/
    color:#c39c54;
    margin-bottom: 10px;
  }

  #input {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--text);
    padding: 6px 8px;
    outline: none;
    width: 260px;
    text-align: center;
  }

  #input::placeholder {
    color: #146c6c;
    font-size: 0.9rem;
  }

  /* Shake animation */
  @keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
  }

  .shake {
    animation: shake 0.4s;
  }

  #hint {
    font-size: 0.85rem;
    color: #c39c54;
    margin-top: 6px;
    font-style: italic;
  }

  #result {
    height: 1.2em;
    margin-top: 6px;
  }

  .success { color: var(--accent); }
  .fail { color: var(--error); }

  @keyframes spin { to { transform: rotate(360deg); } }


  footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #00ffff;
    text-align: center;
  }

  footer a {
    color: #00ffff !important;
    text-decoration: none;
  }

  footer a:hover {
    text-decoration: underline;
  }


/* Responsive Video Wrapper */
.video-wrapper {
  display: flex;
  justify-content: center;
  margin: 1.2rem auto 1.8rem auto;
  animation: fadeIn 1.2s ease-in-out;
  width: 100%;
}

/* Responsive adaptive video box */
.responsive-video {

  width: min(400px, 80vw);   /* Desktop: 400px, Mobile: scales down */
  aspect-ratio: 16 / 9;      /* Landscape */
  border: 1px solid var(--accent);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 18px rgba(0, 255, 159, 0.25);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: #020804;
}

.responsive-video:hover {
  transform: scale(1.03);
  box-shadow: 0 0 32px rgba(0, 255, 159, 0.45);
}

.responsive-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================
   GLOBAL LINK COLORS
========================= */

a {
  color: white;
  text-decoration: none;
}

a:visited {
  color:  white;;
}

a:hover {
  color:  white;;
  text-decoration: underline;
}

a:active {
  color:  white;;
}


/* =========================
   MAIN TEXT JUSTIFICATION
========================= */

main p {
  text-align: justify;
  line-height: 1.7;
}