@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');
@import url('https://cdn.rawgit.com/moonspam/NanumSquare/master/nanumsquare.css');

@font-face {
    font-family: 'twayair';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_tway@1.0/twayair.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'LotteMartHappy';
    font-style: normal;
    font-weight: 400;
    src: url('//cdn.jsdelivr.net/korean-webfonts/1/corps/lottemart/LotteMartHappy/LotteMartHappyMedium.woff2') format('woff2'), url('//cdn.jsdelivr.net/korean-webfonts/1/corps/lottemart/LotteMartHappy/LotteMartHappyMedium.woff') format('woff');
}

@font-face {
    font-family: 'LotteMartHappy';
    font-style: normal;
    font-weight: 700;
    src: url('//cdn.jsdelivr.net/korean-webfonts/1/corps/lottemart/LotteMartHappy/LotteMartHappyBold.woff2') format('woff2'), url('//cdn.jsdelivr.net/korean-webfonts/1/corps/lottemart/LotteMartHappy/LotteMartHappyBold.woff') format('woff');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0 auto;
    /*max-width: 540px;*/
    width: 100%;
    font-family: 'LotteMartHappy';
    letter-spacing: -0.5px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.250em;
    color: #111;
    overflow-x: hidden;
    position: relative;
}

main {
    margin-top: 60px;
}

ul,
dl,
ol {
    list-style: none;
}

a {
    display: block;
    text-decoration: none;
    color: #111;
}

p, a, h1, h2, h3, h4, h5, h6, pre {
    transform: skew(-0.1deg);
}

select {
    transform: skew(-0.1deg);
    font-family: 'LotteMartHappy';
}

pre {
    font-family: 'LotteMartHappy';
}

input[type=text] {
    background-color: transparent;
    border: 0;
}

select::-ms-expand {
    display: none;
}

select:focus,
input:focus{
    outline: none;
}

button {
    font-family: 'twayair';
    background-color: transparent;
    border: 0;
    cursor: pointer;
}

img {
    vertical-align: middle;
    max-width: 100%;
    image-rendering: auto;
    image-rendering: -moz-auto;
    image-rendering: -o-auto;
    image-rendering: -webkit-optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
}

/****************************** common */

.box {
    max-width: 1450px;
    width: 100%;
    margin: 0 auto;
}

.btn {
    transition: 0.2s;
}

.btn p {
    transition: 0.2s;
}

.btn:hover {
    color: #fff;
}

.btn:hover i {
    color: #fff;
}

.btn:hover {
    background-color: #111;
    border: 3px solid #111;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/****************************** common */


/****************************** header 시작 */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #111;
    transition: 0.4s;
    z-index: 999;

}

.header_wrap {
    height: 60px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #111;
    padding: 0 20px;
    z-index: 1;
}

.hamburger {
    position: relative;
    width: 24px;
    height: 20px;
    cursor: pointer;
    transition: 0.4s;
}

.header_logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.hamburger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 6px;
    transition: 0.4s;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-of-type(1) {
    -webkit-transform: translateY(10px) rotate(-45deg);
    transform: translateY(9px) rotate(-45deg);
}

.hamburger.active span:nth-of-type(2) {
    opacity: 0;
}

.hamburger.active span:nth-of-type(3) {
    -webkit-transform: translateY(-10px) rotate(45deg);
    transform: translateY(-9px) rotate(45deg);
}
.login_wrap.complete {
    width: 30px;
    height: 30px;
    border-radius: 15px;
    padding: 0 10px;
    color: #fff;
    font-size: 11px;
}

    .login_wrap.complete i {
        font-size: 26px;
        color: #fff;
    }

.login_wrap {
    width: 30px;
    height: 30px;
    background-color: #cc1e12;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login_wrap i {
    font-size: 26px;
    color: #fff;
}

#dropdown_mo {
    width: 100%;
    height: 100%;
    position: fixed;
    top: -100%;
    right: 0;
    background-color: #fff;
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    justify-content: space-between;
    overflow: hidden;
    transition: 0.4s;
    border-top: 1px solid #111;
    background-color: #111;
}

#dropdown_mo ul {
    display: flex;
    flex-direction: column;
}

