@font-face {
    font-family: "nanumSquareNeo";
    font-weight: 300;
    font-style: normal;
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Light.eot");
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Light.eot?#iefix") format("embedded-opentype"),
         url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Light.woff2") format("woff2"),
         url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Light.woff") format("woff"),
         url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Light.ttf") format("truetype");
    font-display: swap;
} 
@font-face {
    font-family: "nanumSquareNeo";
    font-weight: 400;
    font-style: normal;
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Regular.eot");
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Regular.eot?#iefix") format("embedded-opentype"),
         url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Regular.woff2") format("woff2"),
         url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Regular.woff") format("woff"),
         url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Regular.ttf") format("truetype");
    font-display: swap;
} 
@font-face {
    font-family: "nanumSquareNeo";
    font-weight: 700;
    font-style: normal;
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Bold.eot");
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Bold.eot?#iefix") format("embedded-opentype"),
         url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Bold.woff2") format("woff2"),
         url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Bold.woff") format("woff"),
         url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Bold.ttf") format("truetype");
    font-display: swap;
} 
@font-face {
    font-family: "nanumSquareNeo";
    font-weight: 800;
    font-style: normal;
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-ExtraBold.eot");
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-ExtraBold.eot?#iefix") format("embedded-opentype"),
         url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-ExtraBold.woff2") format("woff2"),
         url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-ExtraBold.woff") format("woff"),
         url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-ExtraBold.ttf") format("truetype");
    font-display: swap;
} 
@font-face {
    font-family: "nanumSquareNeo";
    font-weight: 900;
    font-style: normal;
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Black.eot");
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Black.eot?#iefix") format("embedded-opentype"),
         url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Black.woff2") format("woff2"),
         url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Black.woff") format("woff"),
         url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Black.ttf") format("truetype");
    font-display: swap;
} 

/* reset */
* {
    margin: 0;
    padding: 0;
    font-family: "nanumSquareNeo";
    box-sizing: border-box;
    font-size: 16px;
}
li {
    list-style: none;
}
a {
    text-decoration: none;
    color: #000;
}

body {
    background-image: url(../img/bg05.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
}
body.fixed {
    background-attachment: fixed;
}
body::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

/* common */
.none {
    display: none !important;
}

/* header */
#header {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#header h1 a {
    display: inline-block;
    color: #fff;
    padding: 20px;
    font-size: 30px;
}
#header nav {
    padding-right: 20px;
}
#header nav li {
    display: inline-block;
}
#header nav li a {
    padding: 10px;
    display: inline-block;
    width: 35px;
    height: 35px;
    border: 1px solid #fff;
    text-align: center;
    box-shadow: 1px 1px 0px #fff;
    line-height: 1;
    color: #fff;
}
#header nav li.active a {
    background-color: #fff;
    color: #000;
}

/* main */
#main {
    min-height: 85vh;
}

/* quiz_wrap */
.quiz_wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}
.quiz_wrap > .quiz {
    width: 500px;
    min-height: 400px;
    background-color: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.1);
    margin: 10px;
}
.quiz_wrap > .quiz.good {
    position: relative;
}
.quiz_wrap > .quiz.good::before {
    content: '';
    width: 100px;
    height: 100px;
    border: 10px solid red;
    border-radius: 50%;
    position: absolute;
    left: 20px; 
    top: 20px;
    z-index: 100;
}
.quiz_wrap > .quiz.bad {
    position: relative;
}
.quiz_wrap > .quiz.bad::before {
    content: '';
    width: 150px;
    height: 10px;
    background-color: red;
    position: absolute;
    left: 0;
    top: 80px;
    border-radius: 30px;
    transform: rotate(45deg);
    z-index: 100;
}
.quiz_wrap > .quiz.bad::after {
    content: '';
    width: 150px;
    height: 10px;
    background-color: red;
    position: absolute;
    left: 0;
    top: 80px;
    border-radius: 30px;
    transform: rotate(-45deg);
    z-index: 100;
}

.quiz_header {
    margin-bottom: 20px;
    color: #696969;
}
.quiz_date {
    display: inline-block;
    margin-right: 5px;
    color: #696969;
}
.quiz_type {
    color: #696969;
}
.quiz_question {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.5;
}
.quiz_question em {
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
}
.quiz_question span {
    font-size: 24px;
    line-height: 1.5;
    font-weight: 400;
}



