@charset "utf-8";
/* CSS Document */
body{display:flex; justify-content: center; padding:8.75rem 0; height: auto;}
p{line-height: 150%; font-family:'Roboto','Noto Sans KR', sans-serif;}
label{line-height: 150%; font-family:'Roboto','Noto Sans KR', sans-serif;}
span{line-height: 150%; font-family:'Roboto','Noto Sans KR', sans-serif;}

.literacy-wrap{width:calc(100% - 40px); max-width:650px;}
#intro-wrap .charactor{margin:0 auto 40px auto; max-width:130px; display:block;}
#intro-wrap h1{font-size:3.125rem; text-align: center; color:#445CB4; font-weight: 600;}
#intro-wrap p.comment{text-align: center; margin-top:20px;}
#intro-wrap .box-wrap{width:100%;  border-radius: 10px; border:1px solid #d6d6d6; padding:1.875rem; box-sizing: border-box; background-color:#F8F9FB; margin-top:5rem;}
#intro-wrap .box-wrap > p.guide{text-align: center;}
#intro-wrap .box-wrap > p.recommend{margin-top:2.5rem; text-align: center; color:#445CB4;}
#intro-wrap .box-wrap > .startBtn{margin:5rem auto 0 auto; display:block; text-align: center; color:#fff; width:227px; height: 54px; line-height: 54px; background-color:#445CB4; border-radius: 27px;}


