/* quicksand-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/quicksand-v31-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
  --normal: #BBBBAA;
  --grass: #62BC5A;
  --fire: #FF421C;
  --water: #2C9BE3;
  --fighting: #BB5544;
  --flying: #96CAFF;
  --poison: #9553CD;
  --rock: #BBAA66;
  --bug: #92C12A;
  --ghost: #6E4370;
  --steel: #AAAABB;
  --fairy: #EC8FE6;
  --electric: #FFDC00;
  --psychic: #FF6380;
  --ice: #74CFC0;
  --dragon: #5670BE;
  --dark: #938989;
  --ground: #A67439;
}


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

body {
  height: 100vh;
  font-family: 'Quicksand', sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  --bg-color: hsla(0, 0%, 25%, 0.5);
  background-image: linear-gradient(0deg, var(--bg-color), var(--bg-color)), url(../img/main/bg-dark.jpg);
}

textarea:focus,
input:focus {
  outline: none;
}

a {
  color: #000;
  text-decoration: none;
}

.d-none {
  display: none !important;
}

.d-flex {
  display: flex;
}

.content-size {
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  max-width: 1920px;
  padding-left: 50px;
  padding-right: 50px;
}

.bg-container {
  background-color: rgba(215, 215, 215, 0.18);
  backdrop-filter: blur(3px);
}

/* PokeDex Content */
.pokedex-content {
  width: 70%;
  margin-left: 25px;
  margin-top: 190px;
  margin-bottom: 30px;
}

#pokedex-content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.poke-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 250px;
  height: 400px;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  position: relative;
}

.poke-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 5px;
  background: linear-gradient(45deg, var(--type1), var(--type2));
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.poke-id {
  height: 5%;
  width: 100%;
  text-align: end;
}

.poke-img {
  display: flex;
  justify-content: center;
  height: 50%;
  width: 100%;
  overflow: hidden;
  transition: 1s ease;
}

.poke-img img {
  max-height: 100%;
  max-width: 100%;
  z-index: 999;
}

.poke-img:hover {
  -webkit-transform: scale(1.5);
  -ms-transform: scale(1.5);
  transform: scale(1.5);
  transition: 1s ease;
}

.bg-pokeball {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 10px;
  top: 25px;
  font-size: 10px;
  color: rgba(255, 255, 255, .2);
}

.bg-pokeball::before,
.bg-pokeball::after {
  display: block;
  border-radius: 100%;
}

.bg-pokeball::before {
  content: '';
  position: relative;
  width: 10em;
  padding-bottom: 10em;
  border: 4em solid currentColor;
  clip-path: polygon(0 0, 0 40%, 50% 40%, 50% 60%, 0 60%, 0 100%, 100% 100%, 100% 60%, 50% 60%, 50% 40%, 100% 40%, 100% 0);
}

.bg-pokeball::after {
  content: '';
  position: absolute;
  width: 5em;
  padding-bottom: 5em;
  background-color: currentColor;
}


.poke-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  height: 45%;
  width: 100%;
}

.poke-name {
  font-weight: bold;
}

.poke-body {
  width: 100%;
  height: 100%;

}

.card-actions {
  margin: 8px;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-counter {
  padding: 10px;
  border-radius: 5px;
  font-weight: 500;
}

#load-more {
  width: calc((100% / 3) - 8px);
  padding: 16px;
  background-color: white;
  border: none;
  cursor: pointer;
  transition: all 200ms ease-in-out;
  border-radius: 3px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
}

#load-more:hover {
  background-color: rgb(204, 32, 32);
}

#load-more:not([disabled]):hover {
  box-shadow: 0 1px 9px rgba(0, 0, 0, 0.2);

}

#load-more[disabled] {
  background-color: #eaeaea !important;
}

/* Pokemon Detail Seite */

