body {
  font-family: 'Comic Sans MS', Arial, sans-serif;
  margin: 0;
  background: #fffdf7;
  color: #333;
}

header {
  background-color: #ffe4e1;
  text-align: center;
  padding: 20px 0;
  border-bottom: 4px dashed #ffa07a;
}

.site-name {
  font-size: 2.5em;
  font-weight: bold;
  color: #ff69b4;
}

.navbar {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.navbar li {
  margin: 5px;
}

.navbar a {
  background-color: #f0f8ff;
  padding: 10px 15px;
  border-radius: 20px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: 0.3s;
  border: 2px solid #add8e6;
  display: block;
}

.navbar a:hover {
  background-color: #add8e6;
  color: white;
}

.page-title {
  font-size: 2em;
  text-align: center;
  margin-top: 20px;
  color: #333;
}

.page-description {
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #666;
}

main {
  padding: 20px;
  max-width: 800px;
  margin: auto;
}

.box {
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 20px;
  color: black;
}

.box h2 {
  margin-top: 0;
}

.pink {
  background-color: #ffb6c1;
}

.blue {
  background-color: #87cefa;
}

.green {
  background-color: #90ee90;
}

.yellow {
  background-color: #e3dc02;
}

.orange {
  background-color: #ffbd80;
}

.purple {
  background-color: #b691ee;
}

.red {
  background-color: #ee9191;
}

.center-box {
  text-align: center;
  margin-top: 40px;
}

.big-button {
  font-size: 1.5em;
  padding: 15px 30px;
  background-color: #ff69b4;
  color: white;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.big-button:hover {
  background-color: #ff1493;
}

.test-container {
  padding: 20px;
  max-width: 800px;
  margin: auto;
}

.question-box {
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 20px;
  color: #333;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.question-box p {
  margin: 0 0 10px 0;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center; /* centers the mood title */
}

.question-box button {
  border: none;
  padding: 10px 20px;
  margin-right: 10px;
  margin-top: 10px;
  border-radius: 15px;
  font-size: 16px;
  font-family: 'Comic Sans MS', Arial, sans-serif;
  cursor: pointer;
  transition: background-color 0.3s;
}

.question-box button:hover {
  opacity: 0.9;
}

.submit-box {
  text-align: center;
  margin-top: 30px;
}

.submit-box button {
  background-color: #4CAF50;
  color: white;
  font-size: 20px;
  border-radius: 20px;
  padding: 15px 30px;
  border: none;
  cursor: pointer;
}

.submit-box button:hover {
  background-color: #388E3C;
  font-family: 'Comic Sans MS', Arial, sans-serif;
}

button.selected {
  outline: 3px solid #000;
  transform: scale(1.05);
}

h1 {
  text-align: center;
  color: #333;
}

.category {
  border-radius: 12px;
  padding: 20px;
  margin: 20px auto;
  width: 80%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.category h2 {
  margin-top: 0;
}

.malls {
  background-color: #d0e7ff; /* Light blue */
  border-left: 8px solid #3a89ff;
}

.parks {
  background-color: #d4f4c3; /* Light green */
  border-left: 8px solid #56b12f;
}

.cafes {
  background-color: #ffe5c2; /* Light brown/orange */
  border-left: 8px solid #d28f00;
}

.others {
  background-color: #e2d9f3; /* Light purple */
  border-left: 8px solid #7a5ea1;
}

ul {
  list-style-type: square;
  padding-left: 20px;
}

.video-wrap {
  position: relative;
  display: inline-block;
}

.video-wrap video {
  display: block;
}

.video-wrap canvas {
  position: absolute;
  top: 0;
  left: 0;
}

.dotted-divider {
  border-top: 4px dashed #ffa07a; /* match camera style */
  margin: 20px auto;
  width: 80%;
}

.page-title {
  margin-top: 20px;
  color: #ff69b4;
}

.page-description {
  color: #444;
  font-size: 1.2em;
}

.center-box {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.box.blue {
  background-color: #cce7ff;
  padding: 20px;
  border-radius: 20px;
}

.video-container {
  position: relative;
  display: inline-block;
  border-radius: 20px;
  overflow: hidden;
  border: 4px dashed #ffa07a;
}

video, canvas {
  position: absolute;
  top: 0;
  left: 0;
}