html {
  height: 100%;
}

body {
  display: block;
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  font-family: "Outfit", sans-serif;
  height: 100%;
  width: 100%;
  overflow: hidden;

  --earth-color: #ffa409;
  --earth-color-shadow: #c76200;
  --air-color: #91bd00;
  --air-color-shadow: #749700;
  --water-color: #0095d7;
  --water-color-shadow: #00628e;
  --fire-color: #d1215b;
  --fire-color-shadow: #7f2341;
  --dungeon-color: #5d28c5;
  --dungeon-color-shadow: #4816a7;
}

.ff-button {
  display: block;
  font-weight: 600;
  background-color: #0448eb;
  border: none;
  color: white;
  font-size: 4vb;
  box-shadow: 0 0.5vb 0 0 #0a28c7;
  padding: 1.5vb 4vw;

  &:hover {
    cursor: pointer;
    filter: brightness(1.2);
  }
  &:active {
    transform: translateY(0.5vh);
    box-shadow: none;
  }
  &:disabled {
    background-color: grey;
    opacity: 0.8;
    box-shadow: 0 0.5vh 0 0 #333 !important;
    transform: none !important;
    cursor: not-allowed !important;
    filter: brightness(1) !important;
  }
}

.hidden {
  display: none !important;
}

.styled-scrollbar::-webkit-scrollbar {
  width: 1.5vb;
}

.styled-scrollbar::-webkit-scrollbar-track {
  background: #84869d;
  border-radius: 1vb;
  margin: 2vb 0;
}

.styled-scrollbar::-webkit-scrollbar-thumb {
  background: #373b59;
  border-radius: 1vb;
}

.styled-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #70719a;
}

.hover-fade {
  opacity: 0.8;
  &:hover {
    cursor: pointer;
    opacity: 1;
  }
}

.corner-button {
  position: absolute;
  bottom: 11vb;
  z-index: 100;

  img,
  svg {
    height: 6vb;
    display: block;
    margin: auto;
  }
}

.item-slot {
  background-color: #2a2a4a;
  border: 2px solid #6a6a8a;
  border-radius: 1vb;
  width: min(25vw, 18vh);
  height: min(25vw, 18vh);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.item-slot:hover {
  border-color: #8a8aaa;
}

.item-slot-selected {
  border: 3px solid #5080ff;
}

.item-slot img {
  width: 55%;
  height: 55%;
  opacity: 0.9;
  pointer-events: none;
}

.item-slot-empty img {
  opacity: 0.3;
}

.item-slot-locked {
  background-color: #1a1a2a;
  cursor: pointer;
}

.item-slot-locked img {
  width: 35%;
  height: 35%;
  opacity: 0.4;
  pointer-events: none;
}

.loading-screen {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 1000;
  opacity: 1;
  transition: opacity 0.5s linear;
}

.container {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 75vh;
  height: 100%;
  margin: auto;
  font-family: "Outfit", sans-serif;
  overflow: hidden;
}

.privacy-back-link {
  position: absolute;
  top: 4vb;
  right: 2vb;
  font-size: 2vb;
  cursor: pointer;
}

.click-blocker {
  position: absolute;
  display: none;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #00000066;
  z-index: 50;
}

#tooltip {
  display: none;
  position: absolute;
  z-index: 1000;
  background-color: #000;
  color: white;
  padding: 2vb 3vb;
  border-radius: 1vh;
  font-size: 3vh;
  pointer-events: none;
  border: 1px solid white;
}

.tooltip-star-icon {
  height: 2.5vh;
  vertical-align: middle;
  margin-left: 0.5vb;
  text-align: center;
}

.button-disable {
  opacity: 0.3;
  pointer-events: none !important;
}

.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  display: none;
  position: absolute;
  width: 50px;
  height: 50px;
  background-color: black;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.8;
  z-index: 100000;
}

.particle-icon {
  display: block;
  height: 80%;
  margin: auto;
  object-fit: contain;
}

.button {
  display: inline-flex;
  align-items: center;
  width: 100%;
  margin-top: 3vh;
  margin-right: auto;
  margin-left: auto;
  padding: 2vh 0;
  justify-content: center;
  background-color: #33333366;
  color: white;
  /* border: 1px solid white; */
  font-size: 3vh;
  font-weight: 700;
  text-align: center;
}

.button:hover {
  background-color: #333;
  cursor: pointer;
}

.button:disabled {
  background-color: #333 !important;
  color: #666 !important;
  /* border: 1px solid #666; */
  cursor: not-allowed;
}
