html, body {
  font-family: 'Merriweather', serif;
  margin: 0;
  padding: 0;
}

#background {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 18%;
  background: #334;
}

#fade-buttons {
  background: #282828;
  position: absolute;
  height: 80px;
  width: 100%;
  padding: 0;
  margin: 0;
  top: 0;
  opacity: .8;
  transition: opacity 2s;
  pointer-events: none;
}

#fade-buttons.hidden {
  opacity: 0
}

#top-marquee {
  background: #282828;
  position: absolute;
  height: 80px;
  width: 100%;
  padding: 0;
  margin: 0;
  top: 0;
  border-bottom: 2px solid #ebdbb2;
}

#bottom-marquee {
  background: #282828;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 80%;
  border-top: 2px solid #ebdbb2;
  text-align: center;
}

#message {
  margin-top: 40px;
  bottom: 0;
  color: #ebdbb2;
  font-size: 24px;
  transition: 0.5s opacity ease-in;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
}

.breed-bar-container {
  border: 1px solid #ebdbb2;
  position: absolute;
  padding: 1px;
  width: 100%;
  height: 4px;
  bottom: -20px;
}

.breed-bar {
  position: relative;
  left: 0;
  height: 2px;
  top: 1px;
  width: 0;
  background: white;
}

.instructions {
  font-size: 12px;
}

.hidden {
  opacity: 0;
}
.icon-container {
  width: 16%;
  display: inline-block;
  text-align: center;
  margin: 0;
  height: 100%;
}

.icon {
  text-align: center;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
  color: #ebdbb2;
  font-size: 40px;
  margin: 12px;
  width: 45px;
  margin-right: 12px;
  position: relative;
  display: inline-block;
  transition: 1s opacity ease-in;
  /* unselectable */
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard */
}

.icon .fas {
  transition: transform 0.6s;
}

.icon-container:hover .icon {
  color: white;
  text-shadow: 0 0 12px rgba(200, 200, 200, 0.3);
}

.icon-container:hover .fas {
  transform: scale(1.2, 1.2);
  transition: transform 0.3s;
}

.icon-container:hover .badge {
  transform: translate(2px, 2px) scale(0.8, 0.8);
  transition: transform 0.3s;
  background-color: #bdae93;
}

.badge {
  text-shadow: none;
  position: absolute;
  background-color: #ebdbb2;
  color: #282828;
  font-size: 13px;
  border: 2px solid #282828;
  padding: 2px 7px 3px;
  border-radius: 40px;
  bottom: -10px;
  left: 60%;
  transition: transform 0.6s, background-color 0.6s;
  /* unselectable */
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard */
}

.health-bar-container {
  box-sizing:border-box;
  position: relative;
  top: -25px;
  width: 66%;
  height: 23px;
  margin: auto;
  margin-top: 12px;
  border-radius: 20px;
  border: 2px solid #ebdbb2;
  background: #282828;
  padding: 4px 6px;
  text-align: center;
}

.health-bar-slot {
  position: absolute;
  background-color: #666666;
  width: calc(100% - 44px);
  margin: 4px 15px;
  height: 2px;
}

#health-bar {
  transition: width 2.2s ease-out;
  position: relative;
  box-sizing:border-box;
  width: 100%;
  height: 10px;
  margin: auto;
  /* background-color: #ebdbb2; */
  background-color: white;
  border-radius: 20px;
  border: 2px solid #ebdbb2;
  /* border: 2px solid white; */
}

/* RESOURCES */

#water.icon {
  color: #458588;
}

#leaf.icon {
  color: #8ec07c;
}

#frog.icon {
  color: #d3869b;
}

#tree.icon {
  color: #427b58;
}

#bug.icon {
  color: #928374;
}
#cat.icon {
  color: #fe8019;
}
#crow.icon {
  color: #fb4934;
}

/* TOKENS */
#token-board {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

#token-board .token {
  position: absolute;
  top: 20px;
  width: 8px;
  height: 16px;
  border-radius: 50%;
  background-color: #282828;
  border: 1px solid #a89984;
}

#token-board .token .icon {
  position: absolute;
  left: -12px;
  top: 3px;
  padding: 0;
  margin: 0;
  font-size: 12px;
}

#token-board .token .icon.fa-water {
  color: #458588;
}

#token-board .token .icon.fa-leaf {
  color: #8ec07c;
}

#token-board .token .icon.fa-frog {
  color: #d3869b;
}

#token-board .token .icon.fa-tree {
  color: #427b58;
}

#token-board .token .icon.fa-bug {
  color: #928374;
}
#token-board .token .icon.fa-cat {
  color: #fe8019;
}
#token-board .token .icon.fa-crow {
  color: #fb4934;
}

