* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /*--btn-default-bg: #09090b;*/
  --btn-default-bg: rgba(18, 52, 59, 1);
  --border-color: #151515;
  --border-radius: calc(0.5rem - 2px);
  --border-sm: 1px solid var(--border-color);
  --border-md: 2px solid var(--border-color);


  --window-edit-padding: 0.65rem;

  --text-color: #ffffff;

  --editor-border-color: #151515;

  --editor-border-color-focus: #676767;

  --tooling-background: #050505;
  --tooling-border-color: #27272A;
  --tooling-border: 1px solid var(--tooling-border-color);
  --vscode-textBlockQuote-background: var(--tooling-background) !important;

  --nodes-background-color: #111927;

  --text-gray-color: #aeb1b7;

}

@font-face {
  font-family: spacemono;
  src: url(fonts/spacemono.ttf) format('ttf');
}

@font-face {
  font-family: "Geist";
  src: url(/public/blog/css/geist-regular.woff2) format("woff");
  font-style: normal;
  font-display: swap;
}


html {
  max-height: 100vh;
  /*scrollbar-width: none;*/
  /*scroll-behavior: smooth;*/

  /*cursor: none;*/
  overscroll-behavior: none;

  /*font-family: spacemono, monospace !important;*/
  font-family: "Geist", sans-serif !important;


  /*-webkit-user-select: none;
    /* Safari */
  /*-ms-user-select: none;*/
  /* IE 10 and IE 11 */

  /*user-select: none;*/
  /* Standard syntax */
}

body {
  overflow: hidden;
  max-height: 100vh;
  background-color: var(--tooling-background);
}

/* Hide the default scrollbar for webkit-based browsers */
::-webkit-scrollbar {
  width: 12px;
  /* Adjust the width as needed */
}

/* Track (the background of the scrollbar) */
::-webkit-scrollbar-track {
  background: #00000000;
  /* Black background color */
}

/* Handle (the draggable part of the scrollbar) */
::-webkit-scrollbar-thumb {
  background: #00000000;
  /* Black handle color */
}

/* Handle on hover (when the mouse pointer is over it) */
::-webkit-scrollbar-thumb:hover {
  background: #282828;
  /* Darker black on hover */
}

/* If you want to style the scrollbar for Firefox */
/* Note: Firefox supports scrollbar styling only in version 64 and later */
/* For older versions of Firefox, you may need to use a custom scrollbar library */
/* See: https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar */
/*
scrollbar-color: #000 #000;
scrollbar-width: thin;
*/


#defaultPanel {
  display: flex;
  justify-content: space-between;

  min-width: 100%;
  border: var(--tooling-border);
  position: absolute;
  border-radius: var(--border-radius);

  background: rgba(5, 5, 5, 1);
  /*border-radius: 16px;*/
  z-index: 9999;
}

#defaultPanel button {
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius);
  border: none;
  background: rgba(5, 5, 5, 1);
  /*border-radius: 16px;*/
  color: #e1e1e1;
  cursor: pointer;
  height: 100%;
}

#defaultPanel button:hover {
  background: var(--tooling-border-color);
}

#defaultPanel button {
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius);
  border: none;
  /*border-radius: 16px;*/
  color: #e1e1e1;
  cursor: pointer;
  height: 100%;
}

#defaultPanel button:hover {
  background: var(--tooling-border-color);
}


.icon-scale {
  /*transform: scale(0.9);*/
  margin-bottom: -2px;
}

#leftSide {
  display: flex;
}

#rightSide {
  display: flex;
}



#defaultPanel p {
  padding: 0.25rem 0.75rem;
}

#leftSide > a {
  display:flex;
  align-items:center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
}


.panelButtonContainer {
  position: relative;
}

#dropDownFileContent {
  position: absolute;
  top: calc(32px + 0.05rem);
  /* 32 pixels is panel height*/
  left: 0;
  width: 150px;
  height: 200px;
  border: var(--tooling-border);
  background-color: var(--tooling-background);
  border-radius: var(--border-radius);
  display: none;

  animation-name: enter;
  animation-duration: .15s;
}


