/* Reset default margin and padding */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden; /* Hide the main scrollbars */
  }
  
  /* Ensure the full height of the container */
  .container {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  /* Content section containing code editor and emulator */
  .content {
    display: flex;
    flex: 1; /* Occupy remaining space */
    overflow: auto; /* Enable vertical scrolling inside the content */
  }
  
  /* Style for the code editor and emulator */
  .code-editor,
  .emulator {
    flex: 1; /* Occupy equal space */
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto; /* Enable vertical scrolling if needed */
    border-bottom: 1px solid #ccc; /* Separate the columns vertically */
  }
  
  /* Style for the footer */
  footer {
    background-color: #f2f2f2;
    padding: 10px 20px;
    text-align: center;
    flex-shrink: 0; /* Prevent the footer from shrinking */
  }
  

  /* Add styles for syntax highlighting */
.comment {
  color: green; /* Color for comments */
}

.opcode {
  color: blue; /* Color for opcodes */
}


#assembly-code {
  width: 100%;
  height: 400px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  padding: 10px;
  box-sizing: border-box;
  tab-size: 2; /* Set tab spacing */
}

/** Tool tip stuff */
header {
  background-color: #333;
  color: #fff;
  padding: 10px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.tooltip-container {
  position: relative;
  display: inline-block;
}

header a {
  color: #FFF;
}

.tooltip {
  display: inline-block;
  cursor: pointer;
  font-weight: bold;
}

.tooltip:hover {
  text-decoration: underline;
}

.tooltip-content {
  display: none;
  position: absolute;
  background-color: #fff;
  color: #000;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 4px;
  z-index: 9999;
  width: 400px; /* Adjust the width as needed */
  left: 0; /* Adjust the left positioning */
  top: 100%; /* Position below the link */
}

.tooltip-content a {
  color: blue;
}

.tooltip-content.active {
  display: block;
}

.tooltip-content p {
  margin: 0;
}

.close-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 1.5em;
  font-weight: bold;
  cursor: pointer;
  color: red;
}

.close-btn:hover {
  text-decoration: underline;
  font-weight: bolder;
}


/* Define stuff about buttons */
button {
  min-width: 50px;
  min-height: 35px;
  font-weight: bold;
  display: inline-block;
}

#runCode {
  background-color: green;
  color: #FFF;
}

/**
 * The output should be monospaced and a slightly diffent color
 */
#output {
  font-family: monospace;
  background-color: lightskyblue;
}

#output.error {
  background-color: lightsalmon;
}

span.good-output {
  background-color: lightskyblue;
}

span.bad-output {
  background-color: lightsalmon;
}
