.container {
  background-color: var(--clr-container-clr);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  max-height: 100vh;
}
.title-div-container {
  width: 100%;
  height: 100%;
  background-color: var(--clr-container-clr);
  z-index: 105;
  position: relative;
  padding: 0.25rem;
  grid-column: 1/-1;
}

body {
  user-select: none; /* Prevents text selection */
}

.title-div {
  display: flex;
  gap: 5rem;
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  border-radius: 1rem;
  z-index: 105;
  position: relative;
  text-align: center;
}
.logo-div {
  /* align-self: flex-start; */
  display: inline-block;
  margin-left: 2rem;
}

h1 {
  flex: 0 0 1;
  display: inline-block;
  align-self: center;
  margin: auto;
  /* vertical-align: middle; */
}

.cont1 {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .ng {
  top: -37.54rem;
  position: relative;
  left: -0.8rem;
} */

/* .ng{
  top: 22.46rem;
  position: relative;
  left: 25.2rem;
} */
.ng {
  top: -37.1rem;
  position: relative;
  left: -1.5rem;
}

.ng img {
  height: 1.8rem;
  width: 1.54rem;
}

.mux {
  text-align: center;
  border: 2px solid;
  width: 7.6rem;
  height: 11.7rem;
  background-color: #d1dae3;
  border-radius: 0.45rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: -8px;
}

.mux-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gate {
  height: 27.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

h3 {
  font-weight: 800;
  color: #333;
}

.gate .muxgape {
  display: flex;
  flex-direction: row;
  margin-top: 0.22rem;
  height: 2.44rem;
  position: relative;
  left: -22px;
  top: -4px;
}
/* bolts */
.round {
  display: inline-block;
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: linear-gradient(
    to bottom,
    rgba(248, 242, 242, 0.855),
    rgba(247, 237, 237, 0.855),
    rgba(192, 190, 190, 0.855)
  );
  box-shadow: 0 0 0 0.3rem rgba(255, 255, 255, 0.55);
}
.box {
  cursor: pointer;
}
.left-top {
  left: 1rem;
  top: 1rem;
}
.left-bottom {
  left: 1rem;
  bottom: 1rem;
}
.right-top {
  right: 1rem;
  top: 1rem;
}
.right-bottom {
  right: 1rem;
  bottom: 1rem;
}
.title-div h1 {
  justify-self: center;
  font-size: 2.1rem;
  color: var(--clr-text-clr);
  text-transform: uppercase;
}

/* ********************** */
/* *******SIDEBAR******* */
/* ********************** */

.sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background-color: #fffcfc;
  box-shadow: 0 1rem 1rem 0 rgba(177, 176, 176, 0.855);
  padding: 1.2rem 1.6rem;
  margin: 0.25rem;
  border-radius: 0.9rem;
  left: 0;
  cursor: pointer;
}

.logo-div {
  padding: 0.8rem 0;
  width: 8rem;
}

.logo {
  width: 100%;
}

.tool-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  font-size: 2rem;
}

.tool-link:link,
.tool-link:visited {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #333;
}
.tool-link[title="Variables"] {
  color: var(--clr-title-background);
}

.tool-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
.tool-list span {
  display: inline-block;
  font-size: 1.6rem;
}

.icons {
  width: 4rem;
  height: 4rem;
  color: var(--clr-title-background);
  /* box-shadow: 0 0 0.5rem 0 rgba(255, 255, 255, 0.5); */
}

/* ****************** */
/* *****MAIN******* */
/* ****************** */
.main {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: scroll;
  overflow-x: hidden;
  margin: 0.25rem;
  margin-bottom: 0;
  border-radius: 0.9rem;
}
.task-title {
  font-size: 1.8rem;
  padding: 0.2rem 1.6rem;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;

  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: var(--clr-text-clr);
  letter-spacing: 0.15rem;
}

.task-variable {
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background3),
    var(--clr-side-background2)
  );
}

