@import url(//fonts.googleapis.com/earlyaccess/notosanskr.css);

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Noto Sans KR', HelveticaNeue-Light, AppleSDGothicNeo-Light, 'Malgun Gothic', '맑은 고딕', sans-serif;
    background-color: #fafafa;
}

.blind,
legend {
    overflow: hidden;
    position: absolute;
    width: 1px;
    height: 1px;
    font-size: 12px;
    clip: rect(1px, 1px, 1px, 1px);
}

.cf::after {
    content: '';
    display: table;
    clear: both
}

.wrap {
    max-width: 800px;
    margin: 0 auto;
}

.main,
.sub {
    position: relative;
    min-height: 100%;
}

.logo {
    background-image: url(../img/logo.svg);
    background-repeat: no-repeat;
    background-size: 230px 50px;
    background-position: center bottom;
    width: 230px;
    height: 50px;
    margin: 0 auto;
    padding-top: 8.75rem;
}

.main .icon {
    background-image: url(../img/main_img.svg);
    background-repeat: no-repeat;
    background-size: 188px 184px;
    width: 188px;
    height: 184px;
    left: calc(50% - 94px);
    top: calc(45% - 92px);
    position: absolute;
}

.main_btn {
    display: block;
    color: #fff;
    height: 60px;
    line-height: 60px;
    ;
    font-size: 1.25rem;
    background-color: #00aa7c;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    width: 250px;
    box-shadow: 0 5px 16px 0 rgba(100, 106, 105, 0.4);
    position: absolute;
    left: calc(50% - 125px);
    bottom: 4.0625rem;
}

.sub .sub_tit,
.percentage_tit {
    font-size: 25px;
    position: relative;
    text-align: center;
    padding-bottom: 14px;
    font-weight: 500;
}

.sub .sub_tit {
    color: #080908;
    padding-top: 3.125rem;
    margin-bottom: 3.25rem;
}

.percentage_tit {
    margin-bottom: 2.375rem;
}

.sub .sub_tit:after,
.percentage_tit:after {
    content: '';
    display: block;
    position: absolute;
    width: 28px;
    height: 3px;
    background-color: #00aa7c;
    bottom: 0;
    left: calc(50% - 14px);
}

.sub .sub_input {
    padding-left: 35px;
    padding-right: 35px;
    padding-top: 35px;
}

.sub .sub_input label {
    display: block;
    font-size: 14px;
    color: #666666;
    font-weight: 500;
}

.sub .sub_input input {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #a9b3b1;
    background-color: transparent;
    width: 100%;
    margin-top: 7px;
    line-height: 40px;
    font-size: 18px;
}

.sub .sub_btn {
    color: #fff;
    background-color: #00bb88;
    border: none;
    border-radius: 0;
    font-weight: 700;
    font-size: 20px;
    line-height: 60px;
    width: 100%;
    height: 60px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.iframe_video {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
}

.iframe_video iframe {
    position: absolute;
    width: 100%;
    height: 100%;
}

.stopwatch {
    padding-top: 20px;
    padding-bottom: 80px;
}

.time_box,
.percentage_text {
    border-radius: 50%;
    width: 250px;
    height: 250px;
    border: 3px solid #00bb88;
    position: relative;
    box-shadow: 0 3px 16px 0 rgba(100, 106, 105, 0.4);
    text-align: center;
    margin: 0 auto;
}

.time_box::before,
.percentage_text::before {
    content: '';
    display: block;
    border-radius: 50%;
    width: 233px;
    height: 233px;
    border: 1px solid #eaeaea;
    position: absolute;
    top: 5px;
    left: 5px;
}

.time_box h3 {
    font-size: 12px;
    color: #999999;
    margin-top: 30px;
    padding-bottom: 7px;
    position: relative;
    margin-bottom: 46px;
}

.time_box h3::after {
    content: '';
    width: 16px;
    height: 1px;
    background-color: #00aa7c;
    display: block;
    position: absolute;
    bottom: 0;
    left: calc(50% - 8px);
}

.time_box #time {
    font-size: 54px;
    font-weight: 500;
}

.sw_btn {
    border-radius: 50%;
    background-color: #f8f8f8;
    width: 90px;
    height: 90px;
    border-width: 2px;
    border-style: solid;
    font-size: 20px;
    padding: 4px;
}

.sw_btn span {
    display: block;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    line-height: 78px;
    font-weight: 500;
}

.btn_reset {
    border-color: #e6e6e6;
}

.btn_reset span {
    background-color: #e6e6e6;
    color: #000000;
}

.btn_start {
    border-color: #ade6d6;
}

.btn_start span {
    background-color: #ade6d6;
    color: #004b37;
}

.btn_stop {
    border-color: #fcafaf;
}

.btn_stop span {
    background-color: #fcafaf;
    color: #770000;
}

.sw_left {
    float: left;
    margin-left: 20px;
    margin-top: -10px;
}

.sw_right {
    float: right;
    margin-right: 20px;
    margin-top: -10px;
}

.percentage_box {
    position: absolute;
    left: calc(50% - 155px);
    top: calc(50% - 230px);
}

.percentage_tit {
    color: #999;
    font-weight: 500;
}

.percentage_text {
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 50px;
}

.percentage_text strong {
    font-size: 110px;
    font-weight: 900;
    line-height: 244px;
    display: inline-block;
    letter-spacing: -5px;
}

.percentage_text span {
    width: 30px;
    font-size: 36px;
    font-weight: normal;
    display: inline-block;
    vertical-align: top;
}

.percentage_text em {
    padding-top: 120px;
    display: inline-block;
    padding-left: 5px;
}

.btn_box {
    font-size: 0;
}

.btn_box .btn {
    background-color: #00aa7c;
    font-size: 20px;
    font-weight: 700;
    line-height: 60px;
    height: 60px;
    color: #fff;
    border: none;
    width: 48%;
    min-width: 150px;
}

.btn_box .btn+.btn {
    margin-left: 10px;
}

.modal_box {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal_box .iframe_video {
    margin-top: 60px;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 32px;
    height: 32px;
    opacity: 0.5;
    border: none;
    background-color: transparent;
}

.close:hover {
    opacity: 1;
}

.close:before,
.close:after {
    position: absolute;
    left: 15px;
    top: 0;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #fff;
}

.close:before {
    transform: rotate(45deg);
}

.close:after {
    transform: rotate(-45deg);
}

.modal_box .iframe_video iframe {
    top: calc(50% - 28.125%);
}

.img_box img{
    max-width: 100%;
}

.title{
    background-color: #e8e9e9;
    text-align: center;
    padding: 20px;
    font-size: 1.4rem;
    font-weight: bold;
}