.pokemon-box__type-badge {
  border-radius: 5px;
  color: #171717;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 1px;
  padding: 2px 3px;
  height: 18px;
  width: 70px;
  display: inline-block;
}
.pokemon-box__type-badge-normal {
  background-color: #95956A;
}
.pokemon-box__type-badge-fire {
  background-color: #F07F30;
}
.pokemon-box__type-badge-fighting {
  background-color: #C03028;
}
.pokemon-box__type-badge-water {
  background-color: #6890EF;
}
.pokemon-box__type-badge-flying {
  background-color: #A890F0;
}
.pokemon-box__type-badge-grass {
  background-color: #78C850;
}
.pokemon-box__type-badge-poison {
  background-color: #A040A0;
}
.pokemon-box__type-badge-electric {
  background-color: #F8D030;
}
.pokemon-box__type-badge-ground {
  background-color: #E0C068;
}
.pokemon-box__type-badge-psychic {
  background-color: #F85888;
}
.pokemon-box__type-badge-rock {
  background-color: #B8A038;
}
.pokemon-box__type-badge-ice {
  background-color: #98D8D8;
}
.pokemon-box__type-badge-bug {
  background-color: #A8B820;
}
.pokemon-box__type-badge-dragon {
  background-color: #7039F8;
}
.pokemon-box__type-badge-ghost {
  background-color: #705898;
}
.pokemon-box__type-badge-dark {
  background-color: #705848;
}
.pokemon-box__type-badge-steel {
  background-color: #B8B8D0;
}
.pokemon-box__type-badge-fairy {
  background-color: #EE99AC;
}

html {
  margin: 0;
  padding: 0;
}

body {
  background-color: #171717;
  color: #e6e6e6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  margin: 0;
  padding: 0;
}

button:focus {
  outline: 1px solid #e6e6e6;
}

button:active {
  filter: saturate(125%);
  outline: 1px solid red;
}

.roller-wrapper {
  display: none;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0.5;
  z-index: 999999;
}

.lds-roller {
  position: fixed;
  display: inline-block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
}

.lds-roller div {
  -webkit-animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
          animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}

.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e6e6e6;
  margin: -4px 0 0 -4px;
}

.lds-roller div:nth-child(1) {
  -webkit-animation-delay: -0.036s;
          animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}

.lds-roller div:nth-child(2) {
  -webkit-animation-delay: -0.072s;
          animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}

.lds-roller div:nth-child(3) {
  -webkit-animation-delay: -0.108s;
          animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}

.lds-roller div:nth-child(4) {
  -webkit-animation-delay: -0.144s;
          animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}

.lds-roller div:nth-child(5) {
  -webkit-animation-delay: -0.18s;
          animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}

.lds-roller div:nth-child(6) {
  -webkit-animation-delay: -0.216s;
          animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}

.lds-roller div:nth-child(7) {
  -webkit-animation-delay: -0.252s;
          animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}

.lds-roller div:nth-child(8) {
  -webkit-animation-delay: -0.288s;
          animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}

@-webkit-keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.control-buttons__button,
.results-controls__button,
.search-form__button,
.pokemon-modal__close-button {
  border: 1px solid black;
  cursor: pointer;
  background-color: #313131;
  color: #e6e6e6;
  max-width: 160px;
  padding: 10px;
  border-radius: 2px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}
.control-buttons__button:hover,
.results-controls__button:hover,
.search-form__button:hover,
.pokemon-modal__close-button:hover {
  background-color: #3d3d3d;
}

.search-form__input {
  border: 1px solid black;
  cursor: pointer;
  background-color: #313131;
  color: #e6e6e6;
  max-width: 160px;
  padding: 10px;
  border-radius: 2px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  cursor: auto;
}

.header {
  margin: 10px auto;
  text-align: center;
}
.header__logo {
  width: 15%;
  max-width: 125px;
  height: 15%;
  max-height: 125px;
  margin: auto;
}
.header__text {
  margin-top: 0;
  margin-bottom: 1rem;
}

.search-form {
  display: flex;
  justify-content: center;
  align-items: center;
}
.search-form__input {
  margin-left: 2.4rem;
  border: none;
  min-width: 270px;
}
@media (max-width: 540px) {
  .search-form__input {
    margin: 0;
  }
}
.search-form__input::-moz-placeholder {
  font-size: 0.9rem;
}
.search-form__input:-ms-input-placeholder {
  font-size: 0.9rem;
}
.search-form__input::placeholder {
  font-size: 0.9rem;
}
.search-form__button {
  border: none;
  border-left: 1px solid black;
}

.control-buttons {
  display: flex;
  justify-content: center;
  margin: 1rem 1rem;
}
.control-buttons__button {
  font-size: 0.8rem;
  padding: 10px 15px;
  margin: 2px;
  border-radius: 2px;
}
@media (min-width: 540px) {
  .control-buttons__button {
    font-size: 1rem;
  }
}

.results {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  margin: auto;
  margin-bottom: 1em;
  background-color: #1a1a1a;
  border: 1px solid black;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  min-width: -webkit-min-content;
  min-width: -moz-min-content;
  min-width: min-content;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  max-width: 80vw;
}

.pokemon-box {
  border: 1px solid black;
  margin: 1rem 1rem;
  min-height: 55vh;
  padding-bottom: 1rem;
  background-color: #171717;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.pokemon-box:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}
.pokemon-box__name {
  font-size: 1.5rem;
}
.pokemon-box__star {
  padding: 0;
}
.pokemon-box__star-button {
  border: none;
  cursor: pointer;
  position: float;
  float: right;
  padding: 0;
  margin: 12px 12px 0 0;
  width: 30px;
  height: 30px;
  background-color: transparent;
}
.pokemon-box__star-button:hover {
  background-color: transparent;
  transform: none;
}
.pokemon-box__star-button--active svg > path {
  fill: yellow;
  stroke: yellow;
}
.pokemon-box__image-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pokemon-box__image {
  display: block;
  height: 150px;
  width: 150px;
}
.pokemon-box > p {
  margin: 3px;
  text-align: center;
}
.pokemon-box__evolutions {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 75px;
}
.pokemon-box__evolutions-image {
  cursor: pointer;
  height: 75px;
  width: 75px;
}

.pokemon-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(61, 61, 61, 0.815);
}
.pokemon-modal__content {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #171717;
  padding: 1.5rem;
  width: 500px;
  max-width: 80vw;
  max-height: 85%;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.pokemon-modal__content:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}
.pokemon-modal__image {
  display: block;
  margin: auto;
  width: 30vh;
}
.pokemon-modal p {
  margin: 3px;
  text-align: center;
}
.pokemon-modal__close-button {
  margin: 0;
  padding: 0;
  font-size: 18px;
  width: 25px;
  height: 25px;
  position: relative;
  float: right;
  top: -5px;
  right: -12px;
}
.pokemon-modal__close-button:hover {
  padding: 0;
  margin: 0;
}
.pokemon-modal__star-button {
  position: relative;
  top: 25px;
  right: 20px;
}
.pokemon-modal__evolutions {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}
.pokemon-modal__evolutions-image {
  cursor: pointer;
  height: 100px;
  width: 100px;
}

.results-controls {
  display: none;
}
.results-controls__button {
  margin: 1rem;
  padding: 0.5rem 2rem;
}
.results-controls--active {
  display: flex;
  justify-content: center;
}/*# sourceMappingURL=styles.css.map */