* {
    font-family: 'Germania One', 'Times New Roman', Times, serif;
}

body {
    margin: 0;
    overflow: hidden;
    user-select: none;
}

.screen {
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-size: 100% 100%;
}

#menu {
    background-image: url("images/background.png");
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
}

#menu h1,
#gameOverScreen h1 {
    font-size: 5rem;
    color: yellow;
    -webkit-text-stroke: 1px black;
}

#victoryScreen h1 {
    font-size: 5rem;
    color: red;
    -webkit-text-stroke: 1px black;
}

.coolBtn {
    background-image: url("images/diamondBtn.png");
    background-size: 100% 100% ;
    color: white;
    padding: 10px 50px;
    font-size: 1.5rem;
    cursor: pointer;
    border:none ;
    background-color:transparent ; 
}

.coolBtn:active {
    background-image: url("images/diamondBtn2.png");
}

#map {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

#mapVek {
    width: calc(100% - 250px);
    height: 100%;
    background-image: url("images/map.jpg");
    background-size: 100% 100%;
}

#mapSidebar {
    width: 250px;
    height: 100%;
    background-image: url("images/wood.jpg");
    background-size: 100% 100%;
    text-align: center;
    overflow: auto;
    color: white;
}

#mapSidebar h1 {
    -webkit-text-stroke: 1px black;
}

#loadingScreen {
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-image:radial-gradient(transparent, transparent, rgba(255, 250, 245, .2)) ;
}

#loader {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: black;
    border: 1px solid rgba(0, 255, .8);
}

#tip {
    color: lime;
    margin: 10px;
}

#gameplay {
    filter: brightness(0%);
    transition: 1s;
    overflow: hidden;
    cursor: url("images/cursor.png"), auto;
    background-attachment: scroll;
    background-size: 100% 100% ;
}

#gameOverScreen {
    background-color: maroon;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
}

#victoryScreen {
    background-image: linear-gradient(gold, lightyellow);
    background-size: 100% 100% ;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
}

nav {
  position:absolute ;
  width:calc(100% - 250px) ;
  height:50px ;
  background-image:url("images/metal.jpg") ;
  background-size:cover ;
  left:0 ;
  top:100vh ;
  box-shadow: 0 5px 10px rgba(0, 0, 0, .5) ;
  display:flex ;
  align-items:center ;
  justify-content:space-between ;
}

.resourceIcon {
  height:40px ;
  margin:5px ;
}

#gold {
  color:gold ;
  margin-right:10px ;
}

#xp {
  color:lime ;
  margin-right:10px ;
}

.popup {
  position:absolute ;
  width:50% ;
  height:fit-content ;
  background-color:lightgrey ;
  border: 5px outset darkgrey ;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, .5) ;
  transition:0.5s ;
  transform: rotateX(90deg) rotateY(90deg) rotateZ(90deg) ;
  opacity:0% ;
  text-align:center ;
  display:flex ;
  align-items:center ;
  justify-content:space-evenly ;
  flex-direction:column ;
  color:yellow ;
  font-size:2rem ;
  -webkit-text-stroke: 1px black ;
  z-index:100000 ;
}

#marketBtn {
  cursor:pointer ;
  filter:brightness(150%) ;
  transform:scale(1.3) ;
  transition:0.3s ;
  margin-right:10px ;
}

#marketBtn:hover {
  transform: scale(1.5) rotate(370deg) translate(-2px, 3px) ;
}

#rank {
  color:yellowgreen ;
}
