html {
    cursor: url(images/cursor.cur), auto;
}
body {
    font-family: "Kaisei Decol", serif;
    max-width: 600px;
    margin: 45px auto;
    text-align: center;
    background-color: #eadfff;
    color: #425e8a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: url(images/cursor.cur), auto;
}

h2 {
    font-size: 30px;
    color: #85858597;
}

.question {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 500;
    padding: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.question {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 500;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.question input[type="radio"] {
    display: none; /* 隱藏預設的 radio 按鈕 */
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 10px;
    margin: 5px 0;
    border: 2px solid #ccc;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 16px;
    background-color: white;
    cursor: url(images/cursorpointer.cur), pointer;
}

.radio-option:hover {
    border-color: #d466ff;
    background-color: #d466ff;
    
}

.question input[type="radio"]:checked + .radio-option {
    border-color: #e18fff6a;
    background-color: #ff71ffa5;
    color: white;
    font-weight: bold;
}

button {
    margin-top: 15px;
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    background-color: #ff71ff;
    color: white;
    transition: background 0.3s, transform 0.2s;
    cursor: url(images/cursorpointer.cur), pointer;
}

button:hover {
    background-color: #a100b3;
    transform: scale(1.05);
}

#result {
    margin-top: 25px;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 8px;
    display: none;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

#result button {
    margin-right: 20px; /* 調整按鈕之間的距離 */
}


/* 自訂 alert 提示框樣式 */
#customAlert {
    visibility: hidden;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #4c60af;
    color: white;
    padding: 20px;
    border-radius: 10px;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    text-align: center;
    min-width: 200px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, visibility 0s 0.5s;
}

#customAlert.show {
    visibility: visible; /* 顯示提示框 */
    opacity: 1; /* 完全不透明 */
    transition: opacity 0.5s ease-in-out; /* 顯示時的過渡效果 */

}

#customAlert button {
    background-color: #3692f4;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    cursor: url(images/cursorpointer.cur), pointer;
}

#customAlert button:hover {
    background-color: #2fadd3;
}

footer {
    margin-top: 30px;
    font-size: 12px;
    color: #777;
    padding: 10px;
}

