body {
    margin: 0;
    font-family: "Roboto", sans-serif;
    background-color: white;
    background-image: url("./img/pokemon-bg.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.navbar {
    padding: 16px 32px;
    background-color: #dc0a2d;
}

.max-width-1440 {
    max-width: 1440px;
    margin: 0 auto; /* This centers the container */
}
.dp-flex-space-btwn {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.inputField {
    border-radius: 8px;
    padding: 8px;
    border: none;
}
.searchBtn {
    background-color: white;
    padding: 8px;
    border-radius: 24px;
    color: black;
    cursor: pointer;
}

.info-container {
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pokemon-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
}

.pokemon-overlay:not(.hidden) {
    display: flex; /* Zeigt das Overlay an, wenn die Klasse 'hidden' nicht vorhanden ist */
}

.close-overlay {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.overlay-content {
    position: relative;
    background-color: white;
    border-radius: 40px;
    margin-top: -40px;
}

.pokemon-list {
    display: flex;
    flex-wrap: wrap;
    padding: 16px 32px;
    justify-content: center;
}
.pokemon-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 16px;
    border-radius: 32px;
    cursor: pointer;
    box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px;
}
.pokemon-card:hover {
    transform: scale(1.03);
}
.pokemon-card img {
    width: 120px;
}

.pokemon-type {
    border: 1px solid black;
    padding: 8px;
    border-radius: 8px;
}
.pokemonTypes {
    display: flex;
    gap: 8px;
}

.showMoreButton {
    display: flex;
    justify-content: center;
    padding: 64px 0;
}
.showMoreButton button {
    background-color: #dc0a2d;
    padding: 8px;
    border-radius: 24px;
    color: white;
    cursor: pointer;
}
.showMoreButton button:hover {
    background-color: #764850;
}

.pokeInfoIMG {
    border-radius: 30px 30px 0 0;
}

.detailedInfoCard {
    width: 90%;
}
.loadingText {
    color: white;
    margin-top: 20px;
}
.loading-indicator {
    display: none; 
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.8); 
    z-index: 1000;
    justify-content: center; 
    align-items: center; 
    display: flex; 
    flex-direction: column; 
}

.spinner {
    width: 48px;
    height: 48px;
    border: 5px solid #fff;
    border-bottom-color: transparent;
    border-radius: 50%;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 590px) {
    .dp-flex-space-btwn {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .inputField {
        width: 120px;
    }
    .detailPokeImg {
        width: 90vw;
    }
}
