@charset 'utf-8';
@import url("https://webfontworld.github.io/sunn/SUIT.css");

/* 수트체 */
* {
    font-family: "SUIT", -apple-system, BlinkMacSystemFont, system-ui,
        Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR",
        "Malgun Gothic", sans-serif;
}

html,
body {
    margin: 0px;
    padding: 0px;
    position: relative;
    height: 100%;
    font-weight: 300;
    font-size: 16px;
    color: #333;
    background-color: #fff;
}

ul,
li,
dl,
dd,
dt,
p {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

:focus {
    outline: none !important;
}

/*flex*/
.titleArea_free,
.category,
.realTime_consult,
.form_row_free {
    display: flex;
}

/*popup start*/
.pop_wrap_free {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .5);
    font-size: 0;
    text-align: center;
    z-index: 99999999999;
}

.pop_wrap_free:after {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    content: '';
}

.pop_wrap_free .pop_inner_free {
    display: inline-block;
    padding: 20px 30px;
    background: #fff;
    width: 265px;
    max-width:100%;
    vertical-align: middle;
    font-size: 15px;
    border-radius: 7px;
    position:relative;
}
.pop_wrap_free .pop_inner_free .btn_close_free {
    position:absolute;
    right:12px;
    top:12px;
    cursor: pointer;
}
.pop_txt_free p {
    font-size:17px;
    font-weight:700;
    line-height:20px;
    text-align:left;
    padding-top:20px;
    padding-bottom:10px;
}
.pop_txt_free form select {
    border:1px solid #e8e8e8;
    border-radius: 7px;
    width:100%;
    font-size:16px;
    font-weight:500;
    height:50px;
    padding:0px 10px;
    margin-top:10px;
}
.form_row_free {
    justify-content: space-between;
}
.pop_txt_free form .form_row_free select{
    width:49%;
}
/*popup end*/
.container_free {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    overflow-x: hidden;
}
.category,
.bar,
.titleBg,
.realTime_consult,
.btnArea_free {
    padding:0px 20px;
}
.titleBg {
    padding:0px 20px;
}

.titleArea_free {
    justify-content: space-between;
    align-items: baseline;
    margin-top: 34px;
    margin-bottom:10px;
}
.titleArea_free.titleArea_free2 {
    display:block;
    text-align:center;
    border-bottom:1px solid #e7e7e7;
    padding-bottom:20px;
}
.titleArea_free .title {
    font-size: 20px;
    font-weight: 800;
}

.titleArea_free2 .titleSub_free.on {
    font-size:14px;
    font-weight:800;
}
.btn_refresh::before {
    content: url("../img/fortune/refresh.svg");
    vertical-align: middle;
    padding-right: 5px;
}

.btn_refresh {
    border: 1px solid #E8E8E8;
    border-radius: 7px;
    font-size: 16px;
    color: #333;
    font-weight: 700;
    padding: 8px 12px 5px;
}

.titleSub_free {
    font-size: 14px;
}

.titleSub_free.off {
    color: #b9b9b9;
}

.titleSub_free.on {
    color: #333;
    font-weight: 500;
}

.titleSub_free.on span:not(:last-child)::after {
    content: "|";
    padding: 0px 5px;
}

.category {
    margin:23px 10px 0px;
    flex-wrap: wrap;
}

.category a {
    flex: 1 1 45%;
    font-size:16px;
    text-align: center;
    color: #333;
    font-weight: 700;
}

.category a li {
    border: 1px solid #e8e8e8;
    border-radius: 7px;
    margin: 4px;
    padding: 14px 0px 18px;
}

.category a li img {
    margin: 0 auto;
}

.bar {
    width: 80%;
    height: 1px;
    background-color: #f7f7f7;
    margin: 30px auto;
}