.detail-site {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-section {
  height: 400px;
  display: flex;
  gap: 20px;
}

.poke-detail-info-left {
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.poke-detail-header,
.poke-detail-footer {
  height: 75px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: bold;
}

.poke-detail-image {
  height: 250px;
  width: 250px;
  overflow: hidden;
  z-index: 999;
}

.poke-detail-image img,
.poke-evo-image img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.poke-detail-types {
  display: flex;
  height: 50px;
  align-items: center;
  gap: 50px;
  margin-top: 12px;
  cursor: default;
}

.poke-detail-types div {
  padding: 7px 20px;
  border-radius: 10px;
  background-color: #8c8c8c;
  border: 3px outset var(--type);
}

.poke-detail-info-right {
  height: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.poke-detail-description {
  height: 25%;
  font-size: 22px;
  font-weight: bold;
  color: white;
}

.poke-detail-info {
  height: 75%;
  border-radius: 10px;
}

.poke-detail-info table {
  width: 100%;
  height: 100%;
  font-size: 18px;
}

.poke-detail-info td,
.poke-detail-info th {
  border: 1px solid #6f6f6f;
  padding: 8px;
  text-align: center;
}

.poke-detail-info td {
  background-color: #797979;
}

.poke-detail-info th {
  padding-top: 12px;
  padding-bottom: 12px;
  color: white;
  text-align: center;
}

.first-row-left {
  border-top-left-radius: 10px;
}

.first-row-right {
  border-top-right-radius: 10px;
}

.last-row-left {
  border-bottom-left-radius: 10px;
}

.last-row-right {
  border-bottom-right-radius: 10px;
}

.stats-section {
  height: 400px;
  border-radius: 10px;
  padding-bottom: 25px;
}

.evolution-section {
  height: 325px;
  border-radius: 10px;
}

.evolution-section header,
.stats-section header {
  height: 10%;
  padding-left: 20px;
  display: flex;
  align-items: end;
  color: white;
}

.poke-detail-evolution-tree {
  height: 90%;
  display: flex;
  justify-content: space-around;
}

.poke-evo-image {
  height: 200px;
  width: 200px;
  overflow: hidden;
}

.d-ac {
  display: flex !important;
  align-items: center;
}

.cw {
  color: #c4c4c4;
}

.cw:hover {
  color: white;
}

/* Stats */

#pokemon-stats {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-end;
  margin: 0 auto;
  height: 90%;
  gap: 30px;
  text-wrap: nowrap;
}

.stat-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-label {
  margin-top: 15px;
  color: white;
  width: 85px;
  font-size: 80%;
  text-align: center;
  height: 33px;
}

.stat-label-mobil {
  display: none;
  color: white;
  font-size: 80%;
  text-align: center;
  height: 33px;
}

.stat-container {
  width: 85px;
  height: 300px;
  background-color: #ddd;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.stat-value {
  width: 100%;
  text-align: center;
  color: white;
  border-radius: 5px 5px 0 0;
}

.stat-value p {
  height: 85%;
  display: flex;
  justify-content: center;
  align-items: end;
}

/* Footer */
.site-footer {
  background-color: #26272b;
  padding: 45px 50px 20px;
  font-size: 15px;
  line-height: 24px;
  color: #737373;
  margin-top: 25px;
}

.site-footer hr {
  border-top-color: #bbb;
  opacity: 0.5
}

.site-footer hr.small {
  margin: 20px 0
}

.site-footer h6 {
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  margin-top: 5px;
  letter-spacing: 2px
}

.site-footer a {
  color: #737373;
}

.site-footer a:hover {
  color: #cc3333;
  text-decoration: none;
}

.footer-links {
  padding-left: 0;
  list-style: none;
  margin-top: 10px;
}

.footer-links li {
  display: block
}

.footer-links a {
  color: #737373
}

.footer-links a:active,
.footer-links a:focus,
.footer-links a:hover {
  color: #cc3333;
  text-decoration: none;
}

.footer-links.inline li {
  display: inline-block
}

.site-footer .social-icons {
  text-align: right
}

.site-footer .social-icons a {
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin-left: 6px;
  margin-right: 0;
  border-radius: 100%;
  background-color: #33353d
}

.copyright-text {
  margin: 0
}

.top-container {
  display: flex;
  gap: 100px;
  margin-bottom: 25px;
}

.footer-left {
  flex: 3;
}

.footer-right {
  flex: 1;
}

.text-justify {
  margin-top: 10px
}

.bottom-container {
  display: flex;
  align-items: baseline;
  margin-top: 10px;
}

.creator {
  flex: 1;
}

.creator span {
  color: #e31b23;
}

@media (max-width:991px) {
  .site-footer [class^=col-] {
    margin-bottom: 30px
  }
}

@media screen and (max-width: 855px) {
  .info-section {
    height: auto !important;
    flex-direction: column !important;
  }

  .poke-detail-description {
    padding-bottom: 25px;
  }
}

@media (max-width:767px) {
  .site-footer {
    padding-bottom: 0
  }

  .site-footer .copyright-text,
  .site-footer .social-icons {
    text-align: center
  }
}

.social-block {
  flex: 1;
}

.social-icons {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none
}

.social-icons li {
  display: inline-block;
  margin-bottom: 4px
}

.social-icons li.title {
  margin-right: 15px;
  text-transform: uppercase;
  color: #96a2b2;
  font-weight: 700;
  font-size: 13px
}

.social-icons a {
  background-color: #eceeef;
  color: #818a91;
  font-size: 16px;
  display: inline-block;
  line-height: 44px;
  width: 44px;
  height: 44px;
  text-align: center;
  margin-right: 8px;
  border-radius: 100%;
  -webkit-transition: all .2s linear;
  -o-transition: all .2s linear;
  transition: all .2s linear
}

.social-icons a:active,
.social-icons a:focus,
.social-icons a:hover {
  color: #fff;
  background-color: #29aafe
}

.social-icons.size-sm a {
  line-height: 34px;
  height: 34px;
  width: 34px;
  font-size: 14px
}

.social-icons a.facebook:hover {
  background-color: #6d7484
}

.social-icons a.twitter:hover {
  background-color: #051217
}

.social-icons a.linkedin:hover {
  background-color: #007bb6
}

.social-icons a.dribbble:hover {
  background-color: #ea4c89
}

@media (max-width:767px) {
  .social-icons li.title {
    display: block;
    margin-right: 0;
    font-weight: 600
  }
}

/* Imprint */
.imprint-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

.imprint-conatiner {
  width: 100%;
  margin-top: 0 !important;
  padding-top: 50px;
  flex: 1;
}

.imprint-card {
  margin-top: 20px !important;
  padding: 25px;
  min-height: 250px;
  width: 50%;
  margin: 0 auto;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  color: white;
}

/* Responsive */

.mobil-logo {
  display: none;
}

#mobil-sidebar-btn {
  display: none;
  width: calc((100% / 3) - 8px);
  padding: 16px;
  background-color: white;
  border: none;
  cursor: pointer;
  transition: all 200ms ease-in-out;
  border-radius: 3px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  position: sticky;
  bottom: 20px;
  left: 30%;
}

#mobil-sidebar-btn:hover {
  background-color: rgb(204, 32, 32);
}