.main-section {
  display: grid;
  /* grid-template-columns: repeat(2, 1fr); */
  grid-template-columns: 1fr;
  gap: 0.5rem;
  overflow-y: auto;
  scroll-behavior: smooth;
  padding: 0 0.25rem 0 0;
}
.main__task-div {
  width: 100%;
  background-color: #ffffffc9;
  border-radius: 0.9rem;
  /* padding: 1.5rem; */
  max-height: 100%;
  font-size: 1.6rem;
  border: 0.5rem solid var(--clr-text-clr);
  /* overflow-y: hidden; */
  overflow-x: hidden;
}

.main__task-div:nth-child(1) {
  position: relative;
  grid-column: 1/-1;
  /* grid-row: 1/4; */
  /* overflow-y: hidden; */
}

.main__task-div:nth-child(2) {
  grid-column: 1/-1;
  /* grid-row: 1/4; */
  /* overflow-y: hidden; */
}

.title-control-div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background3),
    var(--clr-side-background2)
  );
}

.footer {
  font-size: 1.2rem;
  /* padding: 0 1rem; */
  grid-column: 1/-1;
  text-align: center;
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background3),
    var(--clr-side-background2)
  );
  color: var(--clr-text-clr);
  margin-bottom: 0;
}

.div__control {
  margin-top: 0.35rem;
  margin-right: 1rem;
}

.div__control img {
  width: 3rem;
  height: 3rem;
  cursor: pointer;
}

.ctrl-icons {
  cursor: pointer;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background-color: var(--clr-title-background);
  color: var(--clr-text-clr);
}

/* ************simulation*********** */

/* canvas */
.canvas__div {
  width: 100%;
  height: auto;
  border: 1px solid var(--clr-title-background);
  background-color: #fff;
  display: grid;

  grid-template-columns: 1fr;
  overflow-x: hidden;
}

.help,
.practice {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  /* padding: 5rem; */
  position: relative;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 10px;
  position: relative;
}

.div1,
.div2 {
  display: flex;
  justify-content: center; /* Center the image horizontally */
  align-items: center; /* Center the image vertically */
  position: relative;
  width: 100%;
  /* background-color: red; */
}

#truthTable {
  /* position: absolute; */
  width: 140px;
  height: auto;
}

table,
th,
td {
  text-align: center;
  border: 1px solid black;
  border-collapse: collapse;
}

.div1 {
  position: relative; /* Make this the reference point for the bulb */
}

.truth-table {
  width: 100%; /* Adjusted width to make the table smaller */
  border-collapse: collapse;
  text-align: center;
  position: relative;
  left: 30px;
  margin-bottom: 0px; /* Removed bottom margin */
}

/* Styling for table header (th) and data (td) */
.truth-th,
.truth-td {
  border: 1px solid #000;
  padding: 5px; /* Reduced padding for smaller cells */
  font-size: 12px; /* Smaller font size for compact table */
  line-height: 0.15; /* Reduced line height to compress the row height */
  height: 10px; /* Reduced height of the rows */
}

.truth-table th {
  background-color: #000; /* Dark gray background */
  color: #ffffff; /* White text */
  font-weight: bold; /* Bold text */
  padding: 10px; /* Add some padding for readability */
  border: 1px solid #ffffff; /* White border */
}

.truth-th {
  background-color: black;
  color: white;
}

.truth-td {
  font-weight: bold; /* Make text thicker */
  color: #000; /* Make text darker */
}

tbody tr:nth-child(even) {
  background-color: #f8f8f8;
}

tbody tr:nth-child(odd) {
  background-color: white;
}

/* .grid-container img {
  width: 100%;
  height: 100%;
} */

/* #ciruit{
  width: 300px;
} */

button {
  cursor: pointer;
}

#switchx {
  position: absolute;
  top: 14%;
  left: -6%;
}

#inputx {
  position: absolute;
  top: 14%;
  left: -6%;
}

#switchy {
  top: 35%;
  left: -6%;
}

