/* Base styles */
body {
    font-family: 'Courier New', Courier, monospace;
    background-color: #001219;
    color: #ffffff;
    padding: 20px;
    margin: 0;
    overflow-x: hidden;
    padding-bottom: 50px;
  }
  
  ::selection {
    background-color: #74c69d;
    color: #001219;
  }
  
  ::-moz-selection {
    background-color: #519975;
    color: #211830;
  }

  body::after {
    content: '';
    display: block;
    height: 100px;  /* Extra space at bottom of page */
    width: 100%;
  }
  
  /* ASCII art container and elements */
  .ascii-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: auto;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .ascii-art-1 {
    width: 20%;
    color: white;
    font-size: 0.8vw;
    animation: fadeIn 2s ease-in-out;
    transition: color 0.5s ease-in-out;
    display: inline-block;
    text-align: left;
  }
  
  .ascii-art-2 {
    color: white;
    font-size: 1.5vw;
    animation: fadeIn 2s ease-in-out;
    transition: color 0.5s ease-in-out;
    display: inline-block;
    text-align: left;
  }
  
  .ascii-art-1:hover {
    color: #00ff00;
  }
  
  .ascii-art-2:hover {
    color: #FF0000;
  }
  
  /* Text styles */
  .heading {
    font-size: 1.5vw;
    color: #e63946;
    text-align: center;
    margin-bottom: 20px;
    max-width: fit-content;
    width: fit-content;
    white-space: nowrap;
    overflow: visible; /* Ensure no text is cut off */
  }
  
  .infos {
    font-size: 1.2vw;
    color: white;
    text-align: center;
    margin-bottom: 20px;
  }

  #daily-quote-container {
    margin-top: 20px;
    font-size: 1.2vw;
    color: #ffffff;
    text-align: center;
    font-style: italic;
    border-top: 2px solid #74c69d;
    padding-top: 10px;
}

#daily-quote {
    margin: 10px 0;
    font-size: 1.5vw;
}

  
/* Terminal output container */
#output-container {
    width: 100%;
    overflow-x: auto;     /* Allow horizontal scrolling if needed */
    position: relative;   /* For proper positioning context */
    min-height: 20px;     /* Ensure there's at least some space even when empty */
}
  
  /* Terminal input styles */
  #input-container {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;  /* Position relative for better flow */
    
}
  
  #prompt {
    color: #FF0000;
    list-style: none;
    line-height: 2.3em;
    display: inline-block;
    white-space: nowrap;  /* Prevent prompt from wrapping */
  }
  
  #command-input {
    display: inline-block;
    min-width: 20px;
    border: none;
    background: none;
    color: inherit;
    outline: none;
    font-family: 'Courier New', monospace;
    line-height: 2.2em;
    caret-color: transparent;
    flex-grow: 1;          /* Allow input to take available space */
  }
  
  #command-input:empty::before {
    content: '\200B'; /* Zero-width space */
  }
  
  #command-input::after {
    content: '';
    display: inline-block;
    background-color: #fff;
    animation: blinker 1s infinite;
    position: relative;
  }


  /* Footer */
  footer {
    text-align: center;
    background-color: #111;
    position: fixed;
    width: 100%;
    bottom: 0;
    box-shadow: 0 -2px 10px #0f0;
    left: 0;
    height: 30px;
    padding-top: 10px;
    padding-bottom: 5px;
    font-size: 0.9rem;
    color: #ffffff;
    z-index: 100;
  }
  
  footer p {
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
  }
  
  /* Text color styles */
  .index {
    color: #DCDCCC;
  }
  
  .color1 {
    color: #00ff80;
    font-size: 80%;
  }
  
  .color2 {
    color: #9bf6ff;
    text-shadow: 0 0 10px #9bf6ff;
  }
  
  .color3 {
    color: orange;
  }
  
  .color4 {
    color: #FF0000;
  }
  
/* Command input styling */
.command {
    color: #00ff80;
    text-shadow: 0 0 15px #00ff80;
  }
  
  .error {
    color: #B89076;
  }
  
  .white {
    color: #fff;
  }
  
  /* Link styles */
  .inherit,
  a {
    color: #e87575;
    text-decoration: inherit;
  }
  
  a:hover {
    background: #73ABAD;
    color: #211830;
  }
  
  a:focus {
    outline: 0;
  }
  
  /* Paragraph styles */
  p {
    display: block;
    line-height: 1.3em;
    margin: 0;
    overflow: hidden;
    white-space: pre-wrap;
    letter-spacing: 0.05em;
    word-wrap: break-word;
    padding-right: 30px;
  }
  
  /* Animations */
  @keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }
  
  @keyframes blinker {
    50% { opacity: 0; }
  }
  
  @keyframes typing {
    from { width: 0; }
    to { width: 100%; }
  }
  
  /* Responsive styles */
  /* Mobile devices */
  @media only screen and (max-width: 600px) {
    .ascii-art-1 { font-size: 0.5vw; }
    .ascii-art-2 { font-size: 1vw; }
    .heading { font-size: 3vw;line-height: 1.2; }
    .infos, .command, #input-container, #command-input, p { font-size: 2.5vw; }
    #command-input::after { height: 2.5vw; width: 1vw; }
    #daily-quote {
      font-size: 4vw; /* Larger font size for smaller screens */
  }
  }
  
  /* Tablets */
  @media only screen and (min-width: 601px) and (max-width: 1024px) {
    .ascii-art-1 { font-size: 0.5vw; }
    .ascii-art-2 { font-size: 1vw; }
    .heading { font-size: 2.5vw; }
    .infos, .command, #input-container, #command-input, p { font-size: 2vw; }
    #command-input::after { height: 2vw; width: 0.5vw; }
    #daily-quote {
      font-size: 2.5vw; /* Medium size for tablets */
  }
  }
  
  /* Desktop and laptop screens */
  @media only screen and (min-width: 1025px) {
    .ascii-art-1 { font-size: 0.5vw; }
    .ascii-art-2 { font-size: 0.8vw; }
    .heading { font-size: 1.2vw; }
    .infos { font-size: 1vw; }
    .command, #input-container, #command-input, p { font-size: 1.2vw; }
    #command-input::after { height: 1.2vw; width: 0.5vw; }
  }