@font-face {
  font-family: Circe; 
  src: url("font/Circe-Light.ttf") format("truetype");
}

::-webkit-scrollbar {
  width: 0;
}

*{
    margin: 0;
    padding: 0;
    font-family: Circe;
}

body{
    background-color: #4F5A6E;
    text-align: center;
    vertical-align: middle;
}

#notify {
    display: none;
}

#start{
    width: 100%;
}

#desc{
    width: 60%;
    margin-top: 10%;
    margin-bottom: 3%;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.5vw;
    color: #FFFFFF
}

#one-minute{
    font-weight: bolder;
    color: coral;
}

#play{
    font-size: 4.8vw;
    padding: 0.5% 4% 0.5% 4%;
    border-radius: 20px;
    border: none;
    width: 25%;
    height: 16%;
    background-color: #79CF77;
    color: #FFFFFF;
    outline:none;
    cursor: pointer;
    margin-bottom: 1%;
}

#hint{
    color: #FFFFFF;
}

#egg {
    display: none;
}

.time {
    position: fixed;
    top: 0;
    right: 0;
    overflow: hidden;
    z-index: 2;
    width: 20%;
    font-size: 3.1vw;
    font-weight: bold;
    margin-top: 4%;
    color: red;
}

#wrng{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: 3;
    width: 100%;
    height: auto;
    background: url(wrng.png) no-repeat;
    background-size: cover;
    display: none;
}

#wrng-desc{
    font-size: 1.77vw;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 36%;
    font-weight: bold;
    color: white;
    background-color: red;
}

.restart{
    font-size: 1.8vw;
    font-weight: bold;
    border: none;
    width: 550px;
    height: 9%;
    color: #FFFF00;
    position: fixed;
    bottom: 2%;
    left: 50%;
    margin-left: -275px;
}

.restart-mobile {
    display: none;
}

.next {
    display: block;
    border: none;
    border-radius: 15px;;
    width: 30%;
    position: fixed;
    bottom: 10%;
    left: 35%;
    background: #FFFFFF;
}

.next a{
    font-size: 2.8vw;
    font-weight: bold;
    padding: 1% 0%;
    color: #000000;
    text-decoration: none;
    overflow: hidden;
}

#finish{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: 3;
    width: 100%;
    height: auto;
    background: url(finish.png) no-repeat;
    background-size: cover;
    display: none;
}

#finish .restart {
    top: 280px;
}

#smoke {
    width: 100%;
    height: auto;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: 3;
    background: url(smoke.jpg) no-repeat;
    background-size: cover;
    display: none;
}

#video-bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: 2;
    background: url(v1.mp4) no-repeat;
    background-size: contain;
    display: none;
}

#chs {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: none;
}

#ch1 {
    position: absolute;
    z-index: 2;
    top: 58%;
    left: -4%;
    display: none;
}

#chs button {
    border: none;
    outline: none;
    cursor: pointer;
    background: none;
}

#ch1 button {
    width: 15%;
    vertical-align: top;
}

#ch1 button img {
    width: 100%;
}

#ch2 {
    background-color: none;
    width: 100%;
    height: 100%;
    display: none;
}

#stac {
    width: 45%;
    position: absolute;
    z-index: 2;
    top: 10.5%;
    left:31.5%;
}

.ch2-bs {
    width: 25%;
}

.ch2-bs img {
    width: 100%;
}

#smart{
    width: 17.5%;
    position: absolute;
    z-index: 2;
    top: 32.5%;
    right: 7.1%;
}

.ch2-bm {
    width: 100%;
    margin-bottom: 4%;
    z-index: 3;
}

.ch2-bm img {
    width: 100%;
}

#stac-tel1{
    width: 80%;
    margin-top: 0%;
}

#smart-tel2{
    width: 26.5%;
    position: absolute;
    top: 15%;
    right: 2.5%;
    z-index: 1;
}

#ch3 {
    position: absolute;
    z-index: 2;
    top: 58%;
    left: -5%;
    display: none;
}

