@charset "UTF-8";

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Passion+One:wght@400;700;900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Sriracha&display=swap');

*{  
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
    
}

:root{
    --normal: #a6a877;
    --grass: #77c850;
    --fire: #ee7f30;
    --water: #678fee;
    --electric: #f7cf2e;
    --ice: #98d5d7;
    --ground: #dfbf69;
    --flying: #a98ff0;
    --poison: #a840a0;
    --fighting: #bf3829;
    --psychic: #f65687;
    --dark: #725847;
    --rock: #b8a137;
    --bug: #a8b720;
    --ghost: #6e5896;
    --steel: #b9b7cf;
    --dragon: #6f38f6;
    --fairy: #f9aec7;
}

.normal{
    background-color: #a6a877; 
}
.grass{
    background-color: #77c850; 
}
.fire{
    background-color: #ee7f30; 
}
.water{
    background-color: #678fee; 
}
.electric{
    background-color: #f7cf2e;
}
.ice{
    background-color: #98d5d7;
}
.ground{
    background-color: #dfbf69;
}
.flying{
    background-color: #a98ff0;
}
.poison{
    background-color: #a840a0;
}
.fighting{
    background-color: #bf3829;
}
.psychic{
    background-color: #f65687;
}
.dark{
    background-color: #725847;
}
.rock{
    background-color: #b8a137;
}
.bug{
    background-color: #a8b720;
}
.ghost{
    background-color: #6e5896;
}
.steel{
    background-color: #b9b7cf;
}
.dragon{
    background-color: #6f38f6;
}
.fairy{
    background-color: #f9aec7;
}

body{
    color: rgb(58, 58, 58);
}
.content{
    padding: 1rem;
}

.content h1{
    font-size: 1.8em;
    margin: 25px 15px;
    font-weight: 900;
}

.pokemons{
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 .5rem;
    
}

.pokemon{
    margin: .4rem;
    padding: 1rem;
    color: white;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.200);

}
.pokemon .name-number{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 5px;

}
.pokemon .detail{
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: space-around;
    gap: 10px;
    margin: auto;
}

.pokemon .number{
    color: rgba(0, 0, 0, 0.212);
    text-align: right;
}

.pokemon .detail .types{
    list-style: none;
}

.pokemon .detail .types .type{
    border-radius: 1rem;
    padding: 0.2rem .5rem;
    text-align: center;
    margin: 0.2rem;
    font-size: 0.8em;
    filter: brightness(1.1);
    text-transform: capitalize;
}

.pokemon .detail img{
    max-width: 100%;
    width: 80px;
    height: auto;
}

.menu-row{
    display: flex;
    flex-direction: row;
    font-size: 2em;
    justify-content: space-between;
    align-items: center;
    margin: 0 12px;
    margin-top: 20px;
}

.arrow .list .sliders{
    margin: 0px;
}

.sliders {
    font-size: 1.5em;
    background-color: #604ff5;
    color: white;
    display: inline-block;
    position: fixed;
    z-index: 1000;
    right: 13px; /* Ajuste a distância da borda direita */
    top: 92.5vh; /* Ajuste a distância do topo */
    padding: 0.9rem 1rem;
    border-radius: 50%;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.400);
    transition: .2s;
}

.sliders:hover{
    font-size: 1.8em;
    background-color: #7c6efc;
    box-shadow: 0px 0px 15px #604ff5;
    right: 20px; /* Ajuste a distância da borda direita */
    top: 91vh; /* Ajuste a distância do topo */
}

.pokemons {
    list-style: none;
    display: grid;
    margin: 0 0.5rem;
}

.sliders {
    position: fixed;
    right: 20px;
    top: 88.2vh;
    transition: 0.2s;
}

.sliders:hover {
    font-size: 1.8em;
    background-color: #7c6efc;
    box-shadow: 0px 0px 15px #604ff5;
    right: 35px;
    top: 85vh;
}

.content h1 {
    font-size: 2em;
}

.pokemon .detail img {
    max-width: 100%;
    height: 100px;
}

.pokemon .detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pokemon .detail .types .type {
    border-radius: 1rem;
    padding: 0.5rem 1rem;
    margin: 0.8rem;
    font-size: 1em;
}

.name {
    font-size: 1.5em;
    font-weight: bold;
    text-transform: capitalize;
}

a{
    text-decoration: none;
    color: white;
}
/* Media Queries (do menor para o maior) */
@media (min-width: 300px) {
    .pokemons {
        grid-template-columns: 1fr;
    }

    .pokemon .detail img {
        width: 85px;
    }

    .pokemon .detail {
        gap: 20px;
    }

    .pokemon .detail .types .type {
        padding: 0.5rem 0.8rem;
        margin: 0.5rem;
        font-size: 0.8em;
    }

    .name {
        font-size: 1em;
    }
}

@media (min-width: 425px) {
    .pokemons {
        grid-template-columns: 1fr;
    }

    .pokemon .detail img {
        width: 100px;
    }

    .pokemon .detail {
        gap: 60px;
    }

    .pokemon .detail .types .type {
        padding: 0.5rem 0.8rem;
        margin: 0.5rem;
        font-size: 0.9em;
    }

    .name {
        font-size: 1.2em;
    }
}

@media (min-width: 585px) {
    .pokemons{
        grid-template-columns: 1fr 1fr;
    }

    .pokemon .detail img {
        width: 95px;
    }

    .pokemon .detail {
        gap: 40px;
    }

    .pokemon .detail .types .type {
        padding: 0.4rem 0.9rem;
        margin: 0.8rem;
        font-size: 0.9em;
    }

    .name {
        font-size: 1.1em;
    }
}

@media (min-width: 950px) {
    .pokemons {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .pokemon .detail img {
        width: 120px;
    }

    .pokemon .detail {
        gap: 40px;
    }

    .pokemon .detail .types .type {
        padding: 0.5rem 1rem;
        margin: 0.8rem;
        font-size: 0.9em;
    }

    .name {
        font-size: 1.2em;
    }
}

@media (min-width: 1220px) {
    .pokemons {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .pokemon .detail img {
        width: 150px;
    }

    .pokemon .detail {
        gap: 100px;
    }

    .pokemon .detail .types .type {
        padding: 0.5rem 1rem;
        margin: 0.8rem;
        font-size: 1em;
    }

    .name {
        font-size: 1.5em;
    }
}

.ver-mais{
    color: rgb(34, 34, 34);
    background-color: transparent;
    padding: 8px;
    font-size: 1.1em;
    border-radius: 2rem;
    border: 1px solid rgb(34, 34, 34);
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.200);
    margin-left: 15px;
    margin-top: 15px;
    font-weight: bold;
    transition: 0.2s;
}

.ver-mais:hover{
    background-color: rgb(180, 180, 180);
    color: white;
    border: none;

}