@import url('vendor/animate.css');

html,body {
    background: #000;
    text-align:Center;
    font-family: 'Orbitron', sans-serif !important;
}

#game-area {
    position:relative;
    margin:0 auto;
    max-width: 960px;
    background:#000;
    border-right: 2px solid #fff;
    border-left: 2px solid #fff;
}

#game-info-score {
    position:absolute;
    top: 20;
    left:20;
    font-size:24px;
}

#game-info-life {
    position:absolute;
    bottom: 20;
    left:20;
    width:30px;
    height: 150px;
    opacity: 0.6;
    max-height: 150px;
    background: red;
    color:white;
}
#game-info-sheeld {
    display:none;
    position:absolute;
    bottom: 20;
    left:60;
    width:30px;
    height: 150px;
    opacity: 0.6;
    max-height: 150px;
    background: blue;
    color:white;
}

#game-info-life #life {
    position:relative;
    display:block;
    margin-top: -20px;
}

#game-info-ammo {
    position:absolute;
    top: 20;
    right:20;
}

#game-info-ammo div{
    display:block;
}

#game-info-ammo .ammo-info-bar {
    display:block;
   height:5px;
   background:green;
   max-width:100px;
}

#game-info-ammo .ammo-info-bar-medium {
   display:block;
   height:5px;
   background:orange;
}

.game-info-heading {
    color:#fff;
    margin-bottom:5px;
}

#game-info-lifes-left {
    position:absolute;
    bottom:185px;
    left:20px;;
    color:#fff;
    margin-bottom:5px;
}


#game-info-level-goals{
    display:none;
    position:absolute;
    top: calc(50% - 25%);
    right:50%;
    left: calc(50% - 25%);
    width:auto;
    min-width:50%;
    border: 2px solid #fff;
    border-radius: 10px;

    opacity: 1;
    min-height: 150px;
    background: #ccc;

    color:#000 !important;
    padding: 2px;
}

#game-info-level-goals button{
    margin:20px;
    background: yellow;
    color:#000;
    border:none;
    padding: 10px 20px;
    text-transform: uppercase;
    border-radius: 10px;
    font-family: 'Orbitron', sans-serif;
}

#game-info-ammo .ammo-info-bar-low {
    display:block;
    height:5px;
    background:grey;
 }
#debug-screen {
    background:#fff;
    color:black;
    padding:10px 20px;
    position:absolute;
    display:block;
    left:0;
    right:0;
    width:300px;
    height:400px;
    font-size:10px;
    text-align:left;
    overflow-y: scroll;
}

.game-info-text {
    color:red !important;
}

button {
    position:relative;
    z-index:10;
}

#game-screen {
    z-index:0;
    position:relative;
    border: 1px solid #000;
    margin:0 auto;
    background: url('images/stage/Stars.png') repeat;
    color:white;
    overflow:hidden;
    background-size:cover;
    background-position-y: 0px;


}


#game-screen h1 {
    margin-top:100px;
}


#game-screen h2 {
    color: yellow;
}

#game-screen button {
    border:none;
    background: red;
    padding: 10px 20px;
    color: #FFF;
    text-transform: uppercase;


}

#score-screen {
    position:relative;
    border: 1px solid yellow;
    margin:0 auto;
    font-size:18px;
    padding:10px;
    color:red;
    background:#fff;
    max-width: 960px;
}

#score-screen div {
   margin-left:20px;
   display:inline-block;
   position:relative;

}

#ship-setup-screen {
    z-index:10;
    margin:0 auto;
    position:absolute;
    top: 200px;
    left:0;
    right:0;


    display:none;
 }
 .slot-spot {
    z-index:11;
     width:5px;
     height:5px;
     background:red;
     position:absolute;
 }
 .slot-spot:hover {
    background:green;
    border:white;
}
.slot-spot.selected {
    background:green;
   ;
}

#closeScreen {
    position:absolute;
    top:10px;
    right:10px;

}
#slotOptions {
    margin-bottom:10px;

}
#slotOptions a {
    font-size: 10px;
}
 #ship-setup-screen .wrapper {
    border:5px solid #fff;
    margin: 0 auto;

    background: #ccc;
    padding: 5%;
    position:relative;
    border-radius: 10px;
 }

 #ship-setup-screen .ship-slot {
     border: 1px dashed #ccc;

     width:50px;
     display:block;
     float:left;
     margin-right: 15px;
     margin-bottom: 15px;
 }

 #ship-setup-screen .ship-slot:hover {
    background:#ccc;
}
 #ship-setup-screen .ship-slot.last {
    margin-right: 0;
}



 #ship-setup-screen .ship-slot.selected {
    border: 1px dashed red;
}
#ship-setup-screen .ship-weapon-slot {

    cursor: pointer;

}
#ship-setup-screen .ship-weapon-slot.selected {
    border: 1px dashed red;

}

 .ship-slot-preview {
    background: red;
    height:5px;
    width:5px;
    position:absolute;
    z-index:2;
 }

 #ship-setup-screen #ship-image {
   position:relative;
 }

 #ship-setup-screen #ship-status,
 #ship-setup-screen #ship-weapons {
    width:30%;
    display:block;
    float:left;
}

