body {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    width: 100%;
    display: flex;
    justify-content: center;
}

.bgContainer{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1920px;

}

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

h1{
    margin-left: 50px;
}

header input {
    height: 16px;
    margin-right: 50px;
}

h2 {
    margin-bottom: 0px;
}

.idText {
    margin: 0px;
}

.pokedex-bg {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
}

.arrow {
    width: 48px;
    height: 48px;
    filter: invert();
    padding-inline: 32px;
    cursor: pointer;
}

.arrow:hover {
    transform: scale(1.03);
}

.pokedex-form {
    height: 80%;
    width: 500px;
}


.pokedex-form-bg {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
}

#pokedex {
    min-height: 40vh;
    background-color: #FB6C6C;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-align: center;
    padding: 24px;
    color: #ffffff;
    border-top-right-radius: 40px;
    border-top-left-radius: 40px;
}


.bg-pokedex-upper-image {
    background-color: white;
    border-top-right-radius: 40px;
    border-top-left-radius: 40px;
}

.info-container {
    background-color: white;
    border-radius: 40px;
    margin-top: -40px;
    height: 50%;
    display: flex;
    flex-direction: column;
}

.image-Container-pokedex-card {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.imagePokedexCard {
    height: 200px;
    width: 200px;
    margin-top: -150px;
    margin-right: 50px;
}

.pokedexMenu {
    color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: space-around;
    cursor: pointer;
}



.pokedexMenu-p-activ {

    color: black;
    text-decoration: underline;
}

.descriptionText {
    width: 150px;
    color: rgba(0, 0, 0, 0.4);
    display: flex;
}


tr {
    height: 50px;
    display: flex;
}

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

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

.pokemonCardSmal {
    width: 200px;
    height: 200px;
    margin: 16px;
    border-radius: 24px;
    filter: drop-shadow(2px 2px rgba(0, 0, 0, 0.4));
    padding: 16px;
    color: white;
}

.pokemonCardSmal:hover {
    transform: scale(1.02);
    cursor: pointer;
}

.imageSmalCard {
    width: 120px;
}

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

.typeContainer {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
}

.typ {
    background-color: brown;
    padding: 8px;
    border-radius: 16px;
}

.buttonContainer {
    display: flex;
    justify-content: center;
}

.loadMorePokemonButton {
    background-color: rgb(255, 0, 0);
    color: RGB(217, 218, 220);
    margin: 32px;
    padding-inline: 16px;
    padding-block: 8px;
    border-radius: 16px;
    border-color: RGB(29, 36, 39);
    font-size: 32px;

}

.loadMorePokemonButton:hover {
    cursor: pointer;
    transform: scale(1.02);
    background-color: rgba(210, 50, 48, 0.8);
}


.d-none {
    display: none;
}


.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #2f2f2fd6;
    z-index: 1000;
    transition: opacity 0.75s, visibility 0.75s;
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

.loader::after {
    content: "";
    width: 75px;
    height: 75px;
    border: 15px solid #dddddd;
    border-top-color: var(--mockup-color);
    border-radius: 50%;
    animation: loading 0.75s ease infinite;
}

.chartContainer{
    width: 400px;
    height: 250px;
}

@keyframes loading {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}

@media (max-width: 700px) {
    .pokedex-form{
        width: 380px;
    }

    .arrow{
        padding-inline: 8px;
    }

    h1{
        margin-left: 16px;
    }

    header input {
        margin-right: 16px;
    }
}

@media (max-width: 500px) {
    header{
        flex-direction: column;
    }

    .pokedex-form{
        width: 240px;
        height: 400px;
    }

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

    .descriptionText{
        width: 100px;
    }

    #pokedex {
        min-height: 30vh;
    }

    .imagePokedexCard{
        height: 150px;
        width: 150px;
    }

    .chartContainer{
        width: 220px;
        height: 120px;
    }
    
    .infoContainer{
        height: 10%;
    }

    tr {
        height: 24px;
    }

    h1{
        margin-left: 0px;
    }

    header input {
        margin-right: 0px;
    }
    


}