.contenedor {
  display: grid;
  grid-auto-rows: 23.2rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 2rem;
  margin:0 auto;
  padding: 20px;
  background-color: #3b3f98;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
  margin-bottom: 2em;
  box-sizing: border-box;
  max-width: 1200px;

}
.container2{
    background-color: #5e5c5c;
    width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.contenedor:hover {
  box-shadow: 0px 0px 20px rgba(90, 82, 82, 0.5);
}

#blur.active {
  filter: blur(10px);
  pointer-events: none;
  user-select: none;
}
.pokestatsImg {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 1.5vh;
  border-radius: 1.2rem;
  overflow: hidden;
  position: relative;
}

.pokebola {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 15rem;
  height: 15rem;
  background-color: white;
  border-radius: 50%;
  z-index: -1;
  opacity: 1;
}

.lineaCentral {
  content: "";
  position: absolute;
  top: 35%;
  left: 0;
  width: 100%;
  height: 3rem;
  background-color: white;
  z-index: -3; 
  opacity: 0.8;
}

.pokestatsImg img {
  display: block;
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  max-height: 100%;
}



.intro {
  background-color: #c4b6c6;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  clip-path: circle(150% at 100% 0);
  transition: clip-path 0.3s ease-in-out;
  
}

.introSalida {
  clip-path: circle(0% at 100% 0);
}

#introVideo {
  width: 100%;
  height: 100%;
}
#imgpokemon{
  image-rendering: pixelated;
}

.pokemon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 100%;
  border: 1px solid #333;
  text-align: center;
  font-size: 1.2rem;
  transition: transform 0.3s ease-in-out;
  border-radius: 1.4rem;
  border: 1px solid #ccc;
  cursor: url(IMG/icons8-puntero-35.png), auto;
}
.nombrePokemon{
  width: 100%;
  text-transform: capitalize;
  align-items: center;
  display: flex;
  gap: 0.1rem;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 1.4rem 1.4rem .2rem .2rem;
}

.tipoPokemon{
  align-self: center;
  font-size: 1rem;
  margin : .4rem;
  background-color: rgba(0, 0, 0, 0.5);
  text-transform: capitalize;
  display: flex;
  justify-content: center;
  padding: .6rem;
  border-radius: 1rem;

}

.pokemon-card:hover {
  transform: scale(1.05);
}

.pokemon-card-container{
  width: 100%;
  height: 100%;
}
.divDataPokemon{
  display: grid;
  grid-template-columns: 1fr 1fr;

}
#imgpokemon {
  height: 10rem;
  width: 10rem;
}


.statsPoke {
  visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
  text-align: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(32, 45, 82);
  padding: 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  z-index: 999;
  max-height: 90vh;
  width: 90%;
}

.btnCerrar {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

body,h1,h2,h3,p,ul,li {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #2d2d2d;
  color: #f1efef;
  margin: 0;
  padding: 0;
  overflow: hidden;
}


header {
  background-color: #e74c3c;
  color: white;
  text-align: center;
  padding: 30px 0;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

nav a {
  text-decoration: none;
  color: #3498db;
  margin: 0 15px;
  font-weight: bold;
  transition: color 0.3s;
}

.color {

  color: rgb(62, 193, 62);
}

nav a:hover {
  color: #e74c3c;
}

main {
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 30px;
  margin: 20px 0;
}

.featured-pokemon {
  text-align: center;
  margin: 30px 0;
}

.featured-pokemon img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
}

footer {
  text-align: center;
  padding: 20px 0;
  color: #777;
  background-color: #f2f2f2;
}

h1,h2 {
  font-weight: bold;
}

button {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #e74c3c;
}

.opcion{

  background-color: #000000;
  width: 80px;
  height: auto;
  padding: 15px;
  justify-content: space-around;
}
.opcion:hover{
  background-color: #0b8216;
}


.info-stat{
background-color: #2d2d2d;
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
text-align: justify;
width: var(--total);
  
overflow: auto;  
border: 1px solid #ccc; 

}




.stat-bar-container {
  display: flex;
  
  justify-content: flex-end;
}

.stat-bar {
  height: 12px;
  max-width: 100%;
}

.info-stat-move {
  max-height: 50vh;
  margin-bottom: 1vh;
  background-color: #141313;
  padding: 5px;
  border-radius: 5px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  opacity: 0; /* inicialmente invisible */
  transform: translateY(30px); /* posición inicial 30px abajo de donde debería estar */
  animation: fadeInMoveUp 2s forwards; /* Llamada a la animación */
}
.info-stat {
  background-color: #141313;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  opacity: 0; /* inicialmente invisible */
  transform: translateY(30px); /* posición inicial 30px abajo de donde debería estar */
  animation: fadeInMoveUp 2s forwards; /* Llamada a la animación */
}
@keyframes fadeInMoveUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.info-stat h3 {
  margin-top: 5px;
}

.info-stat .stat-bar.hp-bar {
  background-color: rgb(140, 5, 5);
}

.info-stat .stat-bar.attack-bar,
.info-stat .stat-bar.spAttack-bar,
.info-stat .stat-bar.spDefense-bar {
  background-color: rgb(25, 114, 14);
}

.info-stat .stat-bar.defense-bar,
.info-stat .stat-bar.speed-bar,
.info-stat .total-bar {
  background-color: rgb(140, 5, 5);
}

.hp-bar { width: var(--hp); }
.attack-bar { width: var(--attack); }
.spAttack-bar { width: var(--spAttack); }
.spDefense-bar { width: var(--spDefense); }
.defense-bar { width: var(--defense); }
.speed-bar { width: var(--speed); }
.total-bar { width: var(--total); }

.stat-line {
  display: grid;
  gap: .3rem;
  grid-template-columns: 3fr 2fr 3fr;
  align-items: center; 
}
.stat-line-move {
  display: grid;
  grid-template-columns: 0.5fr 2fr;
  align-items: center; 
}
.stat-label,
.stat-value,
.stat-bar {
  margin: 0;
  padding: 0;
  border: none; 
}



