.badge-list {
  position: relative;
  height: 100%;
  width: 100%;
  pointer-events: all;
  padding: 5%;
}

.badge-list .badges {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  padding: 10%;
  overflow: auto;
  gap: 24px;
  transition: all 0.5s ease-in-out;
  transform-origin: bottom left;
}

.badge-label {
  margin-left: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4rem;
  transition: all 0.3s ease-in-out;
  font-family: "poppins-semibold";
  color: rgb(255, 255, 255);
}

.badge-item {
  cursor: pointer;
  gap: 8px;
}

.badge-item:hover {
  color: black;
}

.badge-item:hover .badge {
  transform: scale(1.1);
}

.close {
  position: absolute;
  top: 0em;
  right: 0.4em;
  color: white;
  font-size: 1.5em;
  cursor: pointer;
  font-family: "poppins-semibold";
  z-index: 2;
}

.overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: aqua;
  z-index: 0;
  background-color: #d94f04b3;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.badge-wrapper {
  transform: translateY(100%);
  transition: all 0.5s ease-in-out;
  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: top;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: 1em 0.5em;

  padding: 8%;
}

.badge-details {
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
}

.badge-image {
  max-height: 30%;
  padding: 25px 0 0 0;
}

.badge-image img {
  height: 100%;
  min-height: 4em;
  margin-bottom: 1em;
  filter: drop-shadow(0 0 0.5em rgba(0, 0, 0, 0.45));
}

.badge-title {
  font-size: 1.2em;
  font-weight: 600;
  font-family: "poppins-semibold";
  color: white;
}

.badge-value {
  font-size: 13px;
  font-weight: 600;
  font-family: "poppins-semibold";
  color: white;
  margin-top: 8px;
}

.badge-description {
  padding: 16px;
  padding-top: 0;
  color: white;
  height: 40%;
  overflow: auto;
  white-space: pre-line;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
  scrollbar-width: thin;
}

.badge-description .description-text a {
  color: rgb(254, 44, 133);
}

.badge-link,
.badge-link:hover {
  color: white;
}

.badge-link {
  text-decoration: none;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.badge-link:hover {
  text-decoration: underline;
}

.badge-list.details-visible .badges {
  transform: translateX(-110%) rotate(-45deg);
}
.badge-list.details-visible .badge-wrapper {
  transform: translateY(-100%);
}

.badge-interactive {
  margin-top: 0.5em;
}

.mc-btn {
  border: 2px solid rgb(254, 44, 133) !important;
  background-color: rgb(254, 44, 133) !important;
  color: white !important;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.mc-btn:hover {
  background-color: rgb(177, 30, 93) !important;
  border-color: rgb(177, 30, 93) !important;
}
