.bp-layer {
  position: absolute;
  left: 0;
  top: 0;
}


.container {
  margin-top: 60px;
  height: 100px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-bottom-left-radius: 20px;
  /* Border radius for top left corner */
  border-bottom-right-radius: 20px;

}

#canvas {
  z-index: 0;
}



div[id^="square-"] {
  width: 100px;
  height: 100px;
  margin: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: contain;
  border-radius: 20px;
  border-bottom-right-radius: 0px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.144);
}

img {
  max-width: 100%;
  max-height: 100%;
}

.body-container {
  min-width: 550px;
  flex: 1;
}

.row-container {
  display: flex;
  justify-content: center;
}

.canvas-container {
  flex: 1;
}

h3 {
  color: #e7e7e7;
}

body {
  overflow-x: hidden;
  font-family: Roboto !important;
  background-image: radial-gradient(circle, #3a5775 1px, transparent 1px);
  background-size: 30px 30px;
  background-color: #0D1117;
  color: white;
  height: 100%;
  margin: 0;
  padding: 0;
}

.header {
  z-index: 1;
  position: fixed;
  height: 40px;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: linear-gradient(-45deg, #0856fe, #983ffe);
  color: white;
}

.left-section {
  display: flex;
  align-items: center;
}

.logo {
  margin-right: 10px;
}

.project-info {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.color-button {
  cursor: pointer;
  background: linear-gradient(#101820, #101820) padding-box,
  linear-gradient(45deg, #1452feb7, #9240fec9) border-box;
  border-radius: 50em;
  border: 2px solid transparent;
  color: white;
  padding: 10px 10px;
  margin: 5px;
  transition: all 0.3s ease;
  overflow: hidden;
}



.color-button:hover {
  background: #134ae4b7;
}

.color-button:active {
  background: #4b78f5b7;
}


.settings-icon,
.user-icon {
  cursor: pointer;
  font-size: 24px;
}

.right-section {
  margin-right: 20px;
}

.editable-text {
  border: 2px solid #f8f8f8;
  padding: 8px;
  cursor: pointer;
  border-radius: 8px;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}

::-webkit-scrollbar-track {
  background-color: #101820;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  -webkit-border-radius: 10px;
  border-radius: 5px;
  background: linear-gradient(135deg, #0856fe, #983ffe);
}

.placeholder-image {
  width: 100px;
  height: 100px;
  background-color: #282828;
  /* Placeholder background color */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  /* Adjust font size of the plus symbol */
  color: #fff;
  /* Plus symbol color */
  font-weight: bold;
}

.plus-symbol {
  width: 80px;
  height: 80px;
  background-color: #101820;
  /* Plus symbol background color */
  color: #fff;
  /* Plus symbol color */
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider {
  -webkit-appearance: none;
  width: 60vw;
  height: 25px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

#waveform {
  width: 60vw;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  background: #1265ff;
  cursor: pointer;
  position: relative;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  background: #1265ff;
  cursor: pointer;
  position: relative;
}



#sliderValue {
  font-size: 20px;
  pointer-events: none;
  /* Make the text non-clickable */
}

#play-button {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #2042ff;
  cursor: pointer;
  margin-left: 10px;
}

#stop-button {
  width: 20px;
  height: 20px;
  background-color: #2042ff;
  border: none;
  cursor: pointer;
  margin-left: 10px;
}


.radio-button {
  background-color: #101820;
  text-align: center;
  flex: 1;
  cursor: pointer;
  color: white;
}

.radio-button.active {
  background: linear-gradient(-45deg, #0856fe, #983ffe);
  color: #fff;
}

.circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  /* creates a circle */
  background: linear-gradient(-45deg, #0856fe, #983ffe);
  /* blue color */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

#main-canvas-container {
  width: 60vw;
  /* 70% of the viewport width */
  height: 33.75vw;
  position: relative;
  background-color: white;
  background-image: radial-gradient(circle, #3a577562 1px, transparent 1px);
  background-size: 20px 20px;
  margin-left: auto;
  margin-right: auto;
}

.main-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Style to hide number input spin buttons */
.custom_input::-webkit-inner-spin-button,
.custom_input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.custom_input {
  -moz-appearance: textfield;
  /* Firefox */
}


.effect {
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 190px;
  filter: blur(120px);
  background-image: linear-gradient(90deg, rgba(87, 196, 255, .5), rgba(0, 49, 209, .5));

  opacity: 0.5;
  /* Adjust opacity as needed
    z-index: 1; /* Set a higher z-index */
  pointer-events: none;
}

.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #fd0645;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 2s linear infinite;
  margin: 20% auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


#editableDiv1 {
  margin-right: 10px
}

#export-info-div {
  margin-right: 30px;
  display: none;
  flex-direction: row;
  align-items: center;
}

#export-info {
  margin-left: 5px;
  max-width: 250px;
}


#audio-div {
  display: flex;
  flex-direction: row;
  align-items: center;
}


#humanoid-button {
  cursor: pointer;
  width: 100px;
  height: 100px;
  border-bottom-left-radius: 20px;
  float: left;
}

#upload-panel {
  display: flex;
  flex-direction: column;
}

.upload-text {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 15px;
}

#main-panel {
  padding: 1%;
  height: 600px;
}

#info-panel {
  background-color: #101820;
  width: 200px;
  min-width: 100px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  position: absolute;
  top: 0px;
  left: -200px;
  height: 100%;
  overflow-y: scroll;
}

#scale-div {
  display: none;
  flex-direction: row;
  margin: 10px;
}

#movement-mode-div {
  height: 200px;
  width: 75px;
  background-color: #101820;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  align-content: center;
  position: absolute;
  top: 0px;
  right: -75px;
}

#play-panel {
  width: 100vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}


#bp-canvas-container {
  position: relative;
  border: 2px solid rgba(0, 0, 0, 0.26);
  border-radius: 20px;
  background-color: white;
  background-image: radial-gradient(circle, #3a577562 1px, transparent 1px);
  background-size: 20px 20px;
  width: 400px;
  height: 450px;
  margin: 10px;
}

.spawnedDiv {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #282828;
  border-radius: 10px;
  padding: 10px;
  z-index: 10;
  height: 100px;
  flex-direction: column;
}