#displayInfoBtn {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Define the keyframe animation for spinning */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Apply the spinning animation to the spinner */
.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #fff;
  border-top: 3px solid transparent;
  /* Transparent border on top for spinner effect */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  /* Apply the 'spin' animation infinitely */
}


.showPanelDropdown {
  display: block !important;
}

.hidePanelDropdown {
  display: none !important;
}

#editor {
  display: flex;
  height: 100vh;
  width: 100vw;
  flex-direction: row-reverse;
}

#renderCanvas {
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
}

#editor-container {
  height: 60%;
  border: 1px solid var(--editor-border-color);
}

#editor-container:focus {
  border: 1px solid var(--editor-border-color-focus);
}

#editor-container:hover {
  border: 1px solid var(--editor-border-color-focus);
}

#ultimateEditor {
  width: 100%;
  height: 100%;
  background-color: #1e1e1e;
  padding-top: 34px;
  z-index: 10;
}

#errorContainer {
  width: 100%;
  padding: 10px;
  height: 40%;
  border: 1px solid var(--editor-border-color);
  margin-bottom: 10px;
  color: white;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.5) rgba(0, 0, 0, 0);
  overflow-y: scroll;
  min-height: 30px !important;
}

#errorContainer:focus {
  border: var(--tooling-border);
}

#errorContainer:hover {
  border: var(--tooling-border);
}

#file-switcher {
  display: flex;
  justify-content: space-between;
  padding: 0.05rem;
}

/*  Interactive DOM elements */
#window {
  position: absolute;
  width: 420px;
  background-color: rgba(0, 0, 0, 0.8);
  /* Black and transparent */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  /* Increased shadow for a modern look */
  z-index: 9999;
  color: #fff;
  left: 10%;
  top: 10%;
  border: var(--tooling-border);
  height: 48rem;


  background: rgba(5, 5, 5, 1);
  /*border-radius: 16px;*/
}

#window h3 {
  padding-bottom: 1rem;
  padding-top: 0.55rem;
  font-size: 18px;
}

#windowInfoWrapDiv {
  height: 715px;
  overflow-x: hidden;
  overflow-y: auto;
}

#windowInfoWrapDiv::-webkit-scrollbar {
  display: none;
}

#sceneEditorBtns {
  padding: 0.25rem;
  display: flex;
  gap: 1rem;
}

#xBtn {
  font-size: 16px;
  background-color: rgba(5, 5, 5, 1);
  /* Darker background color */
  color: white;
  border: none;
  /* Remove default button border */
  border-radius: 5px;
  /* Rounded corners */
  cursor: pointer;
  /* Show pointer cursor on hover */
  transition: background-color 0.3s ease;
  /* Smooth transition for color change */

  /* Optional: Add box-shadow for depth */
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  padding-right: 10px;
}

#handle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  width: 100%;
  height: 1.5rem;
  background-color: rgba(5, 5, 5, 1);
  cursor: move;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom: 1px solid var(--tooling-border-color);
  /*border-radius: 16px;*/
  font-size: 15px;
}

#nodeContent {
  padding: var(--window-edit-padding);
  min-height: 20rem;
  max-height: 20rem;
  overflow: scroll;
}

#nodeContent::-webkit-scrollbar {
  height: 0.5rem;
}

#nodeContent::-webkit-scrollbar-thumb {
  /* Scrollbar style here*/
}

#nodeContent::-webkit-scrollbar-corner {
  background: transparent;
}


.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #4a5c66;
  border-radius: 50%;
  margin: 0 4px 0 0;
}

/* (bok buraz) #nodeContent > p (radi samo ako je p prvi child nodeContenta) => #nodeContent p (radi za svaki p u nodeContentu) */