#inputy {
  top: 35%;
  left: -6%;
}

#switchz {
  top: 65%;
  left: -6%;
}

#inputz {
  top: 65%;
  left: -6%;
}

#switchp {
  top: 85%;
  left: -6%;
}

#inputp {
  top: 85%;
  left: -6%;
}

.simulator-table {
  max-width: 600px;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.simulator-table table {
  width: 100%;
  height: auto;
  border-collapse: collapse;
  border-spacing: 0;
  margin-top: 1rem;
  border-width: 1px;
}

.container1 {
  width: 100%;
  margin: auto;
  max-width: 1440px;
  margin-top: 0.8rem;
}

.objective__title,
.apparatus__title {
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  background-clip: text;
  color: transparent;
  font-size: 2rem;
  font-weight: 700;
}

.objective__sub {
  font-size: 1.8rem;
  font-weight: 700;
}
.objective__main {
  border: 2px solid var(--clr-title-background);
  font-size: 1.8rem;
  padding: 2rem;
  border-radius: 2rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.05);
  text-align: justify;
}

.objective__list {
  padding-left: 2rem;
}
.apparatus-screen {
  display: grid;
  grid-template-columns: 1fr;
  align-items: baseline;
  justify-items: center;
}
.apparatus-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
  /* visibility: hidden; */
}
.tool-img {
  width: 100%;
  visibility: hidden;
}
.components {
  text-align: left;
  align-items: flex-start;
}

.practice {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
}

.practice-steps {
  font-style: 1.8rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}
.practice-step-no {
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: var(--clr-text-clr);
  padding: 1rem;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 100%;
  text-align: center;
  font-style: 1.8rem;
  font-weight: 700;
}

.practice-steps-additional {
  grid-column: 1/-1;
  justify-self: center;
  align-items: center;
  justify-content: center;
  display: flex;
  gap: 2rem;
}
/* .btn {
  padding: 1rem;
  font-weight: 700;
  border: none;
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: var(--clr-text-clr);
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  justify-self: center;
}
.btn:hover {
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  background-clip: text;
  color: transparent;
  border: 0.3rem solid var(--clr-title-background);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
} */

.btn {
  width: 2rem;
  height: 1.25rem;
  border-radius: 5px;
  z-index: 9;
  margin-top: 0.3rem;
}

.draw-btn {
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: var(--clr-text-clr);
  position: absolute;
  left: 35%;
  top: 69%;
}
.question-btn {
  padding: 1rem;
  font-weight: 700;
  border: none;
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: var(--clr-text-clr);
  border-radius: 1rem;
  cursor: pointer;
  transition: display 0.3s;
  justify-self: center;
  grid-column: 1/-1;
  letter-spacing: 0.2rem;
}
.btn:disabled {
  background-image: linear-gradient(
    to bottom,
    var(--clr-body-clr),
    var(--clr-body-clr)
  );
  color: var(--clr-side-background3);
  cursor: not-allowed;
}
.btn-next:not(:disabled) {
  animation: highlight 1s infinite;
}

.btn-group {
  display: flex;
  gap: 0.5rem;
  grid-column: 3/4;
}

.btn-next,
.btn-reset {
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: var(--clr-text-clr);
  padding: 1rem;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 100%;
  text-align: center;
  font-style: 1.8rem;
  font-weight: 700;
  justify-self: end;
  position: relative;
}

.quiz-div {
  grid-column: 1/-1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 2px solid var(--clr-title-background);
  font-size: 1.8rem;
  padding: 2rem;
  border-radius: 2rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.05);
  width: 80%;
  align-self: center;
}
.question {
  /* background-color: var(--clr-title-background); */
  /* color: var(--clr-side-background4); */
  border-bottom: 0.3rem solid var(--clr-title-background);
  padding: 0.5rem;
  /* box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.05); */
  border-radius: 0.5rem;
}
.answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.final-statement {
  grid-column: 1/-1;
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  background-clip: text;
  color: transparent;
  font-size: 2rem;
  font-weight: 700;
  align-self: center;
}
canvas {
  width: 80%;
  height: 100%;
  margin: 0 auto;
}

