/* Global settings */

body {
    background-image: url(./img/pokemon-bg.jpg);
    background-position: 40% 0%;   
    background-attachment: fixed;
    margin: 0%;
    font-family: 'Grandstander', sans-serif;
    font-weight: 600;
}

header {
    position: sticky;
    top: 0;
    z-index: 50;
}

h1 {
    font-size: 36px;
}

.bold {
    font-weight: bold;
}

.text-right {
    text-align: right;
}

.d-none {
    display: none;
}

.disable-div {
    pointer-events: none;
}

.block {
    display: flex;
}

.hidden-bg {
    filter: blur(4px);  
    opacity: 0.6;  
   
}

.bg-while-single {
    z-index: 50;
}

/* Header */

.nav-header {
    display: flex;
    align-items: center;
    justify-content: space-around;      
    background-color: rgba(65, 65, 65, 0.295);
}


.header-title {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 300px;

}

.pokeball {
    width: 70px;
    height: auto;
    border-radius: 100%;
}

.search {
    position: relative;
    width: 60px;
    height: 60px;
    background: rgb(226, 226, 226);
    border-radius: 60px;    
    box-shadow: 0 0 4px 4px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: all 200ms ease-in-out;
}

.search:hover {
    box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.5);
}

.search.active {
    width: 400px;
    transition: all 200ms ease-in-out;
    background: rgb(226, 226, 226);
}

.search-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background: rgb(226, 226, 226);
    border-radius: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 98;
    cursor: pointer;
}

.search-icon::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border: 3px solid #70716D;
    border-radius: 50%;
    transform: translate(-4px,-4px);
}

.search-icon::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 12px;
    background: #70716D;
    transform: translate(6px,6px) rotate(315deg);
}

.search .input-field {
    position: relative;
    width: 300px;
    height: 60px;
    left: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search .input-field input {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgb(226, 226, 226);
    border: none;
    outline: none;
    font-size: 18px;    
    font-family: 'Grandstander', sans-serif;
}

.clear {
    position: absolute;
    top: 50%;
    transform: translate(-50%);
    width: 15px;
    right: 15px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.clear::before {
    position: absolute;
    content: '';
    width: 1px;
    height: 15px;
    background: #999;
    transform: rotate(45deg);
}

.clear::after {
    position: absolute;
    content: '';
    width: 1px;
    height: 15px;
    background: #999;
    transform: rotate(315deg);
}


/* All Pokemon Container */

#allpokemon {
    margin-top: 25px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


.pokemon-card {
    cursor: pointer;
    width: 280px;
    height: 20vh;
    border: 1px solid lightgray;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 20px;
    margin: 8px;
    box-shadow: -2px 3px 9px 2px rgba(0, 0, 0, 0.1);
    transition: all 100ms ease-in-out;
}

.pokemon-card:hover {
    z-index: 10;
    cursor: pointer;
    box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.3);
    transform: scale(1.05);
}

.pokemon-card img {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 48%;
}

.pokemon-card-class {
    border: 2px solid lightgray;
    border-radius: 15px;
    text-align: center;
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.buttonPosition{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 15px;
}

#morePokeButton {
    cursor: pointer;
    font-weight: bold;
    width: 200px;
    height: 35px;
    border-radius: 10px;
    transition: all 100ms ease-in-out;
    background: rgb(226, 226, 226);    
    font-family: 'Grandstander', sans-serif;
}

#morePokeButton:hover {
    transform: scale(1.1);
    box-shadow: -2px 3px 9px 2px rgba(0, 0, 0, 0.4);
    transition: all 100ms ease-in-out;
}

/* Single Pokemon Container */

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

.single-card-class {
    border: 2px solid lightgray;
    border-radius: 15px;
    text-align: center;
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20%;
}

.info-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.info-top-id {
    margin-block-start: 0%;
}

.info-bottom {
    width: 100px;
    height: 150px;
    display: flex;
    justify-content: space-between;
}

.types-container {
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    
}

.single-pokemon {
    z-index: 99;
    position: fixed;
    top: 8%;
    width: 600px;
    box-shadow: -1px 12px 15px 2px rgba(0, 0, 0, 0.3);
    border-radius: 40px;
}

.singleCardBg {
    z-index: 50;
    width: 100vw;
    height: 100vh;
}