#ch3 button {
    width: 17%;
    vertical-align: top;
}

#ch3 button img {
    width: 100%;
}

#ch4 {
    position: absolute;
    z-index: 2;
    top: 9%;
    left: 2%;
    display: none;
}

#ch4 button {
    width: 25%;
    vertical-align: top;
}

#ch4 button img {
    width: 100%;
}

#ch5 {
    position: absolute;
    z-index: 2;
    width: 70%;
    top: 5%;
    left: 5%;
    display: none;
}

#ch5-1 {
    width: 25%;
    vertical-align: top;
}

#ch5 button img {
    width: 100%;
}

#ch5-2{
    width: 35%;
}

#mobile-question {
    display: none;
}

#tablet-question {
    display: none;
}

@media screen and (max-width: 740px) and (max-height: 360px) {
    #desc {
        margin-top: 1%;
        font-size: 2vw;
        width: 90%;
    }
    
    br{
        line-height: 1;
    }
    
    #mobile-question {
        display: none;
        font-size: 2.3vw;
    }
    
    #video-bg {
        width: 87%;
    }
    
    #v1 {
        width: 102.4%;
    }
    
    .time {
        width: 13%;
    }
    
    #stac-tel1{
        width: 70%;
        margin-top: 0%;
    }

    #smart-tel2{
        width: 25%;
        position: absolute;
        top: 11%;
        right: 3.45%;
        z-index: 1;
    }
    
    #ch3 {
        top: 50%;
        left: -12%;
    }
    
    #ch1 {
        top: 56%;
        left: -5%;
    }
    
    #ch5 {
        top: 2%;
    }
    
    .restart {
        display: none
    }
    
    #ch4 {
        top: 0%;
        left: -22%;
    }
    
    #ch4 button {
        width: 19%;
    }
    
    #wrng {
        background-position: center;
    }
    
    #wrng-desc{
        margin-top: 29%;
    }
    
    .restart-mobile {
        display: block;
        font-size: 2.8vw;
        font-weight: bold;
        border: none;
        border-radius: 15px;;
        width: 30%;
        padding: 1% 0%;
        color: #000000;
        position: fixed;
        bottom: 5%;
        left: 35%;
        background: #FFFFFF;
    }

    .next {
        display: none;
    }
    
    .restart-mobile a{
        font-size: 2.8vw;
        font-weight: bold;
        padding: 1% 0%;
        color: #000000;
        text-decoration: none;
        overflow: hidden;
    }
}

@media screen and (max-width: 850px) and (max-height: 400px) {
    #desc {
        margin-top: 1%;
        font-size: 2vw;
        width: 90%;
    }
    
    br{
        line-height: 1;
    }
    
    #mobile-question {
        display: none;
        font-size: 2.3vw;
    }
    
    #video-bg {
        width: 86%;
        top: -2%;
    }
    
    .time {
        width: 14%;
    }
    
    #stac-tel1{
        width: 70%;
        margin-top: 0%;
    }

    #smart-tel2{
        width: 25%;
        position: absolute;
        top: 11%;
        right: 3.45%;
        z-index: 1;
    }
    
    #ch3 {
        top: 50%;
        left: -12%;
    }
    
    #ch1 {
        top: 56%;
        left: -5%;
    }
    
    #ch5 {
        top: 0;
        left: 3%;
    }
    
    .restart {
        display: none
    }
    
    #ch4 {
        top: 0%;
        left: -22%;
    }
    
    #ch4 button {
        width: 19%;
    }
    
    #wrng {
        background-position: center;
    }
    
    #wrng-desc{
        margin-top: 29%;
    }
    
    .restart-mobile {
        display: block;
        font-size: 2.8vw;
        font-weight: bold;
        border: none;
        border-radius: 15px;;
        width: 30%;
        padding: 1% 0%;
        color: #000000;
        position: fixed;
        bottom: 5%;
        left: 35%;
        background: #FFFFFF;
    }

    .next {
        display: none;
    }
    
    .restart-mobile a{
        font-size: 2.8vw;
        font-weight: bold;
        padding: 1% 0%;
        color: #000000;
        text-decoration: none;
        overflow: hidden;
    }
}

