@font-face {
    font-family: 'Roboto';
    src: url('Roboto/Roboto-Regular.ttf');
}

@font-face{
font-family: 'Roboto-Black';
src: url('Roboto/Roboto-Black.ttf');
}

@font-face {
    font-family: 'Roboto-Blackdtalic';
    src: url('Roboto/Roboto-BlackItalic.ttf');
}

* {
    font-family: 'Roboto';
    margin: 0;
    padding: 0;

}

h1{
font-family: 'Roboto-Black' !important;
}

a{
font-family: 'Roboto-Blackdtalic' !important;
}

header {
    display: flex;
    height: 220px;
    background-color: #BF1725;
    border-bottom: #fff solid 4px;
    align-items: center;
    justify-content: center;
}

.favorito-guardados{
    margin: 10px;
    position: absolute;
    width: 60px;
    height: 60px;
    right: 20px;
    top: 0;
}

.info {
    margin-top: 5px;
    gap: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title-info{
    width: 320px;
}

#buscador {
    border-color: transparent;
    border-radius: 10px;
    padding-left: 5px;
    width: 350px;
    height: 25px;
    border-style: none;
}





#btn-buscador{
    transition: 0.5s;
    font-size: 16px;
    background-image: linear-gradient(45deg, #110d85, #7099ff);
    border-style: none;
    width: 100px;
    height: 30px;
    color: #fff;
    box-shadow: 1px 5px 4px 0px #0000009e;
}

main {
    height: 100vh;
    padding-top: 30px;
    background-color: #BF343F;
}

.ventana-cargando {
    transition: 1s;
    color: #f2f2f2;
    border-radius: 20px;
    background: #000000a6;
    margin: 30px auto 0 auto;
    display: flex;
    width: 40%;
    height: 25%;
    position: fixed;
    z-index: 5;
    top: -2000px;
    bottom: 0;
    left: 0;
    right: 0;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.ventana-cargando img {
    width: 70px;
}

.ventana-cargando p {
    text-align: center;
}

.contenedor {
    box-shadow: 10px 19px 13px 0px #0000004f;
    border-radius: 2%;
    padding-top: 10px;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    margin: auto;
    width: 60%;
    height: 90%;
    gap: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;

}

.card {
    border-radius: 10px;
    display: flex;
    margin: auto;
    width: 300px;
    background-color: #f2f2f2;
    height: 280px;
    flex-direction: column;
    align-items: center;
}

.nombre-pokemon {
    color: #ffffff;
    font-weight: bolder;
    border-radius: 10px 10px 0px 0px;
    font-size: 30px;
    display: flex;
    justify-content: flex-end;
    height: 50%;
    width: 100%;
    background-color: #73a592;
    flex-direction: column-reverse;
    align-items: center;
    gap: 5px;

}

.sub-info {
    width: 100%;
    font-size: 24px;
    gap: 30px;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn {
    text-align: center;
    width: 40px;
    height: 55px;
    margin-bottom: 10px;
    transition: 0.1s;
}

.btn img {
    border-radius: 100%;
    box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.2);
    width: 40px;
    height: 40px;
    transition: 0.1s;
}

.inf {
    text-align: center;
    padding: 10px;
}

.contenedor-about-me {
    flex-direction: row-reverse;
    display: flex;
    width: 100%;
}

#about-me {
    z-index: 5;
    right: 8px;
    bottom: 20px;
    position: fixed;
    /* position: absolute; */
    width: 58px;
    height: 58px;

}

footer {
    transition: 1s;
      /* transition: 2s; */
    /* opacity: 1; */
    background-color: #111111bd;
    /* border: solid; */
    /* background-color: #fff; */
    width: 100%;
    height: 100%;
    z-index: 2;
    position: fixed;
    pointer-events: unset;
    opacity: 0;
}

.information-about-me{
    overflow: auto;
    transition: 1s;
  background-color: #fff;
  width: 100%;
  height: 500px;
  bottom: -1000px;
  z-index: 3;
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;

}

