body {
    font-family: 'Chakra Petch';
    font-style: italic;
    margin: 0;
    background: radial-gradient(circle, rgba(44,51,171,1) 28%, rgba(70,29,14,1) 60%, rgba(61,61,61,1) 81%);
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track {
    background-color: black;

}

body::-webkit-scrollbar-thumb {
    background-color: white;
    border-radius: 20px;/
}

.d-none {
    display: none !important;
}

.noPokemonFound{
    font-size: 40px;
    color: white;
}

/*--------------------------------Header-----------------------------------------------------*/

header {

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-bottom: 8px solid crimson;
    border-style: ridge;
    border-top: none;
    border-left: none;
    border-right: none;
    background: linear-gradient(103deg, rgba(34,193,195,1) 0%, rgba(253,187,45,1) 100%);
}

.headerLogo {
    margin-left: 10%;
    margin-bottom: 2px;
    width: 250px;
    height: auto;
    padding-top: 2px;

}


.searchfield {
    margin-right: 2.5%;
}

header form input {
    height: 50px;
    width: 250px;
    border-style: ridge;
    border-width: 6px;
    border-radius: 8px;
    border-color: crimson;
    font-size: 15px;
    font-family: 'Chakra Petch';
}

header form input:focus {
    outline: none;
    border-color: crimson;
}

header form input:hover {
    cursor: pointer;
}

/*----------------------------closed PokemonCard-----------------------------------------------------*/

#pokemonCardContainer {

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 40px;
    color: white;
}

@media(max-width: 800px){
    #pokemonCardContainer {
        padding: 20px;
        font-size: 24px;
       
    }
}

.closedPokemonCard {
    margin: 10px;
    width: 285px;
    border-radius: 18px;
    position: relative;
    color: white;
    text-shadow: rgba(0, 0, 0, 0.7) 2px 1.5px;
    height: 250px;
    box-shadow: rgba(255, 255, 255, 0.6) 0 15px 30px -3px;
    transition: .3s ease-in-out;
}

.closedPokemonCard:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.closedPokemonCard::before {
    content: "";
    background-image: url(../img/pokeball3.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    border-radius: 18px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    z-index: 0;

}

.pokemonName {
    font-size: 28px;
    margin: 8px;
}

#pokemonNumber {
    position: relative;
    bottom: 70px;
    padding-left: 200px;
    font-size: 30px;
}

#pokemonAvatar {
    position: absolute;
    height: 210px;
    bottom: 0px;
    left: 75px;
}


.pokemonType {
    position: relative;
    bottom: 50px;
    left: 5px;
    color: white;
    font-size: 18.5px;
    background-color: rgba(19, 11, 11, 0.25);
    height: 25px;
    width: 67px;
    border-radius: 8px;
    padding: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-style: ridge;

}


/*----------------------------open PokemonCard-----------------------------------------------------*/


.backgroundColorOpenCard {
    background-color: rgba(0, 0, 0, 0.7);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: rgba(0, 0, 0, 0.7) 2px 1.5px;
}

.openMainContainerPokemon {
    height: 800px;
    width: 600px;
    background-color: rgb(22, 22, 22);
    box-shadow: rgba(255, 255, 255, 0.6) 0 15px 30px;
    border-radius: 18px;
}

.seperator {
    background-color: white;
    height: 1px;
    width: 90%;
    margin-left: 5%;
}



/*----------------------------open PokemonCard -->Upper-Section-----------------------------------------------------*/
.upperSection {
    background-image: url(../img/openCardBackground.jpg);
    background-size: 115%;
    border-radius: 18px;

}

.upperSection h1 {
    margin-block: 0px;
    margin-left: 10px;
}

.upperSection img {
    height: 400px;
    margin-left: 160px;
    margin-top: -80px;

}

/*----------------------------open PokemonCard ---> Lower-Section-----------------------------------------------------*/
/*--------------------------------open PokemonCard --> Lower-Section --> Tags-----------------------------------------------------*/
.pokemonTags {
    display: flex;
    justify-content: space-evenly;
    color: white;

}