@media screen and (max-width: 660px) and (max-height: 300px) {
    #desc {
        margin-top: 1%;
        font-size: 2vw;
        width: 90%;
    }
    
    br{
        line-height: 1;
    }
    
    #mobile-question {
        display: none;
        font-size: 2.3vw;
    }
    
    #video-bg {
        width: 80%;
        top: -2%;
    }
    
    #v1 {
        width: 100%;
    }
    
    .time {
        width: 20%;
    }
    
    #stac {
        left: 16%;
        top: 4%;
    }
    
    #smart {
        right: 23.5%;
    }
    
    #stac-tel1{
        width: 70%;
        margin-top: 0%;
    }

    #smart-tel2{
        width: 25%;
        position: absolute;
        top: 4%;
        right: 20%;
        z-index: 1;
    }
    
    #ch3 {
        top: 50%;
        left: -12%;
    }
    
    #ch1 {
        top: 51%;
        left: 0%;
    }
    
    #ch1 button {
        width: 17%;
    }
    
    #ch2 {
        
    }
    
    #ch5 {
        top: 0;
        left: 3%;
    }
    
    .restart {
        display: none
    }
    
    #ch4 {
        top: 0%;
        left: -22%;
    }
    
    #ch4 button {
        width: 19%;
    }
    
    #wrng {
        background-position: center;
    }
    
    #wrng-desc{
        margin-top: 29%;
    }
    
    .restart-mobile {
        display: block;
        font-size: 2.8vw;
        font-weight: bold;
        border: none;
        border-radius: 15px;;
        width: 30%;
        padding: 1% 0%;
        color: #000000;
        position: fixed;
        bottom: 5%;
        left: 35%;
        background: #FFFFFF;
    }

    .next {
        display: none;
    }
    
    .restart-mobile a{
        font-size: 2.8vw;
        font-weight: bold;
        padding: 1% 0%;
        color: #000000;
        text-decoration: none;
        overflow: hidden;
    }
}

@media screen and (max-width: 920px) and (max-height: 420px) {
    #desc {
        margin-top: 1%;
        font-size: 2vw;
        width: 90%;
    }
    
    br{
        line-height: 1;
    }
    
    #mobile-question {
        display: none;
        font-size: 2.3vw;
    }
    
    #video-bg {
        width: 82%;
        top: -2%;
    }
    
    #v1 {
        width: 100%;
    }
    
    .time {
        width: 18%;
    }
    
    #stac {
        left: 16%;
        top: 4%;
    }
    
    #smart {
        right: 23.5%;
    }
    
    #stac-tel1{
        width: 70%;
        margin-top: 0%;
    }

    #smart-tel2{
        width: 25%;
        position: absolute;
        top: 4%;
        right: 20%;
        z-index: 1;
    }
    
    #ch3 {
        top: 50%;
        left: -12%;
    }
    
    #ch1 {
        top: 51%;
        left: 0%;
    }
    
    #ch1 button {
        width: 17%;
    }
    
    #ch2 {
        
    }
    
    #ch5 {
        top: 0;
        left: 3%;
    }
    
    .restart {
        display: none
    }
    
    #ch4 {
        top: 0%;
        left: -15%;
    }
    
    #ch4 button {
        width: 19%;
    }
    
    #wrng {
        background-position: center;
    }
    
    #wrng-desc{
        margin-top: 29%;
    }
    
    .restart-mobile {
        display: block;
        font-size: 2.8vw;
        font-weight: bold;
        border: none;
        border-radius: 15px;;
        width: 30%;
        padding: 1% 0%;
        color: #000000;
        position: fixed;
        bottom: 5%;
        left: 35%;
        background: #FFFFFF;
    }

    .next {
        display: none;
    }
    
    .restart-mobile a{
        font-size: 2.8vw;
        font-weight: bold;
        padding: 1% 0%;
        color: #000000;
        text-decoration: none;
        overflow: hidden;
    }
}


