/*** Web Font ***/
@font-face {
    font-family: 'HW Cigars';
    font-style: normal;
    font-weight: normal;
    src: url('../font/HW-Cigars-Light.woff') format('woff'),
        url('../font/HW-Cigars-Light.woff2') format('woff2');
}

@font-face {
    font-family: 'HW Cigars';
    font-style: normal;
    font-weight: bold;
    src: url('../font/HW-Cigars-Medium.woff') format('woff'),
        url('../font/HW-Cigars-Medium.woff2') format('woff2');
}

/*** Base Element ***/
html,
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td,
img {
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'HW Cigars', 'Times New Roman', Times, 'Batang', serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.4em;
    letter-spacing: 0.02em;
    vertical-align: baseline;
    color: #000;
    background: #fff;
    word-break: break-word;
    text-size-adjust: none;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    cursor: default;
    overflow: auto;
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
}

::selection {
    background: #000;
    color: #fff;
}

::-moz-selection {
    background: #000;
    color: #fff;
}

::-webkit-selection {
    background: #000;
    color: #fff;
}

a {
    text-decoration: none;
    color: #000;
    outline: none;
    cursor: pointer;
}

a:hover {
    text-decoration: none;
    color: #ffc600;
    outline: none;
    cursor: pointer;
}

a[href^="tel"],
a[x-apple-data-detectors] {
    color: inherit !important;
    text-decoration: none !important;
    font-size: inherit !important;
    font-family: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}

img {
    border: none;
    outline: none;
}

/* time bar */
.time_bar_wrap {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.time_bar_wrap .time_bar {
    position: relative;
    width: 100%;
    height: 100%;
}

.time_bar_wrap .fill_mask {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.time_bar_wrap .fill_mask .current_time_line {
    content: '';
    display: inline-block;
    height: 100%;
    position: fixed;
    top: 0;
    cursor: col-resize;
    transition: height 2s;
    padding: 0 15px;
    margin-left: -15px;
    z-index: 9;
}

.time_bar_wrap .fill_mask .current_time_line .current_time_line_inner {
    background-color: #ffc600;
    width: 1px;
    height: 100%;
    display: block;
    opacity: 0.85;
}

.time_bar_wrap .fill {
    width: 100vw;
    height: 100%;
    position: relative;
    background-color: #fff;
    background-image: url(../img/dot_dark.svg);
    background-repeat: repeat;
    background-size: 4px auto;
}

body.dark .time_bar_wrap .fill {
    background-color: #111;
    background-image: url(../img/dot_light.svg);
    background-repeat: repeat;
    background-size: 4px auto;
    opacity: 0.8;
}

.time_bar_wrap .fill_working {
    width: 20px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.time_bar_wrap .fill_working .bar {
    width: 100%;
    height: 100%;
    background: #fff;
    transition: width .8s;
}

body.dark .time_bar_wrap .fill_working .bar {
    background: #111;
}

.time_bar_wrap .fill_lunch {
    width: 20px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(../img/dot_dark.svg);
    background-repeat: repeat;
    background-size: 4px auto;
    opacity: 0.8;
}

body.dark .time_bar_wrap .fill_lunch {
    background: #111;
    background-image: url(../img/dot_light.svg);
    background-repeat: repeat;
    background-size: 4px auto;
}

#dinner_clock {
    display: inline-block;
}

#dinner_clock_analog {
    position: fixed;
    bottom: 15%;
    right: 15%;
    border-radius: 50%;
    background:
        linear-gradient(30deg, transparent 50%, #f7f7f7 50%),
        linear-gradient(120deg, transparent 50%, #f7f7f7 50%),
        linear-gradient(to left, #f7f7f7 50%, transparent 50%);
    width: 150px;
    height: 150px;
    transition: all .7s;
    display: none;
}

#dinner_clock_analog .clock_hour {
    display: none;
    position: absolute;
    height: 152px;
    /* width: 4px; */
    /* background: #000; */
    top: 50%;
    left: calc(50% - 2px);
    transform-origin: top;
    transform: rotate(30deg);
    transition: all .7s;

}

#dinner_clock_analog .clock_minute {
    display: none;
    position: absolute;
    height: 152px;
    /* width: 4px; */
    /* background: #000; */
    top: 50%;
    left: calc(50% - 2px);
    transform-origin: top;
    transform: rotate(120deg);
    transition: all .7s;
}

#dinner_clock_analog .point {
    display: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
    background-color: #000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all .7s;
}

#dinner_clock_analog .current_time_line {
    position: absolute;
    height: 50px;
    width: 2px;
    background: #ffc600;
    top: 50%;
    left: calc(50% - 1px);
    transform-origin: top;
    transform: rotate(180deg);
    transition: transform 2s;
}

@media only screen and (max-width: 1024px) {
    #dinner_clock_analog {
        width: 100px;
        height: 100px;
        bottom: 10%;
        right: 10%;
    }

    .time_bar_wrap .fill_working .bar {
        background-size: 2px auto;
    }

    body.dark .time_bar_wrap .fill_lunch {
        background-size: 2px auto;
    }
}

/* dark 모드 */
body.dark {
    color: #fff;
    background-color: #000;
}

body.dark a {
    color: #fff;
}

body.dark ::selection {
    background: #fff;
    color: #000;
}

body.dark ::-moz-selection {
    background: #fff;
    color: #000;
}

body.dark ::-webkit-selection {
    background: #fff;
    color: #000;
}

body.dark .bi_w {
    display: inline-block;
}

body.dark .bi {
    display: none;
}

body.dark .time_bar_wrap .fill {
    background-color: #111;
    background-image: url(../img/dot_light.svg);
    background-repeat: repeat;
    background-size: 4px auto;
}

@media screen and (max-width: 1024px) {
    body.dark .time_bar_wrap .fill {
        background-size: 2px auto;
    }
}

/* 근무시간 숨김 시간대 */
#dinner_clock_analog.hiddenWorkingTable {
    background: #fff;
}

body.dark #dinner_clock_analog.hiddenWorkingTable {
    background-color: #000;
}

body.dark #dinner_clock_analog.hiddenWorkingTable .clock_hour {
    background-color: #fff;
}

body.dark #dinner_clock_analog.hiddenWorkingTable .clock_minute {
    background-color: #fff;
}

body.dark #dinner_clock_analog.hiddenWorkingTable .point {
    border: 2px solid #fff;
}

/* 후보정 */
.dinner_wrap {
    width: 100%;
    height: 100%;
    display: flex;
    line-height: 1.1;
    gap: 8rem 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.dinner_wrap .tagline {
    font-size: 6.2rem;
    font-weight: normal;
    display: inline-block;
}

.dinner_wrap .desc {
    font-size: 1.4rem;
    line-height: 1.4;
    text-transform: uppercase;
    word-spacing: 0.2rem;
    display: inline-block;
    opacity: 0.9;
    z-index: 10;
}

.dinner_wrap .desc p:first-child {
    padding-bottom: 0.8rem;
}

@media only screen and (max-width: 1024px) {
    .dinner_wrap {
        padding: 30px 0;
        justify-content: space-between;
    }

    .dinner_wrap .tagline {
        font-size: 2.8rem;
    }

    .dinner_wrap .desc {
        font-size: 1rem;
    }
}


.test {
    background-image: url(https://dinnerateight.kr/img/test.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -9999;
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    opacity: 0;
}

.test2 {
    background-image: url(https://dinnerateight.kr/img/test.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -9999;
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    opacity: 0;
}