.main_depth_wrap {
    width: 100%;
    position: relative;
}

.dropdown_mo_img {
    position: absolute;
    left: 0;
    bottom: 65px;
    width: 100%;
}

.main_depth {
    width: 100%;
    height: 100%;
    /* border-right: 1px solid #e6e6e6; */
}

.main_depth li {
    font-family: 'twayair';
    padding: 16px 20px;
    font-weight: 500;
    font-size: 1.063em;
    color: rgb(110, 110, 110);
    transition: 0.4s;
}

.main_depth li.active_menu {
    background-color: #111;
    color: #111;
    position: relative;
    z-index: 1;
}

.main_depth li:after {
    content: '';
    position: absolute;
    height: 57px;
    width: 0%;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transition: 0.4s;
    z-index: -1;
}

.main_depth li.active_menu::after {
    width: 100%;
}

.sub_depth_wrap {
    width: 100%;
    padding: 20px;
    position: relative;
    background-color: #fff;
}

#dropdown_mo ul.sub_depth {
    gap: 20px;
    display: none;
}

#dropdown_mo ul.sub_depth li {
    font-family: 'twayair';
}

#dropdown_mo ul.sub_depth.active_menu {
    display: flex;
}

.sub_depth li a {
    font-size: 1.063em;
    color: #111;
}

.sub_depth li:nth-child(1)>a {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.group_menu i {
    font-size: 32px;
}

#dropdown_mo ul li.group_menu>ul {
    display: none;
    padding: 10px 0 10px 20px;
}

#dropdown_mo ul li.group_menu>ul li a {
    font-size: 0.938em;
    color: #aaaaaa;
}

.sub_depth .new,
.main_depth li .new {
    position: relative;
}
    .sub_depth .new img {
        filter: brightness(0);
        transition: 0.4s;
    }

.sub_depth .new::after,
.main_depth li .new::after {
    content: "";
    position: absolute;
    right: -10px;
    width: 5px;
    height: 5px;
    background-color: #cc1e12;
    border-radius: 50%;
    display: none;
}

.gnb_bg {
    position: absolute;
    top: -300px;
    left: 0;
    background-color: #111;
    width: 100%;
    height: 300px;
    z-index: -1;
    transition: 0.2s;
}

.gnb_bg.active {
    top: 0;
}

.search_bar_btn {
    position: absolute;
    bottom: 120px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: crimson;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search_bar_btn i {
    color: #fff;
    font-size: 30px;
}

.search_bar_wrap {
    position: absolute;
    bottom: 120px;
    right: -120%;
    width: 120%;
    background-color: #fff;
    border-radius: 50px 0 0 50px;
    padding: 0 10px 0 20px;
    transition: 0.4s;
    z-index: 1;
    -webkit-box-shadow: 0px 5px 15px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 5px 15px 5px rgba(0, 0, 0, 0.2);
}

.search_bar_wrap.active {
    right: 0;
}

.search_bar_wrap form {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 50px;
}

.search_bar_wrap form input {
    width: 100%;
    height: 40px;
    outline: 0;
}

.search_bar_wrap form button {
    /* background-color: #111; */
    border-radius: 100%;
}

.search_bar_wrap form button i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-size: 30px;
}

.search_close_btn {
    background-color: #111;
    border-radius: 100%;
}

.search_close_btn>i {
    font-size: 35px;
    color: #fff;
}

/* aside > search */

.search_box {
    display: flex;
    align-items: center;
    height: 32px;
    margin-right: 20px
}

.search_form {
    display: none;
}

.search_form form {
    display: flex;
    align-items: center;
}

.search_form form input {
    background-color: #ccc;
    padding: 10px;
    border-radius: 50px;
    margin-right: 10px;
}

.search_box i {
    color: #fff;
    font-size: 30px;
}

.search_dummy {
    cursor: pointer;
}

.search_dummy i:nth-child(2),
.search_dummy.active i:nth-child(1) {
    display: none;
}

.search_dummy.active i:nth-child(2) {
    display: block;
}

/* aside > login */

.login {
    height: 32px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    background-color: #cc1e12;
    padding: 8px 16px;
    border-radius: 50px;
    transition: 0.4s;
    margin-right: 20px;
}

