/* font */
@font-face {
    font-family: Spoqa Han Sans Neo;
    src: url("../font/SpoqaHanSansNeo-Regular.woff") format("woff");
    font-weight: 400;
}

@font-face {
    font-family: Spoqa Han Sans Neo;
    src: url("../font/SpoqaHanSansNeo-Medium.woff") format("woff");
    font-weight: 500;
}

@font-face {
    font-family: Spoqa Han Sans Neo;
    src: url("../font/SpoqaHanSansNeo-Bold.woff") format("woff");
    font-weight: 700;
}


/* reset */

body,
h1,
h2,
h3,
p,
img {
    margin: initial;
    padding: initial;
}

img {
    vertical-align: middle;
}

button {
    all: unset;
}


.wrap {
    max-width: 1000px;
    width: calc(100% - 60px);
    margin: 150px auto 0 auto;
}

/* start */

#question {
    display: none;
}

#start {
    display: flex;
    gap: 50px;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
}

.start-wrap-left {
    margin-top: 50px;
    /* box-shadow: inset 0 0 10px red; */
}

.start-title {
    color: #363636;
    font-weight: 700;
    font-size: 50px;
}

.start-content {
    color: #838383;
    font-size: 28px;
    margin-top: 12px;
}

.primary-btn {
    background-color: #FF6610;
    width: 100%;
    border-radius: 50px;
    text-align: center;
    color: white;
    font-size: 24px;
    font-weight: 500;
    box-sizing: border-box;
    padding: 10px 0;
    margin-top: 100px;
}

.primary-btn:hover {
    background-color: #ce4e05;
}

.start-img {
    width: 500px;
}


/* question */

.progress {
    border-radius: 50px;
}

.progress-bar {
    background-color: #FF6610;
    border-radius: 50px;
}

#number {
    color: #FF6610;
    font-size: 24px;
    text-align: center;
    margin-top: 100px;
}

#title {
    color: #363636;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-top: 16px;
    line-height: 1.5;
}

/* question answer */

.question-answer {
    display: flex;
    flex-direction: column;
    margin-top: 64px;
    gap:48px;
}

.btn-answer {
    display: block;
    font-size: 24px;
    text-align: center;
    line-height: 1.5;
    height: 150px;
    width: 600px;
    margin: 0 auto;
    border-radius: 16px;
    border: 1px solid #ebebeb;
    position: relative;
    box-shadow: 3px 3px 10px  rgba(0, 0, 0, 0.1);
    padding: 0 48px;
}

.btn-answer:hover {
    background-color: #F3F3F3;
}


.btn-answer::before {
    content: 'B';
    display: block;
    width: 40px;
    height: 40px;
    background-color: #FF6610;
    border-radius: 50px;
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    line-height: 40px;
    color: white;
    font-weight: 700;
    font-size: 20px;
}

.btn-answer:nth-child(2):before{
    content: 'A';
}


/* result */

#result {
    display:flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

#MBTI {
    background-color: #FF6610;
    padding: 6px 100px;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 28px;
}

#img{
    width: 700px;
}

#result-title {
    color:#363636;
    font-weight: 700;
    font-size: 40px;
    text-align: center;
}

.result-wrap {
    background-color: #ececec;
    padding:30px 60px;
    border-radius: 24px;
    max-width: 700px;
}

#result {
    display: none;
}


/* media */

@media(max-width: 900px){

    .wrap {
        width: calc(100% - 50px);
        margin-top: 30px;
    }

    /* start */

    #start {
        flex-direction: column-reverse;
        margin-top: 100px;
        gap: 0;
    }

    .start-wrap-left {
        margin-top: 0;
    }

    .start-title,
    .start-content {
        text-align: center;
    }

    .start-title {
        margin-top: 16px;
        font-size: 30px;
    }

    .start-content {
        font-size: 16px;
    }


    .primary-btn {
        margin-top: 80px;
        font-size: 16px;
    }

    .start-img {
        width: 300px;
    }

    /* question */

    #number {
        font-size: 16px;
    }

    #title {
        font-size: 30px;
    }

    .btn-answer {
        height: 120px;
        max-width: calc(100% - 100px);
        border-radius: 16px;
        font-size: 16px;
    }

    .btn-answer::before {
        display: block;
        width: 40px;
        height: 40px;
        top: 8px;
        left: 50%;
        transform: translate(-50%, -50%);
        line-height: 38px;
        font-weight: 700;
        font-size: 16px;
    }


    /* result */
    #result {
        gap: 20px
    }

    #MBTI {
        font-size: 20px;
    }

    #img{
        width: 500px;
    }

    #result-title{
        font-size: 30px;
    }

    .result-wrap {
        padding:20px 30px;
        border-radius: 16px;
    }

    #result-content{
        font-size: 16px;
    }
}

