body {
    margin: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    background-image: url(./img/background.jpg);
    height: 100vm;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.navBar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FE3640;
    height: 50px;
}

.navBar img {
    height: 30px;
}

.searchsection {
    height: 30px;
    display: flex;
    align-items: center;
}

#pokedex {
    /*# spricht eine ID an und keine Klasse!!*/
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 120px 30px 0 30px;
    gap: 30px;
}

.card {
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 24px 0 24px;
    border-radius: 20px;
    width: 300px;
    background-image: url(/img/bg-cards.png);
    background-repeat: no-repeat;
    background-size: 190px;
    background-position-x: 160px;
    background-position-y: 70px;
}

.card:hover {
    cursor: pointer;
    filter: drop-shadow(0px 0px 4px #FFFFFF);
    transform: scale(1.05);
}

.cardTop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.cardTop span {
    font-weight: bold;
    color: rgb(60, 59, 59);
    font-size: 22px;
}

.cardBottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cardType {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.type {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    height: 30px;
    width: 50px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 43px;
    padding: 8px 12px;
    color: white;
}

.cardBottom img {
    width: 60%;
    object-fit: cover;
    filter: drop-shadow(5px 5px 5px #222);
    /*neuer Schatten einstellen!!*/
}

.BtnSection {
    display: flex;
    justify-content: center;
    margin: 30px 0 50px 0;
}

#BtnLoad {
    height: 30px;
    width: 100px;
    border-radius: 15px;
    background-color: #FE3640;
}

#BtnLoad:hover {
    cursor: pointer;
    background-color: #f95e66;
}

#openedDetailCard {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    }

.overallDetailCard {
    width: 40vh;
    margin: 0 20px;
}

.detailCard {
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    padding: 40px 24px 0 24px;
    background-image: url(/img/bg-cards.png);
    background-repeat: no-repeat;
    background-size: 200px;
    background-position-x: 200px;
    background-position-y: 190px;
}

.closeDetailCard:hover {
    cursor: pointer;
}

.detailType {
    display: flex;
    gap: 15px;
}

.infoContainer {
    background-color: white;
    border-radius: 40px;
    margin-top: -40px;
    padding-top: 40px;
}

.imgPositiion {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
}

.detailImg {
    width: 70%;
}

.arrowImg {
    width: 20px;
    height: 30px;
}

.arrowImg {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 8px;
    border-radius: 40px;
}

.infoMenü {
    display: flex;
    justify-content: space-between;
    padding: 0 25px;
    color: rgb(123, 123, 123);
    font-weight: bold;
}

.infoMenü span:hover {
    cursor: pointer;
    color: black;
    text-decoration: underline blue 2px;
    text-underline-offset: 10px;
}

#detailContent {
    padding: 25px;
    max-height: 230px;
}

.tdAbout {
    color: rgb(123, 123, 123);
    font-weight: bold;
    padding: 0 30px 15px 0;
}

.tdSpecs {
    font-weight: bold;
    padding-bottom: 15px;
}

#specNumber {
    font-weight: bold;
    padding-right: 15px;
}

progress {
    height: 20px;
}

#overallMovesDiv {
    display: flex;
    flex-wrap: wrap;
    overflow: scroll;
    min-height: 100px;
    max-height: 230px;
}

.movesDiv {
    background-color: rgb(176, 173, 173);
    color: white;
    border-radius: 43px;
    padding: 8px 12px;
    margin-right: 5px;
    margin-bottom: 5px;
    height: 20px;
}

#loadingScreen {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);    
    z-index: -0;
}

#loadingScreen img {
    height: 200px;
    opacity: 1;
    z-index: 50;
    animation: rotateImg 1s linear infinite;
}

@keyframes rotateImg {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

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

/* Hintergrundfarbe der Scrollleiste */
::-webkit-scrollbar-track {
    background: #0C1D27;
}

/* Farbe des Scrollbalkens */
::-webkit-scrollbar-thumb {
    background: #FE3640;
    border-radius: 10px;
}

/* Farbe des Scrollbalken bei Mausüberfahrt */
::-webkit-scrollbar-thumb:hover {
    background: #8e2d32;
}

/*///////////////////////// Start responsive Code ////////////////////////////*/

@media (max-width: 814px) {

    
} 
@media (max-width: 400px) {
    .type{
        font-size: 14px;
        height: 20px;
        width: 40px;
    }

    h1 {
        font-size: 22px;
    }

    progress {
        width: 90px;
    }
}