.thumbBg_new {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.thumbBg_new>img {
    position: absolute;
    width: 112px;
    max-width: none;
    left: 50%;
    top:2px;
    transform: translateX(-50%);
}

.tagArea {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 135px;
    text-align: center;
}

.tag {
    background-color: #333;
    font-size: 11px;
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    margin: 0 auto;
}

.tagTxt {
    color: #A9A9A9;
    font-size: 12px;
    margin-top: 8px;
}

.tagTxt span {
    width: 100%;
}

.tagTxt span::before {
    content: "#";
}

.thumbBg_new_tarot {
    background: url("../img/thumbBg_tarot.png")center;
    background-size: cover;
}

.thumbBg_new_saju {
    background: url("../img/thumbBg_saju.png")center;
    background-size: cover;
}

.thumbBg_new_fortune {
    background: url("../img/thumbBg_fortune.png")center;
    background-size: cover;
}

.realTime_consult {
    justify-content: space-evenly;
    align-items: center;
    margin-top: 20px;
}

.realTime_consult>a {
    position: relative;
    display: flex;
    flex-direction: column;
}
.realTime_consult a:nth-child(n+4):nth-child(-n+6) {
    display:none;
}

.btnArea_free {
    text-align: center;
}
.btnArea_free2 {
    margin-top:25px;
}
.btnArea_free3 {
    margin-bottom:60px;
}


.btnArea_free > button {
    background: #FB273E;
    border: 1px solid #D11429;
    border-radius: 7px;
    color: #fff;
    text-align: center;
    font-weight: 800;
    font-size: 15px;
    line-height: 1.4;
    height: 45px;
    cursor: pointer;
    margin-top:10px;
}
.btnArea_free.btnArea_flex {
    display:flex;
}
.btnArea_free.btnArea_flex .addBtn_free2:first-child {
    width: 30%;
}
.btnArea_free.btnArea_flex .addBtn_free2:last-child {
    width: 70%;
    margin-left:10px;
}
.addBtn_free {
    width:90%;
    margin-top:25px;
}
.btnArea_free > button.addBtn_free2 {
    background-color:#fff;
    color:#333;
    border:1px solid #dddddd;
    font-weight:500;
}
.saveBtn {
    width:100%;
    margin:20px auto;
}

.btn_open {
    font-weight: bold;
    margin: 5px;
    padding: 4px 6px;
    background: #000;
    color: #fff;
}

.topImg_free {
    display:none;
}
.topImg_free_m {
    width: 100%;
    display:block;
}
.inner_free {
    padding:20px;
    font-weight:400;
    line-height:1.4;
}
.inner_free b {
    font-weight:800;
    line-height:4;
}
.inner_free > li{
    padding-bottom:30px;
}
.inner_free > li {
    border-bottom:1px dotted #e7e7e7;
}
.dreamChoice a {
    display:inline-block;
    color:#333;
    border:1px solid #333;
    border-radius: 7px;
    padding:7px 10px;
    margin:2px;
    transition:color .15s;
}
.dreamChoice a:hover {
    background-color:#FB273E;
    color:#fff;
    border-color:#FB273E;
}
.inner_hidden {
    height:400px;
    overflow-y: hidden;
    position:relative;
}
.inner_hidden .inner_hiddenArea {
    background:linear-gradient(0deg, rgba(255,255,255,1) 2%, rgba(255,255,255,0) 100%);
    width:100%;
    height:100%;
    position:absolute;
}
.resultArea_lottie p {
    line-height:1.3;
    font-weight:400;
    letter-spacing: -0.3px;
    margin-bottom:10px;
}
.resultArea_lottie .nick,
.resultArea_lottie .result_money {
    font-weight:900;
    font-size:20px;
}
.resultArea_lottie #lottie-sample {
    height:280px;
    margin-bottom:20px;
}
.resultArea_lottie .btnArea_free .addBtn_free {
    width:100%;
    background: linear-gradient(-45deg, #FB273E, #6F00A4);
    animation: gradient 3s ease-in infinite, blink 1.5s ease-in infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes blink {
    50% {
        border-color: #fff;
    }
}
