:root {
   --pixel-size: 2px;
   --grid-cell: calc(var(--pixel-size) * 16);
   --bg: black;
}

@font-face {
   font-family: wild;
   src: url('../resources/fonts/ARCADE_N.woff') format('woff');


}

body {
   background-color: black;
   font-family: 'wild' !important;
   user-select: none;

}

.gridmap.worldmap canvas {
   border-radius: 2px;
}

.gridmap.worldmap {
   cursor: url(../resources/cursor/cursor_select.png), auto !important;
}

.Entity {
   position: absolute;
   top: 0px;
   left: 0px;
   width: 0px;
   left: 0px;
}

#main {
   cursor: url(../resources/cursor/cursor_default.png), auto !important;
}



.MainScene {
   image-rendering: pixelated;
   transition: filter 1s;
}

.MainScene.night {
   filter: saturate(0.5) brightness(0.8) grayscale(.2);
}

.tile-card {
   cursor: url(../resources/cursor/cursor_grab.png), auto !important;
}

.tile-card:active {
   cursor: url(../resources/cursor/cursor_grabbing.png), auto !important;
}

.selectionTile {
   cursor: url(../resources/cursor/cursor_select.png), auto !important;
}

.tile-card.hold {
   /*box-shadow: .5px 1px 2px #111111ab !important;*/
   filter: drop-shadow(.5px 1px 2px #111111ab);
}


.tile-card .popover {
   position: absolute;
   top: -150%;
   left: 0px;
   width: 32px;
   height: 32px;
}

.tile-card .popover .container {
   position: relative;
   top: 5px;
   left: 6px;
   width: calc(100% - 12px);
   height: calc(100% - 16px);
   display: flex;
   justify-content: center;
   align-items: center;
   z-index: 2;
}

.tile-card .popover .bg {
   position: absolute;
   top: 0px;
   left: 0px;
   width: 100%;
   height: 100%;
   z-index: 1;
}

.full-view {
   width: 100%;
   height: 100%;

}

.full-width {
   width: 100%;
}

.full-height {
   height: 100%;
}

.float-left {
   float: left;
}

.float-right {
   float: right;
}

#loadingtext {
   position: fixed;
   top: 0px;
   left: 0px;
   z-index: 1;
   color: red;
}

.center {
   margin: 0 auto;
   text-align: center;
}

.text-center {
   text-align: center;
}

.stand-animation {
   -webkit-animation: stand-animation 2s ease-in-out infinite;
   ;
   animation: stand-animation 2s ease-in-out infinite;
   ;
}


.move-animation {
   -webkit-animation: walk-animation .5s ease-in-out infinite;
   ;
   animation: walk-animation .5s ease-in-out infinite;
   ;
}

@-webkit-keyframes stand-animation {

   from,
   50%,
   to {
      transform: scaleY(1) translate(0, 0);
   }

   25%,
   75% {
      transform: scaleY(.95) translate(0, .9px);
   }
}

@-webkit-keyframes walk-animation {

   from,
   50%,
   to {
      transform: rotate(0deg) translate(0, 0);
   }

   25% {
      transform: rotate(-2deg) translate(0, -1px);
   }

   75% {
      transform: rotate(2deg) translate(0, -1px);
   }
}

.circle-particle {

   width: 1px;
   height: 1px;
   background-color: white;
   filter: brightness(200) drop-shadow(1px 0px 1px white);
   border-radius: 50%;
}



.boulder-shadow {
   border-radius: 50%;
   background: #111111ab;
}


.shot {
   background: yellow;
   width: 8px;
   height: 8px;
   border-radius: 50%;
}

.valign {
   display: flex;
   justify-content: center;
   align-items: center;
}


.screen-onhit {
   position: fixed;
   z-Index: 399;
   background: linear-gradient(90deg, rgba(255, 3, 3, 1) 0%, rgba(0, 212, 255, 0) 40%, rgba(249, 0, 0, 1) 100%);
   top: 0px;
   left: 0px;
   width: 100%;
   height: 100%;
   transition: opacity 1s;
   opacity: 1;
}