#ship-setup-screen #ship-weapons {
    width:70%;

}
.clearfix {
    clear:both;
}

#game-over, #life-taken {
    position:absolute;
    top:45%;
    left:0;
    right:0;
    color:red;
}

/** game info */
#game-info-score {
    position:absolute;
    top: 10px;
    left: 10px;
}

/* Actors */

.player {
    width:32px;
    height:60px;
    position:absolute;
    background-position: center center;
    background-size: 100%;
    background-repeat:  no-repeat;
}
.bullet {
    position:absolute;
    background:transparent url('images/bullets/gun.png')  center center no-repeat;
    border-radius: 5px;
    background-size:cover;
}

.bullet-enemy {
    position:absolute;
    width:4px;
    height:4px;
    background: red;
    border-radius: 50%;
}


.text-black {
    color:#000;
}

.text-white {
    color:#fff;
}

.hpdrop {
    position:absolute;
    width:20px;
    height:20px;
    background: url('images/life.png')  center center no-repeat;
    background-size:cover;
}

.ammo {

    z-index:1000;
    position:absolute;
    width:30px;
    height:25px;
    background: url('images/ammo.png')  center center no-repeat;

}

.bomb {
    width:22px;
    height:30px;
    position:absolute;
    background: url('images/bomb.png')  lecenterft center no-repeat;
     background-size: 100%
}

.explosion {
    width:30px;
    height:30px;
    position:absolute;
    background: url('images/explosion.gif')  center center no-repeat;
     background-size: cover;
}

.particles {
    position:absolute;
    width:10px;
    height:10px;
    background:transparent no-repeat center center;
    background-size: cover;
}
.debrie {

    position:absolute;
    border-radius: 20%;
    opacity: 0.8;
    z-index:2;
    background:rgb(27, 20, 20) repeat center center;
}

.gear  {
    position:absolute;
}
#extra_item_actor-1,
#extra_item_actor-2 {
    position:relative;
    height: 100px;
}
.basic-sheeld  {
    background: url('images/sheelds/basic-sheeld.png')  center center no-repeat;
    background-size: cover;
}

.indestructable-sheeld  {
    background: url('images/sheelds/indestructable-sheeld.png')  center center no-repeat;
    z-index:1001;
    opacity:0.5;
    background-size: cover;
}

.asteroid {
    position:absolute;

    border-radius: 10%;
    background:  url('images/asteroid/a_l.png')  center center no-repeat;
    /*  border: 1px solid yellow; */
    background-size: 100%;
}



#game-setup-screen {
    background:#000;
    z-index:100;
    margin:0 auto;
    position:absolute;
    top:0;
    left:0;
    right:0;
    max-width: 960px;
}
.prominent {
    color: yellow;
    font-size:1.5 em;
}

.space {
    margin:0 20px;
}

.controls-box  {
    position:relative;
    width:20px;
    margin:0 auto;
    margin-top:100px;
    margin-bottom: 50px;
}
.controls-box div {
    margin-bottom:20px;
}

.controls-box .arrow-left,
.controls-box .arrow-right,
.controls-box .arrow-up,
.controls-box .arrow-donw {
    display:block;
    position:absolute;
    top:0;
    left:0;
}
.controls-box .arrow-left {
    margin-left:-50px;
}
.controls-box .arrow-right {
    margin-left: 50px;
}
.controls-box .arrow-up {
    margin-top:-50px;
}

.key-info {
    text-align:center;
    margin: 20px 0;
}


.form-group {
    margin-bottom:20px;
}

.form-group label {
    margin-right:20px;
    color:yellow;
}

.form-group input,
.form-group select {
    border: none;
    padding:5px;
    font-family: 'Orbitron', sans-serif;
}

.form-group .number-input {
    width: 80px
}

.form-group .tip {
    color:#FFF;
    display:block;
    font-size: 0.6em;
}
#loader-window {
    position:relative;
    margin-top: 40%;
}

#loading-bg {
    margin:0 auto;
    height: 20px;
    width: 50%;
    position:relative;
    background:gray;
}

#loading-progress {
    position:absolute;
    top:0;
    left:0;
    height: 20px;
    width:0;
    background:yellow;
}

#end-game-screen {
    margin:0 auto;
    z-index: 100;
    padding:20px;
    border-radius: 5px;
    margin:0 auto;
    position:absolute;
    top:20%;
    left:0;
    right:0;
    width: 70%;
    height: auto;
    background: #000;
    border: 2px solid yellow;

}
.ledder-board {
    text-align: 'center';
    width: 100%;

}
.ledder-board tr th {
    color: yellow;
    text-align:center;
}
.ledder-board tr td {
    color: #fff;
    text-align:center;
}

#menu {
    list-style-type:none;
    margin:0;
    padding:0;
}

