body {
    font-family: 'Orbitron', sans-serif;
    background-color: #080c14 !important;
    color: #c7d5e8;
    margin: 0;
    padding: 0;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
header {
    background-color: #101824;
    padding: 20px 0;
    text-align: center;
    border-bottom: 3px solid #4a8fe2;
}
h1 {
    font-size: 3em;
    color: #4a8fe2;
    margin: 0;
    text-shadow: 0 0 10px #4a8fe2;
}
h1, h2, h3, h4, h5, h6 {margin: 0;}
nav {
    background-color: #1c2838;
    padding: 10px 0;
    position: relative;
    z-index: 1;
}
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}
nav ul li {
    margin: 0 15px;
    position: relative;
}
nav ul li a {
    color: #6bb5ff;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s;
}
nav ul li a:hover {
    color: #ffffff;
    text-shadow: 0 0 5px #6bb5ff;
}
nav ul.sub-menu {
    position: absolute;
    display: none;
    left: 0;
    top: 21px;
    width: 240px;
    background: #1c2838;
}
nav ul.sub-menu ul.sub-menu {
    left: 235px;
    top: 0;
    margin: 0;
    padding: 0;
}
nav li:hover>.sub-menu {
    display: flex;
    flex-direction: column;
    padding: 11px 0;
    box-shadow: 3px 2px 3px 0 rgba(0, 0, 0, .175);
    border-radius: 0 0 10px 10px;
}
nav .sub-menu li:hover {background: #465970;}
nav .sub-menu li {
    margin: 0 1px;
    padding: 0 15px;
}
nav .sub-menu li a {
    line-height: 2;
}
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.menu-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 400px;
    /*width: 600px;*/
}
.menu-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.menu-item:hover img {
    transform: scale(1.05);
}
.menu-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(16, 24, 36, 0.8);
    padding: 15px;
    text-align: center;
}
.menu-item h2 {
    color: #4a8fe2;
    margin: 0;
    font-size: 1.5em;
}
.menu-item p {
    color: #c7d5e8;
    margin: 10px 0 0;
}
.table-items {
    width: 100%;
    position: relative;
    /*display:grid;*/
    /*grid-template-columns: auto auto auto auto auto auto auto auto auto auto auto auto;*/
    /*gap: 2px;*/
    /*grid-auto-rows: 40px;*/
    /*grid-auto-flow: column;*/
}
.table-items th, .table-items td/*, .table-items div*/ {padding: 3px;text-align: center;}
.table-items > div {
    display: flex;
    align-items: center;
    overflow: hidden;
    justify-content: center;
}
.table-items th {position: sticky; background: #000; top: 0;}
/*.table-items .header {background: #000;position: absolute;top:-36px;left: 0;right: 0;padding: 0;width: 1200px;margin: auto;}*/
.table-items .row {display: table-row;}
.table-items .odd {background: #1F3B5C; }
.table-items .even {background: #153152;}
.table-items .name, .table-items .comment {}
.table-items .range {min-width: 100px;}
.table-items .durability, .table-items .lvl {}
.table-items .weight {}
.table-items .cost {flex-direction: column; min-width: 100px;}
.table-items .powerUsage {}
.table-items .damagePerE {min-width: 100px;}
.table-items .cost div {display: flex;}
.table-items .radius, .table-items .firingRate {}
.table-items .image {background: #000;}
.table-items.table-mobs .image img{width: 300px;}
.table-items.table-robots .image img{width: 200px;}

/*.table-items div.header.header_fixed {position: fixed;top:0;}*/

.text-blue {color: #4a8fe2;}
.group-block {padding: 8px 12px; border: 1px solid #a0a0a0; background: #1c2838; border-radius: 16px;}
.flex-block {display: flex; flex-direction: column;}
.flex-block-8 {display: flex; flex-direction: column; gap: 8px;}
.flex-block-16 {display: flex; flex-direction: column; gap: 16px;}
.flex-block-24 {display: flex; flex-direction: column; gap: 24px;}

.flex-line {display: flex;}
.flex-line-8 {display: flex; gap: 8px;}
.flex-line-16 {display: flex; gap: 16px;}

.fieldInput {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid rgba(33, 45, 69, 0.07);
    padding: 4px 8px 4px 12px;
    color: #21242C;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    box-sizing: border-box;
}
.sbmt-btn {
    box-sizing: border-box;
    border-radius: 8px;
    display: flex;
    cursor: pointer;
    text-decoration: none;
    width: max-content;
    color: #21242C;
    font-style: normal;
    font-weight: 500;
    align-items: center;
    font-size: 20px;
    line-height: 20px;
    padding: 8px 12px;
    background-color: #FFFFFF;
    border: 1px solid #b4cbff3d;
}
a:visited {color: #4a8fe2;}
.alert-danger {color: #E83030FF;}
.relative {position: relative;}
.item-count {position: absolute; bottom: 0; right: 0; color: #FFFFFF;}

.product-list {display: flex;flex-wrap: wrap;gap: 25px;}
.product-item {width: 250px;color: #FFFFFF;}

.white-text {color: #FFFFFF;}

.table-items th a {text-decoration: none;}

#stats {
    background-image: url('/images/calc/PnlParamsHero.png');
    height: 750px;
    width: 350px;
    font-size: 14px;
    font-family: Arial, serif;
    gap: 4px;
    background-size: 512px 1024px;
    padding: 0 24px;
}
#stats input {
    display: block;
    width: 40px;
    font-size: 14px;
    border: none;
    padding: 0 4px;
    border-radius: 5px;
    background: #dddd;
    line-height: 14px;
    /*margin-inline-start: auto;*/
}
#stats .statBlock, #robotParamsPanel .statBlock {
    gap: 4px;
}
#robotParamsPanel {
    background-image: url('/images/calc/PnlParamsRobot.png');
    height: 750px;
    width: 350px;
    font-size: 14px;
    font-family: Arial, serif;
    gap: 4px;
    background-size: 512px 1024px;
    padding: 0 24px;
}
#craftPanel {
    background-image: url('/images/craft.png');
    background-repeat: no-repeat;
    height: 437px;
    width: 825px;
    font-size: 14px;
    font-family: Arial, serif;
    gap: 4px;
    background-size: 1024px 512px;
    padding: 0 24px;
}
a.text-blue {
    font-size: 2rem;
    text-decoration: none;
}