.singleCard {
    border-radius: 15px;
}

.singlePoke-head {
    position: relative;
    margin-top: 20px;
}

.singlePoke-arrow img {
    height: 50px;
    transition: all 75ms ease-in-out;
}

.singlePoke-arrow img:hover {
    transform: scale(1.5);
    transition: all 75ms ease-in-out;
}

.singlePoke-top {
    padding: 24px;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    color: white;
    display: flex;
    flex-direction: column;
}

.singlePoke-close {
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.singlePoke-close img {
    height: 25px;
    width: 25px;
    object-fit: cover;
    transition: all 75ms ease-in-out;
}

.singlePoke-close img:hover {
    transform: scale(1.3);
    transition: all 75ms ease-in-out;
}


.singlePoke-img {
    position: absolute;
    height: 200px;
    top: -10px;
    right: 0px;
    z-index: 1;
}


.singlePoke-img img{
    height: 285px;
    width: auto;
}

.singlePoke-stats {
    position: absolute;
    padding-left: 25px;
    width: 90%;
    height: 83%;
}

.body-stats-div {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 8px;
}

.body-stats {
    padding: 10px;
    margin-right: 5px;
    border: 2px solid lightgray;
    border-radius: 15px;
}


.singlePoke-bottom {
    position: relative;
    background-color: #e7e2e2;
    height: 38.5vh;
    border-radius: 15px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 25px;
}

.processbar {
    border: 1px solid antiquewhite;
    border-radius: 100px;
    background-color: rgba(255, 255, 255, 0.5);
    overflow: hidden;
}


.processbar span {
    font-size: 15px;
    padding-left: 16px;
    padding-top: 2.5px;
}

.processbarValue {
    background-color: #ac1536;
    color: antiquewhite;
    border-radius: 100px;
    animation: scale-up 1s ease-in-out;
    transform-origin: 0%;
    display: flex;
    align-items: center;
    
}

.infoStats {
    padding-bottom: 16px;
}


.img-container {
    margin-top: -340px;
}

.poke-info-container {
    z-index: 51;
    background-color: white;
    height: 50%;
    border-radius: 40px;
    margin-top: 0px;
}

/* Card-Background-Colors-BIG */

.card-Grass {
    background-color: #7ACD52;
}

.card-Fire {
    background-color: #F75231;
}

.card-Water {
    background-color: #389BFE;
}

.card-Ground {
    background-color: #D6B55A;
}

.card-Bug {
    background-color: #ADBD20;
}

.card-Normal {
    background-color: #ADA594;
}

.card-Flying {
    background-color: #9BACF7;
}

.card-Poison {
    background-color: #B55AA5;
}

.card-Fairy {
    background-color: #E5A5E5;
}

.card-Fighting {
    background-color: #A55239;
}

.card-Rock {
    background-color: #BCA459;
}

.card-Electric {
    background-color: #FFC631;
}

.card-Steel {
    background-color: #ADADC6;
}

.card-Ice {
    background-color: #5ACDE7;
}

.card-Ghost {
    background-color: #6363B5;
}

.card-Psychic {
    background-color: #FE73A5;
}

.card-Dragon {
    background-color: #7A62E7;
}

.card-Dark {
    background-color: #607D8B;
}

/* Card-Background-Colors-SMALL */

.card-grass {
    background-color: #7ACD52;
}

.card-fire {
    background-color: #F75231;
}

.card-water {
    background-color: #389BFE;
}

.card-ground {
    background-color: #D6B55A;
}

.card-bug {
    background-color: #ADBD20;
}

.card-normal {
    background-color: #ADA594;
}

.card-flying {
    background-color: #9BACF7;
}

.card-poison {
    background-color: #B55AA5;
}

.card-fairy {
    background-color: #E5A5E5;
}

.card-fighting {
    background-color: #A55239;
}

.card-rock {
    background-color: #BCA459;
}

.card-electric {
    background-color: #FFC631;
}

.card-steel {
    background-color: #ADADC6;
}

.card-ice {
    background-color: #5ACDE7;
}

.card-ghost {
    background-color: #6363B5;
}

.card-psychic {
    background-color: #FE73A5;
}

.card-dragon {
    background-color: #7A62E7;
}

.card-dark {
    background-color: #607D8B;
}