
/* (C) ben3coder.dev - "Its not that serious™" */

/* Global Styling for VS Code-like Theme */
body {
  background-color: #1e1e1e; /* Dark background */ /* Light text color (similar to VS Code) */
  margin: 0;
  padding: 0;
}

* {
  scroll-behavior: smooth; 
  font-family: "Fira Code", monospace; /* Use Fira Code font */
  font-size: 100%;
  text-decoration: none !important;
}

.bold {
  font-weight: bold;
}

/* width */
::-webkit-scrollbar {
  width: 20px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: white; 
  border-radius: 10px;
}

.app {
  background-color: black;
  color: black;
  position: fixed; /* Sticks the element to the viewport */
  top: 0;
  left: 0;
  width: 100vw; /* 100% of the viewport width */
  height: 100vh; /* 100% of the viewport height */
  overflow-y: auto !important; /* Enable vertical scrolling */
}

.accordion {
  flex-grow: 1; /* Make the accordion take up available space */
  overflow-y: auto; /* Allow scrolling if the content overflows */
}

.btn {
  padding: 10%;
}


/* Style for the window */
.window {
  width: 50%;
  height: 75%;
  border: 1px solid #333; /* Darker border */
  border-radius: 10px;
  background-color: #2d2d2d; /* Dark background color for the window */
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.6); /* Stronger shadow for depth */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  overflow: hidden;
}

.accordion {
  width: 100%;
  height: 100%;
}

/* Header style for the window */
.window-header {
  font-size: 18px;
  font-weight: bold;
  color: white; /* VS Code blue color */
  margin-bottom: 15px;
}

/* Accordion custom styles to match VS Code theme */
.accordion-button {
  background-color: #333; /* Dark background for accordion buttons */
  color: #d4d4d4; /* Light text color */
  border: 1px solid #444; /* Border for the button */
  font-weight: bold;
}

/* Fix for Accordion button background when collapsed or expanded */
.accordion-button:focus {
  box-shadow: none; /* Remove focus outline */
  border-color: none; /* Blue border on focus */
}

.accordion-button:not(.collapsed) {
  background-color: #444; /* Slightly lighter background when expanded */
  color: white; /* Blue text for the active accordion button */
}

/* Accordion content styling */
.accordion-body {
  background-color: #3c3c3c; /* Slightly lighter background for accordion body */
  color: #d4d4d4; /* Light text color */
  border-top: 1px solid #444; /* Subtle separation line */
  padding: 0px; /* Padding for better content spacing */
}

/* Title of the accordion */
.accordion-header button {
  font-weight: bold !important;
  background-color: #4f4f4f; /* Dark background for accordion titles */
  color: white; /* Purple color for titles like VS Code's syntax */
  border: none; /* Remove the default border */
  font-weight: normal;
}


/* Adjust background for expanded items */
.accordion-item .accordion-button:not(.collapsed) {
   border-color: #9f9494; /* Make it darker when active */ /* Light blue color for active accordion item */
}

.accordion-item .accordion-button:not(.collapsed)::after {
  border-color: white; /* Set arrow color to the same light blue as the text */
}

/* Optional: Adding transitions for smoother UI */
.accordion-button {
  transition: background-color 0.2s, color 0.2s;
}