@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap");
:root {
  --timeFactor: 200ms;
}
.orbitron-font {
  font-family: "Orbitron", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}
html,
body {
  overflow: hidden;
  margin: 0;
  width: 100%;
  height: 100%;
  font-family: DM Sans, sans-serif;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.animate__animated {
  --animate-duration: 2s;
}

#loading-screen {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  opacity: 1;
  transition: 3s ease-in-out;
}

#loading-screen.fade-out {
  opacity: 0;
}

#loader {
  display: block;
  position: relative;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #9370db;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

#loader:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #ba55d3;
  -webkit-animation: spin 3s linear infinite;
  animation: spin 3s linear infinite;
}

#loader:after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #ff00ff;
  -webkit-animation: spin 1.5s linear infinite;
  animation: spin 1.5s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* UI Controls */
.logo {
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #00d4ff 0%, #7b68ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: all 0.4s ease;
}

.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
}
.UI-Controls-bar {
  position: fixed;
  height: 70px;
  background: rgba(10, 10, 10, 0.1);
  backdrop-filter: blur(30px);
  z-index: 1000;
  padding: 10px 50px;
  transition: all 0.4s ease;
}
.UI-Controls-bar.top {
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}
.UI-Controls-bar.bottom {
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(0, 212, 255, 0.2);
}
.UI-Controls {
  position: absolute;
  margin: auto;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 50px;
  width: fit-content;
  height: fit-content;
  font-size: 12px;
  color: #222;
  overflow: hidden;

  /* glass morphism effect */
  /* From https://css.glass */
}
#changePartBtn{
    color: rgb(196, 196, 196);
}
#changePartBtn img{
    /* change the filter below to make the image color more white */
    margin-left:0 !important;
    filter: invert(80%) sepia(20%) saturate(500%) hue-rotate(170deg) brightness(90%) contrast(85%);
}
.configuration-panel{
    height:62px;
    background: transparent;
    padding:0 24px;
    margin:0 !important;
    box-shadow: inset 0 0 0 rgba(0, 0, 0, 0);
    transition: .3s ease;
}
.configuration-panel:hover{
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.4);
}

.UI-Controls.active {
  display: inline-flex;
}

.UI-Controls.top {
  top: 20px;
  left: 0;
  right: 0;
  padding: 0 !important;
  border: solid 1px #00d4ff33;
}

.UI-Controls.bottom {
  bottom: 0px;
  left: 0;
  right: 0;
  overflow: initial;
}

.UI-Controls.right {
  top: 0;
  bottom: 0;
  right: 10px;
  padding: 5px 5px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0);
}

.UI-Controls.left {
  top: 0;
  bottom: 0;
  left: 10px;
  padding: 5px 5px;
  border-radius: 100px;
}

/* toggle switch */
/* Base styles for the toggle switch container */
.switch-container {
  display: flex;
  align-items: center;
  font-family: Arial, sans-serif;
}

/* Toggle switch */
.switch {
  position: relative;
  display: inline-block;
  width: 110px;
  height: 30px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Slider styles */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: 12px;
  transition: 0.4s;
  border-radius: 50px;
}

.slider .txt {
  position: absolute;
  top: 0;
  bottom: 0;
  left: auto;
  right: 12px;
  margin: auto;
  width: fit-content;
  height: fit-content;
  color: #00d4ff33;
  transition: 0.4s;
}

.slider:after {
  position: absolute;
  content: "off";
  height: 24px;
  width: 24px;
  left: 3px;
  bottom: 3px;
  background-color: rgb(27, 50, 77);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  color: aliceblue;
  text-transform: uppercase;
  transition: 0.4s;
}

input:checked + .slider:after {
  background-color: rgb(28, 116, 167);
  color: #fff;
  left: calc(100% - 27px);
  content: "on";
}

input:checked + .slider .txt {
  right: 36px;
  color: #00d4ff;
}

/* On/Off text */
.switch-text {
  margin-left: 10px;
  font-size: 16px;
}