.pokemonTags p {
    box-shadow: inset 0 0 0 crimson;
    transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
    border-radius: 4px;
    padding: 4px;
    background-color: rgb(255, 255, 255, 0.2);
}

.pokemonTags p:hover {
    cursor: pointer;
    box-shadow: inset 150px 0 0 0 crimson;
    border-radius: 4px;
    color: white;
}

.pokemonstats {
    width: 100%;
}

#myChart {
    width: 575px !important;
    padding-left: 10px;
}

/*----------------------------open PokemonCard --> Lower-Section--> different Stats -----------------------------------------------------*/
.about {
    margin-left: 30px;
    padding-right: 30px;
}


.skills {

    margin-left: 10px;
    margin-top: 10px;
    overflow-y: auto;
    height: 310px;
}

.skillsContainer {
    padding-left: 15px;
    margin-top: 5px;
}

.skills::-webkit-scrollbar {
    width: 12px;
    border-radius: 18px;
}

.skills::-webkit-scrollbar-track {
    background: black;
}

.skills::-webkit-scrollbar-thumb {
    background-color: white;
    border-radius: 20px;
}

/*--------------------------------Buttons-----------------------------------------------------*/
.loadbutton {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 35px 0px;
    margin-top: auto;
}

.loadbutton button {
    background-color: crimson;
    color: white;
    border: none;
    font-size: 18px;
    height: 70px;
    width: 200px;
    box-shadow: 0 6px 10px rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8%;
}

.loadbutton button:active {
    background-color: crimson;
    box-shadow: 0 0 2px black;
    transform: translateY(2px);
}

.loadbutton button:not(:first-child) {
    margin-top: 10px;
}

.glow-on-hover {

    border: none;
    outline: none;
    color: #fff;
    position: relative;
}

.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 8%;
}

.glow-on-hover:active {
    color: white
}

.glow-on-hover:active:after {
    background: transparent;
}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111;
    left: 0;
    top: 0;
    border-radius: 8%;
}

@keyframes glowing {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

/*--------------------------------Footer-----------------------------------------------------*/
footer {
    display: flex;
    justify-content: space-around;
    font-style: italic;
    color: rgb(0, 0, 0);
    border-top: 8px solid crimson;
    border-style: ridge;
    border-bottom: none;
    border-left: none;
    border-right: none;
    background: linear-gradient(103deg, rgba(34,193,195,1) 0%, rgba(253,187,45,1) 100%);
    font-size: 18px;

}

.mbe0 {
    margin-block-end: 0px;
}

footer div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

footer a {
    color: black;
    font-weight: bold;
    text-decoration: none;
    box-shadow: inset 0 0 0 crimson;
    transition: color .3s ease-in-out, box-shadow .3s ease-in-out;

}

footer a:hover {
    cursor: pointer;
    color: white;
    box-shadow: inset 200px 0 0 0 crimson;
}

/*------------------PokemonTypeColors-----------------*/
.fire {
    background-color: rgb(255, 65, 27);
}

.grass {
    background-color: rgb(98, 189, 90);
}

.water {
    background-color: rgb(43, 155, 227);
}

.bug {
    background-color: rgb(146, 193, 42);
}

.normal {
    background-color: rgb(188, 187, 170);
}

.poison {
    background-color: rgb(149, 83, 205);
}

.electric {
    background-color: rgb(255, 220, 2);
}

.ground {
    background-color: rgb(166, 116, 56);
}

.fly {
    background-color: rgb(151, 202, 255);
}

.fighting {
    background-color: rgb(187, 85, 68);
}

.psychic {
    background-color: rgb(255, 98, 128);
}

.rock {
    background-color: rgb(187, 170, 102);
}

.ghost {
    background-color: rgb(110, 67, 112);
}

.ice {
    background-color: rgb(116, 207, 192);
}

.dragon {
    background-color: rgb(86, 112, 190);
}

.fairy {
    background-color: rgb(236, 143, 230);
}

.dark {
    background-color: rgb(112, 88, 72);
}

.steel {
    background-color: rgb(184, 184, 208);
}