/* General styles */
body {
  background-color: #000;
  background-image: url("/assets/bg.jpg");
  /* Background with dark ominous texture */
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #eee;
  font-family: "Segoe UI", sans-serif;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

.btn-img{
  height: 25px;
  width: 25px;
  border-radius: 50%;
}

/* Login Form Styles */
.login-card {
  background-color: #1c1c1c;
  border: 2px solid #333;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.925);
}

/* Button and Input focus */
.btn-login {
  background-color: #ff4040;
  color: white;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  border: none;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.9);
}

.btn-login:hover {
  background-color: #cc3333;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.9);
}

/* Website hero banner */
.banner {
  background-image: url("/assets/banner.jpg");
  background-color: #121212;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 10px;
  border: 25px solid #333;
  transition: box-shadow 0.3s ease;
}

.banner:hover {
  box-shadow: 0 0 25px rgba(146, 7, 238, 0.74);
}

.banner-character-image {
  border: 3px solid #333;
}

.banner-link {
  text-decoration: none;
  color: #000;
  transition: box-shadow 0.3s ease;
}

.banner-link:hover {
  text-shadow: 2px 2px 4px rgba(243, 7, 7, 1);
}

.card-glow {
  background-color: #121212;
  /*background-image: url('/assets/wooden_ui/Tex_frame.png'); */
  background-repeat: no-repeat;
  background-size: cover;

  margin: 10px;
  border: 25px solid #333;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
  transition: box-shadow 0.3s ease;
}

.card-glow:hover {
  box-shadow: 0 0 25px rgba(255, 0, 0, 1);
}

.card-grow {
  transition: transform 0.5s ease;
}

.card-grow:hover {
  transform: scale(1.025);
}

@keyframes shake {
  0% {
    transform: translate(1px, 1px) rotate(0deg);
  }

  10% {
    transform: translate(-1px, -2px) rotate(-1deg);
  }

  20% {
    transform: translate(-3px, 0px) rotate(1deg);
  }

  30% {
    transform: translate(3px, 2px) rotate(0deg);
  }

  40% {
    transform: translate(1px, -1px) rotate(1deg);
  }

  50% {
    transform: translate(-1px, 2px) rotate(-1deg);
  }

  60% {
    transform: translate(-3px, 1px) rotate(0deg);
  }

  70% {
    transform: translate(3px, 1px) rotate(-1deg);
  }

  80% {
    transform: translate(-1px, -1px) rotate(1deg);
  }

  90% {
    transform: translate(1px, 2px) rotate(0deg);
  }

  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}

.shake-text {
  animation: shake 0.5s;
  animation-iteration-count: infinite;
  text-align: center;
}

.resource-icon {
  height: 32px;
  width: 32px;
  border: 0.5px solid #555;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  background-color: #292525;
}

.resource-icon-inner {
  max-width: 300px;
  background: #1a1a1a;
  color: #000000;
  border: 1px solid #666;
  border-radius: 8px;
  font-family: "Trebuchet MS", sans-serif;
  text-align: left;
  padding: 10px;
}


.resource-item-name {
  font-weight: bold;
  font-size: 1.5em;
  margin-bottom: 4px;
  color: #000000;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.8), 0 0 12px rgba(255, 215, 0, 0.5);
  letter-spacing: 0.5px;
}

.resource-description {
  font-weight: bold;
  font-size: 1.5em;
  margin-bottom: 4px;
  color: #ffffff;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.8), 0 0 12px rgba(255, 215, 0, 0.5);
  letter-spacing: 0.5px;
}

/*
Monster Rarity Styles
Comments indicate rarity levels from 1 (common) to 5 (legendary)
*/
.monster-rarity-1 {
  display: inline-block;

  filter: drop-shadow(2px 4px 2px rgba(255, 255, 255, 0.932));
}
.monster-rarity-2 {
  display: inline-block;
  filter: drop-shadow(2px 4px 2px rgb(0, 255, 0));
}
.monster-rarity-3 {
  display: inline-block;
  filter: drop-shadow(2px 4px 2px rgba(33, 47, 243, 0.932));
}
.monster-rarity-4 {
  display: inline-block;
  filter: drop-shadow(2px 4px 2px rgba(152, 25, 255, 0.932));
}
.monster-rarity-5 {
  display: inline-block;
  filter: drop-shadow(2px 4px 2px rgba(247, 142, 4, 0.932));
}
