@font-face {
    font-family: "BitBit";
    font-weight: normal;
    font-style: normal;
    src: url("../fonts/DNFBitBit.woff2") format("woff2"),
        url("../fonts/DNFBitBit.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: 'GmarketSans';
    font-weight: 300;
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansLight.eot');
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansLight.eot?#iefix') format('embedded-opentype'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansLight.woff2') format('woff2'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansLight.woff') format('woff'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansLight.ttf') format("truetype");
    font-display: swap;
}

@font-face {
    font-family: 'GmarketSans';
    font-weight: 500;
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansMedium.eot');
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansMedium.eot?#iefix') format('embedded-opentype'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansMedium.woff2') format('woff2'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansMedium.woff') format('woff'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansMedium.ttf') format("truetype");
    font-display: swap;
}

@font-face {
    font-family: 'GmarketSans';
    font-weight: 700;
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansBold.eot');
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansBold.eot?#iefix') format('embedded-opentype'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansBold.woff2') format('woff2'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansBold.woff') format('woff'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansBold.ttf') format("truetype");
    font-display: swap;
}

/* reset */
* {
    margin: 0;
    padding: 0;
    font-family: "BitBit";
    box-sizing: border-box;
    font-size: 16px;
    flex-wrap: wrap;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #000;
}

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

#quiz__wrap {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 8px solid #4683c9;
}

#quiz__wrap::before {
    content: "";
    border: 8px solid #4683c9;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 25px;
    z-index: -5;
}

/* quiz__start */
.quiz__start {
    width: 50vw;
    height: 70vh;
    border: 10px solid #fff;
    background-color: #4683c9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    text-align: center;
    flex-direction: column;
}

.quiz__start .title {
    width: 100%;
    border-bottom: 10px solid #fff;
    padding: 10px;
}

.quiz__start .title span {
    font-family: 'GmarketSans';
    color: #fff;
    font-weight: 400;
    letter-spacing: 4px;
}

.quiz__start .text ul {
    margin-top: 10px;
}

.quiz__start .text li {
    font-family: 'GmarketSans';
    color: #fff;
    line-height: 1.3;
}

.quiz__start .text span {
    font-family: 'GmarketSans';
    font-size: 20px;
    color: #fff;
}

.quiz__start .text span i {
    font-family: 'GmarketSans';
    font-style: normal;
    font-size: 20px;
    color: #ffec51;
}

.quiz__start .text span strong {
    font-family: 'GmarketSans';
    font-weight: normal;
    font-size: 20px;
    color: #40ffae;
}

.quiz__start .text h1 {
    font-size: 5vmax;
    /*vmax까지만 커짐*/
    font-weight: normal;
    text-align: center;
    color: #fff;
    line-height: 1;
    margin-bottom: 10px;
}

.quiz__start .text .quiz__start .btn {
    padding: 20px;
    margin-bottom: 10px;
}

.quiz__start .btn button {
    padding: 10px 40px;
    font-size: 30px;
    border-radius: 50px;
    border: 0;
    background-color: #103661;
    color: #fff;
    border: 5px solid #fff;
    cursor: pointer;
}

/* quiz__bg */
.quiz__bg {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -10;
}

.quiz__bg #canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #103661;
    /* background-color: #cbc8f5; */

}

/* quiz__play */
.quiz__play {
    width: 50vw;
    min-height: 30vh;
    border: 10px solid #fff;
    background-color: #4683c9;
    border-radius: 10px;
    position: relative;
    padding: 24px;
}

.quiz__play::before {
    content: 'What?';
    position: absolute;
    left: -130px;
    top: 80px;
    font-family: 'BitBit';
    color: #FFD057;
    font-size: 60px;
    text-shadow: 5px 5px 0px #fff;
    transform: rotate(-90deg);
    text-transform: uppercase;
}

.quiz__play::after {
    content: 'Why?';
    position: absolute;
    right: -110px;
    bottom: 60px;
    font-family: 'BitBit';
    color: #FF6842;
    font-size: 60px;
    text-shadow: 5px 5px 0px #fff;
    transform: rotate(90deg);
    text-transform: uppercase;
}

