html {
    scroll-behavior: smooth;
    scrollbar-color: #B02C2C rgb(19, 19, 19);
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-image: url(./img/bodyBG.png);
    font-family: 'Quicksand', sans-serif;   
}

.noScrolling {
    overflow: hidden;
}

.flexCenter {
    display: flex;
    align-items: center;
    justify-content: center;
}

.width100 {
    width: 100%;
}

.noScrolling {
    overflow: hidden;
}

.d-none {
    display: none;
}

.d-flex {
    display: flex;
}

.loadScreen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url(./img/pokecardBG.jpg);
    background-position: center;
    background-size: cover;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.startButton {
    width: 300px !important;
    margin-bottom: 140px;
}

.startButton:hover {
    filter: drop-shadow(0px 0px 5px black);
    cursor: pointer;
}

.circle {
    width: 273px;
    animation: spin 2000ms linear infinite;
    margin-bottom: 147px;
}

.loading {
    font-size: 28px;
    margin-top: -170px;
    margin-bottom: 130px;
    color: blue;
    animation: blink 750ms ease-in-out infinite alternate;
    position: fixed;
    top: 580px;
}

@keyframes spin {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
}

@keyframes blink {
    from {opacity: 0;}
    to {opacity: 1;}
}

.titleIMG {
    max-width: 250px;
    margin: 12px;
}

.icons {
    margin: 8px;
}

.icons img {
    height: 32px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 10px;
    cursor: pointer;
}

.icons img:hover {
    filter: opacity(50%);
}

.highlighted {
    filter: drop-shadow(0px 0px 10px white);
}

.search {
    height: 32px;
}

.searchField {
    height: 24px;
    border-radius: 8px;
    font-size: 16px;
}

.album {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-color: rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    min-width: 200px;
    padding: 25px;
    border-radius: 32px;
    margin-top: 8px;
}

.listFoundPokemon {
    position: fixed;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-color: rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    min-width: 200px;
    padding: 25px;
    border-radius: 32px;
    top: 20px;
    color: white;
}

#pkBall {
    width: 200px;
    height: 200px;
    border-radius: 60px;
    object-fit: cover;
    /* border: 1px solid black; */
    filter: drop-shadow(0px 0px 10px black);
    cursor: pointer;

}

.number {
    position: relative;
    font-weight: bold;
    font-size: 24px;
    cursor: pointer;
    padding-bottom: 16px;
    padding-top: 24px;
}

.pokeName {
    position: relative;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
    color: rgb(0, 0, 0);
    padding-top: 4px;
    padding-bottom: 2px;
}

.imgPokemonList {
    height: 56px;
    filter: drop-shadow(0px 0px 5px black);
    padding-top: 10px;
}

.pokeball {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 16px;
    background-image: url(./img/pokeballBG3.png);
    background-size: 200px 200px;
    width: 200px;
    height: 200px;
    cursor: pointer;
    transition: 0.5s;
}

.pokeball:hover {
    width: 220px;
    height: 220px;
    background-size: 220px 220px;
    margin: 6px;
    filter: drop-shadow(0px 0px 15px yellow);
}

.imgCategory {
    width: 32px;
    padding-bottom: 0px;
}

.backUp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(131, 16, 16, 0.3);
    border-radius: 12px;
    font-size: 22px;
    font-weight: 900;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}

.backUp:hover {
    background-color: rgba(238, 71, 71, 0.4);
}

button {
    margin-top: 32px;
    padding: 12px;
    font-size: 16px;
    border-radius: 30px;
    background-color: red;
    color: white;
    border: 4px solid white;
    cursor: pointer;
    transition: 0.5s;
    margin-bottom: 32px;
}

button:hover {
    background-color: rgb(253, 97, 97);
    font-size: 20px;
}

.popUp {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 90;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(6px);
    overflow-y: hidden;
    justify-content: center;
    align-items: center;
}

.pokedexContainer {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 0px;
    position: relative;
    animation: pokedexFall 1s ease-in-out forwards;
}

@keyframes pokedexFall {
    0% {
        transform: translateY(-675px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pokedexRise {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-675px);
    }
}

.pokedexDetail {
    width: 100%;
}

.flipVertical {
    rotate: 180deg;
    margin-top: -282px;
}

.pokedexUpperCase {
    margin-bottom: -152px;
}

.detailBG {
    position: relative;
    z-index: -1;
    height: 300px;
    width: 100%;
    object-fit: cover;
    animation: pokedexOpen 1s ease-in-out 0.5s forwards;
}

@keyframes pokedexOpen {
    0% {
        height: 300px;
    }

    100% {
        height: 650px;
    }
}

@keyframes pokedexClose {
    0% {
        height: 650px;
    }

    100% {
        height: 300px;
    }
}
