/* Kombiniertes CSS-Styling basierend auf der angegebenen UI-Struktur */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    width:100%;
}

.uiwrapper{
display:flex;
  flex-direction:row;
}

#sliderLabel {
  position: absolute;
  cursor:pointer;
  color:white;
  top: -5px; /* Ãœber dem Slider positionieren */
  background-color: black;
  font-size: 12px;
  left: 114.9px;
  border-radius: 15px; /* Runde Ecken */
  border: 1px solid black; /* Graue Border */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* Schattierung fÃ¼r mehr Tiefe */
  width: 45px;
  height: 25px;
  display: flex;              /* Aktiviert Flexbox */
  justify-content: center;    /* Zentriert den Text horizontal */
  align-items: center;        /* Zentriert den Text vertikal */
  text-align: center; 
  z-index: 2;
  pointer-events: none
}

#testCart{
  background-color:#960036;
  color:white;
  font-size:0.97em;
   font-weight: 600;
   width: 100%;
   border-radius: 5px;
   height: 40px;
   border:none;
}

.bigbutton{
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #960036;
  color: white;
  font-size: 0.97em;
  font-weight: 600;
  width: 100%;
  border-radius: 5px;
  height: 40px;
  border: none;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
}

.nav-div {
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.model-div {
  width: 100%;
  margin: auto;
  height:1000px;
  
}

.colorpickT{
  width:35px;height:35px; border-radius:5px;cursor:pointer;border:1px solid black;margin:5px;
}


.colorpickB1{
  width:35px;height:35px; border-radius:5px;cursor:pointer;border:1px solid black;margin:5px;
}

.colorpickB2{
  width:35px;height:35px; border-radius:5px;cursor:pointer;border:1px solid black;margin:5px;
}

.colorpickC1{
  width:35px;height:35px; border-radius:5px;cursor:pointer;border:1px solid black;margin:5px;
}

.colorpickC2{
  width:35px;height:35px; border-radius:5px;cursor:pointer;border:1px solid black;margin:5px;
}

#canvas-style {
  
  width: 100%;
  height: 100%;
  display: inline-block;
  /*background:rgb(77, 75, 75);*/
      background-image: url(https://mirrored.pro/wp-content/uploads/rb/3d/3d-icon.png);
    background-size: 200px 200px;
    background-repeat: no-repeat;
    background-position: 50% 60%;
}


#sliderLabelS1 {
  position: absolute;
  cursor:pointer;
  color:white;
  top: -5px; /* Ãœber dem Slider positionieren */
  background-color: black;
  font-size: 12px;
  left: 114.9px;
  border-radius: 15px; /* Runde Ecken */
  border:  none; /* Graue Border */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* Schattierung fÃ¼r mehr Tiefe */
  width: 45px;
  height: 25px;
  display: flex;              /* Aktiviert Flexbox */
  justify-content: center;    /* Zentriert den Text horizontal */
  align-items: center;        /* Zentriert den Text vertikal */
  text-align: center; 
  z-index: 2;
  pointer-events: none
}

#sliderLabelB1 {
  position: absolute;
  cursor:pointer;
  color:white;
  top: -5px; /* Ãœber dem Slider positionieren */
  background-color: black;
  font-size: 12px;
  left: 114.9px;
  border-radius: 15px; /* Runde Ecken */
  border:  none; /* Graue Border */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* Schattierung fÃ¼r mehr Tiefe */
  width: 45px;
  height: 25px;
  display: flex;              /* Aktiviert Flexbox */
  justify-content: center;    /* Zentriert den Text horizontal */
  align-items: center;        /* Zentriert den Text vertikal */
  text-align: center; 
  z-index: 2;
  pointer-events: none
}

#sliderLabelB2 {
  position: absolute;
  cursor:pointer;
  color:white;
  top: -5px; /* Ãœber dem Slider positionieren */
  background-color: black;
  font-size: 12px;
  left: 114.9px;
  border-radius: 15px; /* Runde Ecken */
  border:  none; /* Graue Border */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* Schattierung fÃ¼r mehr Tiefe */
  width: 45px;
  height: 25px;
  display: flex;              /* Aktiviert Flexbox */
  justify-content: center;    /* Zentriert den Text horizontal */
  align-items: center;        /* Zentriert den Text vertikal */
  text-align: center; 
  z-index: 2;
  pointer-events: none
}

#sliderLabelTisch {
  position: absolute;
  cursor:pointer;
  color:white;
  top: -5px; /* Ãœber dem Slider positionieren */
  background-color: black;
  font-size: 12px;
  left: 114.9px;
  border-radius: 15px; /* Runde Ecken */
  border:  none; /* Graue Border */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* Schattierung fÃ¼r mehr Tiefe */
  width: 45px;
  height: 25px;
  display: flex;              /* Aktiviert Flexbox */
  justify-content: center;    /* Zentriert den Text horizontal */
  align-items: center;        /* Zentriert den Text vertikal */
  text-align: center; 
  z-index: 2;
  pointer-events: none
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 5px;  
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
  z-index: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 50px;
  height: 25px;
  border-radius: 15px; 
  background: rgba(0, 0, 0, 0);
  cursor: pointer;
  z-index: 3;
}

