@font-face {
    font-family: "bitbit";
    font-weight: normal;
    font-style: normal;
    src: url("../fonts/DNFBitBitTTF.woff2") format("woff2"),
        url("../fonts/DNFBitBitTTF.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;
}

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 #7369ff;
}

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

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

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

.quiz__start .title span {
    font-family: "GmarketSans";
    color: #fff;
    letter-spacing: 3px;
    font-weight: 100;
}

.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;
    font-weight: normal;
    text-align: center;
    color: #fff;
    line-height: 1;
    margin-top: 10px;
}

.quiz__start .text ul {
    font-family: serif;
}

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

.quiz__start .btn button {
    padding: 10px 40px;
    font-size: 30px;
    border-radius: 50px;
    border: 0;
    background-color: #5549fc;
    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: #2c1366;
    /* background-color: #e8e6ff; */
}

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

.quiz__play::before {
    content: 'what';
    position: absolute;
    left: -122px;
    top: 70px;
    font-family: 'bitbit';
    color: #FFEC51;
    font-size: 60px;
    text-shadow: 5px 5px 0px #fff;
    transform: rotate(-90deg);
    text-transform: uppercase;
}

.quiz__play::after {
    content: 'why';
    position: absolute;
    right: -102px;
    bottom: 50px;
    font-family: 'bitbit';
    color: #40FFAE;
    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: #4238ca;
    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.3;
    font-size: 24px;
}

.quiz__play .desc {
    font-family: "GmarketSans";
    font-size: 32px;
    text-align: center;
    margin-top: 30px;
    color: #fff;
}

.quiz__play .question::before {
    content: 'Q.';
    font-size: 40px;
    font-weight: bold;
    font-family: 'bitbit';
    color: #FFEC51;
}

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

.quiz__play .answer input {
    width: 100%;
    height: 100px;
    border-radius: 20px;
    border: 0;
    text-align: center;
    font-size: 40px;
    background-color: #fff;
    color: #FF8ADC;
}

.quiz__play .answer input::placeholder {
    color: #FF8ADC;
}

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

.quiz__play .confirm button {
    font-size: 20px;
    padding: 10px 20px;
    font-family: 'GmarketSans';
    border-radius: 50px;
    border: 0;
    background-color: #4238ca;
    color: #fff;
    border: 4px solid #fff;
    cursor: pointer;
}

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