.quiz_choice {
    margin-bottom: 20px;
}
.quiz_choice label {
    display: block;
    width: 100%;
}
.quiz_choice label input {
    position: absolute;
    clip: rect(0 0 0 0);
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden; 
}

.quiz_choice label span{
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #eee;
    padding: 17px;
    margin-bottom: 10px;
    border-radius: 3px;
    font-size: 16px;
    line-height: 1.4;
    cursor: pointer;
}
.quiz_choice label span:hover {
    border: 1px solid #389b25;
    color: #389b25;
    box-shadow: 1px 1px 5px #422e9160;
}
.quiz_choice label span::before {
    content: '';
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 6px #a8a8a8;
    margin-right: 15px;
    transition: all 0.2s;
}
.quiz_choice label input:checked + span::before {
    box-shadow: inset 0 0 0 9px #422e91;
}
.quiz_choice label input:checked + span{
    border: 1px solid #389b25;
    color: #389b25;
    box-shadow: 1px 1px 5px #422e9160;
    background-color: #e9e4ff60;

}

.quiz_img {
    margin-bottom: 10px;
}
.quiz_img img {
    border: 1px solid #eee;
    width: 100%;
}

.quiz_choice .choice {
    border: 1px solid #eee;
    padding: 17px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.4;
    transition: all 0.3s;
    border-radius: 3px;
    color: #666;
}
.quiz_choice .choice:hover {
    border-color: #a2a2a2;
    background-color: #f3f3f3;
    cursor: pointer;
}
.quiz_choice .choice.correct {
    position: relative;
    background-color: #389b25;
    background-color: #e9e4ff60;
    padding-right: 57px;
}
.quiz_choice .choice.correct::after {
    content: '';
    width: 14px;
    height: 14px;
    border: 6px solid #389b25;
    border-radius: 50%;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.quiz_choice .choice.incorrect {
    position: relative;
    background-color: #912e3a;
    box-shadow: 1px 1px 5px #912e3a19;
    background-color: #ffe4e460;
    color: #912e3a;
    padding-right: 57px;
}
.quiz_choice .choice.incorrect::before {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 6px;
    background-color: #912e3a;
    border-radius: 4px;
    transform: rotate(-45deg);
    margin-top: -3px;
}
.quiz_choice .choice.incorrect::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 6px;
    background-color: #912e3a;
    border-radius: 4px;
    transform: rotate(45deg);
    margin-top: -3px;
}

.quiz_animation {
    border: 1px dashed #b8a8ff;
    margin-bottom: 10px;
}

.quiz_input {
    margin-bottom: 10px;
}
.quiz_input input {
    width: 100%;
    padding: 20px;
    border: 1px solid #b8a8ff;
    border-radius: 3px;
    outline: none;
}

.quiz_answer {
    background-color: #ede9ff;
    border: 1px solid #b8a8ff;
    padding: 20px;
    margin-bottom: 10px;
    line-height: 1.5;
    color: #666;
}
.quiz_answer::before {
    content: "✅ 정답 : ";
}
.quiz_desc {
    border: 1px solid #eaeaea;
    padding: 20px;
    margin-bottom: 10px;
    line-height: 1.5;
    color: #666;
}
.quiz_desc::before {
    content: "👾 설명 : ";
}
.quiz_footer {
}
.quiz_confirm {
    background-color: #389b25;
    color: #fff;
    text-align: center;
    padding: 20px;
    display: block;
    border: 0;
    width: 100%;
    line-height: 1.5;
    transition: border 0.3s, background-color 0.3s;
    border: 1px solid transparent;
    border-radius: 3px;
}
.quiz_confirm:hover {
    border: 1px dashed #389b25;
    background-color: transparent;
    color: #389b25;
    cursor: pointer;
}
.quiz_next {
    width: 100%;
    border: 1px dashed #389b25;
    background-color: #fff;
    padding: 15px 20px;
    cursor: pointer;
    color: #389b25;
    transition: all 0.3s;
}
.quiz_next:hover {
    background-color: #f1eeff;
}