.tooltip {
  font-weight: 500;
  position: absolute;
  top: -2rem;
  left: 0;
  background-color: rgba(247, 247, 247, 0.5);
  padding: 0.5rem;
  font-size: 1.1rem;
  /* right: -10rem; */
  display: none;
}

.circuit {
  margin: 0.94rem 1.88rem;
  text-align: center;
  display: flex;
  justify-content: center;
  height: 26.8rem;
}

.inswitch {
  width: 11.27rem;
}

.sandw {
  display: flex;
  flex-direction: row;
}

.canvas {
  position: relative;
  display: block;
  /* width: 100%;
  height: 100%; */
}

/* **********VARIABLES**************** */
#variables {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}
.settings-sections {
  display: flex;
  flex-direction: column;
}

.variables-sections,
.control-sections {
  padding: 1rem 1rem 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1rem;
}

.quadrant-img {
  align-self: center;
}

.hide {
  display: none;
}

.practice-step-button {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.radioGroup {
  display: flex;
  align-items: center;
}
#shapeDropdown {
  border: 2px solid var(--clr-title-background);
  border-radius: 8%;
  padding: 3%;
}
#shapeDropdown option {
  background-color: var(
    --clr-title-background
  ); /* Background color for options */
  color: #fff; /* Text color for options */
}
.shapeDrop {
  margin-left: 2%;
}

.st-labels {
  position: absolute;
  color: red;
  visibility: hidden;
  font-size: 12px;
}

#output {
  background-color: #0bbeb4;
  border-color: #000000;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  /* margin-top: 45px;  */
}

#output td {
  color: #000;
}

#section-to-print {
  display: none;
  background-color: #0bbeb4;
  border-color: #000000;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
}

.switch {
  border-radius: 3px;
  color: #ffffff;
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  background-repeat: no-repeat; /* Ensures the gradient does not repeat */
  background-size: cover; /* Ensures the gradient covers the element */
}

/* .faulty {
  margin: 10px 0px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faulty table,
th {
  border: 1px solid;
  font-size: 0.88rem;
  padding: 0px 3px;
  text-align: center;
}
.faulty th,
td {
  width: 2rem;
}
.faulty td {
  height: 1.56rem;
} */

.simButton {
  width: 160px;
  border-radius: 5px;
  color: #ffffff;
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  background-repeat: no-repeat; /* Ensures the gradient does not repeat */
  background-size: cover; /* Ensures the gradient covers the element */
  padding: 1rem;
  border: none;
  cursor: not-allowed; /* Cursor for disabled buttons */
  opacity: 0.6; /* Makes the button look disabled */
}

.simButton:enabled {
  cursor: pointer; /* Cursor changes when the button is enabled */
  opacity: 1; /* Restores the opacity for enabled buttons */
}

#sim1,
#sim2 {
  cursor: pointer;
}

#buttonDiv {
  display: flex;
  flex-direction: column; /* Stacks each simulator group vertically */
  gap: 2.5rem; /* Adds spacing between groups */
  align-items: center; /* Aligns groups to the left */
  margin: 0 auto;
  padding: 2rem;
}

.simulatorGroup {
  display: flex; /* Aligns the radio button and button horizontally */
  align-items: center; /* Vertically aligns radio button and simulator button */
  gap: 1rem; /* Adds spacing between the radio button and the simulator button */
}

.stacked-container {
  display: flex;
  flex-direction: column; /* Stack items vertically */
  align-items: center;
  justify-content: center;
  gap: 1rem; /* Add space between the stacked items */
}

.bg-green-200 {
  --tw-bg-opacity: 1;
  background-color: rgba(167, 243, 208, var(--tw-bg-opacity));
}

