/* Textumfluss um das 3D-Fenster */
.window-container {
  float: right;
  margin: 20px 20px 20px 30px;
  position: relative;
  z-index: 10;
}

.window-container-left {
  float: left;
  margin: 20px 30px 20px 20px;
  position: relative;
  z-index: 10;
}

.window-view {
  width: 500px;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.window-view:hover {
  border-color: var(--hover);
  box-shadow:
    inset 0 0 20px rgba(0,0,0,0.8),
    0 0 0 1px rgba(255,255,255,0.15),
    0 10px 30px rgba(0,0,0,0.5),
    0 0 8px rgba(43,163,187,0.8),
    0 0 15px rgba(43,163,187,0.4);
}

#canvas-3d-container,
#canvas-3d-container-2 {
  position: relative;
  z-index: 2;
  box-shadow:
    inset 0 0 20px rgba(0,0,0,0.8),
    0 0 0 1px rgba(255,255,255,0.15),
    inset 0 10px 30px rgba(0,0,0,0.5);
  border-radius: 20px;
  width: 100%;
  height: 100%;
  background: rgba(0, 35, 80, 0.45);
  border: 1px solid rgba(87, 87, 87, 0.404);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (max-width: 900px) {
  .window-container,
  .window-container-left {
    float: none;
    margin: 20px auto;
    width: 90%;
    max-width: 500px;
  }

  .window-view {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
  }
}