@media screen and (max-width: 1125px) {
  #search-field {
    width: 85% !important;
  }
}

@media screen and (max-width: 970px) {
  .content-size {
    padding-left: 25px;
    padding-right: 25px;
  }

  .sidebar {
    display: none;
  }

  .mobil-logo {
    display: block;
    width: 300px;
    height: auto;
    overflow: hidden;
    margin-bottom: 25px;
  }

  .mobil-logo img {
    width: 100%;
    height: auto;
  }

  .pokedex-content {
    width: 100%;
    margin-left: 25px;
    margin-top: 0;
    margin-bottom: 30px;
  }

  #mobil-sidebar-btn {
    display: block;
  }

  #mobil-sidebar {
    width: 40%;
    position: fixed;
    bottom: 85px;
    right: 28%;
    height: auto;
    z-index: 999;
  }

  #pokemon-stats {
    gap: 10px;
    text-wrap: initial;
  }

  .stat-container {
    width: 50px;
  }

  .stat-label {
    width: 50px;
  }
}

@media screen and (max-width: 800px) {
  .poke-evo-image {
    height: 150px;
    width: 150px;
  }
}

@media screen and (max-width: 530px) {
  #mobil-sidebar {
    width: 65%;
    right: 20%;
  }

  .stat-container {
    width: 25px;
  }

  .stat-label {
    display: none;
  }

  .stat-label-mobil {
    width: 25px;
    display: block;
  }

  .evolution-section {
    height: auto;
  }

  .poke-detail-evolution-tree {
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
}

@media screen and (max-width: 375px) {
  .content-size {
    padding-left: 10px;
    padding-right: 10px;
  }
}