#grad-wrap .head-wrap{display:flex; align-items: center; flex-wrap: wrap;}
#grad-wrap .head-wrap > img{width:100%; max-width:111px; margin-right:2.5rem;}
#grad-wrap .head-left > .count{font-size:0.875rem; text-align: center; color:#445CB4; background-color: #DFEFFF; padding:10px 20px; border-radius: 20px; display:inline-block; width:auto;}
#grad-wrap .head-left > .light-title{font-size:2.125rem; color:#000; margin-top:20px; }
#grad-wrap .head-left > .bold-title{font-size:2.125rem; font-weight: 600; color:#000;}
#grad-wrap .head-wrap .stick{width:100%; margin:2.5rem 0; height: 3px; background-color:#000;}
#grad-wrap .box-wrap{display:grid; grid-template-columns: repeat(3, calc((100% - 40px) / 3)); gap: 20px; }
#grad-wrap .box-wrap .select-box{padding:15px 20px; box-sizing: border-box; border:1px solid #d6d6d6; border-radius: 5px; display: flex; align-items: center; cursor: pointer;}
#grad-wrap .box-wrap .select-box > .check-circle{margin-right:20px;}
.nextBtn{display:block; width:110px; height: 40px; color:#fff; background-color:#445CB4; text-align: center; line-height: 40px; border-radius: 20px;}
#grad-wrap .nextBtn{margin:5rem auto 0 auto;}

#question-wrap .head-wrap .count{font-size:0.875rem; text-align: center; color:#445CB4; background-color: #DFEFFF; padding:10px 20px; border-radius: 20px; display:inline-block; width:auto; margin-bottom:20px;}
#question-wrap .head-wrap > .stlt{color:#000;}
#question-wrap .head-wrap > .tlt{color:#000; font-size:1.75rem;}
#question-wrap .head-wrap > .explanation-wrap{padding:15px 20px; box-sizing: border-box; border:1px solid #d6d6d6; border-radius: 10px; margin-top:20px;}
u{text-underline-offset: 2px;}
#question-wrap .stick{width:100%; margin:2.5rem 0; height: 3px; background-color:#000;}
#question-wrap .btn-wrap{display:flex; justify-content: space-between; align-items: center;}
.prevBtn{display:block; width:110px; height: 40px; color:#000; background-color:#fff; text-align: center; line-height: 40px; border-radius: 20px; border:1px solid #000;}

#question-wrap .option-container { display: grid; grid-template-columns: 1fr; gap: 10px; }
#question-wrap .option { position: relative; border: 1px solid #ccc; border-radius: 5px; overflow: hidden; }
#question-wrap .option input[type="radio"] { display: none; }
#question-wrap .option label { display: block; padding: 15px; cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease; color: #000; font-size: 1.25rem; }
#question-wrap .option input[type="radio"]:checked + label { background-color: #3f51b5; color: #fff; }
#question-wrap .structureTable{border-color:#d6d6d6; width:100%; font-family:'Roboto','Noto Sans KR', sans-serif; margin-top:1.25rem; text-align: center;}
#question-wrap .structureTable td{padding:20px 10px; box-sizing: border-box;}
#question-wrap .structureTable th{background-color:#F8F9FB; padding:20px 10px; box-sizing: border-box; color:#000;}
#question-wrap .structureTable .getColor{background-color:#F8F9FB;}

#result-wrap{padding-bottom:8.75rem;}
#result-wrap .head-wrap > .tlt{color:#000; font-size:1.75rem; margin-top:20px; text-align: center; font-weight: 500;}
#result-wrap .head-wrap > img{display:block; width:100%; max-width:145px; margin:0 auto;}
#result-wrap .stick{width:100%; margin:2.5rem 0; height: 3px; background-color:#000;}
#result-wrap .btn-wrap{display:flex; justify-content: space-between; align-items: center;}
#result-wrap .level-box{text-align: center;}
#result-wrap .level-box > .stlt{font-size:1.25rem;}
#result-wrap .level-box > .level{font-size:6.25rem; font-weight: 600; color:#445CB4; line-height: 100%;}
#result-wrap .email-box{text-align: center; margin-top:2.5rem;}
#result-wrap .email-box > p{color:#000; font-size:1.25rem;}
#result-wrap .email-box > .email-input{width:100%; max-width:406px; height: 70px; border:1px solid #d6d6d6; padding:10px 15px; border-radius: 35px; background-color:#fff; margin-top:20px;}
#result-wrap .email-box > .emailBtn{display:block; width:160px; height: 44px; color:#fff; background-color:#445CB4; text-align: center; line-height: 40px; border-radius: 20px; margin:2.5rem auto 0 auto;}
#result-wrap .diagnostic-wrap { border: 1px solid #ccc; border-radius: 10px; margin-top: 2.5rem; overflow: hidden; }
#result-wrap .diagnostic-wrap .inner-wrap{padding:0 20px; box-sizing: border-box; }
#result-wrap .diagnostic-wrap .level-bar { position: relative; height: 20px; background-color: #F2F2F2; border-radius: 10px;  margin-top: 2.5rem; }
#result-wrap .diagnostic-wrap .level-bar .filled-bar { height: 100%; background-color: #3f51b5; transition: width 0.3s ease; border-radius: 10px;}
#result-wrap .diagnostic-wrap .level-bar .indicator { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 30px; height: 30px; border-radius: 50%; border:5px solid #445CB4; background-color:#fff; }
#result-wrap .diagnostic-wrap .level-labels { display: flex; justify-content: space-between; margin-top: 10px; font-size: 0.875rem; }
#result-wrap .diagnostic-wrap .description { margin-top: 2.5rem; margin-bottom:30px; }
#result-wrap .diagnostic-wrap .head-wrap{width:100%; background-color:#F8F9FB; text-align: center; padding:20px 0; border-top-left:10px; border-top-right-radius: 10px; border-bottom:1px solid #d6d6d6;}
#result-wrap .diagnostic-wrap .head-wrap > p{color:#000; font-size:1.25rem; font-weight: 600;}

#result-wrap .explanation-section{margin-top:2.5rem; border:1px solid #d6d6d6; border-radius: 10px; overflow: hidden;}
#result-wrap .explanation-section .result-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; background-color: #3f51b5; color: #fff; border-radius: 10px 10px 0 0; cursor: pointer; }
#result-wrap .explanation-section .result-content { overflow: hidden; transition: max-height 0.4s ease; max-height: 0; background-color: #fff; }
#result-wrap .explanation-section .result-content:nth-child(odd) { background-color: #F8F9FB; }
#result-wrap .explanation-section .result-content.open { max-height: 500px; } /* Adjust as per content height */
#result-wrap .explanation-section .result-content-inner { padding: 20px; }
#result-wrap .explanation-section .result-content-inner .question{color:#000; font-size:1.25rem; font-weight: 500;}
#result-wrap .explanation-section .answer{font-size:1.25rem; font-weight: 500; color:#000;}
#result-wrap .explanation-section .explanation {margin-top:2.5rem; }
#result-wrap .explanation-section .correct { color: #63BFF3; }
#result-wrap .explanation-section .incorrect { color: #ED4043; }
#result-wrap .explanation-section .user-choice {font-size:1.25rem; font-weight: 500;}
#result-wrap .explanation-section .explanation-title { display: inline-block; background-color: #DFEFFF; padding: 5px 15px; border-radius: 20px; color: #3f51b5; font-size: 0.875rem; margin-bottom:1.25rem; }
#result-wrap .explanation-section .answer-wrap{display:flex; align-items: center; justify-content: space-between; margin-top:1.25rem;}
#result-wrap .explanation-section .answer-wrap > .txt-wrap{width:calc(100% - 79px);}
#result-wrap .visit-wrap{padding:8.75rem 0;}
#result-wrap .visit-wrap > img{width:100px; margin:0 auto; display:block;}
#result-wrap .visit-wrap > .stlt{text-align: center; margin-bottom:2.5rem; margin-top:20px;}
#result-wrap .visit-wrap > .tlt{text-align: center; color:#445CB4; font-size:1.25rem; font-weight: 500;}
#result-wrap .visitBtn{width:154px; height: 37px; background-color:#445CB4; color:#fff; font-size:0.875rem; text-align: center; line-height: 37px;  margin:0 auto; display:block; border-radius: 17px;}
#result-wrap .link-box{border:1px solid #d6d6d6; padding:20px; box-sizing: border-box; text-align: center; margin-top:20px;}
#result-wrap .link-box > .stlt{text-align: center; margin-bottom:10px; font-size:1.25rem;}

/* 화면 전체를 덮는 로딩 오버레이 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* 반투명 검정색 */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 로딩 스피너 */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.2); /* 투명한 테두리 */
    border-top: 5px solid #ffffff; /* 흰색 회전 테두리 */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 스피너 회전 애니메이션 */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}



@media only screen and (max-width:540px){
	#grad-wrap .head-wrap{display:block;}
	#grad-wrap .head-wrap > img{display:none;}
	#grad-wrap .box-wrap{display:grid; grid-template-columns: repeat(2, calc((100% - 20px) / 2)); gap: 20px; }
}

@media only screen and (max-width:350px){
	#grad-wrap .box-wrap{display:grid; grid-template-columns: repeat(2, calc((100% - 15px) / 2)); gap: 15px; }
	#grad-wrap .box-wrap .select-box{padding:10px 15px;}
	#grad-wrap .box-wrap .select-box > .check-circle{margin-right:15px;}
}