.quiz_indicator {
    background-color: rgb(244, 241, 255);
    padding: 20px;
    border-radius: 3px;
    margin-bottom: 20px;
}
.quiz_indicator span {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 1px solid #389b25;
    box-shadow: 1px 1px #389b25;
}
.quiz_indicator span.correct {
    background-color: #389b25;
    position: relative;
}
.quiz_indicator span.correct::before {
    content: '';
    width: 8px;
    height: 8px;
    border: 4px solid #fff;
    border-radius: 50%;
    position: absolute;
    left: 1px;
    top: 1px;
}
.quiz_indicator span.incorrect {
    position: relative;
}
.quiz_indicator span.incorrect::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 7px;
    background-color: #389b25;
    width: 15px;
    height: 4px;
    border-radius: 4px;
    transform: rotate(-45deg);
}
.quiz_indicator span.incorrect::after {
    content: '';
    position: absolute;
    left: 2px;
    top: 7px;
    background-color: #389b25;
    width: 15px;
    height: 4px;
    border-radius: 4px;
    transform: rotate(45deg);
}

.quiz_check {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 100px;
    height: 100px;
    line-height: 100px;
    background-color: #389b25;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s;
    border: 1px dashed transparent
}

.quiz_check:hover {
    background-color: #e1d9e1;
    border: 1px dashed #389b25;
    color: #389b25;
}

/* footer */
#footer {
    text-align: center;
    font-size: 14px;
}
#footer a {
    display: block;
    color: #fff;
    padding: 40px;
}
#footer a {
    text-decoration: underline;
    /* text-underline-position: ; */
}

@media (max-width: 600px){
    #header {
        flex-direction: column;
    }
    #hader h1 {
        padding: 10px;
    }
    #header nav {
        padding-right: 0;
        margin-bottom: 20px;
    }
    #header nav li a {
        width: 30px;
        height: 30px;
        padding: 7px;
    }
    .quiz_wrap {
        padding: 0 6px;
        margin-top: 0px;
    }
    .quiz_wrap > .quiz {
        width: 100%;
        padding: 30px 20px;
    }

    .quiz_header {
        margin-bottom: 20px;
        font-size: 14px;
    }
    .quiz_date {
        font-size: 14px;
    }
    .quiz_type {
        font-size: 14px;
    }
    .quiz_question {
        margin-bottom: 20px;
        line-height: 1.5;
        font-size: 20px;
    }

    .quiz_question em {
        font-size: 20px;
    }
    .quiz_question span {
        font-size: 20px;
        line-height: 1.4;
    }

    .quiz_input input {
        padding: 14px;
    }
    .quiz_answer {
        padding: 14px;
    }
    .quiz_desc {
        padding: 14px;
    }

    .quiz_choice label span {
        padding: 13px;
    }
    .quiz_confirm {
        padding: 13px;
    }
}



/* __________________________모달____________________________ */


.pre code.hljs {
    margin-bottom: 0px !important;
}
.modal_wrap {
}
.modal_btn {
    color: #fff;
    border: 1px solid #fff;
    border-radius: 50px;
    display: inline-block;
    padding: 10px 20px;
    position: fixed;
    left: 20px;
    bottom: 20px;
    cursor: pointer;
}
.modal_cont {
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
    left: 0;
    top: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transform: scale(0);
}
.modal_box {
    width: 70%;
    height: 70vh;
    border-radius: 10px;
    background-color: #ccc;
    transform: scale(0);
}
.modal_box .title {
    padding: 1rem;
    background-color: rgb(72, 80, 151);
    display: flex;
    align-items: center;
    color: #fff;
    height: 50px;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}
.modal_box .cont {
    background-color: #282936;
    height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}
.modal_close {
    position: absolute;
    right: 20px;
    top: 20px;
    background-color: #fff;
    padding: 1rem 1rem .8rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0;
}
.modal_close:hover {
    background-color: #757575;
}
.modal_cont.show {
    animation : foldOut 1s ease forwards;
}
.modal_cont.show .modal_box {
    animation:  zoomOut 0.5s 1s ease forwards;
}
.modal_cont.show .modal_close {
    animation: opacityOut 0.5s 1.5s ease forwards;
}
.modal_cont.show.hide {
    animation : foldIn 0.3s 0.5s ease backwards;
}
.modal_cont.show.hide .modal_box {
    animation:  zoomIn 0.5s ease forwards;
}
.modal_cont.show.hide .modal_close {
    animation: opacityIn 0.5s ease forwards;
}

