html {
  box-sizing: border-box;
  font-family: "Bangers";
}

*,
*:before,
*:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  min-height: 100vh;
  background: url(img/bg.png);
  background-size: cover;
}

.cards-container {
  position: absolute;
  top: 50%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100vw;
}

.card {
  position: relative;
  width: 212px;
  height: 263px;
  border-radius: 20px;
  top: 0;
  transition: top 0.1s ease-in;
}

.card img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.info {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: fit-content;
  transition: all 0.5s;
  opacity: 0;
  display: none;
}

.trigger-enter .info {
  display: flex;
}

.trigger-enter-active .info {
  opacity: 1;
}

.stat {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px;
}

.icon {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  position: relative;
  margin: 5px;
}

.icon img {
  position: relative;
  height: 100%;
  width: 100%;
}

.amount {
  color: white;
  font-size: 2rem;
  text-shadow: 2px 0px 4px black, 0px 2px 4px black, -2px 0 4px black, 0px -2px 4px black;
}

.card::before {
  content: " ";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 105%;
  height: 105%;
  border-radius: 20px;
  border: solid 5px #572a00;
  background: #572a00ab;
  transition: top 0.1s ease-in;
  z-index: -1;
}

.card:hover {
  border: solid 5px white;
  top: -26px;
}

.card:hover::before {
  top: 60%;
  width: 110%;
  height: 110%;
}

.dropdown {
  opacity: 0;
  position: absolute;
  overflow: hidden;
  padding: 20px;
  top: -20px;
  border-radius: 2px;
  transition: all 0.5s;
  transform: translateY(100px);
  will-change: opacity;
  display: none;
}

.trigger-enter .dropdown {
  display: block;
}

.trigger-enter-active .dropdown {
  opacity: 1;
}

.dropdownBackground {
  width: 100px;
  height: 100px;
  position: absolute;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 50px 100px rgba(50, 50, 93, 0.1),
    0 15px 35px rgba(50, 50, 93, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s, opacity 0.1s, transform 0.2s;
  transform-origin: 50% 0;
  display: flex;
  justify-content: center;
  opacity: 0;
}

.dropdownBackground.open {
  opacity: 1;
}

.arrow {
  position: absolute;
  width: 20px;
  height: 20px;
  bottom: -20px;
  display: block;
  background: white;
  transform: rotate(45deg) translate(-50%, -50%);
}

