
/* Importing Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=MedievalSharp&display=swap');

.inventory {
    display: inline-flex;
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
    text-shadow: 1px 1px 1px black;
    color: white;
    border-width: 5px;
    border-radius: 20px;
    border-style: solid;
    border-color: #4c4646;
    margin-left: 20px;
    margin-bottom: 10px;
    position: absolute;
    bottom: 0;
    left: 2%;
}

.fightSlot {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    padding-left: 3.5%;
    padding-right: 3.5%;
    background-color: rgba(255,255,255,0.95);
    border-radius: 10px;
    position: absolute;
    bottom: 3%;
    left: 50%;
    transform: translate(-55%, -0%);
}

.fight-button {
  background-color: rgba(21, 21, 21, 0.87);
  padding: 14px 34px;
  font-size: 20px;
  color: white;
  border-width: 6px;
  cursor: pointer;
  transition: 0.4s ease;
}

.fight-button:hover {
  background-color: rgba(105, 34, 34, 0.934);
  transform: scale(0.95);
}

.fight-buttons-display {
  display: flex;
  gap: 40px;
  margin-top: 1%;
  margin-bottom: 2%;
}

.trollHealthSlot {
  width: 600px;
  height: 90px;
  background-color: gray;
  border: 2px solid black;
  border-radius:20px;
  overflow: hidden;
  margin-top: 2%;
  margin-left: 28.5%;
}

.trollHealthBar {
  height: 100%;
  width: 100%;
  background-color: rgb(214, 15, 15);
  transition: width 0.3s ease;
}

.slot {
  width: 64px;
  height: 64px;
  margin: 3px;
  background-color: rgba(77, 72, 72, 0.5);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

.slot img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}

.count {
  position: absolute;
  bottom: 2px;
  right: 4px;
  font-size: 12px;
  font-weight: bold;
  color: white;
  text-shadow: 1px 1px 2px black;
  background: rgba(0,0,0,0.5);
  padding: 1px 4px;
  border-radius: 3px;
}

.flagBox {
  display: inline-flex;
  justify-content: right;
  height: 120px;
  width: 256px;
  margin-right: 20px;
  margin-bottom: 10px;
  position: absolute;
  bottom: 1%;
  right: 2%;
}

.bigButton {
  background-color: FFD700;
  color: black;
  padding: 28px 56px;
  font-size: 30px;
  border-width: 12px;
  cursor: pointer;
  transition: 0.4s ease;
}

.bigButton:hover {
  background-color: FF9000;
  transform: scale(0.95);
}

.mediumButton {
  background-color: FFF700;
  color: black;
  padding: 20px 40px;
  font-size: 22px;
  border-width: 6px;
  cursor: pointer;
  transition: 0.4s ease;
}

.mediumButton:hover {
  background-color: FF9900;
  transform: scale(0.95);
}

.smallButton {
  background-color: FFF700;
  color: black;
  padding: 16px 32px;
  font-size: 18px;
  border-width: 5px;
  cursor: pointer;
  transition: 0.4s ease;
}

.smallButton:hover {
  background-color: FF9900;
  transform: scale(0.95);
}

.exitButton {
  background-color: FFF000;
  color: black;
  padding: 10px 30px;
  font-size: 16px;
  border-width: 4px;
  cursor: pointer;
  transition: 0.4s ease;
}

.exitButton:hover {
  background-color: FF6000;
  transform: scale(0.95);
}

/* POSITIONS */
.space-evenly {
    display: flex;
    justify-content: space-evenly;
}

.space-around {
    display: flex;
    justify-content: space-around;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* TEXT CLASSES */
h1 {
  font-family: 'MedievalSharp', cursive;
  color: gold;
  font-size: 100px;
  text-shadow: 4px 4px 5px black;
  font-family: "Cinzel-Decorative";
  text-align: center;
  -webkit-text-stroke: 2px black;
  margin-left: 10px;
  margin-right: 10x;
}

h2 {
  font-family: 'MedievalSharp', cursive;
  color: gold;
  font-size: 60px;
  text-shadow: 4px 4px 5px black;
  font-family: "Cinzel-Decorative";
  text-align: center;
  -webkit-text-stroke: 2px black;
  margin-left: 10px;
  margin-right: 10x;
}

h3 {
  font-family: 'MedievalSharp', cursive;
  color: gold;
  font-size: 40px;
  text-shadow: 4px 4px 5px black;
  font-family: "Cinzel-Decorative";
  text-align: center;
  -webkit-text-stroke: 1px black;
  margin-left: 10px;
  margin-right: 10x;
}

h4 {
  font-family: 'MedievalSharp', cursive;
  color: gold;
  font-size: 30px;
  text-shadow: 4px 4px 5px black;
  font-family: "Cinzel-Decorative";
  text-align: center;
  -webkit-text-stroke: 0.5px black;
  margin-left: 10px;
  margin-right: 10x;
}

h5 {
  font-family: 'MedievalSharp', cursive;
  color: gold;
  font-size: 20px;
  text-shadow: 4px 4px 5px black;
  font-family: "Cinzel-Decorative";
  text-align: center;
  margin-left: 10px;
  margin-right: 10x;
}

h6 {
  font-family: 'MedievalSharp', cursive;
  color: gold;
  font-size: 17px;
  text-shadow: 4px 4px 5px black;
  font-family: "Cinzel-Decorative";
  text-align: center;
  margin-left: 10px;
  margin-right: 10x;
}

.middle-title {
    text-align: center;
    font-size: 40px;
    padding-top: 50px;
}

.inventory-title {
    align-content: end;
    justify-content: start;
    text-align: left;
    font-size: 25px;
    padding-bottom: 10px;
    color: white;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.87);
    margin-left: 10px;
    margin-bottom: -5px;
    position: absolute;
    bottom: 105px;
    left: 2%;
}

.fight-text {
  margin-bottom: 4%;
  font-size: 18px;
  font-weight: bold;
}


