@import url("https://fonts.googleapis.com/css2?family=Bangers&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box; }

body {
  margin: 0; }

.hidden {
  display: none; }

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

.primary-header {
  background-color: #081324;
  width: 100%;
  height: 27rem;
  display: flex;
  flex-direction: column;
  border-bottom: solid 7px;
  border-bottom-color: #083a85; }
  .primary-header h1 {
    font-family: 'Bangers', cursive;
    height: 12%;
    font-size: 3.2rem;
    color: whitesmoke;
    margin: 0;
    padding: 0 10px;
    background-color: #e02b2b;
    text-align: center;
    align-self: center; }
  .primary-header img {
    height: 88%;
    object-fit: cover;
    opacity: 0.5; }

body {
  background-color: #cbd6e7;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Roboto', sans-serif; }

.container {
  width: 80rem;
  display: flex;
  flex-direction: column; }
  .container .search-container-general {
    width: 100%;
    margin: 2rem 0 4rem 0; }
    .container .search-container-general h2 {
      text-align: center; }

.style-result-number {
  font-size: 0.8rem;
  font-weight: 800;
  color: #76768d; }

.img-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 1rem; }

.container-pages {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; }

.container-all-info {
  width: 100%;
  display: flex;
  margin-bottom: 2rem;
  justify-content: space-between; }
  .container-all-info img {
    width: 25%;
    height: 50%;
    border-radius: 2%;
    box-shadow: 10px 10px 5px 0px rgba(8, 19, 36, 0.75); }

.container-info-associated {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; }

.container-info-plus-pages {
  width: 100%;
  display: flex;
  flex-direction: column; }

.results-container {
  display: flex;
  flex-direction: column;
  justify-content: center; }
  .results-container p {
    margin-top: 1rem; }
  .results-container h3 {
    margin-top: 2rem; }

.container-info {
  color: whitesmoke;
  width: 72%;
  border-radius: 20px;
  background-color: #081324;
  box-shadow: 3px 4px 6px 1px rgba(8, 19, 36, 0.45);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center; }
  .container-info h3, .container-info h4, .container-info p {
    margin-bottom: 1rem; }

@media (max-width: 1300px) {
  .container {
    width: 95%; } }

@media (max-width: 640px) {
  .container-all-info {
    flex-direction: column;
    align-items: center; }
    .container-all-info img {
      width: 70%;
      margin-bottom: 1rem; }
    .container-all-info .container-info {
      width: 100%; } }

.form-search {
  display: flex;
  justify-content: space-between;
  background-color: #081324;
  padding: 2rem 1.5rem 2rem 1.5rem;
  border-radius: 60px;
  box-shadow: 10px 10px 5px 0px rgba(46, 77, 125, 0.75);
  font-size: 1rem;
  margin-top: 1rem; }
  .form-search .select-container {
    color: #76768d;
    display: flex;
    flex-direction: row;
    text-align-last: end;
    align-items: center; }
    .form-search .select-container label {
      text-align: end;
      color: whitesmoke;
      margin-right: 2%; }
    .form-search .select-container select {
      width: 30%;
      height: 2rem;
      margin-right: 3%;
      padding-right: 0.5rem;
      border: none;
      border-radius: 7px;
      outline: none;
      margin: 3% 3% 3% 0; }
  .form-search .input-container {
    width: 50%;
    display: flex;
    flex-direction: row;
    align-items: center; }
    .form-search .input-container input {
      font-weight: 400;
      font-size: 1.5rem;
      width: 100%;
      height: 3rem;
      border: none;
      margin-left: 25px;
      outline: none;
      border-radius: 10px; }
    .form-search .input-container input::placeholder {
      color: #76768d;
      font-weight: 800;
      font-size: 1.2rem;
      text-align: center; }
    .form-search .input-container input:active {
      outline: none; }
    .form-search .input-container i {
      color: whitesmoke;
      font-size: 2rem; }

@media (max-width: 1300px) {
  .form-search {
    display: flex;
    flex-direction: column; }
    .form-search .input-container {
      width: 100%;
      margin-bottom: 1rem; } }

@media (max-width: 640px) {
  .form-search .select-container {
    flex-wrap: wrap;
    justify-content: center; } }

@media (max-width: 350px) {
  .form-search .select-container {
    flex-direction: column;
    justify-content: center; }
    .form-search .select-container select {
      width: 100%; }
  .form-search .input-container input::placeholder {
    font-size: 1rem;
    padding-left: 3%; } }

.characters {
  overflow: hidden;
  width: 10.4rem;
  height: 22rem;
  margin-bottom: 0.5rem;
  background-color: #081324;
  position: relative;
  border-radius: 1%;
  box-shadow: 3px 4px 6px 1px rgba(8, 19, 36, 0.45); }
  .characters a {
    text-decoration: none;
    display: flex; }
    .characters a img {
      height: 260px;
      transition: 0.2s;
      display: flex;
      justify-content: center;
      align-items: center; }
  .characters h3 {
    width: 100%;
    height: 30%;
    background-color: #081324;
    border-top: 4px solid #c01919;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: whitesmoke;
    position: absolute;
    left: 0px;
    bottom: 0px;
    z-index: 1;
    padding-left: 0.5rem; }
  .characters a:hover img {
    transform: scale(1.2);
    transition: 0.2s; }
  .characters a:hover h3 {
    background-color: #c01919; }

.comics {
  display: flex;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
  width: calc(100% / 5 - 2 * 10px);
  height: calc(100% / 4 - 2 * 10px);
  margin-bottom: 0.5rem;
  border-radius: 1%; }
  .comics a {
    text-decoration: none; }
    .comics a img {
      width: 14rem;
      height: 22rem;
      box-shadow: 0 26px 24px -16px #1a3661;
      transform: translateY(0);
      transition: 0.2s; }
    .comics a h3 {
      height: 3rem;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 0.8rem;
      text-transform: uppercase;
      color: #081324;
      margin: 0;
      padding-left: 0.5rem; }
  .comics a:hover img {
    transform: translateY(-10px);
    transition: 0.2s; }
  .comics a:hover h3 {
    color: #c01919; }

@media (max-width: 1300px) {
  .comics a img {
    width: 100%;
    height: 80%; }
  .comics a h3 {
    height: 5rem; } }

@media (max-width: 640px) {
  .comics {
    width: 30%; }
    .comics a img {
      width: 100%;
      height: 80%; } }

@media (max-width: 350px) {
  .characters {
    width: 100%;
    height: 35rem; }
    .characters a {
      text-decoration: none;
      display: flex;
      justify-content: center; }
      .characters a img {
        height: 35rem; }
      .characters a h3 {
        height: 20%; }
  .comics {
    width: 100%; } }

ul {
  height: 3rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-wrap: wrap; }
  ul .pagination-number {
    list-style: none;
    border-radius: 0.8rem;
    background-color: #081324;
    text-align: center;
    margin: 0 0.5rem  0 0.5rem;
    padding: 0.18rem 0.5rem 0.18rem 0.5rem; }
    ul .pagination-number a {
      color: whitesmoke;
      text-decoration: none; }
  ul .clicked-number {
    background-color: #083a85; }

.anchor-page-style {
  display: flex;
  justify-content: center;
  align-items: center; }

.arrow {
  width: 1.8rem;
  margin-right: 0.5rem; }

.go-back {
  font-size: 1.2rem;
  width: 160px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: 50px;
  background-color: #1150ad;
  color: white;
  align-self: flex-end;
  text-decoration: none; }

.go-back:hover {
  background-color: #1a3661; }

@media (max-width: 640px) {
  .go-back {
    align-self: center;
    margin-bottom: 1rem; } }

button {
  font-size: 1.2rem;
  width: 160px;
  height: 40px;
  padding: 0 2% 0 2%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: 50px;
  background-color: #081324;
  color: white;
  background-color: #1150ad;
  margin-left: 1%; }

button:hover {
  background-color: #1a3661; }

.footer-style {
  width: 100%;
  height: 12rem;
  background-color: #081324;
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: solid 7px;
  border-top-color: #083a85; }
  .footer-style .footer-text-style {
    color: whitesmoke;
    font-size: 1.3rem; }

.footer-img {
  width: 3rem;
  margin: 0 0.5rem 0 0.5rem; }

.container-loadig {
  background-color: rgba(199, 190, 194, 0.9);
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  transition: all 2.5s ease;
  z-index: 10000; }

.loading {
  border: 15px solid #d45c5c;
  border-top-left-radius: #F4266A;
  border-top-style: groove;
  height: 7rem;
  width: 7rem;
  border-radius: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  animation: turn 1.5s linear infinite; }

@keyframes turn {
  from {
    transform: rotate(0deg); }
  to {
    transform: rotate(360deg); } }
