@charset "UTF-8";

html {
    /* 根元素設定為10px 一般browser標準為16px */
    font-size: 62.5%;
}

body {
    font-family: 'Audiowide','微軟正黑體', cursive;
    margin:30px 30px 30px;
    font-weight: normal;
    /* body字型設定12px */
    font-size: 1.6rem;
    box-sizing: border-box;
}

a:link,
a:visited,
a:active {
    color:#6FAAEC ;
    text-decoration: none;
}

button {
    outline: none;
}

li {
    list-style-type: none;
}
header{
    font-size: 3rem;
    font-family: 'Montserrat','微軟正黑體'   , sans-serif;
    width:100%;
    height:100px;
    border-top:1px solid #D7D7D7;
    border-bottom:1px solid #D7D7D7;
    margin-bottom: 5px;
    text-align: center;
    font-weight: bold;
}


.flex-container{
    display: flex;
}
.loading-effect{
    display:flex;
    width:100%;
    height:800px;
    justify-content: center;
    background-image: url("../img/fake_brick.png");     }
.loadingImg{
    display: flex;
    margin:auto;
    width:820px;
    height:600px;
    justify-content: center;
    text-align: center;
}
.orz{
    font-size:7rem;
    color:white;
    align-self:center;
    text-shadow:
    1px 1px #53F753,
    3px 3px #53F753,
    5px 5px 20px #C8FFC8;
}
.KH{
    position: absolute;
    width:800px;
    height:600px;
    background: url("../img/KH1.JPG") 50% no-repeat;
    -webkit-background-size:cover;
    background-size:cover;
    align-self: center;
    display: none;          
}
.btn_loading{
    position: absolute;
    width:200px;
    height:50px;
    top:855px;
    background-color: transparent;  
    color:#53F753;
    border:2px solid #53F753;
    outline:none;
    cursor: pointer;                    
}
.btn_loading:hover{
    background-color:#53F753;
    color:black;
}
.btn_loading:before{
    content:"看圖片(載入完畢後方有效)";
}
.btn_loading.active:before{
    content:"切換「載入中...」小動畫";        
}       
.desc{
    display:flex;
    flex-wrap: nowrap;
    width:100%;
    margin:0 auto;
    justify-content: center;
    text-align: center;
}
.desc-orz,.desc-kh{
    display: flex;
    flex-wrap: wrap;
    flex-flow: column;
    padding:50px;
    width:50%;          
}
.desc-kh{
    background-color: #E3F4F9;
}
.desc-kh img{
    display: flex;
    align-self: center;

}
.desc-orz{
    background-color: #E4E4E4;
}

.desc-orz>p,.desc-kh>p{
    font-family: 'Montserrat','微軟正黑體'   , sans-serif;
    font-size: 2rem;
    font-weight: bold;
    margin:30px auto 20px; 
    padding:8px;          
}
.desc-orz>p{
    display: block;
    border-bottom:1px #858585 solid;
}
.desc-kh>p{
    display: block;
    border-bottom: 1px #3562B6 solid;  
}
.desc-orz>article,.desc-kh>article{
    font-family: 'Montserrat','微軟正黑體'   , sans-serif;
    line-height: 2.2rem;
    text-align: justify;
    color: #7F7F7F;
    padding:15px;
}

#desc-orz-img p{
    width:100px;
    color:white;
    text-shadow:
    1px 1px #53F753,
    2px 2px #53F753,
    3px 3px 6px #C8FFC8;
    font-size: 1.8rem;        
}
#desc-orz-img {
    display: flex;
    align-items: center;
    align-self: center;         
    width:100px;    
    height:100px;
    overflow:hidden;
    background-color:black;
    background:url("../img/02.png");
    -moz-animation:desc-kh-img  2s steps(11,end) infinite;
    -webkit-animation:desc-kh-img  2s steps(11,end) infinite;
    animation:desc-kh-img  2s steps(11,end) infinite;
}
@-moz-keyframes desc-kh-img {
    100% {background-position:-1100px;}
}
@-webkit-keyframes desc-kh-img {
    100% {background-position:-1100px;}
}
@keyframes desc-kh-img {
    100% {background-position:-1100px;}
}
}


.dock {
    width: 350px;
    position: relative;
    margin: 10px auto;
    text-align: center;
}

.dock ul {
    margin: auto;
    width: 100%;
    padding: 0;
}

.dock>ul>li {
    display: inline-block;
}

.dock>ul>li a {
    display: inline-block;
    margin: 20px 20px;
    font-size: 4rem;
    color: #f1b400;
    border: 1px solid #f1b400;
    padding: 5px;
    font-weight: 300;
    transition: all 0.5s;
}

.dock>ul>li a:hover {
    display: inline-block;
    font-size: 7rem;
    margin-top: -30px;
}
footer{
    font-family: 'Montserrat','微軟正黑體'   , sans-serif;
    text-align: right;    
    margin-top: 5px;
    padding:10px 6px;
    width:100%;
    border-bottom:1px solid #D7D7D7;
    box-sizing: border-box;

}




/* smart phone setting */


/*ipad*/

@media (max-width: 1024px) {
    body {
        background-image: none;

    }
}


/*other smart device*/

@media (max-width: 768px) {
    body{
        margin:0;
        box-sizing: border-box;
    }
    .flex-container,.loading-effect,.loadingImg,.desc-orz.flex-container,.desc-kh.flex-container{
        display: flex;
        flex-flow: column wrap;
        -webkit-flex-flow:column wrap; 
        padding:10px;
        width:100%;
        justify-content: center;
        align-content: center; 
        padding:20px 0;         
    }
    .flex-container{
        padding-top:0;
    }    
    .loading-effect{
        height:500px;   
    }
    .orz{
        font-size:3.6rem;
        color:white;
        align-self:center;
        text-shadow:
        1px 1px #53F753,
        2px 2px #53F753,
        3px 3px 18px #C8FFC8;
    }
    .KH{        
        width:350px;
        height:200px;
    }
    .btn_loading{
        top:530px;
        align-self: center;
    }



        
}