:root {
  --color-rojo-general: #dd0329;
  --color-blanco-fondo: #ededed;
  --color-celeste-items: #2972b8;

  --color-amarillo-logo: #ffcb05;
  --color-gris-desabilitado: #6a737b;

  --margin-contenedores-top-bottom: 10px 0;
}

body {
  background-color: var(--color-blanco-fondo);
}

/* CABECERA */

header {
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  background-color: var(--color-rojo-general);
}
.contenedor-logo {
  display: flex;
  justify-content: center;
  width: 100px;
  max-width: 500px;
  max-height: 100px;
  padding: 20px 0;
  overflow: hidden;
}
#logo-cabecera {
  max-width: 50%;
  max-height: 50%;
  height: auto;
  width: auto;
}
.contenedor-buscador {
  display: flex;
  flex-direction: column;
  width: 250px;
  height: 100%;
  padding: 0;
}
.boton-buscar-pokemon {
  background-color: var(--color-celeste-items);
  color: var(--color-blanco-fondo);
}
.contenedor-error-validacion {
  display: flex;
  justify-content: center;
  height: auto;
  margin: 4px 0;
}
.error-validacion {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-blanco-fondo);
  margin: 0;
}

/* MAIN */

#seccion-principal {
  display: flex;
}

/* Listado pokemones */

.contenedor-listado-pokemones {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  margin: 20px 0;
}
.nombre-pokemon-listado {
  font-size: 18px;
  margin: 10px;
  cursor: pointer;
  border-bottom: 1px solid;
  border-color: var(--color-gris-desabilitado);
}
.mensaje-carga-listado-pokemones {
  font-size: 18px;
  margin: 10px;
}

/* Información del pokémon */

.contenedor-informacion-pokemon {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px;
  width: 100vw;
}
.contenedor-identificacion-pokemon{
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-evenly;
  width: 100%;
  max-width: 550px;
  margin: var(--margin-contenedores-top-bottom);
}
.contenedor-imagen-pokemon {
  margin: var(--margin-contenedores-top-bottom);
}
#imagen-pokemon {
  height: 100%;
  width: 100%;
}
.contenedor-tipos-pokemon {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 220px;
  margin: var(--margin-contenedores-top-bottom);
}
.contenedor-imagen-tipo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.imagen-tipos-pokemon {
  height: 80%;
  width: 60%;
}
.contenedor-stats-pokemon {
  display: flex;
  flex-direction: column;
  width: 90%;
  max-width: 300px;
  margin: var(--margin-contenedores-top-bottom);
}
.contenedor-titulo-stats {
  display: flex;
  justify-content: center;
}
.titulo-stats-pokemon {
  border-bottom: 1px solid;
  border-color: var(--color-gris-desabilitado);
}
.contenedor-listas-stats{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: 300px;
}
.lista-stats,
.lista-respuestas-stats,
.lista-habilidades {
  list-style: none;
  padding-left: 0%;
  margin: 15px 0;
}
.contenedor-habilidades-pokemon {
  display: flex;
  flex-direction: column;
  margin: var(--margin-contenedores-top-bottom);
  width: 75%;
  max-width: 300px;
}
.contenedor-titulo-habilidades {
  display: flex;
  justify-content: center;
}
.titulo-habilidades-pokemon {
  border-bottom: 1px solid;
  border-color: var(--color-gris-desabilitado);
}

/* CAMBIO DE PAGINA */

.contenedor-cambio-pagina {
  display: flex;
  justify-content: center;
}
.indicador-pagina,
.boton-siguiente-pagina,
.boton-anterior-pagina {
  cursor: pointer;
}

#oculto {
  display: none;
}

@media (min-width: 850px) {
  #seccion-principal {
    margin: 0 40px;
  }
  .contenedor-imagen-pokemon {
    width: 150px;
  }
  .contenedor-stats-pokemon {
    width: 250px;
  }
  .contenedor-habilidades-pokemon {
    width: 250px;
  }
}