.bg-red-200 {
  --tw-bg-opacity: 1;
  background-color: rgba(254, 202, 202, var(--tw-bg-opacity));
}

.input-group {
  display: flex;
  flex-wrap: wrap; /* Allow inputs to wrap onto the next row if needed */
  gap: 0.5rem; /* Add spacing between inputs */
  justify-content: center; /* Center inputs horizontally */
}

.input-group input {
  flex: 1 1 10%; /* Inputs take up 10% of the container but can shrink or grow */
  max-width: 50px; /* Restrict maximum width to avoid oversized inputs */
  min-width: 30px; /* Ensure inputs are still visible on very small screens */
  text-align: center; /* Center the placeholder text */
  padding: 0.5rem; /* Add some internal padding */
  box-sizing: border-box; /* Include padding in the width calculation */
  border: 1px solid #ccc; /* Optional: Add a border for better visibility */
}

#o,
#fo {
  flex: 1 1 10%; /* Inputs take up 10% of the container but can shrink or grow */
  max-width: 50px; /* Restrict maximum width to avoid oversized inputs */
  min-width: 30px; /* Ensure inputs are still visible on very small screens */
  text-align: center; /* Center the placeholder text */
  gap: 0.5rem;
  padding: 0.5rem; /* Add some internal padding */
  box-sizing: border-box; /* Include padding in the width calculation */
  border: 1px solid #ccc; /* Optional: Add a border for better visibility */
}

.w-10 {
  width: 40px; /* Example width for input fields */
}

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

.bg-yellow-400 {
  --tw-bg-opacity: 1;
  background-color: rgba(251, 191, 36, var(--tw-bg-opacity));
}

#check-btn {
  padding: 0.5rem 1rem; /* Adjust the padding for smaller size */
  font-size: 0.875rem; /* Reduce the font size */
  border-radius: 4px; /* Slightly rounded corners */
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: #fff; /* Text color: dark gray */
  font-weight: 600; /* Slightly bold text */
  cursor: pointer;
  display: inline-block;
  margin: 0 auto;
  font-size: 12px;
}

#check-btn:hover {
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
}

#reset-btn {
  padding: 0.5rem 1rem; /* Adjust the padding for smaller size */
  font-size: 0.875rem; /* Reduce the font size */
  border-radius: 4px; /* Slightly rounded corners */
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: #fff; /* Text color: dark gray */
  font-weight: 600; /* Slightly bold text */
  cursor: pointer;
  display: inline-block;
  margin: 0 auto;
  font-size: 12px;
  position: relative;
  top: 5px;
}

#mainHeading {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -50px;
}

#heading2 {
  display: none;
}

#reset-btn:hover {
  background-color: #fde047; /* Lighter yellow on hover */
}

#check-btn1 {
  padding: 0.5rem 1rem; /* Adjust the padding for smaller size */
  font-size: 0.875rem; /* Reduce the font size */
  border-radius: 4px; /* Slightly rounded corners */
  background-color: #facc15; /* Yellow color for the button */
  color: #1f2937; /* Text color: dark gray */
  font-weight: 600; /* Slightly bold text */
  cursor: pointer;
  display: inline-block;
  margin: 0 auto;
}

#check-btn1:hover {
  background-color: #fde047; /* Lighter yellow on hover */
}

#reset-btn1 {
  padding: 0.5rem 1rem; /* Adjust the padding for smaller size */
  font-size: 0.875rem; /* Reduce the font size */
  border-radius: 4px; /* Slightly rounded corners */
  background-color: #facc15; /* Yellow color for the button */
  color: #1f2937; /* Text color: dark gray */
  font-weight: 600; /* Slightly bold text */
  cursor: pointer;
  display: inline-block;
  margin: 0 auto;
}

#reset-btn1:hover {
  background-color: #fde047; /* Lighter yellow on hover */
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

.h-16 {
  height: 3rem;
}

/* .heading1{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -60px;
} */

#truthTableHead {
  display: flex;
  align-items: center;
  justify-content: center;
  /* position: absolute;
  top: 384px; */
}

