@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 */
body {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    background-image: url(../img/bg01.jpg);
    width: 100%;
    min-height: 100vh;
}

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;
}

/* 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;
}

/* footer */
#footer {
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
}

#footer a {
    display: inline-block;
    color: #fff;
    padding: 40px;
}

#footer a:hover {
    text-decoration: underline;
    text-underline-position: under;
}

/* quiz_wrap */
.quiz__wrap {
    display: flex;
    /* align-items: center; */
    justify-content: center;
    flex-wrap: wrap;
}

.quiz__wrap .quiz {
    width: 500px;
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    margin: 10px;
}

.quiz__header {
    color: #696969;
    margin-bottom: 20px;
}

.quiz__main .question {
    margin-bottom: 20px;
    font-size: 24px;
    line-height: 1.4;
}

.quiz__main .question em {
    font-size: 24px;
    font-style: normal;
    line-height: 1.4;
}

.quiz__main .question span {
    font-size: 24px;
    line-height: 1.4;
}

.quiz__main .choices {
    margin-bottom: 20px;
}

.quiz__main .choices label {
    display: block;
    width: 100%;
}

.quiz__main .choices label input {
    position: absolute;
    clip: rect(0 0 0 0);
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
}

.quiz__main .choices label span {
    border: 1px solid #e0f7fa;
    padding: 17px;
    display: flex;
    margin-bottom: 10px;
    border-radius: 3px;
    font-size: 16px;
    line-height: 1.5;
    cursor: pointer;
}

.quiz__main .choices label span:hover {
    border-color: #0aa6e4;
    color: #0aa6e4;
    box-shadow: 1px 1px 5px #8eb8c9;
}

.quiz__main .choices label span::before {
    content: '';
    width: 24px;
    height: 24px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 4px #0aa6e4;
    margin-right: 13px;
    transition: all 0.2s;
}

.quiz__main .choices label input:checked+span::before {
    box-shadow: inset 0 0 0 8px #0aa6e4;
}

.quiz__main .choices label input:checked+span {
    border-color: #0aa6e4;
    color: #0aa6e4;
    box-shadow: 1px 1px 5px #8eb8c9;
    background-color: #e3f6ff;

}

.quiz__main .input input {
    width: 100%;
    padding: 20px;
    border: 1px solid #0aa6e4;
    border-radius: 3px;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
}

.quiz__main .answer {
    border: 1px solid #0aa6e4;
    padding: 20px;
    background-color: #e0f7fa;
    border-radius: 3px;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
}

.quiz__main .answer::before {
    content: '📌정답 : ';
}

.quiz__main .desc {
    border: 1px solid #0aa6e4;
    padding: 20px;
    border-radius: 3px;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
}

.quiz__main .desc::before {
    content: '💡설명 : ';
}

.quiz__footer {}

.quiz__footer .confirm {
    background-color: #052e53;
    color: #fff;
    width: 100%;
    padding: 20px;
    bottom: 0;
    font-size: 16px;
    border-radius: 3px;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.quiz__footer .confirm:hover {
    background-color: transparent;
    border: 1px dashed #052e53;
    color: #052e53;
    cursor: pointer;
}

.quiz__footer .next {
    background-color: #094880;
    color: #fff;
    width: 100%;
    padding: 20px;
    bottom: 0;
    font-size: 16px;
    border-radius: 3px;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.quiz__footer .next:hover {
    background-color: transparent;
    border: 1px dashed #052e53;
    color: #052e53;
    cursor: pointer;
}

/* good, bad */
.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: 0px;
    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: 0px;
    top: 80px;
    border-radius: 30px;
    transform: rotate(-45deg);
    z-index: 100;
}

.quiz__check {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 100px;
    height: 100px;
    line-height: 94px;
    text-align: center;
    background-color: #094880;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    border: 5px solid #bedbf5;
    transition: all 0.3s;
}

.quiz__check:hover {
    border: 5px dashed #bedbf5;
    background-color: #094880;
    color: #59646e;
}