body {
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
}
#editor-container {
  position: relative;
  flex: 1;
  display: flex;
  height: calc(100% - 50px); /* Leave space for the button */
}
#editor {
  width: 50%;
  height: 100%;
  border-right: 1px solid #ccc;
}
#output {
  width: 50%; /* your output container */
  height: 100%;
  border-left: 1px solid #ccc;
  overflow: hidden;
  position: relative;
}
iframe {
  width: 125%; /* 1 / 0.8 = 125% so scaled content fits container */
  height: 125%; /* optional if you want to maintain aspect ratio */
  transform: scale(0.8); /* scale down to 80% */
  transform-origin: top left;
  border: none;
  display: block;
}
.line-highlight {
  background-color: rgba(255, 255, 0, 0.3); /* Highlight color */
}

.top-container {
  display: flex;
  justify-content: space-between;
  justify-items: center;
  padding: 6px 10px;
  gap: 6px;
  background-color: #181a1b;
  color: #ccc;
}

.btn-container {
  width: 450px;
  display: flex;
  justify-content: space-between;
  justify-items: center;
}

.link_container {
  display: flex;
  align-items: center;
  gap: 12px; /* space between icons */
  /* padding: 6px 0; */
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #333; /* dark background for icon circle */
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.1s;
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.social-link:hover {
  transform: translateY(-1px);
}

/* .linkedin-link {
  background-color: #0a66c2;
} */

.linkedin-link:hover {
  background-color: #004182;
}
/* 
.github-link {
  background-color: #24292f;
} */

.github-link:hover {
  background-color: #0d1117;
}