.slider::-moz-range-thumb {
  width: 35px;
  height: 25px;
  border-radius: 15px; 
  background: black;
  cursor: pointer;
  z-index: 3;
}



#sliderLabel2 {
  position: absolute;
  cursor:pointer;
  top: -5px; /* Ãœber dem Slider positionieren */
  background-color: #fff;
  font-size: 12px;
  left: 52px;
  border-radius: 15px; /* Runde Ecken */
  border: none; /* Graue Border */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* Schattierung fÃ¼r mehr Tiefe */
  width: 45px;
  height: 25px;
  display: flex;              /* Aktiviert Flexbox */
  justify-content: center;    /* Zentriert den Text horizontal */
  align-items: center;        /* Zentriert den Text vertikal */
  text-align: center; 
  z-index: 2;
  pointer-events: none
}

#tDLabel {
  position: absolute;
  top: 20px; /* Ãœber dem Slider positionieren */
  background-color: #fff;
  font-size: 12px;
  left: 115px;
  border-radius: 10px; /* Runde Ecken */
  border:  none; /* Graue Border */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* Schattierung fÃ¼r mehr Tiefe */
  width: 50px;
  height: 30px;
  display: flex;              /* Aktiviert Flexbox */
  justify-content: center;    /* Zentriert den Text horizontal */
  align-items: center;        /* Zentriert den Text vertikal */
  text-align: center;         /* Optional, um Text innerhalb des span zu zentrieren */
}


#renderCanvas {
  
  width: 100%;
  height: 100%;

  /*background:rgb(77, 75, 75);*/
   
}

#maindiv{
  display: flex;
  flex-direction: row;
  width:100%;
}


.item-buttons {

  background-color: #2b2b2b;;
  padding: 10px;
  border: none
}

.item-buttons p {
  font-weight: 500;
  margin-bottom: 10px;
  font-size: 16px;
  color:rgb(255, 255, 255);
}

.sliderContainer {
  position: relative;
  width: 350px;
}

button.button3d:disabled {
  color: black;  /* BehÃ¤lt die Textfarbe des aktiven Zustands bei */
  background-color: white; /* BehÃ¤lt die Hintergrundfarbe des Buttons bei */
  opacity: 1; /* Verhindert eine VerÃ¤nderung der OpazitÃ¤t */
  
}

button.material:disabled {
  color: black;  /* BehÃ¤lt die Textfarbe des aktiven Zustands bei */
  background-color: white; /* BehÃ¤lt die Hintergrundfarbe des Buttons bei */
  opacity: 1; /* Verhindert eine VerÃ¤nderung der OpazitÃ¤t */
  
}

button.button3d {
  background: white;
  border:  none;
  cursor: pointer;
  border-radius: 5px;
  margin: 5px;
  text-align: center;
  font-size: 13px;
  font-weight:bold;
  align-items: center;
  min-width:  clamp(120px, 9.4vw, 155px);
  height: 35px;
  color:black;
}

button.material {
  background: white;
  border:  none;
  cursor: pointer;
  border-radius: 5px;
  padding: 10px;
  margin: 5px;
  text-align: center;
  font-size: 13px;
  font-weight:bold;
  display: inline-flex;
  align-items: center;
  color:black;
  min-width:  clamp(120px, 9.4vw, 155px);
  height: 35px;
}

.pcalc{
  margin-top:3px !important; 
  margin-bottom:3px !important;
}

button.button3d:hover {
  background: white;
border: none;

}

.button3d2 {
  white-space: nowrap;
  background: white;
  border:  none;
  cursor: pointer;
  border-radius: 5px;
  margin: 5px;
  text-align: center;
  font-size: 13px;
  font-weight:bold;
  align-items: center;
  height: 35px;
  color:black;
}

button img {
  height: 25px;
  width: 25px;
  margin-right: 5px;
  border-radius: 25px;
}
#mainelement{
display: flex;
      flex-direction: row;width:100%; 
}

#colorbox {
  width: 100%;
}

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

input[type="range"] {
  width: 100%;
}

@media (max-width: 768px) {
  
  
.uiwrapper{
display:block;
}
  
  .nav-div {
      padding: 5px;
  }
  .item-buttons {
      width: 100%;
      margin-left: 0;
  }
  .model-div {
      flex-direction: column;
    height:50vh;
  }
#canvas-style{
  height:50vh;
  width:100%;
  position:relative;
      background-image: url(https://mirrored.pro/wp-content/uploads/rb/3d/3d-icon.png);
    background-size: 100px 100px;
    background-repeat: no-repeat;
    background-position: 50% 70%;
}

#renderCanvas{
  height:50vh;
  display:block;
}

#mainelement{
display: flex;
      flex-direction: column;
  width:100%; 
}

#maindiv{
  display: flex;
  flex-direction: column;
  width:100%;
}
}