#nodeContent p {
  cursor: pointer;
  padding: 0.123rem;
  /*padding: 4px;*/
  /* Increased padding for better visual appearance */
}

#invisBtn {
  background-color: transparent !important;
  border: 1px solid #205D9E !important;
}

#isPickableBtn {
  background-color: transparent !important;
  border: 1px solid white !important;
}

#deleteBtn {
  background-color: transparent !important;
  border: 1px solid #72232D !important;
}

#cloneBtn {
  background-color: transparent !important;
  border: 1px solid #28684A !important;
}

.tempColorStuff {
  /*padding: 0.20rem 0.55rem;*/
  /*border: 1px solid #205D9E;*/
  padding: 0.5rem 0;

  border-radius: 0.45rem;
  cursor: pointer;
  margin: 0 0.75rem;
}

.align-button-center>svg {
  stroke: white;
}

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


#windowTabs {
  display: flex;
  justify-content: space-around;
}

#windowTabs>div {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0;
  border-left: 1px;
  border-right: 1px;
  border-color: var(--tooling-border);
  border-style: solid;
  width: 33.3%;
}


input[type="number"] {
  color: #e1e1e1;
  background-color: var(--tooling-background);
  border: var(--tooling-border);
  padding: 0.25rem;
  border-radius: 0.25rem;
  margin-top: 0.25rem;
  font-size: 14px;
  margin-right: 1rem;
  margin-right: 1rem;
}

input[type="text"] {
  color: #e1e1e1;
  background-color: var(--tooling-background);
  border: var(--tooling-border);
  padding: 0.25rem;
  border-radius: 0.25rem;
  margin-top: 0.25rem;
}

input[type="color"] {
  color: #e1e1e1;
  background-color: var(--nodes-background-color);
  border: var(--tooling-border);
  padding: 0.25rem;
  border-radius: 0.25rem;
  margin-top: 0.25rem;
}

select {
  color: #e1e1e1;
  background-color: var(--tooling-background);
  border: var(--tooling-border);
  padding: 0.25rem;
  border-radius: 0.25rem;
  margin-top: 0.25rem;
  width: 12rem;
  height: 1.7rem;
  margin-bottom: 1rem;
}

#texturesDiv>button {
  border: 1px solid #205D9E;
  padding: 0.75rem 0.75rem;
  background-color: transparent;
  border-radius: 0.55rem;
  margin-top: 0.75rem;
  font-size: 16px;
  margin-right: 1rem;
  color: #e1e1e1;
  cursor: pointer;
}

#texturesDiv>button:hover {
  background-color: rgba(24, 59, 122, 0.7);
  border-color: #1861aa;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
}

#texturesDiv>div button {
  color: #e1e1e1;
  border: 1px solid var(--tooling-border-color);
  background-color: var(--tooling-background);
  padding: 0.15rem 0.4rem;
}

.slidersBottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slidersBottom>input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 0.75rem;
  background: var(--nodes-background-color);
  outline: none;
}

.slidersBottom>input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 0.75rem;
  height: 1.5rem;
  border-radius: 0.25rem;
  background: #173d68;
  cursor: pointer;
}

.slidersBottom>input[type="range"]::-webkit-slider-thumb:hover {
  background: #01a7a7;
}

.slidersBottom>input[type="range"]::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #4cafa2;
  cursor: pointer;
}

output {
  display: block;
  font-size: 24px;
  margin-top: 20px;
}


.clicked {
  /*background-color: rgba(18, 52, 59, 0.5);*/
  background-color: #0D1520;
}

.multiple-clicked {
  background-color: rgba(237, 203, 200, 0.5);
}

#infoDiv {
  padding: var(--window-edit-padding);
}

#infoDiv>p {
  line-height: 1.5rem;
  color: #cecece;
}

#cname {
  margin: 1rem 0 1rem 0.5rem;
}

#nodeName {
  padding-top: 0.25rem;
  font-size: 18px;
}

