/* stripe */
.masthead.stripe{
    padding: 50px 0px;
}
.long.stripe{
    height: 200px;
}
.short.stripe{
    height: 70px;
}
.real.long.stripe{
    height: 600px;
}

.bg-top{
    height:700px;
    width:100%;
    background: url("img/bg-top.png?3") repeat-x scroll 0% 0%;
}

/* frame & filter */
.frame.background{
    position: absolute;
    top:0;
    bottom:0;
    z-index: 1;
    width: 100%;
}
.frame.filter{
    position: fixed;
    top:0;
    z-index: 2;
    width: 100%;
    height: 100%;
    transition: background-color 0.7s;
    background: rgba(0,0,0,0.1);
}
.frame.curtain{
    position: relative;
    z-index: 3;
}
/* stript and filter color */
.index.stripe .header{
    color: #FFD633 !important;
    text-shadow: 0px 0px 1px #3399FF, 0px 0px 1px #3399FF, 0px 0px 1px #3399FF, 0px 0px 1px #3399FF, 0px 0px 1px #3399FF;
}
.index.stripe h1,.index.stripe h2,.index.stripe h3,.index.stripe h4,.index.stripe h5,.index.stripe i,.index{
    color: #060050 !important;
    
}

.game.stripe .header,.game.stripe h1,.game.stripe h2,.game.stripe h3,.game.stripe h4,.game.stripe h5,.game.stripe i{
    color: #FF6699 !important;
    text-shadow: 0px 0px 8px #FFFFCC;
}
.frame.filter.game{
    background: rgba(86, 237, 255, 0.31);
}

.footer.stripe{
    background: black;
}
.footer.stripe .header{
    color: white;
}

/* header */
@media (min-width: 1050px){
    .ui.header.massive{
        font-size: 5em;
    }
}

/* misc */
.centerized{
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.centerAligned{
    text-align: center !important;
}
.ui.hidable.hidden{
    display:none;
}

@media (min-width: 700px){
    .viewport-height{
        min-height: 100vh;
    }
}

.bg{
    min-width: 100%;
    min-height: 100vh;
}

/* segment */
.ui.homebrew.inverted.segment{
    background: black;
    color: #46f69d !important;
}

/* rwd */
@media (min-width: 700px){
    .visible.on.xs{
        display: none;
    }
}

@media (max-width: 700px){
    .visible.having.sm{
        display: none;
    }
}

@media (max-width: 700px){
    .visible.on.sm{
        display: none;
    }
}

@media (min-width: 1050px){
    .visible.on.sm{
        display: none;
    }
}

@media (max-width: 1050px){
    .visible.on.md{
        display: none;
    }
}

@media (max-width: 1050px){
    .visible.having.md{
        display: none;
    }
}

@media (min-width: 1050px){
    .visible.no.md{
        display: none;
    }
}

@media (min-width: 1400px){
    .visible.on.md{
        display: none;
    }
}

@media (max-width: 1400px){
    .visible.on.lg{
        display: none;
    }
}

@media (min-width: 1400px){
    .visible.no.lg{
        display: none;
    }
}

/* body */
body {
    background: 
    radial-gradient(circle at 100% 50%, transparent 20%, rgba(255,255,255,.3) 21%, rgba(255,255,255,.3) 34%, transparent 35%, transparent),
    radial-gradient(circle at 0% 50%, transparent 20%, rgba(255,255,255,.3) 21%, rgba(255,255,255,.3) 34%, transparent 35%, transparent) 0 -50px;
    background-color: #5EC3E4;
    background-size:75px 100px;
    /*margin: 0;*/
}
/* font */
h1,h2,h3,h4,h5,h6,p,div,input{
    font-family: Arial, "文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "微軟正黑體", "Microsoft JhengHei", "標楷體", DFKai-SB, sans-serif !important;
}

/* some small fix */
.us.ui.label{
    margin-bottom: 10px;
}

/* menu */
#control h2 .header,#control h2 .content,#control h2 i{
    -webkit-transition: color 0.5s,opacity 0.5s;
    -o-transition: color 0.5s,opacity 0.5s;
    transition: color 0.5s,opacity 0.5s;
    cursor:pointer;

}
#control h2:hover .header,#control h2:hover .content,#control h2:hover i{
    color: white !important;
    text-shadow: 0px 0px 10px #000;
    opacity: 0.99 !important;
}
#control{
    position: fixed;
    -webkit-transition: bottom 0.5s;
    -o-transition: bottom 0.5s;
    transition: bottom 0.5s;
    padding-bottom: 20px;
    width: 101%;
    z-index: 10;
    left: 0px;
    bottom: -150px;
}
#control.menued{
    bottom: 0px;
}
#control.menued h2 .header,#control.menued h2 .content,#control.menued h2 i{
    /* opacity: 0.4; */
    color: #060050 !important;
}
#control.menued div.column{
    padding-bottom:0;
}

/* game */
#gamepad{
    position: relative;
    max-width: 800px;
    overflow: hidden;
    box-shadow: 0 0 5px #888;
}
#game_bg{
    width: 100%;
    margin: 5% 0 5% 0;
}
#gamepad .obj{
    position: absolute;
    transition:left 1s,top 1s;
    top: 0%;
    left: 0%;
    width: 12.5%;
}

#gamepad #bacteria.obj{
    z-index: 5;
}

/* document */
.document:not(.presented){
    display: none;
}
.doc{
    font-size: 20px;
}