@keyframes foldOut {
    0%   { transform: scaleX(0.0001) scaleY(0);}
    50%  { transform: scaleX(0.0001) scaleY(1);}
    100% { transform: scaleX(1) scaleY(1);}
}
@keyframes foldIn {
    0%   { transform: scaleX(1) scaleY(1);}
    50%  { transform: scaleX(0.0001) scaleY(1);}
    100% { transform: scaleX(0.0001) scaleY(0);}
}
@keyframes zoomOut {
    0%   {transform: scale(0);}
    100% {transform: scale(1);}
}
@keyframes zoomIn {
    0%   {transform: scale(1);}
    100% {transform: scale(0);}
}
@keyframes opacityOut {
    0%   {opacity: 0;}
    100% {opacity: 1;}
}
@keyframes opacityIn {
    0%   {opacity: 1;}
    100% {opacity: 0;}
}


/* cbt */
.cbt__box {
    width: 100%;
    max-width: 600px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 2px 2px 2px rgb(0 0 0 / 10%);
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 100;
    transform: translate(-50%, -50%);
    padding: 50px;
    text-align: center;
}
.cbt__box h2 {
    font-size: 30px;
    text-align: center;
    margin-bottom: 20px;
}
.cbt__box select {
    width: 100%;
    border: 1px solid #eee;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 18px;
}
.cbt__box p {
    font-size: 20px;
    line-height: 2;
    text-align: center;
    margin-top: 20px;
}
.cbt__box p i {
    font-size: 16px;
    color: #666;
    font-style: normal;
}
.cbt__box em {
    font-style: normal;
    font-size: 20px;
    position: relative;
}
.cbt__box em::before {
    content: '';
    width: 100%;
    height: 50%;
    background-color: #eeeaff;
    position: absolute;
    left: 0; 
    bottom: 0;
    z-index: -1;
}
.cbt__box input {
    border: 1px solid #9378ff;
    padding: 10px 20px;
    border-radius: 40px;
}
.cbt__box button {
    display: inline-block;
    border: 1px solid #9378ff;
    background-color: #eeeaff;
    padding: 20px 40px;
    border-radius: 40px;
    width: 100%;
    margin-top: 20px;
    font-size: 20px;
    cursor: pointer;
}

.cbt__wrap {
    padding: 20px;
    background-color: #000000ad;
    width: 100%;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
}


.cbt__header {
    position: fixed;
    left: 20px;
    top: 20px;
    z-index: 1000;
    width: calc(100% - 300px);
    height: 80px;
    background-color: #fff;
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #e2e2e2;
}

.cbt__title {
    font-size: 28px;
}

.cbt__aside {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 240px;
    height: calc(100vh - 40px);
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    overflow-y: auto;
}
.cbt__conts {
    width: calc(100% - 260px);
    height: 100%;
    background-color: #fff;
    padding: 100px 20px 20px 20px;
    border-radius: 10px;
    overflow-y: auto;
}
.cbt__quiz {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
}
.cbt__quiz::after {
    content: '';
    width: 1px;
    height: 100%;
    border-right: 1px solid #eeeeee;
    position: absolute;
    left: 50%;
    top: 0;
}
.cbt__quiz .cbt {
    width: 48%;
    margin-bottom: 50px;
    padding: 20px;
}
.cbt__question {
    font-size: 20px;
    line-height: 1.6;
    position: relative;
}