#dropdownDiv {
  padding: var(--window-edit-padding);
  padding-top: 0;
  margin-top: -0.5rem;
  padding-bottom: 0.75rem;
}

#transformDiv {
  padding: var(--window-edit-padding);
  display: flex;
  flex-direction: column;
}

#transformDiv span {
  color: #cecece;
}

#transformDiv input {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

#transformDiv h3 {
  padding-top: 1rem;
}

input#rotationZ {
  margin-bottom: 1rem;
}

#animationsDiv {
  padding: var(--window-edit-padding);
  display: flex;
  justify-content: space-around;
}

#animationsDiv select {
  margin: 0;
}

#animationsDiv button {
  padding: 0 0.5rem;
  border: 1px solid white;
  border-radius: 0.25rem;
  cursor: pointer;
}

#texturesDiv {
  padding: var(--window-edit-padding);
}

input#alphaSlider {
  margin-bottom: 1rem;
}

.nodeSquare {
  min-width: 0.75rem;
  min-height: 0.75rem;
  display: inline-block;
  border-radius: 0.25rem;
  margin-bottom: -1px;
  margin-right: 3px;
}

.parentNodeSquare {
  /*background-color: #591C47;*/
  background-color: #692955;
}

.childNodeSquare {
  /*background-color: #253974;*/
  background-color: #104D87;

}

.cameraNodeSquare {
  background-color: #4d556d;
}

.lightNodeSquare {
  /*background-color: #9a9c2b;*/
  background-color: #ffdd40;
}

/* Toolbar */

#toolbar-container {}

.toolbar {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--tooling-background);
  border: var(--tooling-border);
  border-radius: var(--border-radius);
  padding: 0.7rem;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  bottom: 0;
  /*z-index: 1000;*/
  /*
  position: relative;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0%);

  min-width: 300px;
  */

  background: rgba(5, 5, 5, 1);
  /*border-radius: 16px;*/
}

.container {
  margin: 0 5px;
  padding: 0 5px;
}

.placeholder {
  color: white;
  cursor: pointer;
  background-color: var(--tooling-background);
  border: var(--tooling-border);
  border-radius: var(--border-radius);
  padding: 5px 5px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;

  background: rgba(5, 5, 5, 1);
  /*border-radius: 16px;*/
}

.placeholder:hover {
  background-color: #007bff;
}

.placeholder.active {
  background-color: #007bff;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  margin-top: -200px;
  margin-left: -12px;
  background-color: #1e1e1e;
  min-width: 160px;
  overflow: auto;
  border-radius: 10px;
  z-index: 1;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown a:hover {
  background-color: #3f3f3f;
}

.show {
  display: block;
}

.pill-spacer {
  width: 1px;
  height: 100%;
  border-radius: 20px;
  margin-right: 5px;
  margin-left: 5px;
  padding-left: 2px;
  padding-right: 2px;
  border: 1px solid var(--tooling-border-color);
}

#slider-container {
  display: flex;
  position: relative;
  top: calc(80% - 73px);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  background-color: #1f1f1f;
  padding: 9px 7px 7px 7px;
  border-radius: 7px;
}

#slider {
  width: 200px;
}

#slider-value {
  margin: 0 7px;
  color: #fff;
}

.hidden {
  display: none !important;
}

#generalDiv {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: var(--window-edit-padding);
}

#generalDiv button {
  flex: 1;
}

#deleteNoBtn {
  background-color: #111A27;
  padding: 0.20rem 0.55rem;
  /*border: 1px solid #205D9E;*/
  border-radius: 0.25rem;
  cursor: pointer;
  margin-right: 1rem;
  color: white;
}

.materialTypeContainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.materialTypeContainer img {
  border: var(--tooling-border);
  cursor: pointer;
  height: 27px;
  aspect-ratio: 16 / 9;
}

.revertOriginalImage {
  font-size: 20px;
}

.materialTypeContainer div {
  padding: 0.5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}


