File size: 3,408 Bytes
9f342ec 995479c 9f342ec f36acd7 9f342ec f36acd7 9f342ec 995479c f36acd7 9f342ec f36acd7 9f342ec f36acd7 9f342ec f36acd7 9f342ec f36acd7 9f342ec f36acd7 9f342ec f36acd7 9f342ec f36acd7 9f342ec f36acd7 9f342ec f36acd7 9f342ec 995479c f36acd7 9f342ec 995479c f36acd7 9f342ec 995479c f36acd7 9f342ec f36acd7 9f342ec f36acd7 9f342ec f36acd7 9f342ec f36acd7 9f342ec f36acd7 9f342ec f36acd7 9f342ec f36acd7 9f342ec f36acd7 9f342ec f36acd7 9f342ec f36acd7 995479c | 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 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 | /* 기본 스타일 및 폰트 설정 */
body {
font-family: 'Noto Sans KR', sans-serif;
background: linear-gradient(135deg, #ece9e6, #ffffff);
margin: 0;
padding: 0;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.container {
width: 90%;
max-width: 800px;
margin: 40px auto;
background: #ffffff;
padding: 40px;
box-shadow: 0 8px 16px rgba(0,0,0,0.1);
border-radius: 12px;
animation: fadeIn 1s ease-in-out;
}
h1 {
text-align: center;
color: #4A5568;
font-size: 2.5em;
margin-bottom: 20px;
}
h2 {
color: #2D3748;
margin-bottom: 25px;
border-bottom: 2px solid #EDF2F7;
padding-bottom: 10px;
}
.question {
margin-bottom: 25px;
padding: 15px;
background-color: #F7FAFC;
border-radius: 8px;
transition: background-color 0.3s ease;
}
.question:hover {
background-color: #EDF2F7;
}
.question p {
font-size: 1.2em;
margin-bottom: 12px;
color: #2D3748;
}
label {
display: block;
margin-bottom: 10px;
font-size: 1em;
color: #4A5568;
cursor: pointer;
transition: color 0.3s ease;
}
label:hover {
color: #2B6CB0;
}
input[type="radio"] {
margin-right: 12px;
accent-color: #2B6CB0;
transform: scale(1.2);
}
button {
padding: 12px 25px;
background-color: #2B6CB0;
color: #ffffff;
border: none;
border-radius: 25px;
cursor: pointer;
font-size: 1em;
transition: background-color 0.3s ease, transform 0.2s ease;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
button:hover {
background-color: #2C5282;
transform: translateY(-2px);
}
button:active {
transform: translateY(0);
}
.buttons {
display: flex;
justify-content: space-between;
margin-top: 20px;
}
.next-button, .submit-button {
background-color: #2B6CB0;
}
.prev-button {
background-color: #A0AEC0;
}
.prev-button:hover {
background-color: #718096;
}
.submit-button {
background-color: #38A169;
}
.submit-button:hover {
background-color: #2F855A;
}
.clearfix::after {
content: "";
clear: both;
display: table;
}
/* 결과 페이지 스타일 */
#result-page {
text-align: center;
animation: fadeIn 1s ease-in-out;
}
#result-page h1 {
color: #2D3748;
margin-bottom: 30px;
}
#result-text {
text-align: left;
margin: 20px 0;
color: #4A5568;
line-height: 1.6;
}
#result-text h3 {
color: #2B6CB0;
margin-top: 20px;
}
#result-image {
max-width: 200px;
height: auto;
margin: 20px 0;
border-radius: 50%;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
#result-page button {
margin-top: 20px;
background-color: #2B6CB0;
}
#result-page button:hover {
background-color: #2C5282;
}
/* 애니메이션 */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
/* 반응형 디자인 */
@media (max-width: 768px) {
.container {
padding: 30px;
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.8em;
}
.question p {
font-size: 1.1em;
}
button {
width: 100%;
margin-bottom: 10px;
}
.buttons {
flex-direction: column;
align-items: stretch;
}
.next-button, .prev-button, .submit-button {
width: 100%;
}
}
|