body {
  font-family: 'Jua', sans-serif;
  background-color: #ffffff;
  box-sizing: border-box;
  color: #35465d;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title {
  line-height: 1.67;
  text-align: center;
  color: #35465d;
}

.subtitle {
  line-height: 1.53;
  text-align: center;
  color: #35465d;
  margin-top: -10px;
}

/* --- 얼굴 필터 예제를 위한 CSS --- */
.container {
  position: relative;
  width: 90%;
  max-width: 800px;
  margin-top: 20px;
  overflow: hidden;
  /* 비디오 비율(4:3)에 맞게 높이 설정 */
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* 캔버스와 비디오를 겹치게 하고, 부모 요소에 꽉 차게 설정 */
#output_canvas, #input_video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 비디오는 뒤에 숨김 */
#input_video {
  display: none;
}

#output_canvas {
  /* 모바일에서 좌우 반전된 모습을 바로잡기 위해 */
  transform: scaleX(-1); 
}

/* 로딩 메시지 스타일 */
#loading-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  background-color: rgba(0,0,0,0.7);
  padding: 20px;
  border-radius: 10px;
  z-index: 3;
  font-size: 1.5rem;
  text-align: center;
}