@font-face {
    font-family: "IM_Hyemin-Bold";
    src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2106@1.1/IM_Hyemin-Bold.woff2") format("woff");
    font-weight: normal;
    font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "IM_Hyemin-Bold";
    color: #666;
}
*,
*:before,
*:after {
    box-sizing: border-box;
}
a {
    color: #feada6;
    text-decoration: none;
}

li {
    list-style: none;
}
/* header */
#header {
    margin: 10px;
    display: flex;
    justify-content: space-between;
}
#header nav {
    margin: 10px;
}
#header nav li {
    position: relative;
    display: inline;
}
#header nav li a {
    width: 30px;
    height: 30px;
    border: 2px solid #feada6;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    line-height: 25px;
}
#header nav li.active a {
    background-color: #feada6;
    color: #fff;
}
#header nav li .sub {
    position: absolute;
    left: 0;
    top: 35px;
    width: 400px;
}
#header nav li .sub li a {
    width: auto;
    background-color: transparent;
    color: #feada6;
    border: 0;
    text-align: left;
    line-height: 1.2;
}
#header nav li .sub li.active a {
    text-decoration: underline;
}
/* main */
#main {
    margin: 50px 10px;
}
.search__wrap {
    padding: 40px;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    border: 3px solid #feada6;
    border-radius: 20px;
    background-image: url("https://www.toptal.com/designers/subtlepatterns/uploads/dot-grid.png");
    text-align: center;
}
.search__wrap > span {
    font-size: 20px;
    margin-bottom: 20px;
    display: inline-block;
    color: #999;
}
.search__wrap > h1 {
    color: #feada6;
}
.search__wrap > h1 a {
    font-family: "Tmon";
    color: #feada6;
    font-size: 5vw;
    margin-bottom: 10px;
}
.search__wrap .desc {
    line-height: 1.4;
    padding: 20px 0;
}
.search__wrap .time {
    width: 140px;
    height: 140px;
    line-height: 140px;
    text-align: center;
    border-radius: 50%;
    margin: 0 auto;
    background: #feada6;
}
.search__wrap .time span {
    color: #fff;
    font-size: 34px;
    font-weight: 100;
}
.search__box {
    margin-bottom: 20px;
    position: relative;
}
.search__box label {
    position: absolute;
    clip: rect(0 0 0 0);
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
}
.search__box input {
    border: 2px solid #feada6;
    padding: 15px 40px;
    width: 30%;
    border-radius: 50px;
    font-size: 18px;
    margin-top: 20px;
}
.search__box input::placeholder {
    color: #bbb;
}
.search__box .start {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    background: #feada6;
    width: 30%;
    border-radius: 50px;
    font-size: 20px;
    border: 2px solid #feada6;
    padding: 15px 40px;
    color: #fff;
    cursor: pointer;
}
.search__list li {
    text-align: left;
    line-height: 1.7;
    margin-bottom: 10px;
}
.search__list li.show {
    display: block;
}
.search__list li.hide {
    display: none;
}
.search__list span {
    display: inline-block;
    padding: 10px 20px;
    border: 1.5px solid #feada6;
    margin: 5px;
    transition: all 0.3s;
    cursor: pointer;
    border-radius: 50px;
    color: #777;
}
.search__list span:hover {
    background-color: #feada6;
    color: #fff;
}
.search__list em {
    float: right;
    font-style: normal;
}
.search__list .line {
    margin: 50px 0;
}
.search__list .line li {
    background: #e9e9e9;
    padding: 10px 30px;
    margin-bottom: 5px;
    border-radius: 50px;
}
.search__list .line li:hover {
    background: #d9d9d9;
    cursor: pointer;
}
.search__info {
    text-align: right;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px dashed #feada6;
}
.search__info.center {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-bottom: 40px;
}

/* .search__info.center span {
    margin: 0 5px;
} */
.search__info .type {
    text-align: center;
    margin-bottom: 10px;
}
.search__info .keyword {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
}
.search__info .keyword span {
    border: 2px solid #dcdcdc;
    border-radius: 50px;
    padding: 10px;
    display: inline-block;
    margin-bottom: 4px;
    color: #aaa;
}
.search__info .keyword span:hover {
    background-color: #feada6;
    color: #fff;
    cursor: pointer;
    border: 2px solid #feada6;
}
.search__desc {
    padding: 20px 40px 20px 60px;
    margin-bottom: 50px;
    border-radius: 50px;
    display: inline-block;
    background-color: #feada6;
    color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='8' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M16.5 16.958L21.5 21.958' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: 22px 17px;
}
.search__click {
    margin-top: 10px;
    margin-bottom: 30px;
}
.search__click li {
    display: inline;
}
.search__click li a {
    display: inline-block;
    border: 1px solid #feada6;
    border-radius: 50px;
    padding: 10px 20px;
    margin: 5px 0;
}
.search__click li a:hover {
    background-color: #feada6;
    color: #fff;
}
@media (max-width: 600px) {
    .search__wrap {
        padding: 20px;
    }
    .search__wrap > span {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .search__wrap > h1 {
        font-size: 44px;
    }
    .search__box input {
        font-size: 16px;
        padding: 12px 30px;
    }
}
/* footer */
#footer {
    text-align: center;
}
#footer a {
    color: #000;
    font-family: "NexonLv1Gothic";
    padding-bottom: 50px;
}
#footer a:hover {
    text-decoration: underline;
}
.search__answers {
    border-bottom: 2px dashed #feada6;
    padding-bottom: 40px;
    /* display: none; */
}
.search__answers span {
    display: inline-block;
    background: #feada6;
    padding: 10px 20px;
    color: #fff;
    border-radius: 30px;
    margin: 3px;
}
.search__missAnswers {
    border-bottom: 2px dashed #feada6;
    padding: 40px 0;
    /* display: none; */
}
.search__missAnswers span {
    display: inline-block;
    border: 1px solid #feada6;
    color: #feada6;
    padding: 10px 20px;
    border-radius: 30px;
}
.search__audio {
    cursor: pointer;
    margin-bottom: 10px;
}
.search__audio .play {
    display: none;
}

.search__result {
    position: fixed;
    /* left: 50%;
    top: 50%; */
    right: 5%;
    top: 10%;
    /* transform: translate(-50%, -50%); */
    width: 30vw;
    height: 30vw;
    border-radius: 50%;
    border: 5px solid #616161;
    background-color: #f5f5f56f;
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.search__result.show {
    display: flex;
    animation: rubberBand 1s ease;
}
.search__result .result {
    border-radius: 20px;
    padding: 20px;
    color: #fff;
    background-color: #feada6;
    border: 4px solid #feada6;
    transform: translateY(25px);
}

.search__result .restart {
    border: 5px solid #feada6;
    cursor: pointer;
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
    display: inline-block;
    margin-top: 30px;
    margin-bottom: 20px;
}

@keyframes rubberBand {
    from {
        transform: scale3d(1, 1, 1);
    }
    30% {
        transform: scale3d(1.25, 0.75, 1);
    }
    40% {
        transform: scale3d(0.75, 1.25, 1);
    }
    50% {
        transform: scale3d(1.15, 0.85, 1);
    }
    65% {
        transform: scale3d(0.95, 1.05, 1);
    }
    75% {
        transform: scale3d(1.05, 0.95, 1);
    }
    to {
        transform: scale3d(1, 1, 1);
    }
}