.pick-up-screen {
   position: fixed;
   top: 0px;
   left: 0px;
   width: 100%;
   height: 100%;
   z-index: 100;
   transition: opacity 1s;
   opacity: 1;
}

.pick-up-screen .middlestripe {
   width: 100%;
   height: 3rem;
}

.pickup-item-title {
   font-size: 4rem;
   font-weight: bold;
   text-shadow: 1px 1px white;
   font-family: wild;
   line-height: 5rem;
}

.ribbon {
   position: absolute;
   left: 50%;
   display: block;
   margin: 100px -200px;
   width: 400px;
   height: 60px;
   border: 1px solid #04dade;
   font: normal 30px/60px 'Rye';
   text-align: center;
   background: #00faff;
   border-radius: 4px;
   box-shadow: 0 0 30px rgba(0, 0, 0, .15) inset,
      0 6px 10px rgba(0, 0, 0, .15);
}

.ribbon::before,
.ribbon::after {
   content: '';
   position: absolute;
   z-index: -1;
   left: -70px;
   top: 24px;
   display: block;
   width: 40px;
   height: 0px;
   border: 30px solid #00faff;
   border-right: 20px solid #048284;
   border-bottom-color: #04dade;
   border-left-color: transparent;
   transform: rotate(-5deg);
}

.ribbon::after {
   left: auto;
   right: -70px;
   border-left: 20px solid #04dade;
   border-right: 30px solid transparent;
   transform: rotate(5deg);
}

.pickup-sprite {
   image-rendering: pixelated;
   transform: scale(2);
}

.pickup-item-markout {
   width: 64px;
   height: 64px;
   background-color: #00f4f9;
   border-radius: 5px;
   box-shadow: 1px 1px 1px #047577;
   margin-top: -200px;
   transform: scale(1.5);

}


.btnlink {
   color: #ff0059;
   background: none;
   border: none;
   font-family: wild;
   cursor: url(../resources/cursor/cursor_select.png), auto !important;
   ;
   text-shadow: 1px 1px #585143;
}

.t2x {

   font-size: 2rem;
}

.t3x {

   font-size: 3rem;
}

.t4x {

   font-size: 4rem;
}

.txshadow {
   text-shadow: 1px 1px #00faff;
}

.small-txt {
   font-size: .5rem;
}

.titlegame {
   user-select: none;
   color: teal;
   text-shadow: 1px 1px #00faff;
   font-size: 3rem;
   transform: scaleY(3) scaleX(1.5);
   margin: 5rem;
}

.selector-tile {
   width: 16px;
   height: 16px;
   background-image: url(../resources/ui.png);
   background-repeat: no-repeat;
   image-rendering: pixelated;
   background-position: -32px 0px;
   position: absolute;
   top: 0px;
   left: 0px;
   z-index: 10;
}

.selector-tile.active {
   background-position: 0px 0px;
}

.selector-tile.hold {
   background-position: -16px 0px;
}

.anim-holdonair {
   -webkit-animation-name: holdonair;
   animation-name: holdonair;
}

@-webkit-keyframes holdonair {
   0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
   }

   20%,
   60% {
      -webkit-transform: rotate(10deg);
      transform: rotate(10deg);
   }

   40%,
   80% {
      -webkit-transform: rotate(-12deg);
      transform: rotate(-12deg);
   }

   10%,
   90% {
      -webkit-transform: rotate(-5deg);
      transform: rotate(-5deg);
   }

   to {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);

   }
}

.btn-type1 {
   margin-right: 10px;
   min-width: 40px;
   min-height: 32px;
   border: thin solid;
   border-radius: 3px;
   background: white;
   font-size: .8rem;
   margin-bottom: 4px;
   box-shadow: .5px 4px 1px rgb(3, 44, 44);
}

.btn-type1:not(.disabled):hover {
   background: #fff6d3;
}

.btn-type1:not(.disabled):active {
   background: #00fbff;
   margin-bottom: 0px !important;
   box-shadow: .5px 1px 1px rgb(3, 44, 44);
}