.quiz__play .number {
    position: absolute;
    right: -10px;
    top: -73px;
    background-color: #387eff;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    font-size: 30px;
    padding: 10px 30px;
    border: 10px solid #fff;
}

.quiz__play .question {
    font-family: 'GmarketSans';
    color: #fff;
    line-height: 1.6;
    font-size: 30px;
}

.quiz__play .question::before {
    content: 'Q.';
    font-size: 30px;
    color: #103661;
    font-weight: bold;
    font-family: 'BitBit';
    text-shadow: 2px 2px 0px #fff;
}

.quiz__play .input {
    margin-top: 30px;
}

.quiz__play .input input {
    width: 100%;
    height: 100px;
    border-radius: 20px;
    border: 0;
    text-align: center;
    font-size: 50px;
    border: 5px solid #103661;
    color: #103661;
}

.quiz__play .input input::placeholder {
    color: #103661;
}

.quiz__play .choices {
    display: flex;
    flex-direction: column;
    margin: 15px 0;
    padding: 20px;
    border: 2px dotted #103661;
    border-radius: 10px;
}

.quiz__play .choices span {
    font-size: 25px;
    color: #103661;
}

.quiz__play .answer {
    width: 80%;
    margin: 3px auto;
    height: inherit;
    background-color: #fff;
    border-radius: 20px;
    border: 0;
    text-align: center;
    font-size: 2vmax;
    border: 5px solid #ffec51;
    color: #103661;
    padding: 5px;
}

.quiz__play .desc {
    width: 100%;
    height: inherit;
    background-color: #fff;
    border-radius: 20px;
    border: 0;
    text-align: center;
    font-size: 2vmax;
    border: 5px solid #FF6842;
    color: #103661;
    padding: 20px;
}

.quiz__play .play_btn {
    text-align: center;
    margin-top: 20px;
}

.quiz__play .play_btn button {
    font-size: 30px;
    padding: 10px 20px;
    font-family: 'GmarketSans';
    border-radius: 50px;
    border: 0;
    background-color: #103661;
    color: #fff;
    border: 5px solid #fff;
    cursor: pointer;
}

/* quiz__finish */
.quiz__finish {
    width: 50vw;
    height: 70vh;
    border: 10px solid #fff;
    background-color: #103661;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    text-align: center;
    flex-direction: column;
}

.quiz__finish .date {
    width: 100%;
    border-bottom: 10px solid #fff;
    padding: 10px;
}

.quiz__finish .date span {
    font-family: 'GmarketSans';
    color: #fff;
    font-weight: 400;
    letter-spacing: 4px;
}

.quiz__finish .notice {}

.quiz__finish .notice h2 {
    font-family: 'GmarketSans';
    font-size: 5vmax;
    color: #fff;
}

.quiz__finish .notice ul {
    padding: 10px;
}

.quiz__finish .notice ul li {
    font-family: 'GmarketSans';
    color: #fff;
    font-size: 2vmax;
    line-height: 1.3;
    padding: 10px;
}

.quiz__finish .finish_btn {
    padding: 20px;
}

.quiz__finish .finish_btn button {
    padding: 10px 40px;
    font-size: 30px;
    border-radius: 50px;
    border: 0;
    background-color: #103661;
    color: #fff;
    border: 5px solid #fff;
    cursor: pointer;
}

/* good, bad */
.quiz__play .quiz.good {
    position: relative;
}

.quiz__play .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__play .quiz.bad {
    position: relative;
}

.quiz__play .quiz.bad::before {
    content: '';
    width: 150px;
    height: 10px;
    background-color: blue;
    position: absolute;
    left: -40px;
    top: 30px;
    border-radius: 30px;
    transform: rotate(45deg);
    z-index: 100;
}

.quiz__play .quiz.bad::after {
    content: '';
    width: 150px;
    height: 10px;
    background-color: blue;
    position: absolute;
    left: -40px;
    top: 30px;
    border-radius: 30px;
    transform: rotate(-45deg);
    z-index: 100;
}


/* 미디어 쿼리 */
@media (max-width:800px) {
    .quiz__start {
        width: 100%;
        height: 100vh;
    }

    .quiz__play {
        width: 100%;
        height: 100vh;
    }

    .quiz__finish {
        width: 100%;
        height: 100vh;
    }
}