.materialTypeContainer div {
  padding: 0.5rem 0;
}

/*p {*/
/*  padding: 0.123rem 0rem;*/
/*}*/

/*
button {
  min-width:89px;
  font-size: 16px;
  padding: 0.5rem 1rem;
  border: var(--border-sm);
  color: var(--text-color);
  background-color: var(--btn-default-bg);
  cursor: pointer;
  border-radius: 0.355rem;
}
*/

.btn {
  min-width: 89px;
  font-size: 16px;
  padding: 0.5rem 1rem;
  border: var(--border-sm);
  color: var(--text-color);
}

.btn-default {
  background-color: var(--btn-default-bg);
}

.menu {
  list-style: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu li {
  position: relative;
  display: inline-block;
  border-radius: var(--border-radius);
  font-size: 14px;
  height: 100%;
  vertical-align: middle !important;

}

.menu>li:hover {
  background: var(--tooling-border-color);

}


.menu li a {
  display: block;
  color: #e1e1e1;
  text-decoration: none;
  padding: 0.25rem 0.75rem;
  border: none;
  cursor: pointer;
  font-size: 13.3333px !important;
  vertical-align: middle !important;
  height: 100%;
  margin-top: 2.4px;
  /* Here because it wont align properly otherwise, like the button does*/


}



.menu li a span:nth-child(2) {
  color: #a1a1a1;
}

.menu span {
  font-family: "Geist", sans-serif !important;

}

.menu ul {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  border-top: 0.5rem solid white transparent;
  min-width: 200px;
}

.menu hr {
  /*height: 1px;*/
  border: none;
  border-top: 1px solid var(--tooling-border-color);
  /*color: var(--tooling-border-color);*/
}

#window hr {
  /*height: 1px;*/
  border: none;
  border-top: 1px solid var(--tooling-border-color);
  /*color: var(--tooling-border-color);*/
}

.menu ul:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0px;
  /*Equal to the border width*/
  width: 100%;
  height: 100%;
  background-color: transparent;
  border-radius: var(--border-radius);
  border: 1px solid var(--tooling-border-color);
  pointer-events: none;

}

.menu ul ul {
  top: 0;
  left: 100%;
}

.menu ul ul {
  top: 0;
  left: 100%;
  border-left: 5px solid white transparent;
  border-top: 0px;
  margin-top: -5px;
}

.menu ul {
  background-color: var(--tooling-background);
}

.menu ul li {
  display: block;
  margin-right: -2px;
  margin-bottom: -2px;
}

.menu ul li>a {
  padding: 0.35rem 0.75rem;

  margin: 5px;
  border-radius: calc(0.5rem - 4px);
  display: flex;
  align-items: center;
  justify-content: space-between;


}

.menu ul li:hover>a {
  background-color: var(--tooling-border-color);
}

.menu ul li:first-child {}


.menu li:hover>ul {
  display: block;
}

/* Modal styles */
#modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  padding-top: 60px;
  background-color: rgba(0.5, 0.5, 0.5, 0.6);
}

.modal-content {
  background-color: rgba(0.5, 0.5, 0.5, 1);
  color: #fff;
  margin: 5% auto;
  padding: 2rem;
  border: none;
  width: 80%;
  border-radius: 10px;
  position: relative;
}


.close {
  color: #fff;
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 30px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.close:hover,
.close:focus {
  text-decoration: none;
  cursor: pointer;
}

#trueModalContent {
  display: flex;
  gap: 1.5rem;
  justify-content: center;

  padding-top: 2rem;
  backface-visibility: hidden;
}

.card {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 1);
  border-radius: 8px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  user-select: none;
  height: 100%;
  padding: 2rem 1rem 7rem 1rem;

  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  border: var(--tooling-border);

}

.card:hover {
  transform: translateY(-3px);
  background-color: #444;
}

.card>p {
  color: var(--text-gray-color);
  transition: 0.3s color ease;
}

.card:hover p {
  color: #fff;
}

