.app {
  min-height: 100vh;
  padding: 3%;
  background-image: url(https://cdn.wallpapersafari.com/28/82/J5qY7X.jpg);
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rock {
  background-color: rgba(141, 128, 128, 0.715);
}

.ghost {
  background-color: rgb(164, 159, 159);
}

.electric {
  background-color: rgb(246, 246, 106);
}

.bug {
  background-color: #f5c379;
}

.poison {
  background-color: #f8bdff;
}

.normal {
  background-color: #fcf3f7;
}

.fairy {
  background-color: rgba(247, 156, 171, 0.863);
}

.fire {
  background-color: #f79f58;
}

.grass {
  background-color: #9dfa9ae8;
}

.water {
  background-color: #b7ddf8;
}

.ground {
  background-color: #e0a260;
}

.fighting {
  background-color: #f27ca0;
}

.psychic {
  background-color: #ddf96d;
}

.dragon {
  background-color: #ff8248;
}

.ice {
  background-color: #67eef6;
}

.dark {
  background-color: #d936e1;
}

.flying {
  background-color: rgba(157, 239, 251, 0.863);
}

.type_font-style {
  border-radius: 5px;
  border: 1px solid #000;
  padding: 0.5% 2%;
  font-size: 20px;
}

.ability_style {
  color: rgba(0, 0, 255, 0.703);
  display: block;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 28px;
  color: rgb(160, 76, 20);
}

h4 {
  font-size: 30px;
  margin: 0;
  margin-bottom: 3%;
  color: rgb(38, 91, 238);
}

p {
  font-size: 30px;
  color: rgb(123, 129, 146);
}

.btn {
  width: 15%;
  min-width: 100px;
  font-size: 20px;
  padding: 1%;
  text-align: center;
  background-color: rgb(183, 85, 19);
  color: #ffff;
  border: none;
  cursor: pointer;
  border-radius: 10px;
}

.btn:hover {
  opacity: 0.7;
}

.error {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10%;
  min-height: 100vh;
  background-image: url(https://cdn.wallpapersafari.com/28/82/J5qY7X.jpg);
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
  font-family: Arial, Helvetica, sans-serif;
}

.error__text {
  font-size: 30px;
  color: rgb(255, 255, 255);
}

.header {
  width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  align-items: center;
  margin-bottom: 5%;
}

.header__title {
  color: #ffff;
  font-size: 24px;
  margin: 0;
  align-self: flex-start;
}

.header__form {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.header__form a {
  text-decoration: none;
  display: block;
  width: 15%;
  min-width: 100px;
  font-size: 20px;
  padding: 1%;
  text-align: center;
  background-color: rgb(183, 85, 19);
  color: #ffff;
  border: none;
  cursor: pointer;
  border-radius: 10px;
}

.select {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #444;
  line-height: 1.3;
  padding: 1% 2%;
  width: 80%;
  box-sizing: border-box;
  margin: 0;
  border: 1px solid rgb(181, 71, 3);
  box-shadow: 0 1px 0 1px rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E"),
    linear-gradient(to bottom, #ffffff 0%, #e5e5e5 100%);
  background-repeat: no-repeat, repeat;
  background-position: right 0.7em top 50%, 0 0;
  background-size: 0.65em auto, 100%;
}
.select::-ms-expand {
  display: none;
}
.select:hover {
  border-color: #888;
}
.select:focus {
  border-color: #aaa;
  box-shadow: 0 0 1px 3px rgba(59, 153, 252, 0.7);
  box-shadow: 0 0 0 3px -moz-mac-focusring;
  color: #222;
  outline: none;
}
.select option {
  font-weight: normal;
}
*[dir='rtl'] .select,
:root:lang(ar) .select,
:root:lang(iw) .select {
  background-position: left 0.7em top 50%, 0 0;
  padding: 0.6em 0.8em 0.5em 1.4em;
}

.searched__item {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-width: 200px;
  margin: 5% auto;
  width: 80%;
  min-height: 300px;
  padding: 2%;
  border: 1px solid rgb(167, 86, 31);
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 0.5);
}

.searched__item a {
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 10px;
  text-decoration: none;
  font-size: 26px;
  font-weight: bold;
  color: rgb(126, 58, 13);
}

.searched__item img {
  min-width: 200px;
}

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

.main__item {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 100%;
  gap: 20px;
}

.item__data-basic {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  width: 100%;
  gap: 10px;
  margin-bottom: 3%;
}

.item__data-basic_card {
  display: flex;
  border: 1px solid #ffff;
  background-color: #fcf2cb;
  padding: 1%;
  border-radius: 15px;
  width: 17%;
  min-width: 200px;
  min-height: 200px;
  max-height: 330px;
}

.item__data-basic_card:hover {
  opacity: 0.9;
}

.item__link {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.item__data-basic_card img {
  align-self: center;
  object-fit: contain;
  width: 100%;
  height: 70%;
}

.item__data-basic_card a {
  text-decoration: none;
  font-size: 26px;
  font-weight: bold;
  color: rgb(126, 58, 13);
}

.type_data {
  display: flex;
  justify-content: space-around;
  gap: 5px;
}

.item__data {
  width: 100%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 10px;
}

.item__data img {
  overflow: hidden;
  width: 35%;
  min-width: 250px;
  max-width: 350px;
  height: auto;
}

.item__data a {
  font-size: 23px;
  font-weight: bold;
  color: rgb(241, 149, 88);
}

.item__data_description {
  width: 50%;
  min-width: 300px;
  padding: 1% 4%;
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 0.5);
}

.dl-lined {
  overflow: hidden;
}

.dl-lined dt {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgb(141, 65, 15);
  min-width: 155px;
  float: left;
  clear: both;
  padding: 5px 0;
  border-top: 1px solid rgb(167, 86, 31);
}

.dl-lined dd {
  display: flex;
  flex-wrap: wrap;
  font-size: 1.2rem;
  font-weight: 600;
  margin-left: 155px;
  padding: 5px 0;
  border-top: 1px solid rgb(167, 86, 31);
}

.dl-lined span {
  margin-right: 10px;
}

.item__stats {
  min-width: 250px;
  padding: 1% 4%;
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 0.5);
}

.item__stats_range {
  background-color: rgba(255, 255, 255, 0);
}

.item__stats_range-show {
  background-color: #ee7e33;
  border-radius: 7px;
  padding-left: 1%;
  line-height: 25px;
  color: white;
}

.item__evolution {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  width: 100%;
  gap: 20px;
}

.item__evolution_card {
  border: 1px solid #ffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 1%;
  border-radius: 15px;
  width: 17%;
  min-width: 230px;
  min-height: 200px;
  position: relative;
  z-index: 0;
}

.item__evolution_card-without-after {
  border: 1px solid #ffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 1%;
  border-radius: 15px;
  width: 17%;
  min-width: 230px;
  min-height: 200px;
  position: relative;
  z-index: 0;
}

.item__evolution_card-without-after p:last-child {
  font-size: 30px;
  color: rgba(255, 145, 0, 0.904);
}

.item__evolution_card::after {
  content: ' ';
  background-image: url(assets/390144ee5511a36d717d.png);
  background-size: 55px 45px;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 2;
  display: block;
  height: 45px;
  width: 55px;
  position: absolute;
  top: 70%;
  left: 90%;
}

.item__evolution_card-avatar {
  align-self: center;
  object-fit: contain;
  width: 100%;
  height: 70%;
}

.item__evolution_card p:last-child {
  font-size: 30px;
  color: rgba(255, 145, 0, 0.904);
}

.arrow {
  background-image: url(assets/390144ee5511a36d717d.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
  width: 100px;
}

/* loader */

svg {
  width: 3.75em;
  transform-origin: center;
  animation: rotate 2s linear infinite;
}

circle {
  fill: none;
  stroke: rgb(255, 255, 255);
  stroke-width: 2;
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 200;
    stroke-dashoffset: -35px;
  }
  100% {
    stroke-dashoffset: -125px;
  }
}

@media (max-width: 660px) {
  h2 {
    font-size: 25px;
  }

  h3 {
    font-size: 22px;
  }

  h4 {
    font-size: 25px;
  }

  .btn {
    font-size: 17px;
  }

  .header__title {
    font-size: 18px;
  }

  .header__form a {
    width: 100%;
    margin-top: 3%;
  }

  .select {
    width: 100%;
  }

  .item__data-basic_card a {
    font-size: 23px;
  }

  .type_font-style {
    font-size: 17px;
    padding: 1% 2%;
  }

  .item__data_description {
    width: 100%;
    padding: 1%;
  }

  .dl-lined dt {
    min-width: 145px;
  }

  .dl-lined dd {
    margin-left: 145px;
  }
}

@media (max-width: 536px) {
  .item__evolution_card::after {
    transform: rotate(90deg);
    top: 92%;
    left: 15%;
  }
}

@media (max-width: 350px) {
  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 17px;
  }

  h4 {
    font-size: 20px;
  }

  .item__data-basic_card a {
    font-size: 20px;
  }

  .type_font-style {
    font-size: 15px;
  }

  .btn {
    font-size: 14px;
  }

  .header__title {
    font-size: 14px;
  }

  .dl-lined dt {
    font-size: 15px;
    min-width: 125px;
  }

  .dl-lined dd {
    font-size: 15px;
    margin-left: 125px;
  }
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