/* Vertical slider styles */
.slider-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

input[type="range"] {
  height: 2px;
  width: 40px;
  border-radius: 40px;
  -webkit-appearance: none;
  margin: 5px 0;
}

input[type="range"][orient="vertical"] {
  writing-mode: vertical-lr;
  direction: rtl;
  appearance: slider-vertical;
  height: initial;
  width: 3px;
  border-radius: 40px;
  vertical-align: bottom;
  -webkit-appearance: none;
  margin: 5px 0;
}

input[type="range"]::-webkit-slider-runnable-track {
  background: white;
  /* ...change color with background property... */
  /* ...my custom edits...*/
  height: 2px;
  position: relative;
  background: transparent !important;
  left: -45% !important;
  border-radius: 40px;
  transition: background 0.3s;
}

input[type="range"][orient="vertical"]::-webkit-slider-runnable-track {
  height: unset;
  width: 4px;
}

input[type="range"]:hover::-webkit-slider-runnable-track {
  background: rgb(239, 239, 239);
  /* ...change color with background property... */
  /* ...my custom edits... */
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 13px;
  /* ..manually set height greater than 0... */
  width: 6px;
  /* ..manually set width greater than 0... */
  background: linear-gradient(135deg, #2e8394 0%, #332a63 100%);
  /* ...change color with background property... */
  /* ...my custom edits... */
  position: relative;
  top: -5px;
  border-radius: 100px;
  margin: 0 auto;
  cursor: pointer;
  box-shadow: 0 0 5px -1px rgba(0, 0, 0, 1);
  transition: background 0.3s;
}

input[type="range"][orient="vertical"]::-webkit-slider-thumb {
  height: 8px;
  width: 15px;
  left: -5px;
  top: 0;
}

input[type="range"]:hover::-webkit-slider-thumb {
  background: linear-gradient(135deg, #2e565e 0%, #383257 100%);
  /* ...change color with background property... */
  /* ...my custom edits... */
}

/* dropdown */
.dropdown h1 {
  margin-bottom: 0;
}

.dropdown {
  margin: 0px auto;
  min-width: 180px;
  width: fit-content;
  height: fit-content;
}

.dropdown:hover h1 {
  border-radius: 0px 0px 5px 5px;
}

.dropdown:hover li {
  height: auto;
  overflow: auto;
  opacity: 1;
}

.dropdown h1 {
  display: inline-block;
  padding: 10px 24px 10px 30px;
  position: relative;
  font-size: 12px;
  font-weight: normal;
  text-align: left;
  border: 5px;
  border-radius: 5px;
  width: 100%;
  color: #eee;
  cursor: pointer;
  transition: all 0.5s linear 0s;
}

.dropdown h1 b {
  /*color: #EEE;*/
  font-size: inherit;
}

.dropdown h1:before {
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  margin: auto;
  content: "";
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  display: inline-block;
  background: #dbd8bf;
  border-radius: 50px;
  vertical-align: middle;
  width: 16px;
  height: 16px;
}

.dropdown h1.selected-1:before {
  background: #737373;
}

.dropdown h1.selected-2:before {
  background: #f0d522;
}

.dropdown h1.selected-3:before {
  background: #dbd8bf;
}

.dropdown ul {
  display: block;
  position: absolute;
  padding: 0;
  bottom: calc(100% + 20px);
  left: 0;
  right: 0;
  margin: 0 auto;
  list-style: none;
}

.dropdown li {
  position: relative;
  padding: 10px 24px 10px 30px;
  color: #eee;
  text-align: left;
  border: 0px;
  width: 100%;
  height: 0px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  margin-bottom: 1px;
  border: solid 1px transparent;
  background: linear-gradient(135deg, #2a2630c7 0%, #3a5a6e9c 100%) !important;
  /* From https://css.glass */
  border-radius: 5px;
  transition-property: all, background-color;
  transition-duration: 0.2s, 0.4s;
}

.dropdown li b {
  color: #eee;
  font-weight: normal;
}

.dropdown li:hover,
.dropdown li.selected {
  background: linear-gradient(135deg, #1b17356c 0%, #215f6b9c 100%) !important;
  border: solid 1px #00d4ff33;
}

.dropdown li:before {
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  margin: auto;
  background: inherit;
  content: "";
  display: inline-block;
  border-radius: 50px;
  vertical-align: middle;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  width: 16px;
  height: 16px;
}

.dropdown li:nth-child(1) {
  transition-delay: 0s, 0s;
}

.dropdown li:nth-child(1):before {
  background: #737373;
}

.dropdown li:nth-child(2) {
  transition-delay: 0.1s, 0s;
}

.dropdown li:nth-child(2):before {
  background: #f0d522;
}

.dropdown li:nth-child(3) {
  transition-delay: 0.2s, 0s;
}

.dropdown li:nth-child(3):before {
  background: #dbd8bf;
}


/* seprator */
.se-sep {
  height: 35px;
  padding-left: 22px;
  border-right: solid 1px #666;
  border-left: solid 1px #666;
}

/* color picker */
.paint-color-panel label{
    color:#c4c4c4;
}
.paint-color-panel img{
    filter: invert(80%) sepia(20%) saturate(500%) hue-rotate(170deg) brightness(90%) contrast(85%);
}
.paint-color-panel {
  display: flex;
  align-items: center;
  justify-content: center;
}
#defPainBtn{
    background: rgba(0, 0, 0, 0.01) !important;
    backdrop-filter: blur(30px);
    border: solid 1px #00d4ff33;
    box-shadow: none !important;
    transition: .3s ease;
}
#defPainBtn:hover{
    background: rgba(0, 0, 0, 0.1) !important;
    border: solid 1px #00d4ff55;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5) !important;
}

input[type="color"] {
  border-radius: 100%;
  width: 30px;
  height: 30px;
  outline: none;
  margin-right: 15px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

input[type="color"] {
  -webkit-appearance: none;
  padding: 0;
  border: none;
  border-radius: 10px;
  width: 20px;
  height: 20px;
}

input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 10px;
  padding: 0;
}

input[type="color"]::-webkit-color-swatch-wrapper {
  border: none;
  border-radius: 10px;
  padding: 0;
}

/* loader layout */
#start-btn {
  width: fit-content;
  height: fit-content;
  border: none;
  outline: none;
  color: rgba(255, 255, 255, 0.4);
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  margin: auto;
  top: 100vh;
  opacity: 0;
  z-index: 10;
  padding: 5px 30px;
  text-shadow: 3px 4px 5px black;
  font-family: "Courier New", Courier, monospace;

  /* From https://css.glass */
  background: rgba(100, 100, 100, 0.1);
  box-shadow: 0 4px 30px 10px rgba(0, 0, 0, 1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;

  transition: 2s 2.5s ease-in-out;
}

body:has(.loader-layout.noIntro) #start-btn {
  top: 70vh;
  opacity: 1;
}

.loader-layout {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: min(90vw, 600px);
  height: fit-content;
  padding: 20px 40px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  overflow: hidden;

  /* From https://css.glass */
  background: rgba(100, 100, 100, 0.1);
  box-shadow: 0 4px 30px 10px rgba(0, 0, 0, 1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;

  transition: all 1s, top 2s 2s ease-in-out;
}

.loader-layout.noIntro {
  top: -35vh;
  background: rgba(0, 0, 0, 0);
}

.loader-layout h2 {
  padding: 5px 20px;
}

.loader-layout * {
  text-shadow: 3px 4px 5px black;
  font-family: "Courier New", Courier, monospace;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.4);
}

.loader-layout p {
  margin-top: 20px;
  margin-bottom: 30px;
  font-size: 14px;
  height: auto;
  max-height: 300px;
  overflow: hidden;
  transition: 2s ease-out;
}

.loader-layout.noIntro p {
  max-height: 0;
  padding: 0;
  margin: 0;
}

.loader-layout:hover {
  background: rgba(0, 0, 0, 0.3);
}

.loader-layout button {
  display: none;
  outline: none;
  border: none;
  bottom: 0;
  position: relative;
  margin: 0 !important;
  background-color: rgba(200, 200, 200, 0.1);
  width: fit-content;
  height: fit-content;
  border-radius: 10px;
  padding: 5px 30px;
  box-shadow: 0 4px 30px 0px rgba(0, 0, 0, 0.5);

  font-family: "Courier New", Courier, monospace;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: 400;
  overflow: hidden;
  transition: background-color 0.3s, bottom 1s ease-in;
}

.loader-layout.noIntro button {
  animation: btnAnim 1s forwards ease-in;
}

@keyframes btnAnim {
  0% {
    opacity: 1;
    bottom: 0;
    max-height: 50px;
  }

  99% {
    opacity: 0;
    bottom: -70px;
    max-height: 0px;
  }

  100% {
    opacity: 0;
    bottom: -70px;
    max-height: 0px;
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .loader-layout {
    padding: 10px 20px;
  }

  .loader-layout h2 {
    font-size: 19px;
    padding: 10px;
  }

  .loader-layout p {
    max-height: 70vh;
  }
}

.loader-layout button:hover {
  background-color: rgba(200, 200, 200, 0.15);
}

body:not(.visializer) iframe {
  animation: ifOpacity3 3s alternate infinite ease-out;
}

body:not(.visializer) iframe.stopped {
  animation: ifOpacity2 3s alternate infinite ease-out;
}

body:not(.visializer) iframe.slow {
  animation: ifOpacity 2s alternate infinite ease-out;
}

body:not(.visializer) iframe.fast {
  animation: ifOpacity 0.5s alternate infinite ease-out;
}

body:not(.visializer) iframe.loading {
  animation: ifOpacity 0.2s alternate infinite ease-out;
}

@keyframes ifOpacity {
  0% {
    opacity: 0.03;
  }

  100% {
    opacity: 0.4;
  }
}

@keyframes ifOpacity2 {
  0% {
    opacity: 0.2;
  }

  100% {
    opacity: 1;
  }
}

@keyframes ifOpacity3 {
  0% {
    opacity: 0.2;
  }

  100% {
    opacity: 0.4;
  }
}

/* CSS for the button and SVG animation */
.audio-button {
  width: 70px;
  height: 20px;
  border: none;
  outline: none;
  color: rgba(255, 255, 255, 0.4);
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  margin: auto;
  top: 100vh;
  opacity: 0;
  z-index: 10;
  padding: 0px;
  text-shadow: 3px 4px 5px black;
  font-family: "Courier New", Courier, monospace;
  cursor: pointer;

  /* From https://css.glass */
  background: rgba(100, 100, 100, 0.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 5px;

  transition: 2s 2.8s ease-in-out;
}

body:has(.loader-layout.noIntro):not(.visualizer) .audio-button {
  top: 80vh;
  opacity: 1;
}

body.visualizer .audio-button {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 5px 15px -3px rgba(0, 0, 0, 0.4);
  transition-delay: 0s;
  animation: visSaudioBtnAnim 3s forwards ease-in-out !important;
}

body.visualizer .bar {
  width: 2px;
}

@keyframes visSaudioBtnAnim {
  0% {
    opacity: 1;
    top: 80vh;
  }

  25% {
    opacity: 0;
    top: 90vh;
  }

  75% {
    opacity: 0;
    top: 100vh;
  }

  76% {
    opacity: 0;
    margin: 0;
    top: auto;
    left: auto;
    bottom: -20px;
    right: 10px;
  }

  100% {
    opacity: 1;
    margin: 0;
    top: auto;
    left: auto;
    bottom: 25px;
    right: 20px;
  }
}

svg {
  width: 70%;
  height: 100%;
  color: #00d4ff33;
  transition: transform 0.3s;
}

.audio-button.playing svg {
  transform: rotate(0deg);
}

.audio-button.paused svg {
  transform: rotate(180deg);
}

/* audio bars */
#bars {
  height: 15px;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  position: absolute;
  top: 0;
  width: 40px;
}

.bar {
  background: #e20074;
  bottom: 1px;
  height: 6px;
  position: absolute;
  width: 0.5px;
  animation: sound 0ms -800ms linear infinite alternate;
}

#bars.stopped .bar {
  animation: none;
}

@keyframes sound {
  0% {
    opacity: 0.35;
    height: 3px;
  }

  100% {
    opacity: 1;
    height: 12px;
  }
}

.bar:nth-child(1) {
  left: 1px;
  animation-duration: 474ms;
}

.bar:nth-child(2) {
  left: 5px;
  animation-duration: calc(433ms + var(--timeFactor));
}

.bar:nth-child(3) {
  left: 9px;
  animation-duration: calc(407ms + var(--timeFactor));
}

.bar:nth-child(4) {
  left: 13px;
  animation-duration: calc(458ms + var(--timeFactor));
}

.bar:nth-child(5) {
  left: 17px;
  animation-duration: calc(400ms + var(--timeFactor));
}

.bar:nth-child(6) {
  left: 21px;
  animation-duration: calc(427ms + var(--timeFactor));
}

.bar:nth-child(7) {
  left: 25px;
  animation-duration: calc(441ms + var(--timeFactor));
}

.bar:nth-child(8) {
  left: 29px;
  animation-duration: calc(419ms + var(--timeFactor));
}

.bar:nth-child(9) {
  left: 33px;
  animation-duration: calc(487ms + var(--timeFactor));
}

.bar:nth-child(10) {
  left: 37px;
  animation-duration: calc(442ms + var(--timeFactor));
}

/* audio volum control */
.volum-control {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  padding: 3px 0px 3px 10px;
  top: auto;
  bottom: -30px;
  left: 10px;
  width: fit-content;
  height: 20px;
  border-radius: 10px;
  z-index: 10;

  /* From https://css.glass */
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 5px 15px -3px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 5px;
  transition: 1s 2s ease-in-out;
}

body.visualizer .volum-control {
  bottom: 25px;
  left: 20px;
}

.volum-control .slider-container {
  flex-direction: row;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
/* fullscreen toggle */
.fullscreen-toggle {
  position: absolute;
  top: -50px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  padding: 3px;
  width: fit-content;
  height: 25px;
  border-radius: 10px;
  cursor: pointer;
  z-index: 10;

  /* From https://css.glass */
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 5px 15px -3px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 5px;
  transition: 1s 4s ease-in-out;
}
.fullscreen-toggle span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  background: transparent !important;
}
body.visualizer .fullscreen-toggle {
  top: 15px;
  right: 20px;
  border: #00d4ff33 solid 1px;
  background: rgba(0, 0, 0, 0.01) !important;
  padding: 10px !important;
  padding-top: 10px !important;
  display: flex !important;
  height: 40px;
  transition: 0.3s 0s ease-in-out;
}
body.visualizer .fullscreen-toggle:hover {
  border: #00d4ff88 solid 1px;
  background: rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
  transition: 0.3s 0s ease-in-out;
}

/* brands */
.brands {
  position: absolute;
  top: -50px;
  left: 0px;
  width: 50px;
  height: 50px;
  z-index: 100;
  transition: 1s 4s ease-in-out;
}
body.visualizer .brands {
  top: 10px;
}
.brands .carbrand {
  position: absolute;
  top: 0;
  left: -50px;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  width: 50px;
  height: 50px;
  opacity: 0;
  transition: 1s 0s ease-in-out;
}
body:has(.dp-cars.mer.selected) .carbrand.mercedes {
  opacity: 1;
  left: 10px;
  transition-delay: 3s;
}
body:has(.dp-cars.toy.selected) .carbrand.toyota {
  opacity: 1;
  left: 10px;
  transition-delay: 3s;
}
body:has(.dp-cars.nis.selected) .carbrand.nissan {
  opacity: 1;
  left: 10px;
  transition-delay: 3s;
}

/* color boxes */
.color-boxes {
  position: absolute;
  top: -70px;
  width: 50px;
  z-index: 100;
  background: #292929;
  height: 0px;
  width: fit-content;
  padding: 0px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1s 0s ease-in-out, top 1s 0s ease-in-out, height 0s 1s,
    padding 0s 1s;
}
.color-boxes.visible {
  opacity: 1;
  top: -50px;
  height: 35px;
  padding: 5px 10px;
  transition: opacity 1s 0s ease-in-out, top 1s 0s ease-in-out, height 0s 0s,
    padding 0s 0s;
}
.color-box {
  position: relative;
  top: 0;
  width: 15px;
  height: 15px;
  border-radius: 100%;
  margin: 5px 5px;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  opacity: 0.7;
  transform: scale(1);
  transition: 0.7s ease;
}
.color-box:hover,
.color-box.selected {
  top: -3px;
  opacity: 1;
  transform: scale(1.2);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.6);
}

