.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.logo {
  fill: none;
  stroke: var(--color-fonts);
  height: 48px;
  width: 48px;
  stroke-width: 2px;
}

.card-body {
  position: relative;
  overflow: hidden;
  display: flex;

  padding: 10px;
  height: 200px;
  min-width: 280px;
  flex: 1;
  border-radius: 1rem;
  cursor: pointer;
  transition: all 125ms ease-in-out;
}

.card-body:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  filter: brightness(1.1);
}

.background-img {
  position: absolute;
  right: -100px;
  bottom: -105px;
  rotate: 33deg;
}

.poke-background {
  fill: none;
  stroke: var(--color-fonts);
  height: 400px;
  width: 400px;
  stroke-width: 2px;
  filter: opacity(0.3);
  z-index: 1;
}

.data-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 60%;
  z-index: 2;
}

.elements {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 10px;
  z-index: 2;
}

.element {
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  padding: 0.5rem;
  border-radius: 10px;
  min-width: 4rem;
  border: 1px solid rgba(0, 0, 0, 0.5);
}

.poke-img {
  display: flex;
  max-height: 100%;
  max-width: 40%;
  z-index: 2;
}

.poke-img > img {
  object-fit: contain;
  max-width: 100%;
}

.normal {
  background: var(--normal);
}

.fire {
  background: var(--fire);
}

.water {
  background: var(--water);
}

.electric {
  background: var(--electric);
}

.grass {
  background: var(--grass);
}

.ice {
  background: var(--ice);
}

.fighting {
  background: var(--fighting);
}

.poison {
  background: var(--poison);
}

.ground {
  background: var(--ground);
}

.flying {
  background: var(--flying);
}

.psychic {
  background: var(--psychic);
}

.bug {
  background: var(--bug);
}

.rock {
  background: var(--rock);
}

.ghost {
  background: var(--ghost);
}

.dragon {
  background: var(--dragon);
}

.dark {
  background: var(--dark);
}

.steel {
  background: var(--steel);
}

.fairy {
  background: var(--fairy);
}

.dialog-nav-activ {
  background-color: var(--color-fonts);
}

.overlay {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;

  top: 0;
  left: 0;
  z-index: 3;
  height: 100%;
  width: 100%;
  /* background: var(--color-bg-main); */

  & svg {
    height: 250px;
    width: 250px;
    animation-name: rotate;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    z-index: 2;

    & .cls-1 {
      fill: #010101;
    }

    & .cls-2 {
      fill: #fff;
    }

    & .cls-3 {
      fill: #eb2127;
    }
  }
}

@keyframes rotate {
  0% {
    rotate: 0deg;
  }
  100% {
    rotate: 360deg;
  }
}

.error-massage {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
}

.loadmore-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.loadmore-actions #load-more {
  width: 25%;
  min-width: 170px;
}

.imprint-row {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin: 0.5rem 0;
}

.imprint-link {
  color: var(--color-fonts);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 125ms ease-in-out;
}

.imprint-link:hover {
  opacity: 1;
  transform: none;
}

.imprint-wrapper {
  width: 100%;
  max-width: 900px;
  color: var(--color-fonts);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 1rem;
  padding: 1.25rem;
  margin: 2rem auto;
}

.imprint-wrapper h1 {
  margin-bottom: 1rem;
}

.imprint-wrapper h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.imprint-wrapper p {
  line-height: 1.4;
}

.imprint-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.back-to-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0 1rem;
  border-radius: 1rem;
  background: var(--color-fonts);
  color: #000;
  font-weight: bold;
  text-decoration: none;
  transition: all 125ms ease-in-out;
}

.back-to-index:hover {
  transform: scale(1.05);
}

@media (max-width: 420px) {
  .loadmore-actions {
    justify-content: center;
    flex-wrap: nowrap;
  }

  .imprint-link {
    font-size: 0.8rem;
  }

  .element {
    padding: 0.25rem;
  }
}
