File size: 3,413 Bytes
213b81c
2741802
 
 
 
 
 
213b81c
6a89f15
213b81c
 
2741802
 
 
 
213b81c
2741802
 
213b81c
2741802
213b81c
 
 
2741802
 
213b81c
2741802
213b81c
 
2741802
 
 
 
 
213b81c
2741802
 
213b81c
2741802
213b81c
2741802
 
 
 
213b81c
2741802
 
 
 
 
 
213b81c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2741802
 
213b81c
2741802
 
 
 
 
213b81c
2741802
 
 
213b81c
 
 
 
 
 
 
2741802
 
 
 
 
213b81c
 
6a89f15
 
213b81c
2741802
 
 
 
a4a1674
 
2741802
 
 
213b81c
 
a4a1674
 
2741802
 
213b81c
 
7124705
 
213b81c
2741802
 
 
213b81c
2741802
213b81c
2741802
 
213b81c
 
 
2741802
 
213b81c
 
 
 
2741802
 
213b81c
 
 
 
2741802
 
213b81c
 
 
2741802
213b81c
2741802
213b81c
2741802
 
213b81c
 
 
2741802
 
 
 
213b81c
2741802
213b81c
 
 
2741802
 
 
 
 
 
 
 
213b81c
 
2741802
213b81c
 
6a89f15
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
/* ===== ๊ธฐ๋ณธ ๋ฆฌ์…‹ ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== ์ „์ฒด ๋ฐฐ๊ฒฝ: ์€์€ํ•œ ๊ทธ๋ผ๋””์–ธํŠธ ===== */
body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #f9f9ff, #dceefd);
  color: #333;
  line-height: 1.5;
}

/* ===== ํ—ค๋” ๋””์ž์ธ ===== */
header {
  text-align: center;
  background: linear-gradient(135deg, #575fcf, #2f268f);
  color: #fff;
  padding: 2.5rem 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ํ—ค๋” ๊ธ€๊ผด ์ปค์Šคํ„ฐ๋งˆ์ด์ฆˆ */
header h1 {
  font-family: 'Pacifico', cursive;  /* ํฌ์ธํŠธ ํฐํŠธ */
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1rem;
  opacity: 0.95;
}

/* ===== ๋ฉ”์ธ ์ปจํ…Œ์ด๋„ˆ ===== */
.container {
  max-width: 750px;
  margin: 0 auto;
  padding: 1rem;
}

/* ===== ํ™”๋ฉด ์ „ํ™˜ (๊ธฐ๋ณธ ์ˆจ๊น€) ===== */
.screen {
  display: none;
}

.screen.active {
  display: block;
  animation: fadeIn 0.5s ease-in;
}

/* ํŽ˜์ด๋“œ ์ธ ์• ๋‹ˆ๋ฉ”์ด์…˜ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== ์ธํŠธ๋กœ ๋ฐ•์Šค ===== */
.intro-box {
  text-align: center;
  background: #ffffffc9;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}

.intro-box h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #575fcf;
  font-weight: 700;
}

.intro-box p {
  margin-bottom: 2rem;
  line-height: 1.4;
  color: #444;
}

/* ===== ์งˆ๋ฌธ ํ™”๋ฉด ===== */
.questions-area {
  margin: 1rem 0;
}

.question-item {
  background: #fff;
  border: 1px solid #eee;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
  transition: transform 0.2s;
}

.question-item:hover {
  transform: scale(1.01);
}

.question-item label {
  font-weight: bold;
  display: block;
  margin-bottom: 0.7rem;
  color: #575fcf;
}

/* ===== ๋ผ๋””์˜ค ๊ทธ๋ฃน ===== */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.radio-label {
  cursor: pointer;
  margin-right: 1rem;
  font-size: 0.95rem;
  color: #333;
}

.radio-label input[type="radio"] {
  margin-right: 0.3rem;
  transform: scale(1.2);
  accent-color: #575fcf; /* ํฌ๋กฌ๊ณ„์—ด ๋ธŒ๋ผ์šฐ์ €์—์„œ ๋ผ๋””์˜ค์ƒ‰ */
}

/* ===== ๋ฒ„ํŠผ ์Šคํƒ€์ผ ===== */
.next-btn, .submit-btn, .restart-btn {
  background: #575fcf;
  color: #fff;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1rem;
  transition: background 0.3s, transform 0.2s;
}

.next-btn:hover,
.submit-btn:hover,
.restart-btn:hover {
  background: #6f77e2;
}

.next-btn:active,
.submit-btn:active,
.restart-btn:active {
  transform: scale(0.97);
}

/* ===== ๊ฒฐ๊ณผ ํ™”๋ฉด ===== */
.result-area {
  background: #ffffffc9;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}

#result-screen h2 {
  color: #575fcf;
  text-align: center;
  margin-bottom: 1rem;
}

.result-text {
  white-space: pre-wrap;
  margin-bottom: 1rem;
  font-weight: 500;
  color: #333;
  line-height: 1.5;
}

.image-container {
  text-align: center;
  margin-top: 1rem;
}

.image-container img {
  max-width: 220px;
  border-radius: 8px;
  margin-top: 0.5rem;
  border: 2px solid #575fcf33;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}