body {
  width: 100%;
  height: 100%;
  position: absolute;
  background: #000000;
  margin: 0;
  padding: 0;
  overscroll-behavior: none;
}

.container {
  width: 100%;
  height: 100%;
  position: relative;
}

.ui {
  width: 100%;
  height: 100%;            
  position: absolute;
  top: 0;
  left: 0;
  font-family: 'IM Fell French Canon', serif;
}

#game-ui {
  visibility: hidden;
}

#login-ui {
  visibility: hidden;
}

.login-screen {
  position: absolute;
  width: 100%;
  height: 100%;            
  top: 0;
  left: 0;
  font-family: 'IM Fell French Canon', serif;
  background-image: url('./resources/background-3.png');
  background-size: cover;
}

.ui.fadeOut {
  opacity: 1.0;
  animation: fadeOut 1s ease-in-out forwards;
}



@keyframes fadeOut {
  from {
    opacity: 1.0;
    visibility: visible;
  }
  to {
    opacity: 0.0;
    visibility: hidden;
  }
}

.login-screen-layout {
  display: flex;
  height: 100%;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.login-screen-layout.window {
  height: 400px;
  width: 500px;
  border-radius: 5px;
  border-color: black;
  border-style: solid;
  background: rgba(0, 0, 0, 0.75);
}

.login-button {
  height: 50px;
  width: 200px;
  border-radius: 5px;
  box-sizing: border-box;
  text-align: center;
  background-color: rgba(130, 130, 130, 0.5);
  display: inline-block;
  font-size: 1.5em;
  text-shadow: 2px 2px 5px black;
  color: white;
  margin: 15px;
  transition: all 0.2s;
}

.login-button:hover {
  color: #000000;
  background-color: rgba(255, 255, 255, 0.5);
}

.login-input {
  background: rgba(0, 0, 0, 0);
  width: 300px;
  font-size: 1.5em;
  text-shadow: 2px 2px 5px black;
  color: white;
  margin: 15px;
}

.login-text {
  font-size: 2.0em;
  text-shadow: 2px 2px 5px black;
  color: white;
}


.chat-ui {
  position: absolute;
  left: 10px;
  bottom: 10px; 
  background: rgba(1.0, 1.0, 1.0, 0.0);
  width: 400px;
  height: 200px;
  padding: 10px 10px;
  border-radius: 10px;
}

.chat-ui-text-area {
  display: flex;
  height: 100%;
  width: 100%;
  flex-direction: column;
  justify-content: flex-end;
}

.chat-text {
  font-size: .75em;
  text-shadow: 2px 2px 5px black;
  color: white;
}

.chat-text-server {
  color: rgb(116, 235, 87);
}

.chat-text-action {
  color: rgb(247, 20, 20);
}

.chat-input {
  background: rgba(0, 0, 0, 0);
  width: 280px;
  margin-top: 5px;
}


.quest-ui-layout {
  display: flex;
  height: 100%;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.quest-ui {
  background: rgba(1.0, 1.0, 1.0, 0.75);
  padding: 20px 20px;
  width: 700px;
}

.quest-title {
  font-size: 3em;
  color: white;
  text-shadow: 4px 4px black;
}

.quest-text-title {
  font-size: 3em;
  color: white;
  padding-bottom: 10px;
}

.quest-text {
  font-size: 1em;
  color: white;
}

.quest-journal {
  position: absolute;
  right: 0px;
  display: flex;
  flex-direction: column;
  background: rgba(1.0, 1.0, 1.0, 0.75);
  margin: 30px;
  padding: 20px 20px;
  padding-top: 5px;
  width: 300px;
  height: 600px;
  z-index: 1;
}

.quest-entry {
  font-size: 2em;
  color: white;
  border: black;
  border-style: solid;
  border-width: thick;
  padding: 5px;
}

.icon-bar {
  position: absolute;
  bottom: 0px;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.icon-bar-item {
  background-size: cover;
  width: 75px;
  height: 75px;
  margin: 2px;
}

.health-ui {
  position: absolute;
  top: 0px;
  left: 0px;
  background-image: url('./resources/icons/ui/health-bar.png');
  width: 500px;
  height: 300px;
  z-index: 1;
}

.health-bar {
  background: greenyellow;
  width: 200px;
  max-width: 200px;
  height: 40px;
  position: relative;
  top: 215px;
  left: 260px;
  border-style: solid;
  border-width: 2px;
  border-color: black;
  border-radius: 5px;
}

.stats-tooltip {
  position: relative;
  display: inline-block;
  z-index: 100;
}

.stats-tooltip .stats-tooltiptext {
  visibility: hidden;
  width: 200px;
  background-color: black;
  opacity: 0.75;
  text-align: center;
  padding: 1em;
  border-radius: 6px;
  color: white;
  font-size: medium;
  position: absolute;
  z-index: 1;
  top: -5px;
  right: 105%;
}

.stats-tooltip:hover .stats-tooltiptext {
  visibility: visible;
}

.stats-title {
  font-size: 3em;
  color: white;
  text-shadow: 4px 4px black;
}

.stats {
  position: absolute;
  right: 0px;
  top: 0px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  margin: 30px;
  z-index: 1;
}

.stats-inner {
  display: flex;
  flex-direction: column;
  background: rgba(1.0, 1.0, 1.0, 0.75);
  padding: 20px 20px;
  width: 250px;
  padding-top: 5px;
}

.stats-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-size: 2em;
  color: white;
  text-shadow: 4px 4px black;
}

.inventory-title {
  font-size: 3em;
  color: white;
  text-shadow: 4px 4px black;
}

.inventory {
  position: absolute;
  top: 0px;
  right: 0px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  margin: 30px;
  z-index: 1;
}

.inventory-inner {
  display: flex;
  flex-direction: column;
  background: rgba(1.0, 1.0, 1.0, 0.75);
  padding: 20px 20px;
  padding-top: 5px;
}

.inventory-row {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.inventory-column {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.inventory-character {
  background-image: url('./resources/icons/ui/inventory-character.png');
  background-size: cover;
  width: 200px;
  height: 350px;
}

.inventory-item {
  border: black;
  border-style: solid;
  border-radius: 10%;
  background-color: black;
  width: 50px;
  height: 50px;
  margin: 2px;
  background-size: cover;
}
