.center {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.maxWidth{
    display: flex;
    flex-direction: column;
}
.navbar {
    display: flex;
    justify-content: center;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
}

.buttonContainer {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.btn-primary {
    padding-left: 30px;
    padding-right: 30px;
}

.CardSection {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 300px;
}

.card {
    font-size: 16px;
    height: fit-content;
    /* width: 300px; */
    margin: 8px;
    padding: 0px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.5s ease;
    /* Übergangseffekt */
}

.card:hover {
    transform: scale(1.05);
    /* Vergrößerung der Karte */
}

.card-img-top {
    height: 100px;
    width: 100px;
}

#totalCard {
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 0px;
    width: 300px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

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

.currentContain img {
    height: 32px;
    width: 32px;
    margin: 16px
}

.stat {
    margin-bottom: 10px;
}

.label {
    display: inline-block;
    width: 120px;
    font-weight: bold;
}

.arrow:hover {
    cursor: pointer;
}

.bar {
    display: inline-block;
    width: calc(100% - 130px);
    background-color: #eee;
    border-radius: 10px;
    overflow: hidden;
    vertical-align: middle;
}

.value {
    height: 20px;
    background-color: #4caf50;
    border-radius: 10px 0 0 10px;
}

.d-none {
    display: none;
}

.shadowContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.totalCard {
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
}

#loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1002;
    /* Stellt sicher, dass der Ladebalken über dem Schattencontainer liegt */
}

.loader-bar {
    width: 100px;
    height: 10px;
    background-color: #ccc;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.loader-bar::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: #4caf50;
    animation: loading 1s infinite;
}




.card-grass {
    border: 4px solid #4caf50;
    /* Grün für Grass-Typ */
}

.card-fire {
    border: 4px solid #f44336;
    /* Rot für Fire-Typ */
}

.card-water {
    border: 4px solid #2196f3;
    /* Blau für Water-Typ */
}

.card-bug {
    border: 4px solid #92f302;
    /* Blau für Water-Typ */
}

.card-normal {
    border: 4px solid #ccc;
    /* Standard-Farbe für andere Typen */
}

.card-poison {
    border: 4px solid #f209ac;
    /* Standard-Farbe für andere Typen */
}

.card-electric {
    border: 4px solid #f2ff00;
    /* Standard-Farbe für andere Typen */
}

.card-ground {
    border: 4px solid #9a4804;
    /* Standard-Farbe für andere Typen */
}

.card-fairy {
    border: 4px solid #ff77ff;
    /* Rosa für Fairy-Typ */
}

.card-fighting {
    border: 4px solid #d56723;
    /* Orange für Fighting-Typ */
}

.card-rock {
    border: 4px solid #a38c21;
    /* Beige für Rock-Typ */
}

.card-psychic {
    border: 4px solid #ff007f;
    /* Rot für Psychic-Typ */
}

.card-ghost {
    border: 4px solid #7b62a3;
    /* Lila für Ghost-Typ */
}

.navbar{
    color: #ccc;
}


@keyframes loading {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@media (max-width: 768px) {
    .maxWidth{
        width:200px;
    }
    .card {
        height: auto;
        width: 290px;
        margin: 8px;
    }

    .card-img-top {
        height: 80px;
        width: 80px;
    }

    .arrow {
        height: 32px;
        width: 32px;
    }

    .label {
        width: 100px;
    }

    .bar {
        width: calc(100% - 110px);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }

    .card {
        margin: 4px;
    }

    .card-img-top {
        height: 60px;
        width: 60px;
    }

    .label {
        width: 80px;
    }

    .bar {
        width: calc(100% - 90px);
    }
}