.truthHead {
  display: flex;
  align-items: center;
  justify-content: center;
}

#input2 {
  display: none;
  flex-direction: column;
  gap: 1rem;
}

#input1 {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}

#section-to-print {
  /* Apply background color to the entire table */
  color: #000; /* Optional: Ensure text is visible on the background */
  border-collapse: collapse; /* Remove gaps between borders */
}

#section-to-print th,
#section-to-print td {
  padding: 0.5rem; /* Add padding for better readability */
  /* background-color: #0bbeb4; */
}

#section-to-print th {
  background-color: #0bbeb4;
  color: #ffffff;
  font-weight: bold; /* Make table headers bold */
  text-align: center; /* Align text in the center for headers */
}

#section-to-print2 {
  /* Apply background color to the entire table */
  display: none;
  color: #000; /* Optional: Ensure text is visible on the background */
  border-collapse: collapse; /* Remove gaps between borders */
}

#section-to-print2 th,
#section-to-print2 td {
  padding: 0.5rem; /* Add padding for better readability */
  /* background-color: #0bbeb4; */
}

#section-to-print2 th {
  background-color: #0bbeb4;
  color: #ffffff;
  font-weight: bold; /* Make table headers bold */
  text-align: center; /* Align text in the center for headers */
}

.rounded-sm {
  border-radius: 0.5rem;
}
/* .border-gray-400{
  --tw-border-opacity: 1;
  border-color: rgba(156, 163, 175, var(--tw-border-opacity));
} */

.wires {
  height: 22.5rem;
  width: 11.27rem;
  display: flex;
  flex-direction: column;
  flex-shrink: 10;
  align-items: flex-end;
  position: relative;
}
.hwires {
  width: auto;
  height: auto;
  top: -22rem;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0px 2.38rem 0px 1.88rem;
}
.wire {
  margin: 0.88rem 0px;
  width: 8.26rem;
  height: 2px; /* Fixed wire height */
  background-color: black;
  background-image: repeating-linear-gradient(
    60deg,
    transparent 10px,
    #87530f 15px
  );
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center; /* Center button within the wire */
  overflow: visible; /* Ensure nothing gets cut off */
}

.wires #fa8 {
  position: relative;
  left: -2.2rem;
}

.iposs {
  height: 0.95rem;
  width: 0.83rem;
  border-radius: 50%;
  background-color: blue;
  list-style: none;
  margin: -4px 8px;
  z-index: 9;
}

.iposs span {
  font-size: 0.9rem;
  position: relative;
  top: -1.45rem;
  left: -0.3rem;
  font-weight: 600;
}

#vcc {
  width: 2.7rem;
  height: 1.88rem;
  margin-top: 0.5rem;
}

.owires {
  height: 22.85rem;
  width: 7.57rem;
  display: flex;
  flex-direction: column;
  margin-top: -6.1px;
  flex-shrink: 10;
}

.outlgt {
  display: flex;
  flex-direction: row;
}

.owire {
  margin: 0.55rem 0px;
  width: 6.13rem;
  height: 2px;
  background-color: black;
  background-image: repeating-linear-gradient(
    60deg,
    transparent 10px,
    #87530f 15px
  );
  display: flex;
  justify-content: right;
}

.oposs span {
  font-size: 0.9rem;
  position: relative;
  top: -1.4rem;
  left: -0.62rem;
  font-weight: 600;
  position: relative;
  left: -8px;
}
.oposs {
  /* height: 0.63rem; */
  height: 0.95rem;
  width: 0.83rem;
  border-radius: 50%;
  background-color: blue;
  list-style: none;
  margin: -4px 2.13rem;
  z-index: 9;
}

.out {
  list-style: none;
  display: flex;
  flex-direction: column;
  height: 21.16rem;
  width: 1.38rem;
  margin-top: -4px;
  justify-content: space-between;
  align-items: flex-end;
}

