/* 기본 설정 */
body {
    font-family: 'Roboto', Arial, sans-serif;
    text-align: center;
    background-color: #f9fafc;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* 컨테이너 스타일 */
.container {
    margin: 50px auto;
    width: 90%;
    max-width: 600px;
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* 헤더 스타일 */
h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #007BFF;
}

/* 버튼 스타일 */
button {
    margin: 15px;
    padding: 12px 25px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* 질문 답변 섹션 */
.answers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.answers span {
    font-size: 1rem;
    color: #555;
    font-weight: bold;
}

.answers button {
    background-color: #f1f5f9;
    color: #007BFF;
    border: 1px solid #cbd5e1;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.answers button:hover {
    background-color: #e2e8f0;
    color: #0056b3;
    transform: scale(1.1);
}

/* 진행 미터기 스타일 */
.progress-container {
    margin: 20px 0;
    text-align: center;
}

#progress-bar {
    width: 100%;
    height: 20px;
    appearance: none; /* 브라우저 기본 스타일 제거 */
    -webkit-appearance: none;
    background-color: #e0e0e0; /* 배경색 */
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}

#progress-bar::-webkit-progress-bar {
    background-color: #e0e0e0; /* 웹킷 브라우저 배경 */
}

#progress-bar::-webkit-progress-value {
    background-color: #007BFF; /* 채워지는 색 */
    transition: width 0.3s ease; /* 부드러운 애니메이션 */
}

#progress-bar::-moz-progress-bar {
    background-color: #007BFF; /* 파이어폭스 채워지는 색 */
    transition: width 0.3s ease; /* 부드러운 애니메이션 */
}

#progress-percent {
    font-size: 16px;
    margin-top: 5px;
    display: block;
    color: #333;
}


/* 이미지 스타일 */
img {
    max-width: 100%;
    border-radius: 15px;
    margin-top: 20px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* 콘텐츠 섹션 */
.content-section {
    margin: 20px 0;
    padding: 10px;
    font-size: 1rem;
    line-height: 1.5;
    color: #444;
    background-color: #f1f5f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .answers button {
        padding: 8px 12px;
        font-size: 1rem;
    }
}

/* Footer 스타일 */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333; /* 배경색 */
    color: #fff; /* 텍스트 색상 */
    padding: 10px 20px;
    display: flex;
    justify-content: space-between; /* 좌우로 내용 분리 */
    align-items: center;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1); /* 살짝의 그림자 효과 */
    z-index: 1000;
    font-size: 14px;
}

.footer-content span {
    margin: 0;
}
