body {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    position: relative;
}

.width100 {
    width: 100%;
}

header {
    width: 100%;
    height: 72px;
    background-color: aqua;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.headerDiv {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header a {
    text-decoration: none;
    color: white;
}

header img {
    height: 48px;
}

.searchBar {
    border: none;
    height: 36px;
    width: 300px;
    text-align: center;
    margin-top: 16px;
    background-color: lightgrey;
    border-radius: 8px;
    outline: none;
}

#pokedex {
    height: 5vh;
    background-color: rgb(199, 61, 61);
    display: flex;
}

h1 {
    padding: 16px;
    margin: 0;
    color: white;
}

h2 {
    margin-top: 0;
}

.cardId {
    font-size: 12px;
    margin: 8px;
    color: lightgray;
    position: absolute;
    right: 0;
    top: 0;
}

.cards {
    height: 120px;
    width: 180px;
    margin: 16px;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid lightgray;
    position: relative;
}

.cards:hover .cardImg {
    transform: scale(1.5);
    cursor: pointer;
}

.cardImg {
    width: 112px;
    object-fit: cover;
    position: absolute;
    bottom: -30px;
    right: -30px;
}

#startContainer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.type {
    font-size: 12px;
    padding: 2px 16px 2px 16px;
    margin-bottom: 4px;
    width: fit-content;
    border: 1px solid lightgray;
    border-radius: 12px;
    opacity: 0.6;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Leicht abgedunkeltes Schwarz */
    display: none;
    z-index: 99; /* Stellen Sie sicher, dass das Overlay unterhalb des Modals liegt */
  }

.modalBig {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.9); /* Leicht abgedunkeltes Weiß */
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: none; /* Standardmäßig ausgeblendet */
    z-index: 100; /* Stellen Sie sicher, dass das Modal über dem Overlay erscheint */
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.modalBig {
    width: 400px;
    height: 660px;
    padding: 0;
    border-radius: 16px;
    background-color: white;
}

.cardHead {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: 70%;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.openCardImg {
    width: 240px;
}

#type {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chartContainer {
    height: 30%;
    margin-top: -16px;
    border-top-right-radius: 16px;
    border-top-left-radius: 16px;
    background-color: white;
}

.nextIcon {
    position: absolute;
    right: 4px;
    top: 50%;
}

.backIcon {
    position: absolute;
    left: 4px;
    top: 50%;
}

.nextIcon:hover {
    cursor: pointer;
    transform: scale(1.5);
}

.backIcon:hover {
    cursor: pointer;
    transform: scale(1.5);
}

.button {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    margin-top: 24px;
}

footer {
    background-color: aqua;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

footer a {
    text-decoration: none;
    color: white;
    font-size: 36px;
}

.marginTop {
    margin-top: 112px;

}

.maxContent1440px {
    max-width: 1485px;
    text-align: center;
}

.impressumText {
    margin-top: 200px;
}

@media(max-width: 450px) {
    .modalBig {
        width: 300px;
    }
}

/* CSS für Webkit-basierte Browser */
::-webkit-scrollbar {
    width: 5px; /* Breite des Scrollbalkens */
}

::-webkit-scrollbar-track {
    background: rgb(42, 101, 101);; /* Hintergrundfarbe des Scrollbalkens */
}

::-webkit-scrollbar-thumb {
    background: rgb(60,255,255); /* Farbe des Scrollbalken-Griffs */
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(50, 156, 156); /* Farbe des Scrollbalken-Griffs beim Hover */
}