.cbt__question__desc {
    border: 1px solid #eaeaea;
    padding: 10px;
    margin-top: 10px;
    color: #666;
}
.cbt__question__img {
    border: 1px solid #eaeaea;
    margin-top: 10px;
    padding: 20px;
    text-align: center;
}
.cbt__question__img img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.cbt__choices {
    margin-top: 15px;
}
.cbt__choices label {
    display: flex;
}
.cbt__choices input {
    position: absolute;
    left: -9999px;
}
.cbt__choices label span {
    font-size: 16px;
    line-height: 1.5;
    padding: 10px 10px 8px 30px;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    color: #444;
    position: relative;
}
.cbt__choices label span::before {
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    margin-right: 15px;
    box-shadow: inset 0px 0px 0px 1px #000;
    transition: all 0.25s;
    text-align: center;
    font-size: 12px;
    line-height: 1.6;
    font-family: 'Helvetica Neue';
}
.cbt__choices label:nth-of-type(1) span::before {
    content: '1';
} 
.cbt__choices label:nth-of-type(2) span::before {
    content: '2';
} 
.cbt__choices label:nth-of-type(3) span::before {
    content: '3';
} 
.cbt__choices label:nth-of-type(4) span::before {
    content: '4';
} 
.cbt__choices label input:checked + span {
    color: #000;
}
.cbt__choices input:checked + label span::before {
    box-shadow: inset 0px 0px 0px 10px #000;
    color: #fff;
}
.cbt__choices label.good span::before {
    box-shadow: inset 0px 0px 0px 10px rgb(255, 0, 0);
    color: #fff;
}
.cbt__info {
    display: flex;
}
.cbt__time {
    background-color: #389b25;
    color: #fff;
    margin-left: 10px;
    padding: 10px 20px 10px 45px;
    border-radius: 40px;
    cursor: pointer;
    position: relative;
}
.cbt__time::before {
    content: '';
    width: 24px;
    height: 24px;
    position: absolute;
    left: 15px;
    top: 8px;
    background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' fill='%23000000' viewBox='0 0 256 256'%3E%3Crect width='256' height='256' fill='none'%3E%3C/rect%3E%3Cpolyline points='128 72 128 128 184 128' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='16'%3E%3C/polyline%3E%3Ccircle cx='128' cy='128' r='88' fill='none' stroke='%23fff' stroke-miterlimit='10' stroke-width='16'%3E%3C/circle%3E%3Cline x1='195.9' y1='26.2' x2='229.8' y2='60.1' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='16'%3E%3C/line%3E%3Cline x1='26.2' y1='60.1' x2='60.1' y2='26.2' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='16'%3E%3C/line%3E%3C/svg%3E");
    background-size: cover;
}
.cbt__name {
    background-color: #389b25;
    color: #fff;
    padding: 10px 20px;
    border-radius: 40px;
    text-align: center;
    margin-bottom: 10px;
}
.cbt__submit {
    background-color: #389b25;
    color: #fff;
    padding: 10px 20px;
    border-radius: 40px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 10px;
}
.cbt__giveup {
    background-color: #59b946;
    color: #fff;
    padding: 10px 20px;
    border-radius: 40px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 10px;
}
.cbt__again {
    background-color: #59b946;
    color: #fff;
    padding: 10px 20px;
    border-radius: 40px;
    text-align: center;
    cursor: pointer;
}
.cbt__answer {
    border: 1px solid #f2f2f2;
    padding: 10px 20px 10px 88px;
    background-color: #fafafa;
    color: #666;
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.6;
    position: relative;
}
.cbt__answer::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 10px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' fill='%23412E91' viewBox='0 0 256 256'%3E%3Crect width='256' height='256' fill='none'%3E%3C/rect%3E%3Cline x1='96' y1='128' x2='160' y2='128' fill='none' stroke='%23412E91' stroke-linecap='round' stroke-linejoin='round' stroke-width='16'%3E%3C/line%3E%3Cline x1='96' y1='160' x2='160' y2='160' fill='none' stroke='%23412E91' stroke-linecap='round' stroke-linejoin='round' stroke-width='16'%3E%3C/line%3E%3Cpath d='M56,40H200a8,8,0,0,1,8,8V200a24,24,0,0,1-24,24H72a24,24,0,0,1-24-24V48A8,8,0,0,1,56,40Z' fill='none' stroke='%23412E91' stroke-linecap='round' stroke-linejoin='round' stroke-width='16'%3E%3C/path%3E%3Cline x1='80' y1='24' x2='80' y2='56' fill='none' stroke='%23412E91' stroke-linecap='round' stroke-linejoin='round' stroke-width='16'%3E%3C/line%3E%3Cline x1='128' y1='24' x2='128' y2='56' fill='none' stroke='%23412E91' stroke-linecap='round' stroke-linejoin='round' stroke-width='16'%3E%3C/line%3E%3Cline x1='176' y1='24' x2='176' y2='56' fill='none' stroke='%23412E91' stroke-linecap='round' stroke-linejoin='round' stroke-width='16'%3E%3C/line%3E%3C/svg%3E");
    background-size: cover;
}
.cbt__answer::after {
    content: '정답은 : ';
    position: absolute;
    left: 35px;
    top: 10px;
}

