@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{
    width: 100%;
    height: 200px;
    border-bottom: 10px solid #000;
    background-color: #ffff;
}
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;

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


.field{
    display: flex;
    align-items: center;
    width: 50%;
    gap: 2px;
    background-color: #ffffff;
    border-radius: 30px;
    padding: 5px;
    padding-right: 15px;
}
.field input{
    background-color: #ffffff;
    padding: 10px;
    border: none;
    border-radius: 30px;
    font-size: medium;
    width: 90%;
    font-size: large;
}

.field input:focus{
    outline: none;
}

.searchButton{
    cursor: pointer;
    font-size: large;
    color: black;
    transition: transform .3s;
}
.searchButton:hover{
    transform: scale(1.2);
}


/**/

.pokeDataCont{
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}
.pokeData{
    height: 80%;
    width: 80%;
    background-color: #000000b0;
    border-radius: 30px;
}


/*CUADRO DEL POKEMON*/
.pokemon{
    color: #ffff;
    display: none;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 20px;
    gap: 20px;
}
.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;
    padding-top: 10px;

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

    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 10px;
    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{
    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;
    }
    .searcher{
        width: 90%;
        margin-left:10px ;
    }
    .field {
        width: 90%; 
    }

    .field input {
        width: 100%; 
    }

    .pokeDataCont, .pokeData {
        width: 99%;
        margin-left: 2px;
        height: 330px;
    }

    .pokemon, .noDataFound {
        width: 100%; 
    }

    footer {
        height: auto;
    }

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

    .btnRed {
        width: 100%; 
    }
}
