@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap');


#colorPalette{
    color: #294282;
    color: #28345a;
    color: #325c6a;
    color: #6a9a9e;
    color: #9bc6bf;
    color: #ffff;
    color: #000;
}


*{
    text-decoration: none;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: 'Outfit', sans-serif;
}

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

body{
    color: #000;
    height: 100vh;
    width: 100%;
    background-color: #28345a;
}


header{
    background-color: #ffffff;
    width: 100%;
    height: 200px;
    border-bottom: 10px solid #000;
}
header img{
    height: 130px;
}
.appHeader{
    width: 95%;
    height: 80%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.left{
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 70%;
    height: 100%;
    gap: 20px;
}
.right{
    display: flex;
    align-items: center;
    justify-content: end;
    width: 30%;
    height: 100%;
}
.fetch{
    color: gray;
}

.title{
    font-size: xxx-large;
}

.light{
    font-weight: 300;
}
.pokeTitle{
    font-weight: 600;
    text-decoration: solid underline #28345a;
}
.apiTitle{
    color: #28345a;
    font-weight: 800;
}

nav{
    width: 100%;
}
nav ul{
    display: flex;
    gap: 40px;
}
nav ul li{
    font-size: larger;
    padding: 10px;
    width: 150px;
    text-align: center;
}
nav ul li a{
    color: #000;
}





/*POKEAPI*/

main{
    background-color: #28345a;
}

.container{
    width: 100%;
    height: 500px;
    display: flex;
}

.mainCont{
    color: #ffffff;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;

}
.allPokeCont{
    margin-top: 30px;
    width: 70%;
    height: 90%;
    background-color: #000000b0;
    border-radius: 30px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow-y: scroll;    
}

.allPokeCont{
    &::-webkit-scrollbar {
        width: 15px;
    }

    &::-webkit-scrollbar-thumb {
        background-color: #4f8192; 
        border-radius: 5px; 
    }

    &::-webkit-scrollbar-track {
        background-color: #fff;
        border-radius: 5px;
    }
}

.dataCont{
    margin-top: 30px;
    width: 70%;
    height: 90%;
    background-color: #000000b0;
    border-radius: 30px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.pokemon{
    font-size: large;
    color: #000;
    background-color: #4f8192;
    padding: 10px;
    display: flex;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s;
}
.pokemon:hover{
    background-color: #ffffff;
}





/*CUADRO DEL POKEMON*/
.pokemonData{
    color: #ffff;
    display: none;
    flex-direction: column;
    width: 100%;
    height: 100%;
    gap: 40px;
}
.pokeHeader{
    width: 92%;
    height: 30%;

    display: flex;
    align-items: center;
}
.pokeHeader img{
    height:  100%;
    border: 5px solid #ffff;
    border-radius: 20px;
}
.pokeHeader h1{
    font-size: xxx-large;
    font-weight: 600;
    width: 100%;
    text-align: center;
}
.data{
    display: flex;
    width: 92%;
    height: 55%;    
}
.dataLeft{
    height: 100%;
    width: 50%;
    border-right: 2px solid #ffff;
    display: flex;
    flex-direction: column;
    gap: 15px;

}
.dataRight{
    height: 100%;
    width: 50%;

    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-left: 20px;
}


/*NO DATA FOUND*/
.noDataFound{
    color: #ffff;
    width: 100%;
    height: 100%;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.noDataFound img{
    height: 200px;
}













/*FOOTER*/

footer{
    color: #ffff;
    font-size: large;
    width: 100%;
    max-width: 100%;
    height: 120px;
    margin-top: 50px;
    border-top: 2px solid #ffff;
    padding-top: 20px;
    flex-direction: column;
    background-color: #28345a;
}
.socialMedia{
    padding: 20px;
    display: flex;
    gap: 20px;
}

.btnRed{
    gap: 10px;
    background-color: #ffffff;
    color: #191414;
    padding: 10px;
    border-radius: 10px;
    font-size: larger;
    transition: .5s;
}

.btnRed:hover{
    transform: scale(1.05);
}




/*RESPONSIVE*/
@media only screen and (max-width: 500px) {
    body {
        font-size: 14px; 
    }

    header {
        height: auto;
        min-height: 150px;
    }
    .title{
        font-size: xx-large;
    }

    header img {
        height: 80px; 
        display: none;
    }
    
    .appHeader {
        flex-direction: column;
        align-items: flex-start;
    }

    .left, .right {
        width: 100%;
    }
    nav ul {
        gap: 10px; 
    }

    .container{
        flex-direction: column;
    }
    .mainCont {
        width: 99%;
    }
    .dataCont{
        width:80%;
        margin-left: 2px;
    }

    .allPokeCont {
        width: 80%;
        max-height: 200px;
    }

    footer {
        margin-top:200px ;
        height: auto;
    }

    .socialMedia {
        flex-direction: column;
        align-items: center;
    }

    .btnRed {
        width: 100%;
    }
}