* {
  font-family: "Overpass", sans-serif;
  margin: 0;
  box-sizing: border-box;
}
label,
select,
button,
span,
h4 {
  font-size: 20px;
}
dt,
button,
a {
  font-weight: bold;
}
body {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(https://i.pinimg.com/564x/12/dc/29/12dc29241535c318712d951e97e6d283.jpg);
  margin: 1rem;
}

header {
  display: flex;
  margin: 1rem;
  padding-left: 4rem;
  background-color: #333333c7;
  height: 8rem;
  align-items: center;
  border-radius: 20px 0;
  justify-content: space-between;
}
header .icon {
  display: none;
}
h1 {
  color: #d7d700;
  font-size: 4rem;
  letter-spacing: 3px;
  font-family: "Passero One", sans-serif !important;
}
main {
  margin: 1rem;
  padding: 1rem 0rem 1rem 2rem;
  border-radius: 20px 0;
  line-height: 2rem;
  letter-spacing: 2px;

  background: rgb(189, 189, 189);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(249, 99, 86, 1) 0%,
    rgba(168, 205, 226, 1) 48%,
    rgba(149, 236, 62, 1) 100%
  );
  background-size: 300% 100%;
  animation: gradient 15s ease infinite;
}
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
h2 {
  font-size: 30px;
  letter-spacing: 5px;
  font-family: "Passero One", sans-serif !important;
}
h4 {
  font-family: "Passero One", sans-serif !important;
}
.statistics {
  display: inline-flex;
  padding: 0.5rem 1rem;
  width: 100%;
  justify-content: space-evenly;
}

.statistics p {
  background-color: #ebebeb;
  color: #333333;
  padding: 1rem 4rem;
  font-family: "Passero One", sans-serif !important;
  font-size: larger;
  border-radius: 10px 0px;
}
.statistics p:hover {
  background-color: #3c0808;
  color: white;
}
.containerModal {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
}
.containerFilter label {
  background-color: #d7d700;
  padding: 20px 0 20px 20px;
  border-radius: 10px 0 0 0;
}
.containerFilter select {
  background-color: #d7d700;
  padding: 19px 19px 19px 5px;
  border: none;
  outline: none;
  border-radius: 0 0 10px 0;
  line-height: 1rem;
  width: 13rem;
  cursor: pointer;
}
.containerFilter option:nth-child(1) {
  text-align: center;
}

.buttons {
  display: flex;
  flex-direction: column;
  height: 6rem;
  justify-content: space-evenly;
}
.buttons #applyFilter,
#clearFilter {
  height: 35px;
  width: 6rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background-color: #ebebeb;
  color: #333333;
}
#applyFilter:hover {
  background-color: #4ed62c;
  color: white;
}

#clearFilter:hover {
  background-color: #174bf4;
  color: white;
}

.cardsBox .character {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-evenly;
  padding: 0;
  gap: 1rem;
}
.cardsBox .textCard {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 23px;
}
.cards {
  background-color: #ebebebb3;
  border-radius: 50px 0;
  width: 24rem;
  height: auto;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 1rem 2rem 2rem 2rem;
}
img {
  width: 15rem;
  height: 15rem;
  border: 2px solid #3c0808;
  padding: 4px;
  border-radius: 50%;
  margin: 1rem;
}
dt {
  padding-right: 5px;
}
span {
  display: flex;
  flex-direction: row;
  letter-spacing: 0.5px;
}
footer {
  display: flex;
  letter-spacing: 3px;
  justify-content: center;
}
a {
  color: #ebebeb;
  text-decoration: none;
  padding-left: 1rem;
}

@media only screen and (max-width: 1180px) and (min-width: 600px) {
  h1 {
    letter-spacing: 6px;
  }
  header {
    padding-left: 3rem;
  }
  header .icon {
    display: flex;
    width: 2rem;
    height: 2rem;
    margin-right: 4rem;
  }
  .statistics {
    padding: 1rem;
  }
  .containerFilter {
    background-color: rgba(0, 0, 0, 0.336);
    position: fixed;
    top: 0;
    width: 100%;
    right: 0;
    left: 0;
    bottom: 0;
    margin: 0;
    display: flex;
    opacity: 0;
    pointer-events: none;
  }
  .containerModal {
    background-color: #3c0808;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 20px 0;
    height: 100vh;
    width: 67%;
    padding: 2rem;
    justify-content: flex-start;
    flex-direction: column;
  }

  .containerFilter--show {
    opacity: 1;
    pointer-events: unset;
  }

  .filterSpecies,
  .filterAffiliation,
  .sortBy {
    height: 10rem;
    margin: 2rem;
    width: 100%;
  }

  .containerFilter label {
    margin-bottom: 1rem;
    letter-spacing: 1px;
    background-color: transparent;
    color: aliceblue;
    width: 100%;
  }
  .containerFilter select {
    width: 16rem;
    background-color: transparent;
    color: aliceblue;
    width: 100%;
    display: flex;
  }
  .containerFilter option {
    background-color: #3c0808;
    color: aliceblue;
    position: relative;
    font-size: 12px !important;
  }
  .buttons {
    height: 10rem;
    width: 100%;
  }
  .buttons #applyFilter,
  #clearFilter {
    background-color: #d7d700;
    width: 12rem;
    height: 6rem;
    margin-bottom: 1rem;
    color: #333333;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: x-large;
    font-weight: bold;
  }
  .cards {
    display: flex;
    width: 87%;
    flex-direction: row;
    padding: 1rem;
    margin-top: 1px;
    margin-bottom: 1px;
  }
  img {
    width: 8rem;
    height: 8rem;
  }
  footer {
    padding-top: 1rem;
  }
}