.login i {
    color: #fff;
    font-size: 30px;
}

.gamestart_btn {
    margin-right: -200px;
    transition: 0.4s;
    position: relative;
}
/*
.gamestart_btn img:nth-child(1) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gamestart_btn:hover {
    animation: hue_gradient 1.5s;
}
    */
@keyframes hue_gradient {
    0% {
        filter: hue-rotate(0deg);
    }

    50% {
        filter: hue-rotate(90deg);
    }

    0% {
        filter: hue-rotate(0deg);
    }
}

/****************************** header 끝 */


/****************************** footer 시작 */

footer {
    width: 100%;
    background-color: #111;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* padding: 40px 20px; */
    position: relative;
}

footer>div {
    display: flex;
    flex-direction: column;
}

.footer_class {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.footer_l {
    padding: 20px;
}

.footer_r{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.l_menu_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.l_link {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.l_link li a {
    font-weight: 500;
    font-size: 0.875em;
    color: #fff;
}

.l_link li:first-child {
    padding-left: 0;
}

.l_link li:last-child {
    padding-right: 0;
    border-right: 0;
}

.l_cap {
    color: #aaaaaa;
}

.l_cap>ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.l_cap>ul li{
    transform: skew(-0.1deg);
}

.copy {
    font-size: 0.938em;
    font-weight: 500;
    color: #636363;
    text-align: center;
}

.sns ul {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    background-color: #333;
    padding: 20px;
}

.sns ul li a {
    width: 45px;
    height: 45px;
    background-color: #aaa;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sns ul li a img{
    opacity: 0.4;
    filter: grayscale(100%);
    transition: 0.4s;
}

/****************************** footer 끝 */


/****************************** top 버튼 시작 */

.top_btn {
    width: 60px;
    height: 60px;
    background-color: #111;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 999;
    display: none;
    /* transition: 0.4s; */
}

.top_btn i {
    font-size: 36px;
    color: #fff;
}

.top_btn.scrolled {
    position: absolute;
    bottom: 270px;
}

/****************************** top 버튼 끝 */


/****************************** 이용약관 시작 */

.policy_box {
    width: 100%;
    background-color: #fff;
}

.policy_box pre{
    white-space: pre-line;
}
    .policy_box table{
        margin-top:20px;
    }

    .policy_box th, .policy_box td {
        border: 1px solid #eee;
        padding: 10px;
    }
    .policy_box .td_red{
        color:red;
    }

    .policy_bold {
        font-weight: 500;
    }

.mourn_img {
    position: absolute;
    left: 50px;
    max-width: 90px;
}

/****************************** 이용약관 끝 */

@media screen and (max-width: 540px) {

    html,
    body {
        font-size: 14px;
    }
}

.footer_c {
    display: flex;
}

    .footer_c .img_area {
        display: flex;
        width: 200px;
        margin-right: 20px;
    }

        .footer_c .img_area img {
            width: 49%;
            margin: 1%;
        }

    .footer_c .info_area .line_li {
        display: flex;
        justify-content: center;
        width: 570px;
        box-sizing: border-box;
    }

        .footer_c .info_area .line_li ul {
            display: flex;
            width: 50%;
        }

            .footer_c .info_area .line_li ul li {
                font-family: 'twayair';
                width: 40%;
                height: 40px;
                background-color: rgb(20, 104, 179);
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 14px;
                color: #fff;
                margin: 0.5px;
            }

                .footer_c .info_area .line_li ul li:last-child {
                    box-sizing: border-box;
                    padding-left: 15px;
                    width: 60%;
                    justify-content: flex-start;
                }

@media (max-width:800px) {
    .footer_c {
        flex-direction: column;
    }

        .footer_c .img_area {
            width: 40%;
            justify-content: center;
            margin: 0 auto;
        }

        .footer_c .info_area {
            margin-top: 20px;
        }

            .footer_c .info_area .line_li ul {
                width: 100%;
            }

            .footer_c .info_area .line_li {
                display: block;
                margin: 0 auto;
                width: 85%;
            }
}

@media (max-width:350px)  {
    .mourn_img {
        left: 45px;
        max-width: 60px;
    }
}

.grecaptcha-badge {
    visibility: hidden;
}