.cbt__desc {
    border: 1px solid #f2f2f2;
    padding: 10px 20px 10px 38px;
    background-color: #fafafa;
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    line-height: 1.6;
    position: relative;
}
.cbt__desc::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 10px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' fill='%23389b25' viewBox='0 0 256 256'%3E%3Crect width='256' height='256' fill='none'%3E%3C/rect%3E%3Ccircle cx='128' cy='128' r='96' fill='none' stroke='%23389b25' stroke-linecap='round' stroke-linejoin='round' stroke-width='16'%3E%3C/circle%3E%3Ccircle cx='128' cy='180' r='12'%3E%3C/circle%3E%3Cpath d='M128,144v-8a28,28,0,1,0-28-28' fill='none' stroke='%23389b25' stroke-linecap='round' stroke-linejoin='round' stroke-width='16'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
}

.cbt__omr {
    margin-top: 20px;
}
.cbt__omr .omr {
    margin: 5px 0;
    position: relative;
    display: grid;
    grid-template-columns: 50px 38px 38px 38px 38px;
    grid-template-rows: 20px;
    align-items: center;
}
.cbt__omr .omr input {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}
.cbt__omr .omr strong {
    display: inline-block;
    text-align: center;
    margin: 2px;
    font-weight: bold;
    background-color: #389b25;
    color: #fff;
    margin-right: 10px;
}
.cbt__omr .omr label {
    text-align: center;
    width: 28px;
    height: 8px;
    cursor: pointer;
    box-shadow: 0 0 0 1px #389b25;
    line-height: 0.5;
    font-weight: 900;
    position: relative;
}
.cbt__omr .omr label::after {
    content: '';
    background-color: #555;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    transition:  width 0.1s linear;
}
.cbt__omr .omr input[type=radio]:checked + label::after {
    width: 100%;
}
.cbt__omr .omr .label-inner {
    background-color: #fff;
    width: 30px;
    padding: 3px;
}

.cbt.good {
    position: relative;
}
.cbt.good::before {
    content: '';
    width: 100px;
    height: 100px;
    border: 10px solid red;
    border-radius: 50%;
    position: absolute;
    left: 20px; 
    top: 20px;
    z-index: 100;
}
.cbt.bad {
    position: relative;
}
.cbt.bad::before {
    content: '';
    width: 150px;
    height: 10px;
    background-color: red;
    position: absolute;
    left: 0;
    top: 80px;
    border-radius: 30px;
    transform: rotate(45deg);
    z-index: 100;
}
.cbt.bad::after {
    content: '';
    width: 150px;
    height: 10px;
    background-color: red;
    position: absolute;
    left: 0;
    top: 80px;
    border-radius: 30px;
    transform: rotate(-45deg);
    z-index: 100;
}

@media (max-width: 1200px){
    .cbt__quiz {
        flex-direction: column;
    }
    .cbt__quiz .cbt {
        width: 100%;
    }
    .cbt__quiz::after {
        display: none;
    }
    .cbt__header {
        flex-direction: column;
    }
    .cbt__title {
        font-size: 20px;
        margin-bottom: 17px;
    }
}

@media (max-width: 800px){
    .cbt__header {
        width: calc(100% - 40px);
    }
    .cbt__conts {
        padding-top: 120px;
        width: 100%;
    }
    .cbt__quiz .cbt {
        padding: 0;
    }
    .cbt__question {
        font-size: 18px;
    }
    .cbt__aside {
        position: relative;
        left: 0;
        top: 40px;
    }
    .cbt__name, .cbt__omr {
        display: none;
    }
    .cbt__submit {
        position: fixed;
        right: 30px;
        bottom: 30px;
    }
}