body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f4f4f4;
}

/* Flexbox layout */
.container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.section {
  background: white;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.text {
  flex: 1;
  min-width: 250px;
}

.demo {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 250px;
}

/* Box styling */
.box {
  width: 100px;
  height: 100px;
  background: #e43a2e;
  transition: 0.5s;
}

/* 3D efekti */
.translate:hover {
  transform: translate3d(50px, 0, 50px);
}

.rotate:hover {
  transform: perspective(400px) rotateY(45deg);
}

.scale:hover {
  transform: scale3d(1.5, 1.5, 1);
}

.perspective-container {
  perspective: 400px;
}

.perspective-box:hover {
  transform: rotateX(45deg);
}