/* Needed because its the actual child of the flex container*/
.card-hover {
  flex: 1 1 0px;
}

.card-hover:active {
  transform: scale(0.98);
}

.gutter-horizontal {
  height: 5px;
  cursor: ns-resize;
  background-color: #1e1e1e;
  flex-shrink: 0;
  width: 100%;
}

.gutter-horizontal:active {
  background-color: #2b6cb0;
}

.gutter-horizontal:hover {
  background-color: #2b6cb0;
}

.container {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.container:hover {
  transform: translateY(-3px);
}

.card h2 {
  padding-top: 0.55rem;
}

.card p {
  padding-top: 0.55rem;
}

#prusu {
  position: relative;
  bottom: 4px;
  margin-left: 0.3rem;
  margin-right: 0.3rem;
}

/* Delete modal */
#customModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0.5, 0.5, 0.5, 0.6);
  color: white;
}

.modal-contentN {
  background-color: var(--tooling-background);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  border: 1px solid #888;
  border-radius: 5px;
  text-align: center;
  max-width: 300px;
}

.closeS {
  position: relative;
  float: right;
  font-size: 28px;
  font-weight: bold;
  top: -20px;
  left: 10px;
}

.closeS:hover,
.closeS:focus {
  text-decoration: none;
  cursor: pointer;
}

.button-container {
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
  padding: 0.55rem 0 0.55rem 0;
}

.ok-button,
.back-button {
  margin: 0 10px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  padding: 0.75rem 1.25rem;
}

.ok-button {
  background-color: #113B29;
  color: white;
}

.back-button {
  background-color: #500F1C;
  color: white;
}

#ok-buttong {
  margin: 0 10px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  padding: 0.75rem 1.25rem;
  background-color: #113B29;
  color: white;
}

.gutter {
  cursor: ew-resize;
  background-color: #1e1e1e;
  flex-shrink: 0;
  /* Prevent gutter from shrinking */
}

.gutter:hover {
  background-color: #2b6cb0;
  /* Adjusted to a brighter shade of blue */
}

/* Modal container */
#infoModal {
  display: none;
  /* Hide modal by default */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Semi-transparent background */
  overflow: auto;
  color: white;
}

/* Modal content */
.infoModalContent {
  background-color: rgba(0.5, 0.5, 0.5, 1);
  margin: 5rem auto;
  /* Center modal vertically and horizontally */
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  border-radius: 8px;
}

#infoModal h3 {
  margin-bottom: 2rem;
}

.closeI {
  position: relative;
  float: right;
  font-size: 28px;
  font-weight: bold;
  top: -4.5rem;
  left: 10px;
}

.closeI:hover,
.closeI:focus {
  text-decoration: none;
  cursor: pointer;
}

#sceneModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0.5, 0.5, 0.5, 0.6);
  overflow: auto;
  color: white;
}

#sceneModal .infoModalContent {
  background-color: rgba(0.5, 0.5, 0.5, 1);
  margin: 15% auto;
  padding: 20px;
  border: 1px solid white;
  width: 80%;
  max-width: 600px;
  border-radius: 8px;
}

#sceneModal .closeI {
  position: relative;
  float: right;
  font-size: 28px;
  font-weight: bold;
  top: -1.5rem;
  right: 10px;
}

#sceneModal .closeI:hover,
#sceneModal .closeI:focus {
  text-decoration: none;
  cursor: pointer;
}


@media (max-width: 1600px) {
  #trueModalContent {
    flex-wrap: wrap;
  }

  .card-hover {
    flex: 0 45%;
  }
}

