@charset "utf-8"; /* base */ body { margin: 0; padding: 0; } .blind { position: absolute; left: -9999px; width: 1px; height: 1px; font-size: 0; line-height: 0; overflow: hidden; } .mt5 { margin-top: 5%; display: block; } .mt10 { margin-top: 10%; display: block; } .mt20 { margin-top: 20%; display: block; } .mt30 { margin-top: 30%; display: block; } .mt40 { margin-top: 40%; display: block; } .mt50 { margin-top: 50%; display: block; } .mb5 { margin-bottom: 5%; display: block; } .mb10 { margin-bottom: 10%; display: block; } .mb20 { margin-bottom: 20%; display: block; } .mb30 { margin-bottom: 30%; display: block; } .mb40 { margin-bottom: 40%; display: block; } .mb50 { margin-bottom: 50%; display: block; } .pt5 { padding-top: 5%; display: block; } .pt10 { padding-top: 10%; display: block; } .pt20 { padding-top: 20%; display: block; } .pt30 { padding-top: 30%; display: block; } .pt40 { padding-top: 40%; display: block; } .pt50 { padding-top: 50%; display: block; } .pb5 { padding-bottom: 5%; display: block; } .pb10 { padding-bottom: 10%; display: block; } .pb20 { padding-bottom: 20%; display: block; } .pb30 { padding-bottom: 30%; display: block; } .pb40 { padding-bottom: 40%; display: block; } .pb50 { padding-bottom: 50%; display: block; } .pb-66px { padding-bottom: 66px; } .pb-40px { padding-bottom: 40px; } .width100 { width: 100% !important; } .height100 { height: 100% !important; } /* 이전,다음버튼 */ .btn_page { position: absolute; left: 20px; top: 20px; } .btn_page a { display: block; width: 40px; height: 40px; } /* 비디오 */ .video_wrap { display: flex; /* height: calc(100vh - 60px); */ } .poster_intro { width: 100%; background: transparent url('/images/gamification/intro.png') no-repeat 0 0; -webkit-background-size: contain; -moz-background-size: contain; -o-background-size: contain; background-size: contain; background-position: center center; background-color: #333; background-repeat: no-repeat; } /* 수정전 타이틀 있을때 형태 .poster_outro { width: 100%; height: 250px; background: transparent url('/images/gamification/outro.png') no-repeat 0 0; -webkit-background-size: contain; -moz-background-size: contain; -o-background-size: contain; background-size: contain; background-position: center center; background-color: #006837; background-repeat: no-repeat; } */ .poster_outro { width: 100%; background: transparent url('/images/gamification/outro.png') no-repeat 0 0; -webkit-background-size: contain; -moz-background-size: contain; -o-background-size: contain; background-size: contain; background-position: center center; background-color: #333; background-repeat: no-repeat; } .btn_page_both { position: absolute; display: flex; justify-content: space-between; align-items: center; width: calc(100% - 40px); top: 20px; left: 20px; } .btn_set {} .btn_set button { background-color: #fff; letter-spacing: -1px; border-radius: 5px; font-size: 18px; padding: 0; width: 30px; height: 30px; } .btn_page_both a { display: block; width: 40px; height: 40px; } /* 챕터 */ .chapter { display: flex; justify-content: flex-start; } .chapter img { width: 100vw; height: calc(100vh - 66px); max-width: unset; /* 9.css 초기화 */ } .chapter a:focus, .chapter a:focus-visible { border: 0; outline: 0; } /* 퀘스트 */ .quest { background: #333; padding-bottom: 20%; } .quest img { width: 100%; } .quest input { width: 90%; box-sizing: border-box; margin: 5% 5%; padding: 3% 3%; font-size: calc(14px + 0.2vw); } .quest button { width: 100%; border: 0; background: #333; } .quest video { width: 100%; display: table-cell; } /*힌트*/ .hint { background: #333; padding-bottom: 10%; height: calc(100vh - 66px); display: flex; align-content: space-between; flex-wrap: wrap; } .hint img { width: 100%; } /*정답*/ .answer {} .answer img { width: 100%; display: table-cell; } .answer img a { width: 100%; display: table-cell; } .answer video { display: table-cell; } /*스크롤*/ .scroll_w { overflow-x: scroll; } .scroll_h { overflow-y: scroll; } /* tooltip */ .tooltip_btn { position: relative; } .tooltip { width: 155px; padding: 10px; border-radius: 10px; position: absolute; bottom: 150%; left: 50%; transform: translate(-50%, 0); background-color: #000; z-index: 11; display: none; opacity: 1; } .tooltip::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px; border-width: 5px; border-style: solid; border-color: black transparent transparent transparent; } .tooltip .txt { text-align: center; font-size: 16px; font-weight: bold; color: #fff; } /* modal */ .modal-zoom { width: 70%; overflow: hidden; background-color: #fff; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 11; display: none; } .modal-zoom .title { display: table; } .modal-zoom .title img { display: table-cell; } .modal-zoom .con { display: table; } .modal-zoom .con img, .modal-zoom .con a { display: table-cell; } .modal-bg-zoom { width: 100%; height: 100vh; position: fixed; top: 0; left: 0; background-color: #000; opacity: 0.5; z-index: 10; display: none; }