.out {
  font-size: 0.6rem;
  border: 2px solid;
  height: 1.31rem;
  width: 1.4rem;
  float: right;
  padding-top: 1px;
  border-radius: 45%;
  margin-top: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.xbutts {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wiremid5 {
  position: relative;
  top: -3px;
  width: 2.5rem;
}

.wiremid6 {
  position: relative;
  top: -3px;
  width: 3.82rem;
}

.wiremid7 {
  position: relative;
  top: -3px;
  width: 5.07rem;
}

.wiremid12 {
  position: relative;
  top: -3px;
  width: 9.39rem;
}

.wireH1 {
  width: 2px;
  height: 13.75rem;
  margin-top: 11.75rem;
}

.wireH2 {
  width: 1.82rem;
  visibility: hidden;
}

.wireH3 {
  width: 2px;
  height: 16.1rem;
  margin-top: 4.38rem;
}

.wireH4 {
  width: 2px;
  height: 16.1rem;
  margin-top: 2.5rem;
}
.wireH5 {
  width: 2px;
  height: 16.1rem;
  margin-top: 0.63rem;
}

.wireDiv1 {
  margin: 1.57rem 0px;
}

.wireDiv2 {
  display: flex;
  flex-direction: row;
  position: relative;
  top: -10px;
  left: -21.5px;
}

.wiremux1 {
  width: 3.13rem;
}
.wiremux2 {
  width: 2px;
  height: 1.5rem;
  position: relative;
  top: -1.38rem;
}
.wiremux3 {
  width: 3.13rem;
  height: 2px;
}
.wiremux4 {
  width: 2px;
  height: 1.35rem;
  position: relative;
  top: -1.2rem;
  margin-bottom: 1px;
}

.out {
  background-color: rgb(209, 199, 199);
  font-size: 0.6rem;
  border: 2px solid;
  height: 1.33rem;
  width: 1.55rem;
  float: right;
  padding: 4.5px;
  border-radius: 45%;
  margin-top: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.clrTbl {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 4px;
  background-image: linear-gradient(
    to bottom,
    var(--clr-side-background2),
    var(--clr-side-background3)
  );
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  margin: 0 auto;
  font-size: 12px;
}

.ttable {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.faulty {
  width: 100%; /* Make the container take full width */
  overflow-x: auto; /* Enable horizontal scrolling for extremely narrow screens */
  padding: 1rem; /* Add padding for aesthetics */
  box-sizing: border-box; /* Include padding in width calculations */
  display: flex;
  align-items: center;
  justify-content: center;
}

.faulty table {
  width: 100%; /* Allow table to stretch and shrink */
  border-collapse: collapse; /* Prevent extra spacing between cells */
  table-layout: auto; /* Columns adapt to content size */
  min-width: 280px; /* Minimum width to avoid columns becoming too cramped */
  max-width: 100%; /* Prevent table from overflowing */
}

.faulty th,
.faulty td {
  border: 1px solid black; /* Add borders for clarity */
  text-align: center; /* Center-align text */
  padding: 0.11rem; /* Add padding for readability */
  font-size: 1.3rem; /* Adjust font size for readability */
  word-break: break-word; /* Handle long text gracefully */
}

.faulty th {
  background-color: #0bbeb4; /* Apply background color */
  color: #ffffff;
  font-weight: bold;
}

.faulty tr:nth-child(even) {
  background-color: #f9f9f9; /* Alternate row colors for readability */
}

.faulty tr:nth-child(odd) {
  background-color: #ffffff; /* Alternate row colors for readability */
}

.btn {
  width: 2.3rem;
  height: 1.7rem;
  border-radius: 5px;
  z-index: 9;
  margin-top: 0.3rem;
}

.e1 {
  position: relative;
  top: -45px;
}

.mux1 {
  position: relative;
  top: -6px;
}
.mux2 {
  position: relative;
  top: -12px;
}

.wireOne {
  width: 12.52rem;
  height: 2px;
}