@media screen and (max-width: 1180px) and (min-width: 1000px){
    #tablet-question {
        display: none;
        font-size: 3vw;
    }
    
    #desc {
        margin-top: 7%;
        font-size: 2vw;
        width: 90%;
    }
    
    #hint {
        font-size: 3vw;
    }
    
    #play {
        padding: 2% 6% 2% 6%;
        width: auto;
        height: auto;
        font-size: 7vw;
        border-radius: 30px;
        margin-top: 1%;
    }
    
    #video-bg {
        width: 100%;
    }
    
    .time {
        width: 100%;
        bottom: 6%;
        top: auto;
    }
    
    #stac-tel1{
        width: 70%;
        margin-top: 0%;
    }

    #smart-tel2{
        width: 25%;
        position: absolute;
        top: 11%;
        right: 3.45%;
        z-index: 1;
    }
    
    #smart{
        top: 25%;
        right: 7.1%;
    }
    
    #ch1 {
        top: 47%;
        left: -3%;
    }
    
    #ch3 {
        top: 44%;
        left: -10%;
    }
    
    #smoke {
        background-position: center;
    }
    
    #wrng {
        background-position: center;
    }
    
    #ch4 {
        top: 0%;
        left: -10%;
    }
    
    #wrng-desc{
        margin-top: 42.2%;
    }
    
    .restart {
        display: none; 
    }
    
    .restart-mobile {
        display: block;
        font-size: 2.8vw;
        font-weight: bold;
        border: none;
        border-radius: 15px;;
        width: 30%;
        padding: 1% 0%;
        color: #000000;
        position: fixed;
        bottom: 5%;
        left: 35%;
        background: #FFFFFF;
    }

    .next {
        display: none;
    }
    
    .restart-mobile a{
        font-size: 2.8vw;
        font-weight: bold;
        padding: 1% 0%;
        color: #000000;
        text-decoration: none;
        overflow: hidden;
    }
}

@media screen and (max-width: 300px) and (max-height: 660px) {
    #notify {
        display: block;
        position: absolute;
        top: 0;
        text-align: center;
        vertical-align: middle;
        width: 100%;
        height: 100%;
        z-index: 100;
        background-color: #666666;
        color: #FFFFFF;
        font-weight: bold;
        font-size: 2em;
        overflow: hidden;
        padding-top: 15%;
    }
}

@media screen and (max-width: 400px) and (max-height: 850px) {
    #notify {
        display: block;
        position: absolute;
        top: 0;
        text-align: center;
        vertical-align: middle;
        width: 100%;
        height: 100%;
        z-index: 100;
        background-color: #666666;
        color: #FFFFFF;
        font-weight: bold;
        font-size: 2em;
        overflow: hidden;
        padding-top: 15%;
    }
}

@media screen and (max-width: 420px) and (max-height: 920px) {
    #notify {
        display: block;
        position: absolute;
        top: 0;
        text-align: center;
        vertical-align: middle;
        width: 100%;
        height: 100%;
        z-index: 100;
        background-color: #666666;
        color: #FFFFFF;
        font-weight: bold;
        font-size: 2em;
        overflow: hidden;
        padding-top: 15%;
    }
}

@media screen and (max-width: 820px) and (min-height: 1000px) {
    #notify {
        display: block;
        position: absolute;
        top: 0;
        text-align: center;
        vertical-align: middle;
        width: 100%;
        height: 100%;
        z-index: 100;
        background-color: #666666;
        color: #FFFFFF;
        font-weight: bold;
        font-size: 2em;
        overflow: hidden;
        padding-top: 15%;
    }

    .next {
        display: none;
    }
    
    .restart-mobile a{
        font-size: 2.8vw;
        font-weight: bold;
        padding: 1% 0%;
        color: #000000;
        text-decoration: none;
        overflow: hidden;
    }
}