*{
    margin: 0;
    padding: 0;
}
.main{
    width: 100%;
    height: 100vh;
    background: url("images/bg1.jpg") no-repeat; 
    background-size: cover;
    position: relative;
    background-position:0px 0px;

}

#addscore{
    position: absolute;
    right: 20px;
    top: 30px;
    font-size: 24px;
    font-weight: 600;
    color:#f00;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    opacity: 0;
    transition: .3;
}
#hiddenLayer{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: transparent;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
}
#hiddenLayer>h1{
    color:#1F4915;
    font-size: 36px;
    padding-bottom: 30px;
    transition: .3s;
    opacity: 1;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hiddenBtn{
    width: 100px;
    height: 35px;
}
.progressBar{
    width: calc(100% - 2px);
    height: 30px;
    border: 1px #000 solid;
    display: flex;
    position: relative;
    position: absolute;
    overflow: hidden;
    margin: auto;
}
#progressBarNum{
    position: absolute;
    top: 3px;
    left: 49%;
    color:#000;
    display: block;
    z-index: 999;
    font-weight: 600;
    font-size: 18px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
.progressBarItem{
    width: 4%;
    height: 30px;
    background: #BF3434;
}

.qaAll{
    width: 100%;
    height: 100%;
    position: relative;
    position: fixed;
    top: 0;
    right: 0;
    background: rgba(0, 0, 0, .5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999999999;
}
.qa{
    position: absolute;
    top: 270px;
    left: calc(50% - 180px);
    width: 340px;
    height: 280px;
    border:1px #000 solid;
    z-index: 999;
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    font-size: 15px;
}
.qa > p{
    margin-bottom: 10px;
}
.qa > label{
    display: block;
    line-height: 1.8;
   
}

.qa  label >input[type="radio"]{
    font-size: 30px;
    width: 20px;
}
.qa >strong{
   color:#BE3433;
}
.send{
    position: absolute;
    left: 10%;
    bottom: 15px;
    outline: none;
    border:none;
    width: 80%;
    height: 40px;
    margin:auto;
    color:#fff;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    background:#BE3433;
    cursor: pointer;
}
.error{
    color:#f00;
    position: absolute;
    top: 5%;
    left: 20%;
    z-index: 9999;
    opacity: 0;
    transition: .5s;
    display: none;
    text-align: center;
}
.error > i{
    font-size: 3rem;
}
.bingo{
    position: absolute;
    top: 0;
    left: 0;
    color:#A6E224;
    z-index: 9999;
    transition: .5s;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .7);
    display: none;
    opacity: 0;    
    z-index: 99999999999;
}
.bingo > strong{
    width: 300px;
    height: 300px;
    background-color: #fff;
    border-radius: 5px;
    padding: 10px;
    font-size: 18px;
    color:#000;
    font-family: "微軟正黑體";
}
.bingo > input[type="submit"]{
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
}
#player{
    width: 100px;
    height: auto;
    position: absolute;
    bottom: 8%;
    left: 38%;
}
#pass{
    position: fixed;
    top: 0;
    left: 0;
    width:100%;
    height: 100vh;
    background: #FFC9C9;
    color:#1F3864;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 99999999999999999999999;
    display:none;
    opacity: 0;
    transition: 1s;
}
#pass>h1{
    font-size:2.4rem;
    color:#BF3434;
}
#pass >img{
    width: 200px;
    height: 200px;
}
#pass>p{
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
}

#squid{
    width: 200px;
    height: auto;
    position: absolute;
    top: 50px;
    left: 25%;
}
.randomBtn{
    position: relative;
    position: absolute;
    top: 0;
    left: 0;
    width:100%;
    height: 100vh;
    background-color: transparent;
    z-index: 9999999999;
    display: none;
}
.randomBtn a{
    width: 80px;
    height: 80px;
    display: block;
    text-align: center;
    line-height: 80px;
    background-color: #BF3434;
    border-radius: 50%;
    text-decoration: none;
    color:#000;
    font-size: 35px;
    box-shadow: 0 0 20px 5px #1484c4;
}
.randomBtn a i{
    color:#fff;
}
#randomBtn1>a{
    position: absolute;
    top: 210px;
    left:300px;
}
.Satisfaction{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif,"微軟正黑體";
}
.Satisfaction>label{
    font-size: 18px;
    font-weight: 600;
    margin:5px 0;
}

.loading{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, .2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999999999999999999;
    display: none;
}
.loader{
    height: 50px;
    width:50px;
    border:10px solid #63666b;
    border-top-color:#2a88e6;
    position:absolute;
    margin:auto;
    top: 0;
    bottom:0;
    left:0;
    right:0;
    border-radius: 50%;
    animation:spin 1.5s infinite linear;
}



@keyframes spin{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}


.form{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: url("./images/bg1.jpg") no-repeat;
    background-size: cover;
    box-sizing: border-box;
    padding: 10px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99999999999999999999999999999;
    display: none;

}
.form form{
    width: 100%;
    display: flex;
    flex-direction: column;
}
.form form>input{
    margin: 15px 0;
    width: 100%;
    height: 50px;
    border:none;
    outline: none;
    border:1px #ccc solid;
    border-radius: 10px;
    padding: 0 5px;
    box-sizing: border-box;
    font-size: 16px;
}
.form form>input[type="submit"]{
    width: 100%;
    background-color: #BF3434;
    color:#fff;
    font-weight: 600;
    font-size: 18px;
}
.view{
    display: flex;
    flex-direction: column;
}
.Satisfaction{
    background-color: #fff;
    padding: 5px;
    border-radius: 10px;
    box-sizing: border-box;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif,"微軟正黑體";
    margin-bottom: 20px;
}
.Satisfaction>select{
    width: 90%;
    margin: auto;
    height: 40px;
    border:none;
    outline: none;
    border:1px #333 solid;
    border-radius: 5px;
}
@media screen and (min-width:1024px){
    #squid{
        width: 200px;
        height: auto;
        position: absolute;
        top: 50px;
        left: 43%;
    }
    #player{
        left:46%;
    }
    .error{
        color:#f00;
        position: absolute;
        top: 5%;
        left: 42%;
        z-index: 9999;
        opacity: 0;
        transition: .5s;
        display: none;
        text-align: center;
    }
}

@media screen and (max-height:651px){
    #player{
        width: 100px;
        height: auto;
        position: absolute;
        bottom: 3%;
        left: 38%;
    }
    .qa{
        position: absolute;
        top: 250px;
        left: calc(50% - 180px);
        width: 340px;
        height: 280px;
        border:1px #000 solid;
        z-index: 999;
        background-color: #fff;
        padding: 10px;
        border-radius: 5px;
        font-size: 13px;
    }
}