:root {
    --orange: #ff7700;
    --orangeC: #b04500;
    --yellow: #ffe842;
    --blue: #1200ff;
}

* {
    box-sizing: border-box;
    font-family: 'Arial', 'Pretendard Variable', sans-serif;
    font-weight: 300;
    word-break: keep-all;
}

.tempo {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background: white;
}

.btn-font {
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    font-weight: 700;
    font-style: normal;
}

html, body {
    margin: 0;
    padding: 0;
    background: black;
}

p, h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}

h2 {
    font-size: 40px;
}

h4 {
    font-size: 40px;
    line-height: 1.4;
}

h5 {
    font-size: 20px;
    line-height: 1.4;
}

h6 {
    font-size: 1.1vw; /*18px*/
    line-height: 1.4;
}


.blue {
    color: var(--blue);
}

.yellow {
    color: var(--yellow);
}

.orange {
    color: var(--orange);
}


/* Flex Half */

.flex-half {
    display: flex;
    justify-content: space-between;
}

.half {
    width: 50%;
    vertical-align: top;
    padding: 20px;
}

/* First Container - Login */

.first-container {
    background-image: url("../bg/start-page.jpg");
    background-size: cover;
    background-position: center;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: none;
    padding: 30px;
}

.first-box {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    
}

.enter-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: calc(100% - 40px);
    border: 2px solid var(--orange);
}

.enter-top-text {
    color: var(--yellow);
}

.enter-timer {
    position: fixed;
    right: 0;
    bottom: 0px;
    padding: 12px 30px 4px 0;
    width: 100%;
    background: black;
    text-align: right;
    height: 70px;
}

.btn-first-enter {
    border-radius: 20px;
    padding: 4px;
    border: 2px solid var(--orange);
    position: absolute;
    left: 50%;
    bottom: 20%;
    transform: translate(-50%, 0);
    background: black;
    text-align: center;
    cursor: pointer;
}

.border-inner {
    width: 100%;
    height: calc(100% - 4px);
    border-radius: 16px;
    padding: 8px 16px;
    border: 2px solid var(--orange);
    display: inline-block;
}

.mirror-container {
    position: fixed;
    left: 50%;
    top: 49%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 1920px;
    display: none;
    line-height: 0;
}

.mirror-img-h {
    width: 100%;
    height: auto;
    z-index: 5;
    position: relative;
}

.mirror-img-v {
    position: absolute;
    width: 100%;
    z-index: 4;
    height: auto;
    left: 0;
    top: 0;
}

.mirror-caution {
    padding: 8px;
    position: absolute;
    background: black;
    border: 2px solid var(--yellow);
    left:50%;
    top: 50%;
    z-index: 6;
    padding: 8px;
}

.caution {
    height: 28px;
    margin-right: 8px;
}

.mirror-caution img, .mirror-caution h5 {
    display: inline-block;
    vertical-align: middle;
}

.video-container {
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
}

video::-webkit-media-controls-play-button {
    display: none !important;
}

#cameraview {
    position: absolute;
    width: 100%;
    z-index: -2;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.mirror-camera-alert {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 4px;
    border: 1px solid var(--yellow);
    z-index: 6;
    background: black;
    display: none;
}

.mirror-camera-alert-inner {
    width: 100%;
    height: 100%;
    border: 1px solid var(--yellow);
    padding: 16px 32px;
    text-align: center;
}

.mirror-camera-alert .flex-half {
    justify-content: center;
}

.mirror-camera-alert .flex-half .half {
    text-align: center;
    width: 35%;
    padding: 20px 0 12px 0;
    margin: 0 8px;
}

.mirror-camera-alert .flex-half .half h6 {
    font-family: "itc-avant-garde-gothic-pro", sans-serif !important;
    font-weight: 700;
    font-style: normal;
    border: 2px solid var(--yellow);
    padding: 8px 16px;
    cursor: pointer;
}

.mirror-ok h6:hover {
    background: var(--yellow);
    color: black;
}

.mirror-no h6:hover {
    background: var(--yellow);
    color: black;
}

.mirror-caution-icon {
    display: inline-block;
    height: 28px;
}

.loading {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
    opacity: 0.7;
    display: none;
}

.access {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
    display: none;
}


.mobile {
    display: none;
}

@media only screen and (max-width: 1440px) {
    .enter-timer {
        font-size: 32px;
        line-height: 0;
        padding: 24px 30px 4px 0;
        height: 50px;
    }
}

@media only screen and (max-width: 1080px) {
    .enter-timer {
        font-size: 26px;
        line-height: 0;
        padding: 23px 30px 10px 0;
        height: 46px;
    }
}

@media only screen and (max-width: 768px) {  
    .mobile {
        display: block;
    }
    
    .desktop {
        display: none;
    }

    h2 {
        font-size: 16px;
    }

    h4 {
        font-size: 16px;
        line-height: 1.4;
    }

    h5 {
        font-size: 14px;
        line-height: 1.4;
    }

    h6 {
        font-size: 12px; /*18px*/
        line-height: 1.4;
    }

    .first-container {
        padding: 16px;
    }

    .enter-container {
        padding: 12px;
    }

    .enter-timer {
        height: 38px;
        font-size: 4vw;
        padding: 20px 17px 10px 0;
    }

    .btn-first-enter {
        bottom: 27%;
        font-size: 24px;
    }

    .border-inner {
        padding: 8px 32px;
    }

    .flex-half {
        display: block;
    }

    .half {
        padding: 0;
        width: 100%;
    }

    .enter-top-text {
        margin-top: 8px;
    }

    .mirror-container {
        width: calc(100% - 70px);
        height: auto;
        top: 50%;
        overflow-x: scroll;
        -ms-overflow-style: none; /* 인터넷 익스플로러 */
        scrollbar-width: none; /* 파이어폭스 */
    }

    .mirror-container:-webkit-scrollbar {
        display: none;
    }

    .loading {
        position: absolute;
        width: auto;
        height: 100%;
        transform: translate(-50%, 0%);
        left: 50%;
        top: 0;
        z-index: 1;
        opacity: 0.7;
    }

    .mirror-img-m {
        width: 100%;
        height: auto;
        z-index: 5;
        position: relative;
    }

    .mirror-caution {
        left: 0;
        top: 0;
    }

    .caution {
        height: 16px;
        margin-right: 0;
    }
    
    #cameraview {
        height: 100%;
        width: auto;
    }

    .mirror-camera-alert {
        width: 78%;
    }

    .mirror-camera-alert-inner {
        padding: 8px;
    }

    .mirror-camera-alert-inner .flex-half {
        display: flex;
    }

    .mirror-camera-alert .flex-half .half h6 {
        padding: 8px 4px;
    }

    .mirror-caution-icon {
        margin: 8px 0;
    }

}