*{
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body{
    background-color: #05171E;
    font-family: Arial, Helvetica, sans-serif;
}

.header{
    height: 100px;
    width: 100%;
    background-color: #082129;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    position: fixed;
    z-index: 9999;
}

.header-logo>img{
    height: 80px;
    cursor: pointer;
    background-color: #082129;
    transition: transform .3s ease-in-out;
}

.header-logo>img:hover{
    transform: scale(110%);
}

.header-search>input{
    width: 250px;
    background-color: white;
    border: none;
    font-size: 16px;
}

.footer{
    height: 100px;
    width: 100%;
    padding: 20px;
    background-color: #082129;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rotate{
    height: 70px;
    cursor: pointer;
    background-color: #082129;
    transition: transform .7s ease-in-out;
}

.rotate:hover{
    transform: rotate(360deg);
}

/* LOADER*/
#loadingScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #181B1D;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.content{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 120px;
}

.pokemon-card{
    width: 300px;
    height: 400px;
    padding: 10px;
    margin: 20px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 20px;
    cursor: pointer;
    background-color: #082129;
    color: white;
    transition: transform .3s ease-in-out;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
}

.pokemon-card:hover{
    transform: scale(102%);
    background-color: #0a2731;
}

.pokemon-name::first-letter{
    text-transform: uppercase; 
}

.pokemon-image{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
    height: 120px;
    transition: transform .2s ease-in-out;
}

.pokemon-image:hover{
    transform: scale(130%);
}

#pokemonDetails{
    border: none;
    padding: 5px;
    border-radius: 5px;
    color: black;
    background-color: #d72727;
    transition: transform .3s ease-in-out;
}

#pokemonDetails:hover{
    cursor: pointer;
    color: white;
    background-color: #f83f3f;
    transform: scale(110%);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: transparent;
    margin: 10% auto;
    padding: 20px;
    border: none;
    width: 80%;
    max-width: 600px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover{
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.pokemon-card-big{
    width: 500px;
    height: 600px;
    padding: 10px;
    margin: 20px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 20px;
    cursor: pointer;
    background-color: #082129;
    color: white;
    transition: transform .3s ease-in-out;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
}

.pokemon-card-big:hover{
    transform: scale(102%);
    background-color: #0a2731;
}

.pokemon-name-big::first-letter{
    text-transform: uppercase; 
}

.pokemon-image-big{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
    height: 300px;
    transition: transform .2s ease-in-out;
}

.pokemon-image-big:hover{
    transform: scale(130%);
}

.pokemon-card-big>p{
    font-size: 20px;
}

.type{
    font-weight: 800;
}

.modal-navigation {
    text-align: center;
    margin-top: 10px;
}

.modal-button {
    margin: 5px;
    padding: 8px 16px;
    background-color: #d72727;
    color: black;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: transform .3s ease-in-out;
}

.modal-button:hover {
    color: white;
    background-color: #f83f3f;
    transform: scale(110%);
}

/* Search */
.suggestions {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    z-index: 1000;
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
}

.suggestion-item:hover {
    background-color: #f0f0f0;
}

.load-more-btn {
    display: block;
    margin: 20px auto;
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    color: black;
    background-color: #d72727;
    transition: transform .3s ease-in-out;
}

.load-more-btn:hover {
    cursor: pointer;
    color: white;
    background-color: #f83f3f;
    transform: scale(110%);
}