@media (max-width: 1100px) {

  .toolbar {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    transform: unset;
  }

  .container {
    padding: 1px;
  }

  #editor {
    flex-direction: column;
    height: 100vh;
  }

  #renderCanvas {
    max-height: calc(100vh-62px);
    margin-bottom: -62px;
  }

  #ultimateEditor {
    padding-top: 0;
  }

  #window {
    width: 420px;
  }

  .pill-spacer {
    display: none;
  }

  .impBtnH {
    display: none;
  }

  /* Expor Modal */
  #modal {
    padding-top: 2rem;
  }

  .modal-content {
    padding: 1rem;
    margin-bottom: 0;
  }

  .modal-content h2 {
    font-size: 20px;
  }

  .card {
    padding: 1rem 1rem;
    /*flex-direction: row;*/
    /*text-align: right;*/

    /*justify-content: unset;*/
    /*align-items: start;*/
    /*gap:0.5rem;*/
  }

  .card h2 {
    font-size: 20px;
  }

  .card p {
    font-size: 14px;
  }

  #trueModalContent {
    display: flex;
    flex-direction: column;
    padding-top: 1rem;
  }

  #errorContainer {
    overflow: auto;
  }

}

.toolbar-menu {
  list-style: none;
  text-align: center;
  /*display: flex;*/
  /*align-items: center;*/
  /*justify-content: center;*/
}

.toolbar-menu li {
  position: relative;
  display: inline-block;
  border-radius: var(--border-radius);
  font-size: 14px;
  height: 100%;
  vertical-align: middle !important;
}

.toolbar-menu>li {
  color: white;
  cursor: pointer;
  border: var(--tooling-border);
  border-radius: var(--border-radius);
  padding: 2px 5px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;

  background: rgba(5, 5, 5, 1);
  /*border-radius: 16px;*/
}

.toolbar-menu>li:hover {
  background: var(--tooling-border-color);

}

.toolbar-menu a:hover {
  background-color: inherit;
}

.toolbar-menu li a {
  display: block;
  color: #e1e1e1;
  text-decoration: none;
  /*padding: 0.25rem 0.75rem;*/
  border: none;
  cursor: pointer;
  font-size: 13.3333px !important;
  height: 100%;
  margin-top: 2.4px;
  /* Here because it wont align properly otherwise, like the button does*/
}

.toolbar-menu li a .toolbar-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-direction: row;
}

.toolbar-menu li a .toolbar-menu-item span {
  color: #a1a1a1;
}

.toolbar-menu span {
  font-family: "Geist", sans-serif !important;

}

.toolbar-menu ul {
  position: absolute;
  top: -12.6rem;
  left: -2px;
  display: none;
  border-bottom: 3rem solid white transparent;
  min-width: 36px;
  border-radius: 0.25rem;
  background-color: var(--tooling-background);
}

.toolbar-menu hr {
  /*height: 1px;*/
  border: none;
  border-top: 1px solid var(--tooling-border-color);
  /*color: var(--tooling-border-color);*/
}

.toolbar-menu ul:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0px;
  /*Equal to the border width*/
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius);
  border: 1px solid var(--tooling-border-color);
  pointer-events: none;
}

.toolbar-menu ul ul {
  top: 0;
  left: 100%;
}

.toolbar-menu ul ul {
  top: 0;
  left: 100%;
  border-left: 5px solid white transparent;
  border-top: 0px;
  margin-top: -5px;
}

.toolbar-menu ul li {
  display: block;
  margin-right: -2px;
  margin-bottom: -2px;
  padding: 2px;

}

.toolbar-menu ul li>a {
  color: white;
  cursor: pointer;
  border-radius: var(--border-radius);
  padding: 4px 4px;
  text-align: center;

  display: flex;
  align-items: center;

  background: rgba(5, 5, 5, 1);
  /*border-radius: 16px;*/
  margin: 0px;
}

.toolbar-menu ul li:hover>a {
  background-color: var(--tooling-border-color);
}

.toolbar-menu ul li:first-child {}


.toolbar-menu li:hover>ul {
  display: block;
}

#msgDiv p {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  padding-top: 3rem;
}

#msgContainer {
  height: 5rem;
}

model-viewer {
  width: 400px !important;
  height: 400px !important;
}