:root {
  --hive-deck-height:4.4vh;
  --hive-deck-top-tooltip:10vh;
  --hive-deck-value-size:1.6vh;
 --hive-deck-value-padding:1.2vh;
   
}

body {
    margin: 0;
    min-width: 800px;
    min-height: 600px;
    overflow: hidden;
}

.mainBarContainer{
    display: flex;
    justify-content: center;
    position: relative;
    width:100%;
    height:var(--hive-deck-height);
}

.mainBarBackgroundContainer{
    display: flex;
    justify-content: center;
}

.mainBarBackgroundCenter{
    width: 100vw;
    height: var(--hive-deck-height);
}

.mainBarBackgroundLeft{
    width: 4vw;
    height: var(--hive-deck-height);
}

.mainBarBackgroundRight{
    width: 4vw;
    height: var(--hive-deck-height);
}

.mainBarTextContainer{
    display: flex;
    position: absolute;
    width: 100%;
    height: var(--hive-deck-height);
    justify-content: center;
    align-items: center;
}

.mainBarAccountName{
    position: absolute;
    left: 5%;
    width: 6%;
    z-index: 10001;
    color: white;
    font-size: 1.5vh;
    font-family: 'Roboto', sans-serif;
    overflow: hidden;
}

.mainBarResourcesContainer{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    /*position: fixed;*/
    height: var(--hive-deck-height);
    z-index: 10001;
    color: white;
    font-size: 1.5vw;
    font-family: 'Roboto', sans-serif;
    width: 80%;
    left: 10%;
}

.mainBarResources{
    display: flex;
    justify-content: center;
    align-items: center;
    /*margin: 10px;*/
    width: 20vw;
    height:100%;
}

.mainBarHover_tooltip {
    width: 4vw;
}

.mainBarHover_reactive .mainBarHover_appear {
    width: 4vw;
    visibility: hidden;
}

.mainBarHover_reactive:hover .mainBarHover_appear {
    width: 4vw;
    visibility: visible;
}

.mainBarResourceImage{
    width: 3vh;
    height: 3vh;
}

.mainBarResourceText{
    height:var(--hive-deck-value-size);
    font-size:var(--hive-deck-value-size);
    font-weight:100;
    color:#DDDDDD;
    /*padding:var(--hive-deck-value-padding);*/
    /*margin: 3px;*/
}

.mainBarTooltipBox{
    position: fixed;
    top: var(--hive-deck-top-tooltip);
    left:28vw;
    width:44vw;
    padding:1.4vw;
    height: 'auto';
    text-align: center;
    background-color: rgba(0, 0, 0, 0.507);
    border-top:2px solid white;
    border-bottom:1px solid #AAAAAA;
    font-family:'Cascadia';
    font-size:1.6vh;
}

.mainBarTooltipBoxTitle{
    font-size:2.4vh;
    font-weight:700;
}

.mainBarTooltipBoxTextUse {
    color:yellow;
}

.mainBarTooltipBoxLink {
    color:cyan;
    font-weight:200;
}

.mainBarNews-field {
    position: absolute;
    overflow: hidden;
    white-space: nowrap;
}

.mainBarScroll-text {
    animation: scroll-left 30s linear infinite;
}

@keyframes mainBarScroll-left {
    from {
        -moz-transform: translateX(100%);
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
    to {
        -moz-transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

/* Dropdown Menu */
.hivedeck-dropbtn {
    background-color: #04aa6d00;
    color: white;
    border: none;
    width: 100%;
    height: 100%;
    padding: 0.3vh;
}

.hivedeck-dropbtn img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    pointer-events: none;
}

/* The container <div> - needed to position the dropdown content */
.hivedeck-dropdown {
    position: absolute;
    width: 4.5%;
    height: 80%;
}

/* Dropdown Content (Hidden by Default) */
.hivedeck-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 10vh;
    box-shadow: 0px 0.5vh 1vh 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.hivedeck-dropdown-content a {
    color: black;
    padding: 0.75vh 1vh;
    text-decoration: none;
    display: block;
}

/* Links inside the dropdown */
.hivedeck-dropdown-content input {
    position: relative;
    color: black;
    padding: 0.75vh 1vh;
    text-decoration: none;
    width: 1.5vh;
    height: 1.5vh;
}

/* Change color of dropdown links on hover */
.hivedeck-dropdown-content a:hover {
    background-color: #ddd;
}

/* Change color of dropdown links on hover */
.hivedeck-dropdown-content .menu-option:hover {
    background-color: #ddd;
}

.hivedeck-dropdown-content .menu-option {
    padding: 0.6vh;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.hivedeck-dropdown:hover .dropbtn {
    background-color: #414141;
}

.game-log-container {
    position:absolute;
    display: flex;
    flex-direction: column;
    background-color: #d4d4d4;
}

.show {
    display: block;
}

.hide {
    display: none;
}

.not-interactable {
    pointer-events: none;
}

.mainBarCenter {
    position: absolute;
    border: 5px solid;
    margin: auto;
    height: 40%;
    padding: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow-y: scroll;
}