/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0d0d0d;
  --text: #757575;
  --link: #a0a0a0;
  --accent: #505050;
  --font: "Courier New", Courier, monospace;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
    min-height: 100vh;
  
  display: flex;
  align-items: center;
  justify-content: center;
    overflow-y: auto; 
   overflow-x: hidden; 
  padding: 20px;
}

#wrapper {
  max-width: 850px;
  display: flex;
  flex-direction: row; /* Puts content on left, ASCII on right */
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* LEFT CONTENT (LEFT ALIGNED) */
.content-side {
  flex-direction: column;
  align-items: flex-start; 
  text-align: left;        
  gap: 20px;
  max-width: 650px;
}

/* NAVIGATION */
nav {
  display: flex;
  gap: 15px;
  text-transform: lowercase;
}

nav a {
  color: var(--link);
  text-decoration: none;
  font-size: 12px;
}

nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* TEXT AREA */
main p {
  line-height: 1.5;
  color: var(--text);
}

/* FOOTER */
footer {
  font-size: 11px;
  color: var(--accent);
}

/* LARGE RIGHT-SIDE ASCII ART */
.ascii {
  color: var(--accent);
  font-size: 14px;
    line-height: 0.7; 
  letter-spacing: 0; 
  font-family: var(--font);
  user-select: none;
}

/* MOBILE RESPONSIVE (STACKS ON SMALL SCREENS TO PREVENT OVERFLOW) */
@media (max-width: 800px) {
  #wrapper {
    flex-direction: column-reverse; /* Puts ASCII on top or bottom cleanly */
    align-items: flex-start;
    gap: 15px;
    padding-left:20px;
    padding-bottom: 20px;
  }
  
  .ascii {
    font-size: 10px;
      text-decoration: bold;

  }
}

/* --- CUSTOM MINIMALIST SCROLLBAR --- */

/* Firefox & Standard Browsers */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg);
}

/* Chrome, Edge, Safari & WebKit Browsers */
::-webkit-scrollbar {
  width: 4px;              /* Makes the scrollbar narrow */
  height: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg);   /* Matches page background */
}

::-webkit-scrollbar-thumb {
  background: var(--accent); /* Dark muted thumb color */
  border-radius: 0px;      /* Flat edges to match ASCII aesthetic */
}

::-webkit-scrollbar-thumb:hover {
  background: var(--link); /* Slightly brightens on hover */
}