#menu li {
    cursor:hand;
    margin-bottom: 30px;
}

#menu li.active {
    color: yellow;
}

#namespace_main_menu_screen {
    margin-top:100px;
}

#angle-bar {
    background:black;
    position:relative;
    width:100%;
    border:1px solid #fff;
    height:30px;
    text-align:center;
}



.angle-bar-handle {
    background: green;
    display:inline-block;
    color: #fff;
    width:30px;
    height:30px;
}

#angle-btn-up, #angle-btn-down {
    background:red;
    top:0;
    bottom:0;
    position:absolute;
    width:30px;
    height:30px;
}
#angle-btn-up {
    left:0;
}
#angle-btn-down {
    right:0;
}

a.weapon-option {
    color:red;
    font-size:12px;
}

#level-instructions {
    margin:0 auto;
    z-index: 100;
    padding:20px;
    border-radius: 5px;
    margin:0 auto;
    position:absolute;
    top:20%;
    left:0;
    right:0;
    width: 70%;
    height: auto;
    background: #000;
    border: 2px solid yellow;
}

#game-info-extra {
    position:absolute;
    left: 50px;
    height: 100px;
    width: auto !important;
    bottom: 20px;
    color:#fff;

}

#game-info-extra div{
    display:block;

}

/**
* Mobile controll
*/
#mobile-controlls {
    position:absolute;
    right: 20px;
    bottom: 20px;

}
.button-mobile {
    padding:10px;
    width:auto;
    background:yellow;
    display:block;
    margin-bottom:20px;
}
.button-mobile:hover {
    background:#ccc;
}

#crash-screen {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    opacity:0.5;
    display:none;
    background:black url('images/crash-screen.png') no-repeat center center;
    background-size:cover;
}
#game-goals-progress {
    text-align:left;
    width: 100px;
    position:absolute;
    top: 50px;
    left:20px;
    font-size: 11px;
    color:yellow;
    word-wrap: none;
    word-break: none;
    white-space: nowrap
}

#namespace_ship_setup_sreen {
    position:absolute;
    z-index: 2000;
    background: #000;
    border: 2px solid yellow;
    margin: auto auto;
    left:0;
    right:0;
    top:0;
    bottom:0;
    width: 90%;
    height: 50%;
}
@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}

.row {
    clear:both;
}

.row:after:before {
    clear:both;
}


.col-1, .col-2, .col-3,
.col-4, .col-5,.col-6,
.col-7,.col-8 ,.col-9,
.col-10, .col-11, .col-12 {
    text-align: left;
    display:block;
    float:left;
    padding:0 20px;
    -webkit-box-sizing: border-box !important;
	-moz-box-sizing: border-box !important;
	-ms-box-sizing: border-box !important;
	box-sizing: border-box !important;
}
.col-1 {
    width: 8.3333%;
}

.col-2 {
    width: 9.0909%;
}

.col-3 {
    width: 25%;
}

.col-4 {
    width: 33.3333%;
}

.col-5 {
    width: 41.6666%;
}

.col-6{
    width: 50%;
}

.col-7{
    width: 58.3430;
}

.text-center {
    text-align: center;
}


@media only screen and (max-width: 600px) {
   #namespace_main_menu_screen {
       margin-top: 10px;
       overflow: auto;
       position:absolute;
       height: 100%;
       width:100%;
   }

   #namespace_game_controls_screen p {
        margin:0 !important;
   }

   #namespace_game_controls_screen .controls-box {
        margin:0 !important;
    }

    #namespace_game-setup-screen {
        overflow: auto;
        position:absolute;
        height: 100%;
        width:100%;
    }

    #namespace_top-score-screen {
        margin:0 !important;
        overflow: auto;
        position:absolute;
        height: 100%;
        width:100%;
    }

    #namespace_game_credits_sreen{
        font-size: 0.9em;
        margin:0 !important;
        overflow: auto;
        position:absolute;
        height: 100%;
        width:100%;
        margin-bottom:10px;
    }

    #namespace_top-score-screen h1 {
        font-size: 0.9em;
        margin:0 !important;
        overflow: auto;
        position:absolute;
        height: 100%;
        width:100%;
        margin-bottom:10px;
    }

    #namespace_end-game-screen {
        font-size: 0.9em;
        margin:0 !important;
        overflow: auto;
        position:absolute;
        height: 100%;
        width:100%;
        margin-bottom:10px;
    }

    #namespace_end-game-screen h1 {
        margin-top:0 !important;
    }

    #namespace_level-instructions {

    }

    #level-instructions {
        font-size:0.8em;
        z-index:1001;
        position:fixed;
    }

    .button {
        font-size: 0.8em;
        padding:2px;
    }


    .hide-small {
        display:none;
    }

    #game-info-ammo{
        display:none !important;
    }

  }
#game-version, #last-update {
    position:absolute;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
    color:yellow;
}

#last-update {
    left: 10px !important;
    right: revert;
}