:root {
    --nav-color: #222327;
}

* {
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: 'Nanum Gothic', sans-serif;
}

body {
    min-height: 100vh;
    background: url('/images/bg.jpg') no-repeat;
    background-size: cover;
    background-position: center;
}

ul, li { list-style:none; list-style-type:none; }

.overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
}

.container {
    width: 1200px;
    margin: 0 auto;
    border: 0px solid #F00;
}

header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
    padding-top: 3rem;
    padding-bottom: 1rem;
}

h1 > div.logo {
    display:none;
}

/* 메뉴 */
h2.logo { display:none; }
.navigation {
    width: 830px;
    height: 70px;
    background: #FFFFFF;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.navigation ul {
    display: flex;
    width: 770px;
}

.navigation ul li {
    position: relative;
    width: 70px;
    height: 70px;
    z-index: 1;
}

.navigation ul li a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    text-align: center;
    font-weight: 500;
}

.navigation ul li a .icon {
    position: relative;
    display: block;
    line-height: 75px;
    font-size: 1.5em;
    text-align: center;
    transition: 0.5s;
    color: var(--nav-color);
}

.navigation ul li.active a .icon {
    transform: translateY(-32px);
}

.navigation ul li a .text {
    position: absolute;
    color: var(--nav-color);
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 0.05rem;
    transition: 0.5s;
    opacity: 0;
    transform: translateY(20px);
}

.navigation ul li.active a .text {
    opacity: 1;
    transform: translateY(20px);
}

.indicator {
    position: absolute;
    top: -50%;
    width: 70px;
    height: 70px;
    background: #ffb7d5;
    background-clip: padding-box;
    border-radius: 50%;
    border: 6px;
    transition: 0.5s;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -22px;
    width: 20px;
    height: 20px;
    background: transparent;
    border-top-right-radius: 20px;
    /* box-shadow: 1px -10px 0 0 var(--clr); */
}

.indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -22px;
    width: 20px;
    height: 20px;
    background: transparent;
    border-top-left-radius: 20px;
    /* box-shadow: -1px -10px 0 0 var(--clr); */
}

.navigation ul li:nth-child(1).active ~ .indicator
{
    transform: translateX(calc(63px * 0));
}

.navigation ul li:nth-child(2).active ~ .indicator
{
    transform: translateX(calc(63px * 1));
}

.navigation ul li:nth-child(3).active ~ .indicator
{
    transform: translateX(calc(63px * 2));
}

.navigation ul li:nth-child(4).active ~ .indicator
{
    transform: translateX(calc(63px * 3));
}

.navigation ul li:nth-child(5).active ~ .indicator
{
    transform: translateX(calc(63px * 4));
}

.navigation ul li:nth-child(6).active ~ .indicator
{
    transform: translateX(calc(63px * 5));
}

.navigation ul li:nth-child(7).active ~ .indicator
{
    transform: translateX(calc(63px * 6));
}

.navigation ul li:nth-child(8).active ~ .indicator
{
    transform: translateX(calc(63px * 7));
}

.navigation ul li:nth-child(9).active ~ .indicator
{
    transform: translateX(calc(63px * 8));
}

.navigation ul li:nth-child(10).active ~ .indicator
{
    transform: translateX(calc(63px * 9));
}

.navigation ul li:nth-child(11).active ~ .indicator
{
    transform: translateX(calc(63px * 10));
}

.navigation ul li:nth-child(12).active ~ .indicator
{
    transform: translateX(calc(63px * 11));
}

.blog {
    width:28px;
    height:28px;
}

.mobile_container {
    display:none;
}

.menu-container {
    display: none;
}

/* 메인내용 */
main {
    width: 100%;
    padding-top: 100px;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.contents {
    position: relative;
    width: 600px;
    margin: 0 auto;
    background: transparent;
    border: 2px solid #FFF;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    justify-content: center;
    align-items: center;
    color: #FFF;
    padding: 20px;
    overflow: hidden;
}

.contents h4 {
    padding-bottom:10px;
}

.contents > p {
    max-width: 500px;
    margin: 0 auto;
    font-size: 1.25em;
}

.contents .menu-info {
    margin: 0 auto;
}

.contents .menu-info li {
    text-align: left;
    list-style-position: inside;
    text-indent: 10px;
    font-size: 1.0rem;
}

.contents .menu-info li .comment {
    color: #d7ff00;
    font-size: 0.8rem;
}

#choice_game_tiems {
    font-size:1.0em;
}

