body {
    margin: 0;
    background-image: url(./img/bg1.jpg);
    opacity: 0.9; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;

}

.header {
    display: flex;
    justify-content: center;

    background-color: #f5f5f563;
    height: 100px;
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}

.header img {
    object-fit: contain;
}

.card {
    gap: 16px;
    margin-top: 20px;
    margin-left: 20px;
    display: flex;
    flex-wrap: wrap;
}

.pokedex {
    background-color: rgba(168, 0, 0, 0.747);
    color: white;
    padding: 24px;
    border-radius: 67px;
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.pokedex:hover {
    background-color: rgba(168, 0, 0, 0.493);
    cursor: pointer;

}

.pokemonHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
}

.pokemonName:first-letter {
    text-transform: capitalize;
}

.pokemonImage {
    width: 200px;
    filter: drop-shadow(2px 4px 6px black);
}

.pokemonImage:hover {
    transform: scale(1.2);
    transition: 600ms;
}

.arrow {
    object-fit: contain;
    padding: 34px;
    cursor: pointer;
}

.detailPokemonImg {
    height: 400px;
    z-index: 1;
    filter: drop-shadow(2px 4px 6px black);
}

.stats {
    color: black;
}

.loadMore-btn {
    display: flex;
    justify-content: center;
}

.loadMore-btn button {
    display: flex;
    justify-content: center;
    margin: 24px;
    height: 42px;
    width: 144px;
    display: flex;
    align-items: center;
    border-radius: 67px;
    cursor: pointer;
    background-color: #EE4034;
    color: white;
}


.pokeCard-bg {
    background-color: rgba(155 153 153 / 54%);
    z-index: 999;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pokeCard {
    width: 450px;
    background-color: white;
    border: 3px solid lightgray;
    border-radius: 50px;
    border-bottom-right-radius: 13px;
    border-bottom-left-radius: 13px;
}

.d-none {
    display: none;
}

.pokemonDetailInfoContainer {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

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

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

.pokemonDetailInfoOverview {
    border-radius: 50px;
    border-radius: 9px;
}

.pokemonDetailInfoOverviewHeader {
    display: flex;
    justify-content: space-evenly;
}

/*  About Stats Moves */
.container {
    /* max-width: 400px; */
    /* margin: 30px auto; */
}

.box {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    background-color: #fff;
    border-top-left-radius: 35px;
    border-top-right-radius: 35px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    overflow: hidden;
}

.tab-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    position: relative;
}

/* tab list  */
.tab-list::before {
    content: '';
    display: block;
    height: 2px;
    width: 33.333%;
    position: absolute;
    bottom: 0;
    background-color: #aaa;
    transition: .3s;
}

.tab-item {
    flex: 1;
    text-align: center;
    transition: .3s;
    opacity: 0.5;
}

.tab-item:hover {
    color: rgb(128, 128, 128);
}

.tab-toggle {
    display: none;
}

.tab-content {
    display: none;
}

.tab-content-about-container {
    display: flex;
    gap: 80px;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 20px;
}

.statsContentValues {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tab-content-about {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tab-toggle:nth-child(1):checked~.tab-list .tab-item:nth-child(1),
.tab-toggle:nth-child(2):checked~.tab-list .tab-item:nth-child(2),
.tab-toggle:nth-child(3):checked~.tab-list .tab-item:nth-child(3) {
    opacity: 1;
}

/* tab bar */
.tab-toggle:nth-child(2):checked~.tab-list::before {
    transform: translateX(100%);
}

.tab-toggle:nth-child(3):checked~.tab-list::before {
    transform: translateX(200%);
}

.tab-toggle:nth-child(1):checked~.tab-container .tab-content:nth-child(1),
.tab-toggle:nth-child(2):checked~.tab-container .tab-content:nth-child(2),
.tab-toggle:nth-child(3):checked~.tab-container .tab-content:nth-child(3) {
    display: block;
}

.tab-trigger {
    display: block;
    padding: 10px 0;
}

.tab-container {
    /* padding: 15px 30px; */
}

/*  About Stats Moves */
.moves {
    background-color: brown;
    padding: 11px 21px;
    border-radius: 20px;
    font-size: 20px;
    color: white;
}

.movesContainer {
    gap: 8px;
    display: flex;
    overflow-y: auto;
    height: 183px;
    flex-wrap: wrap;
    padding: 24px;
    justify-content: center;
}

/* Scrollbar */

/* width */
::-webkit-scrollbar {
    width: 20px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    /* background: brown; */
    border-radius: 10px;
    height: 10px;
    background: url('./img/pokeball.png') rgba(165, 42, 42, 0.425);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Handle on hover */
/* ::-webkit-scrollbar-thumb:hover {
    background: #64b6fd8a;
    background: url('./img/pokeball.png') ;
    background-size: 20px 22px;
    background-repeat: no-repeat;
    background-position: center;
   
} */

.searchContainer {
    display: flex;
    justify-content: center;
}

.inputfield {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    padding: 8px;
    font-size: 18px;
}

.search-btn {
    float: left;
    width: 50px;
    padding: 10px;
    background: #DB3E34;;
    color: white;
    font-size: 17px;
    border: 1px solid grey;
    border-left: none;
    /* Prevent double borders */
    cursor: pointer;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}


.search-btn button:hover {
    background: #0b7dda;
}