.container {
  position: relative;
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  overflow: hidden;
}

#videoElement {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#overlayImage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  touch-action: none;
  max-width: 80%;
  max-height: 80%;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto;
}

.controls {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: rgba(240, 240, 240, 0.8);
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
  touch-action: none;
}

.presets {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(240, 240, 240, 0.8);
  padding: 15px;
  border-radius: 10px;
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
  touch-action: none;
}

.presets.hidden {
  transform: translateX(120%);
}

.controls.hidden {
  transform: translateY(100%);
}

.button-group {
  margin: 10px 0;
  text-align: center;
}

button {
  padding: 8px 15px;
  margin: 0 5px;
  font-size: 16px;
}

.slider-container {
  margin: 10px 0;
}

#fileInput {
  margin: 10px 0;
  width: 100%;
}

.preset-btn {
  display: block;
  width: 100%;
  margin: 5px 0;
  padding: 8px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
}

body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}