.input-group-text {
    font-size: 1.0em;
}

.mobile-info {
    display: none;
}

@media screen and (max-width: 768px) {

    body {
        flex-direction: column;
        row-gap: 40px;
        margin-top: 0px;
        overflow: hidden;
        overflow-y: auto;
        /*overflow: hidden;*/
        width: 100%;
        box-sizing: border-box;
    }

    header {
        display:none;
    }

    main {
        padding-top: 50px;
        overflow: auto;
        width: 100%;
        height: 80vh;
    }

    .contents {
        width: 90%;
        font-size: 0.72em;
        line-height: 20px;
        text-align: justify;
    }

    .contents h4 {
        font-size: 1.25em;
        padding-bottom: 0px;
    }

    .choose_number {
        top: 15%;
        left:15%;
    }

    .total {
        font-size: 0.8rem;
    }

    /* 상단메뉴 영역 - S */
    .menu-container {
        display: flex;
        flex-direction: row;
        align-content: flex-start;
        background: rgba(0, 0, 0, .85);
        color: #fff;
        padding: 0 10px;
    }

    .menu-container > div {
        width: 50%;
    }

    h2.logo {
        display: block;
        width: 50px;
    }

    h2.logo > img {
        width: 50px;
        height: 50px;
    }

    input[id="chk_menu_enable"] {
        display: none;
    }

    .blog {
        width: 28px;
        height: 28px;
    }

    .logo {
        padding-top: 4px;
    }

    /* 햄버그 버튼 처리 - S */
    .menu {
        display: inline-flex;
        justify-content: flex-end;
    }

    .btn-menu {
    }

    .menu-hamburger {
        display: block;
        position: relative;
        width: 24px;
        height: 2px;
        top: 50%;
        background-color: #ffffff;
        border-radius: 5px;
        transition: all 0.5s ease;
        z-index: 2;
    }

    .menu-hamburger::before,
    .menu-hamburger::after {
        content: "";
        display: block;
        position: relative;
        width: 24px;
        height: 2px;
        background: #ffffff;
        border-radius: 5px;
        transition: all 0.5s ease;
        z-index: 2;
    }

    .menu-hamburger::before {
        transform: translateY(-8px);
    }

    .menu-hamburger::after {
        transform: translateY(6px);
    }

    input[id="chk_menu_enable"]:checked + label > .menu-hamburger {
        background: transparent;
        transform: translateX(-50px);
    }

    input[id="chk_menu_enable"]:checked + label > .menu-hamburger::before {
        transform: rotate(46deg) translate(35px, -35px);
    }

    input[id="chk_menu_enable"]:checked + label > .menu-hamburger::after {
        transform: rotate(-46deg) translate(35px, 35px);
    }

    input[id="chk_menu_enable"]:checked + label + ul.menu-items {
        transform: translateX(-150px);
    }
    /* 햄버그 버튼 처리 - E */

    /* 모바일 전용 메뉴 - S */
    ul.menu-items {
        background: rgba(0, 0, 0, .85);
        position: fixed;
        left: 100%;
        height: 90%;
        width: 40%;
        top: 62px;
        transition: all 0.5s ease-in-out;
        z-index: 1;
    }

    ul.menu-items li {
        cursor: pointer;
        padding: 10px 10px;
        transition: all 0.2s ease;
        width: 150px;
    }

    ul.menu-items li:hover {
        letter-spacing: 2px;
        opacity: 0.6;
    }

    ul.menu-items li a .icon {
        color: #fff;
    }

    ul.menu-items li a .text {
        color: #fff;
        font-weight: 800;
        font-size: 0.9rem;
        letter-spacing: 0.05em;
        vertical-align: top;
    }

    ul.menu-items li.active a .text {
        color: #0f0;
        font-weight: 800;
        font-size: 0.95rem;
        letter-spacing: 0.05rem;
        vertical-align: top;
    }

    /* 모바일 전용 메뉴 - E */

    /* 상단메뉴 영역 - E */

    .contents h3 {
        font-size: 1.2rem;
    }

    .contents .menu-info li .comment {
        font-size: 0.65rem;
    }

    .mobile-info {
        font-size: 0.7rem;
        display: inline-block;
    }

    h3.title {
        font-size: 1.5rem;
    }
}

