body {
    margin: 0;
    background-image: url('img/pattern.jpg');
    font-family: "Open Sans", sans-serif;
    flex-direction: column;
    display: flex;
    align-items: center;
}

nav {
    background-color: #434343;
    width: 100%;
    padding: 10px 0px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;

}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
 
::-webkit-scrollbar-thumb {
  background: red; 
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b30000; 
}

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

.logo {
    height: 70px;
}

.logoName {
    height: 110px;
}

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

}

.search input {
    height: 25px;
    width: 200px;
    text-align: center;
}

.searchNumber {
    margin-right: 5px;
    border-top-left-radius: 12.5px;
    border-bottom-left-radius: 12.5px;
}

.searchName {
    margin-left: 5px;
    border-top-right-radius: 12.5px;
    border-bottom-right-radius: 12.5px;
}

#allPokemons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 160px;
    max-width: 1920px;
}

.pokecard {
    width: 336px;
    display: flex;
    margin: 20px;
    cursor: pointer;
    border-radius: 25px;
}


.pokedex {
    display: flex;
    background-color: lightgrey;
    color: white;
    padding: 24px;
    flex-direction: column;
    border-radius: 25px;
    width: 100%;
}

.nMargin {
    margin: 0;
}

.typeAndImage {
    display: flex;
}

.type {
    background-color: #F88D8D;
    height: 22px;
    width: auto;
    padding: 3px;
    text-align: center;
    border-radius: 11px;
    margin-top: 8px;
}

.pokeimg {
    position: relative;
    z-index: 1;
    height: 200px;
    width: 200px;
    margin-left: 40px;
}

.PokeballTranzparent {
    position: relative;
    opacity: 0.1;
    height: 150px;
    width: 150px;
    z-index: 0;
    margin-top: 60px;
    margin-left: -150px;

}


#single-card {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
}

.cu-pointer {
    cursor: pointer;
}

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

.singlePokecard {
    width: auto;
    display: flex;
    margin: 20px;
    border-radius: 25px;
    flex-direction: column;
    margin-top: 120px;
}

.singlePokedex {
    display: flex;
    background-color: lightgrey;
    color: white;
    padding: 10px;
    flex-direction: column;
    border-radius: 25px;

}

.singleTypeAndImage {
    display: flex;
}
.rightpart{
    display: flex;
    align-items: center;
}
.rightarrow{
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 14px;
    padding: 4px;
    cursor: pointer;
}
.leftpart{
    display: flex;
    align-items: center;
}
.leftarrow{
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 14px;
    padding: 4px;
    cursor: pointer;
}
.singleType {
    background-color: #F88D8D;
    height: 22px;
    width: auto;
    padding: 3px;
    text-align: center;
    border-radius: 11px;
    margin-top: 8px;
    cursor: default;
}

.singlePokeimg {
    position: relative;
    z-index: 2;
    height: 200px;
    width: 200px;
    
}

.pokeInfo {
    width: 100%;
    background-color: white;
    border-radius: 25px;
    margin-top: -40px;
    z-index: 1;
}

.infoMenue {
    display: flex;
    justify-content: space-evenly;
    padding: 10px;
    border-bottom: inset;
}

.data {
    height: 300px;
    display:flex
}
.data table{
    width: 100%;
    padding-left: 70px;
}
.flexCenter {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.data img {
    width: 20px;
    height: 20px;
    background-color: lightgray;
    padding: 3px;
    cursor: pointer;
    border-radius: 20px;
}

.num-close {
    display: flex;
    justify-content: space-between;
}

.closeX {
    font-size: xxx-large;
    background-color: white;
    color: black;
    cursor: pointer;
    width: 50px;
    display: flex;
    justify-content: center;
    border-radius: 25px;
    height: 50px;
    align-items: center;
    margin-top: -25px;
    margin-right: -25px;
    font-weight: bold;
    padding-bottom: 2px;
}

#chartData {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loding-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: fixed;
    bottom: 0;
    z-index: 5;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.8);

}

.spinner {
    -webkit-animation: rotator 1.4s linear infinite;
    animation: rotator 1.4s linear infinite;
}

@-webkit-keyframes rotator {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(270deg);
    }
}

@keyframes rotator {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(270deg);
    }
}

.path {
    stroke-dasharray: 187;
    stroke-dashoffset: 0;
    transform-origin: center;
    -webkit-animation: dash 1.4s ease-in-out infinite, colors 5.6s ease-in-out infinite;
    animation: dash 1.4s ease-in-out infinite, colors 5.6s ease-in-out infinite;
}

@-webkit-keyframes colors {
    0% {
        stroke: #4285F4;
    }

    25% {
        stroke: #DE3E35;
    }

    50% {
        stroke: #F7C223;
    }

    75% {
        stroke: #1B9A59;
    }

    100% {
        stroke: #4285F4;
    }
}

@keyframes colors {
    0% {
        stroke: #4285F4;
    }

    25% {
        stroke: #DE3E35;
    }

    50% {
        stroke: #F7C223;
    }

    75% {
        stroke: #1B9A59;
    }

    100% {
        stroke: #4285F4;
    }
}

@-webkit-keyframes dash {
    0% {
        stroke-dashoffset: 187;
    }

    50% {
        stroke-dashoffset: 46.75;
        transform: rotate(135deg);
    }

    100% {
        stroke-dashoffset: 187;
        transform: rotate(450deg);
    }
}

@keyframes dash {
    0% {
        stroke-dashoffset: 187;
    }

    50% {
        stroke-dashoffset: 46.75;
        transform: rotate(135deg);
    }

    100% {
        stroke-dashoffset: 187;
        transform: rotate(450deg);
    }
}


.load-more-field {
    display: flex;
    justify-content: center;
    align-items: center;

}

.morebtn {
    margin-Top: 30px;
    border-radius: 30px;
    margin-bottom: 30px;
    cursor: pointer;
}

@media (max-width:400px) {
    .logo {
        height: 50px;

    }

    .logoName {
        height: 70px;
    }

    .search input {
        width: 100px;
    }

    #allPokemons {
        margin-top: 130px;
    }

    #single-card {
        height: 87.2%;
    }
    .closeX{
        margin-right: 0;
    }
}

@media (max-width:388px) {

    .pokecard {
        margin-left: 2px;
        margin-right: 2px;
    }

    .pokedex {
        padding: 12px;
    }

    .morebtn {
        margin-top: 10px;
        margin-bottom: 10px;
        width: 200px;
    }

    .singlePokedex {
        width: 280px;
    }
    .PokeballTranzparent{
        margin-left: -180px;
    }
    .singlePokeimg{
        width: 180px;
        height: 180px;
    }
    .rightpart{
        margin-left: 20px;
    }
}