/* part configuration */
.part-config {
  position: absolute;
  top: 0;
  bottom: 0;
  left: auto;
  right: -20px;
  background: #292929b7;
  width: 300px;
  height: fit-content;
  margin: auto;
  color: rgb(189, 189, 189);
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  font-family: "Cairo", serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  font-variation-settings: "slnt" 0;
  font-size: 12px;
  font-weight: 100;
  font-family: monospace;
  opacity: 0;
  transition: opacity 1s ease, right 1s ease !important;
}

body:has(.UI-Controls.config) .part-config {
  opacity: 1;
  right: 10px;
}

.part-config .part {
  display: flex;
  align-items: center;
  margin: 10px 0;
  background: #292929b7;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 3px 0px rgba(0, 0, 0, 1);
  cursor: pointer;
  transition: 0.3s ease;
}
.part-config .part:hover,
.part-config .part.selected {
  background: #292929;
}
.part-config .part-name {
  border-color: #858585b7 !important;
}

.part-config .part-info {
  background: #292929b7;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 3px 0px rgba(0, 0, 0, 1);
  transition: 0.3s ease;
}

.part-config .part-info:hover {
  background: #292929;
}
.part-config .part-info strong {
  font-weight: 600;
}
.part-config .part-info .part-desc {
  font-size: 11px;
}
.part-config button {
  border-radius: 10px;
  padding: 10px;
  width: 100%;
  border: none;
  outline: none;
  background: #292929b7;
  margin-top: 10px;
  color: rgb(189, 189, 189);
  text-transform: uppercase;
  transition: 0.3s ease;
}
.part-config button:hover {
  background: #292929;
  color: #fff;
}

.part img {
  width: 30px;
  height: 30px;
  border-radius: 100%;
  margin-right: 10px;
}

/* mobiel adjustments */
@media screen and (max-width: 600px) {
  div.configuration-panel {
    margin: 0;
    visibility: hidden;
    display: none;
  }
  #changePartBtn {
    display: none;
  }
  .UI-Controls.bottom {
    align-items: center;
    justify-content: end;
    max-width: 90vw;
  }
  .dropdown {
    min-width: 160px;
  }
  .dropdown h1 {
    padding-left: 30px;
    padding-right: 0;
  }
  #defPainBtn {
    display: none;
  }
  .se-sep {
    padding-left: 0px;
    border-left: none;
  }
  .paint-color-panel {
    min-width: 150px;
  }
  .color-boxes-trig:not(img) {
    min-width: 100px;
    padding-right: 10px;
  }
  .color-boxes {
    right: 0px;
  }
  .UI-Controls.left,
  .UI-Controls.right {
    display: none;
  }
  body.visualizer .volum-control {
    bottom: 100px;
    left: -25px;
    transform: rotate(-90deg);
  }
  body.visualizer .audio-button {
    display: none;
    bottom: 80px !important;
    right: -10px !important;
  }
}
