/* General styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body{
    height: 100%; /* Ensure the body takes full height of the viewport */
    margin: 0;
  }
  
  body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4; /* Adjusted to the lighter background from style.css */
    color: #333; /* General text color from style.css */
    text-align: center;
    padding: 20px; /* Adjusted from both files for consistency */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  main {
    flex-grow: 1; /* Allow the main content to grow and fill the available space */
  }
  
  h1 {
    margin-bottom: 30px;
    color: #000;
    text-align: center;
  }
  
  h2 {
    margin: 20px 0 10px;
    color: #495057;
    text-align: center;
  }
  
  h3 {
    margin: 15px 0;
    color: #6c757d;
    text-align: center;
  }
  
  .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
  }
  
  .container:hover {
    box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.2);
  }
  
  .options {
    margin-bottom: 20px;
  }
  
  button {
    display: block;
    padding: 10px 20px;
    margin: 20px auto;
    background-color: #f4b800; /* Yellow button color from new.css */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
  }
 button1 {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px auto;
    background-color: #f4b800; /* Yellow button color from new.css */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
  }
  
  button:hover {
    background-color: #e6a700; /* Hover color for buttons */
  }
  
  .hidden {
    display: none;
  }
  
  .terminal {
    margin-top: 20px;
  }
  
  textarea,
  input {
    width: 100%;
    padding: 10px;
    font-family: monospace;
    background-color: #000;
    color: #0f0;
    border: 1px solid #333;
  }
.sidc-heading {
    font-size: 24px;      /* increase size */
    font-weight: 600;
    text-decoration: underline;
}
  
  input {
    font-size: 16px;
  }
  
  textarea {
    height: 500px;
    margin-bottom: 10px;
  }
  
  /* Host A and Host B terminals */
  .host-terminals {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 90%;
    gap: 20px;
    max-width: 1000px;
    margin: 20px auto;
  }
  .terminal {
    width: 90%;
    height: 500px;
    background: #000;
    color: #00ff00;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 10px;
  }
  
  .host-terminal {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  }
  
  .host-terminal h2 {
    margin-bottom: 10px;
  }
  
  textarea {
    flex-grow: 1;
    margin-bottom: 10px;
  }
  
  input {
    flex-shrink: 0;
  }
  
  /* Content Section for Each Page */
  .content-section {
    margin: 20px 0;
    text-align: center;
    line-height: 1.6;
  }
  
  .content-image {
    max-width: 80%;
    height: auto;
    margin: 20px auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  }
  
  .instructions {
    margin-bottom: 20px;
    text-align: left;
  }
  
  .instructions p {
    margin-bottom: 15px;
  }
  
  ol,
  ul {
    margin-left: 20px;
    margin-bottom: 15px;
  }
  
  code {
    background-color: #f8f9fa;
    padding: 4px 6px;
    border-radius: 4px;
    font-family: "Courier New", Courier, monospace;
    color: #dc3545;
  }
  
  pre {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
  }
  
  .image-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
  }
  
  .side-image {
    flex: 1;
    max-width: 20%;
    height: auto;
    border-radius: 10px;
	    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  }
  
  .menu-icon {
    font-size: 30px;
    font-weight: bold;
    color: #f4b800;
    cursor: pointer;
    position: fixed;
    left: 20px;
    top: 20px;
    z-index: 1000;
  }
  
  .header-title {
    display: inline-block;
    vertical-align: middle;
    font-size: 41px;
    text-align: center;
    color: #f4b800;
    margin-left: 20px;
    font-weight: bold;
    font-family: "Montserrat", sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  .logo {
    height: 100px;
    width: auto;
    margin-bottom: 20px;
    margin-left: 20px;
  }
  
  header {
    text-align: left;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }
  
  #content-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background-color: #343a40;
    padding-top: 60px;
    transition: left 0.3s ease;
    z-index: 999;
  }
  
  #content-menu ul {
    list-style-type: none;
    padding: 0;
  }
  
  #content-menu li {
    margin: 20px 0;
  }
  
  #content-menu a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    display: block;
    padding: 10px;
    text-align: left;
    padding-left: 20px;
  }
  
  #content-menu a:hover {
    background-color: #495057;
  }
  
  #content-menu.show {
    left: 0;
  }
  
  /* Button Container */
  .button-container {
    position: fixed;
    right: 20px;
    bottom: 40px;
    display: flex;
    gap: 10px;
  }
  
  .back-home,
  .next-page {
    padding: 10px 20px;
    background-color: #f4b800;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
  }
  
  .back-home:hover,
  .next-page:hover {
    background-color: #e6a700;
  }
  
  /* Section Styles */
  .concepts-section,
  .playground-section {
    margin-bottom: 30px;
    padding: 30px;
    background-color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
  }
  
/* Terminal Container Improvements */
.button-container {
  position: fixed;
  right: 20px;
  bottom: 40px;
  display: flex;
  gap: 10px;
}

.back-home,
.next-page {
  padding: 10px 20px;
  background-color: #f4b800;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}

.back-home:hover,
.next-page:hover {
  background-color: #e6a700;
}

/* === AI Analyser Terminal Styling === */
/*body.demo2 .host-terminal {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 30px auto;
  padding: 30px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
}

body.demo2 .host-terminal:hover {
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
}

body.demo2 .xterm {
  width: 100%;
  height: 500px;
  background-color: #000;
  color: #00ff00;
  border-radius: 8px;
  border: 1px solid #333;
  font-family: monospace;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
}

/* Make prompt start from top-left */
/*body.demo2 .xterm .xterm-screen {
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  text-align: left !important;
  line-height: normal !important;
  vertical-align: top !important;
}

.xterm {
  width: 100%;
  height: 500px;
  overflow: hidden !important;
  font-family: monospace;
}*/

body.demo2 .host-terminal {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 30px auto;
  padding: 30px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
}

body.demo2 .host-terminal:hover {
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
}

body.demo2 .xterm {
  width: 100%;
  height: 500px;
  background: #000;
  border: 1px solid #333;
  border-radius: 8px;
  overflow-y: auto !important;
  overflow-x: auto !important;
  position: relative; /* IMPORTANT */
}

/* SCROLLING ELEMENT */
.xterm-viewport {
  overflow-y: hidden !important;
  overflow-x: hidden !important;
  height: 100% !important;      
  width: 100% !important;
  padding-right: 0 !important;
  margin-right: 0 !important;
}

/* SCREEN (text area) */
.xterm-screen {
  position: absolute !important;    /* KEY FIX */
  top: 0;
  left: 0;
  text-align: left !important;
}

header {
  text-align: left;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.header-title {
  font-size: 36px;
  color: #f4b800;
  font-weight: bold;
  font-family: "Montserrat", sans-serif;
  margin-left: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo {
  height: 100px;
  margin-left: 20px;
  float: right;
}

.button-container {
  position: fixed;
  right: 20px;
  bottom: 40px;
  display: flex;
  gap: 10px;
}

.back-home,
.next-page {
  padding: 10px 20px;
  background-color: #f4b800;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}

.back-home:hover,
.next-page:hover {
  background-color: #e6a700;
}

footer {
  text-align: center;
  padding: 10px;
  background-color: #343a40;
  color: white;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

footer p {
  margin: 0;
  font-style: italic;
  font-weight: bold;
}

.title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.sidc-link {
    margin-top: 8px;
    color: #808080;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}

.sidc-link:hover {
    color: #666666;
    text-decoration: underline;
}