.contenedor-informacion-adicional{
    margin-top: 20px;
    width: 80%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.informacion-inicial{
    width: 85%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}

.informacion-inicial img{
    height: 120px;
    margin-top: 10px;
} 

.informacion-adicional{
    width: 350px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}

.creador{
    margin-top: 40px;
}

.sin_conexion{
    left: 0;
    right: 0;
    height: 0;
    bottom: 0;
    position: absolute;
    color: #f2f2f2;
    text-align: center;
}

.mensaje-cargando{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mensaje-cargando img{
    width: 230px;
}

.mensaje-cargando p{
    font-size: 20px;
    color: #fff;
}

/* modal */

.modal {
    z-index: 10;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: #111111bd;
    display: flex;
    opacity: 0;
    pointer-events: none;
    transition: opacity .6s;
    --transform: translateY(-100vh);
    --transition: transform .8s;
}

.modal--show {
    opacity: 1;
    pointer-events: unset;
    --transform: translateY(0);
}

.modal_container {
    margin: auto;
    width: 90%;
    max-width: 400px;
    max-height: 90%;
    background-color: #fff;
    border-radius: 6px;
    display: grid;
    gap: 1em;
    place-items: center;
    grid-auto-columns: 100%;
    transform: var(--transform);
    transition: var(--transition)
}

.pokemon {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 2fr;
    background-color: #fff;
    width: 100%;
    height: 650px;

}

.fila {
    width: 100%;
    display: flex;
    position: absolute;
    justify-content: space-between;
}

.cancelar {
    margin: 10px;
    transition: 0.1s;
    width: 40px;
    height: 40px;
}

#number-pokedex {
    font-size: 20px;
    display: flex;
    width: 40px;
    height: 40px;
    margin: 15px;
    justify-content: center;
    align-items: center;
}

.favorito{
    margin-top: 10px;
    height: 30px;

}

.contenedor-1 {
    background-color: #f2f2f2;
    display: flex;
    display: flex;
    height: 200px;
    width: 100%;
    justify-content: center;
    align-items: center;
    height: 250px;
}

.inf-adicional {
    position: relative;
    width: 30px;
    height: 30px;
    bottom: 10px;
    right: 90px;
}

.inf-adicional {
    width: 30px;
    height: 30px;
}

.img-error {
    display: none;
    padding: 5px;
    border-radius: 20px;
    position: absolute;
    z-index: 10;
    background-image: linear-gradient(54deg, rgb(255 248 220 / 88%) 59%, rgba(149, 131, 131, 0.4767156862745098) 100%);
    width: 115px;
    height: 130px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.img-error img {
    width: 60px;
    height: 60px;
}

.mensaje-img-error {
    text-align: center;
}

.cont-inf-adicional {
    display: none;
    padding: 5px;
    border-radius: 20px;
    position: absolute;
    z-index: 10;
    background-image: linear-gradient(54deg, rgba(0, 243, 141, 1) 59%, rgba(0, 158, 255, 1) 100%);
    width: 135px;
    height: 130px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.pokeball-inf {
    width: 40px;
}

.peso-altura {
    display: flex;
    height: auto;
    width: 100%;
    justify-content: center;
    gap: 20px;
}

#peso,
#altura {
    font-weight: 900;
    font-size: 20px;
}

.peso-altura label {
    text-align: center;
}

.contenedor-icono {
    display: flex;
    border-radius: 100%;
    background-color: #fff;
    width: 200px;
    height: 200px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.default-back {
    transition: 0.1;
    position: relative;
    display: block;
    left: 85px;
    content: "";
    width: 35px;
    top: 24px;
}

.contenedor-2 {
    display: flex;
    overflow-y: auto;
    flex-direction: column;
    align-items: center;
}

.contenedor-2 h1 {
    padding: 10px;
}

.descripcion {
    padding: 10px;
    margin: 0px 0px 10px 0px;
}

.title-1 {
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f2f2f2;
    width: 50%;
    border-radius: 50px;
    background-image: linear-gradient(180deg, #dedf10, transparent);
}

.title-2 {
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f2f2f2;
    width: 50%;
    border-radius: 50px;
    background-image: linear-gradient(180deg, #4c81eb, transparent);
}

.habilidades {
    margin: 20px 0 20px 0;
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;

}

.contenedor-habilidades {
    height: auto;
    background-color: #fff;
    width: 50%;
}

.nombre-habilidad {
    text-align: center;
    padding: 10px;
}

.poder-tipo {
    display: flex;
    justify-content: center;
    align-items: center;
}


.descripcion-habilidad {
    padding: 10px;
}

.img-pokemon {
    position: relative;
    top: 30px;
    width: 80%;
    height: 80%;
}

.estadisticas {
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
}

.evoluciones{
    display: flex;
    text-align: center;
    width: 100%;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.evolucion,.variante{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cont-evoluciones{
    width: 100%;
    display: flex;
    text-align: justify;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.lista-evoluciones{
    margin: 15px 15px;
    grid-template-columns: 1fr 1fr 1fr;
    display: grid;
    gap: 10px;
}

.evolucion img {
    width: 55px;
    height: 55px;
}

.cont-habitad {
    display: flex;
    text-align: center;
    width: 100%;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.title-habitad {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    text-align: center;
    padding: 10px;
    flex-direction: column;
}

.icono-style {
    margin-right: 5px;
    width: 30px;
    height: 30px;
}

.title-3 {
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f2f2f2;
    width: 50%;
    border-radius: 50px;
    background-image: linear-gradient(180deg, #6bff7c, transparent);
}

.descripcion-habitad {
    width: 100%;
    display: flex;
    text-align: justify;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.otros-pokemones {
    margin: 15px 15px;
    grid-template-columns: 1fr 1fr 1fr;
    display: grid;
    gap: 10px;
}

.cont-otros-pokemones {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.icono-otros-pokemones {
    border-radius: 100%;
    width: 55px;
    height: 55px;
}

.title-4{

    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f2f2f2;
    width: 50%;
    border-radius: 50px;
    background-image: linear-gradient(180deg, #8d0996, transparent);
}

.title-5{
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f2f2f2;
    width: 50%;
    border-radius: 50px;
    background-image: linear-gradient(180deg, #ffa201, transparent);
}

.lista-variantes{
    margin: 15px 15px;
    grid-template-columns: 1fr 1fr 1fr;
    display: grid;
    gap: 10px;
    align-items: center;
}

.lista-variantes img {
    border-radius: 100%;
    width: 55px;
    height: 55px;
}

/* Clases activas */
.ventana-cargando-activado {
    transition: 0.5s;
    top: 200px;
}

.contenedor-activado{
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
}
.contenedor-favoritos{
    border-radius: 0px 0px 10px 10px;
    padding-top: 10px;
    overflow: auto;
    background-color: rgb(200 213 55 / 37%);
    margin: auto;
    width: 60%;
    height: 90%;
    gap: 20px;
    display: grid;
}
#sin-resultados{
    font-size: 18px;
    color: #f2f2f2;
    display: flex;
    width: 100%;
    height: 40%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

#sin-resultados img{
width: 100px;
height: 100px;
}

.btn-buscador-activado{ 
    transition: 0.5s;
    font-size: 14px !important;
    width: 70px !important;
    height: 20px !important;
}

.mostrar-peso-altura {
    display: flex;
}

.img-error-activado {
    display: flex;
}

.btn-precionado {
    width: 30px !important;
    height: 30px !important;
    transition: 0.1s;
}

.cancelar-precionado {
    width: 30px;
    height: 30px;
    transition: 0.1s;
}

.default-back-precionado {
    transition: 0.1s;
    width: 30px;
    height: 35px;

}

.inf-adicional-precionado {
    transition: 0.1s;
    width: 25px;
    height: 25px;
}

.contenedor-mensaje-pikachu{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column-reverse;
}

.pikachu{
    background: transparent !important;
    height: 300px;
}

.mensaje-pikachu{
    color: white;
    font-size: 20px;
    text-align: center;
}

.encabezado{
    gap: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background-image: linear-gradient(45deg, #fff900, #ff7500);
    width: 60%;
    margin: auto;
    border-radius: 5px 5px 0px 0px;
}

.encabezado div{
    background: white;
    border-radius: 100%;
    display: flex;
}

.encabezado h3{
color: #f2f2f2;
}

.cancelar-favoritos{
    height: 40px;
    width: 40px;
}

.footer-activado{
    transition: 1s;
    opacity: 1;
bottom: 0;
}

.information-about-me-activado{
    transition: 1s;
bottom: 0;
}

.emoji{
    margin-left: 5px;
height: 40px;
}

.programador{
    display: flex;
    align-items: center;
}

.programador a {
margin-left: 5px;
}

.contenedor-red-social{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.red-social{
transition: 3s;
}

.logo-red-social{
height: 50px;
}

/* Trabajando en las animaciones del footer */


/* ---------------------------- */

.pokemon-stats {
    margin-left: 5%;
    width: 65%;
    display: flex;
    flex-direction: column;
}

.stat {
    margin-bottom: 20px;
}

.label {
    font-weight: bold;
    margin-bottom: 5px;
}

.bar {
    transition: 1.5s;
    max-width: 350px;
    width: 200px;
    /* Ajusta el ancho de la barra según tus preferencias */
    height: 20px;
    background-color: #d0c6c6;
    border-radius: 5px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background-color: #4caf50;
    /* Color de la barra llenada */
    transition: width 0.5s;
    /* Añade una transición para un efecto suave */
}


/* ---------------------------------- */
@media(max-width:320px) {
    .contenedor {
        grid-template-columns: 1fr !important;
        width: 90%;
    }

    .card {
        width: 250px !important;
    }

    #buscador {
        width: 250px;
    }

    .pokemon {
        height: 600px;
    }

    .otros-pokemones {
        grid-template-columns: 1fr 1fr;
    }

    .bar {
        max-width: 250px;
    }

    .encabezado{
        width: 90% !important;
    }
}

@media(max-width:380px) {
    .contenedor {
        grid-template-columns: 1fr;
        width: 90%;
    }

    .card {
        width: 290px;
    }

    #buscador {
        width: 250px;
    }

    .pokemon {
        height: 600px;
    }

    .bar {
        max-width: 260px;
    }
    .encabezado{
        width: 90% !important;
    }
}

@media(max-width:480px) {
    .title-info {
        width: 250px;
    }
    
    
    .contenedor {
        grid-template-columns: 1fr;
        width: 90%;
    }

    .card {
        width: 290px;
    }

    #buscador {
        width: 260px;
    }

    .pokemon {
        height: 600px;
    }

    .bar {
        max-width: 260px;
    }

    .favorito-guardados{
    width: 50px;
    height: 50px;
    right: -5px;
    }
}