#MainBar {
   background-color: #048689;
   position: fixed;
   bottom: 1px;
   top: auto;
   left: 0px;
   width: 100%;
   height: 3rem;
   z-index: 99;
}

.TileOptions {
   width: 100%;
   text-align: center;
}

.TileOptions .tile-option .crop-sprite {
   border: inset;
}

.TileOptions .tile-option {
   border-right: #c1c1C1 solid;
}

.btn-tile-option {
   width: 100%;
   height: 50%;
   border: thin solid;
   border-radius: 3px;
   background: white;
   font-size: .8rem;
   float: left;
}


.btn-tile-food {
   width: 100px;
   height: 140px;
   float: left;
}

/**
*/
.panel-type1 {
   position: fixed;
   top: 0px;
   left: 0px;
   width: 100%;
   height: 100%;
   z-index: 10;
}

.panel-type1 .panel-back {
   background-color: #11111185;
   filter: blur(2px);
   position: absolute;
   top: 0px;
   left: 0px;
   width: 100%;
   height: 100%;
}

.panel-type1 .panel-container {
   position: absolute;
   top: 0px;
   left: 0px;
   width: 100%;
   height: 100%;
   display: flex;
   justify-content: center;
   align-items: center;
}

.panel-type1 .panel-container .panel-card {

   background-color: teal;
   border: #00e1ff solid;
   border-radius: 4px;
   padding: 4px;
   min-width: 100px;
   min-height: 100px;
   box-shadow: 1px 4px 1px 3px #111111ab;
}

.panel-title {
   width: 100%;
   text-align: center;
   margin: 10px 0px;
}

.panel-footer {
   width: 100%;
   margin: 10px 0px;
}

.BasiBtnIcon {
   width: 40px;
}


.ProgressStepBar {
   position: absolute;
   top: 0px;
   left: 0px;
   border: .5px solid teal;
   border-radius: 1px;
   background: #062122;
   display: flex;
   justify-content: center;
   align-items: center;
   z-index: 10;
}

.ProgressStepBar .piece {
   height: 100%;
   background-color: #013233;
   border-right: thin solid;
}

.ProgressStepBar .piece.full {
   height: 100%;
   background-color: #00f4f9 !important;
}

#ResourceSpawner {
   width: 100px;
   height: 100%;
   background-color: #013233;
   padding: 0px 10px;
}

#ResourceSpawner .ProgressStepBar {
   border-radius: 4px;
   border-width: 3px;
}

#ResourcesCounterBar {
   margin-right: 10px;
   min-width: 40px;
   min-height: 32px;
   border: thin solid;
   border-radius: 3px;
   background: #047577;
   font-size: .8rem;
   margin-top: 2px;
   box-shadow: inset 0.5px 4px 1px rgb(3 44 44);
}

#DayCounter{
   margin-right: 10px;
   min-width: 40px;
   min-height: 32px;
   border: thin solid;
   border-radius: 3px;
   background: #047577;
   font-size: .8rem;
   margin-top:2px;
   box-shadow: inset 0.5px 4px 1px rgb(3 44 44);
   padding: 0px 5px;
}
.resource-counter { 
   height: 24px;
   border-radius: 3px;
   margin: 0px 2px;
   padding: 2px 4px;
}


.lootup-icon-wrapper {
   min-width: 80px;
   min-height: 48px;
   background: white;
   filter: drop-shadow(0px 0px 1px white);
   border-radius: 3px;
   display: flex;
   justify-content: center;
   align-items: center;
}

.lootup-icon-wrapper>div {
   margin-right: 10px;
}

.uix-lootdown-icon-wrapper {
   color: #00e1ff;
   min-width: 32px;
   min-height: 16px;
   filter: drop-shadow(0px 0px 1px white);
}

.gameover-title {
   color: white;
   text-shadow: #00e1ff 1px 2px 2px;
}

.text-style1 {
   color: black;
   text-shadow: #484f4f 1px 2px 2px;

}

.text-style2 {
   color: white;
   text-shadow: #02353b 1px 2px 2px;
   font-size: 2rem;
}