body {
    margin: 0px;
    font-family: 'Open Sans', sans-serif;
}

.background {
    margin: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

.background_image {
    background-repeat: no-repeat;
    background-size: 40%;
    background-position-x: 120%;
    background-position-y: -30%;
    filter: brightness(0.7);
    position: fixed;
    top: -20%;
    right: -20%;
    z-index: -1;
    object-fit: contain;
    height: 50%;
    width: 50%;
}

.logo {
    height: 50px;
    width: 50px;
    object-fit: contain;
    margin-bottom: 30px;
    margin-top: 30px;
    cursor: pointer;
}

h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
}

.headline_section_container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-left: 5%;
    margin-top: 30px;
}

.headline_section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    cursor: pointer;
}

.input {
    border: 1px solid rgb(236, 236, 236);
    border-radius: 30px;
    height: 30px;
    width: 150px;
    padding: 10px;
    margin-bottom: 30px;
}

.show_more {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-left: 5%;
}

.show_more_text {
    cursor: pointer;
}

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

.pokemon_overview {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-left: 4%;
    margin-right: 4%;
    margin-bottom: 30px;
    max-width: 1440px;
}

.card_small {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 150px;
    width: 225px;
    background-color: rgb(92, 208, 176);
    color: white;
    border-radius: 30px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
    padding: 10px;
    cursor: pointer;
    background-image: url("img/pokeball-white.png");
    background-repeat: no-repeat;
    background-size: 60%;
    background-position-x: 120%;
    background-position-y: 160%;
}

.card_small_fire {
    background-color: rgb(239, 107, 107);
}

.card_small_water {
    background-color: rgb(119, 190, 249);
}

.card_small_bug {
    background-color: rgb(178, 211, 105);
}

.card_small_electric {
    background-color: rgb(251, 217, 111);
}

.card_small_fairy {
    background-color: rgb(251, 171, 215);
}

.card_small_poison {
    background-color: rgb(136, 99, 216);
}

.card_small_ground {
    background-color: rgb(234, 135, 75);
}

.card_small_normal {
    background-color: rgb(159, 160, 168);
}

.card_small_rock {
    background-color: rgb(209, 210, 222);
}

.card_small_fighting {
    background-color: rgb(192, 183, 255);
}

.card_small_psychic {
    background-color: rgb(250,206,72);
}

.container_name_overview {
    margin-top: 20px;
    width: 110px;
}

.name_overview {
    font-weight: 700;
    font-size: 20px;
    margin-top: 20px;
    margin-left: 15px;
}

.type_overview {
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    height: 10px;
    width: fit-content;
    margin-left: 10px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image_overview {
    height: 150px;
    width: 150px;
    object-fit: contain;
}

.pokemon_card {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    color: rgb(67, 68, 69);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
}

.pokemon_card_hidden {
    display: none;
}

.container_cross {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.cross {
    margin-top: 5px;
    font-size: 25px;
    font-weight: 700;
    color: white;
    cursor: pointer;
}

.card {
    height: 750px;
    background-image: url("img/pokeball-white.png");
    background-repeat: no-repeat;
    background-size: 50%;
    background-position-x: 120%;
    background-position-y: 35%;
    background-color: rgb(92, 208, 176);
    color: white;
    border-radius: 30px;
    width: 400px;
    position: absolute;
    border: 1px solid rgb(92, 208, 176);
}

.card_fire {
    background-color: rgb(239, 107, 107);
    border: 1px solid rgb(239, 107, 107);
}

.card_water {
    background-color: rgb(119, 190, 249);
    border: 1px solid rgb(119, 190, 249);
}

.card_bug {
    background-color: rgb(178, 211, 105);
    border: 1px solid rgb(178, 211, 105);
}

.card_electric {
    background-color: rgb(251, 217, 111);
    border: 1px solid rgb(251, 217, 111);
}

.card_fairy {
    background-color: rgb(251, 171, 215);
    border: 1px solid rgb(251, 171, 215);
}

.card_normal {
    background-color: rgb(159, 160, 168);
    border: 1px solid rgb(159, 160, 168);
}

.card_poison {
    background-color: rgb(136, 99, 216);
    border: 1px solid rgb(136, 99, 216);
}

.card_ground {
    background-color: rgb(234, 135, 75);
    border: 1px solid rgb(234, 135, 75);
}

.card_rock {
    background-color: rgb(209, 210, 222);
    border: 1px solid rgb(209, 210, 222);
}

.card_fighting {
    background-color: rgb(192, 183, 255);;
    border: 1px solid rgb(192, 183, 255);
}

.card_psychic {
    background-color: rgb(250,206,72);
    border: 1px solid rgb(250,206,72);
}

.container_types {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
}

.types {
    background-color: rgb(99, 224, 201);
    border-radius: 30px;
    font-weight: 700;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.types_grass {
    background-color: rgb(130, 228, 210);
}

.types_fire {
    background-color: rgb(254, 170, 170);
}

.types_water {
    background-color: rgb(174, 215, 248);
}

.types_bug {
    background-color: rgb(218, 239, 169);
}

.types_electric {
    background-color: rgb(253, 236, 183);
}

.types_fairy {
    background-color: rgb(255, 201, 231);
}

.types_poison {
    background-color: rgb(169, 148, 214);
}

.types_ground {
    background-color: rgb(237, 182, 147);
}

.types_normal {
    background-color: rgb(186, 186, 190);
}

.types_rock {
    background-color: rgb(158, 159, 170);
}

.types_fighting {
    background-color: rgb(161, 147, 251);
}

.types_psychic {
    background-color: rgb(255, 227, 144);
}

.upper_section {
    height: 350px;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
}

.lower_section {
    color: rgb(158, 160, 162);
    background-color: white;
    font-size: 18px;
    font-weight: 500;
    border-radius: 30px;
    height: 350px;
    margin-bottom: 0px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 50px;
}

.container_arrows {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 0px;
    font-size: 25px;
    font-weight: 700;
}

.arrow {
    cursor: pointer;
}

.container_name {
    padding-bottom: 0px;
}

.name {
    font-size: 36px;
    font-weight: 700;
    margin-top: 20px;
}

.container_id {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-weight: 700;
    font-size: 18px;
}

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

.image {
    height: 300px;
    width: 300px;
    object-fit: contain;
    position: absolute;
    bottom: -40px;
}

.classes {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.class {
    color: rgb(158, 160, 162);
    font-weight: 700;
    cursor: pointer;
}

.class:hover {
    color: rgb(67, 68, 69);
    font-size: 20px;
    transition: 0.4s;
}

.card_small:hover .image_overview {
    transform: scale(1.55, 1.55);
    transition: 0.4s;
}

.container_border {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 2px;
    width: 100%;
    margin-bottom: 20px;
    background-color: rgb(217, 221, 227);
}

.border_grey {
    width: 20%;
}

table {
    box-sizing: content-box;
    border-collapse: collapse;
}

.tabledata {
    color: rgb(67, 68, 69);
    font-weight: 700;
    width: 50px;
}

.tabledata_about {
    color: rgb(67, 68, 69);
    font-weight: 700;
}

tr td:first-child {
    padding-right: 30px;
    padding-bottom: 8px;
    width: 140px;
}

.subheadline {
    color: rgb(67, 68, 69);
    font-weight: 700;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.moves {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 5px;
}

.move {
    background-color: rgb(180, 183, 187);
    border-radius: 30px;
    font-weight: 500;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: white;
}

.progressbar {
    height: 3px;
    width: 100%;
    background-color: rgb(180, 183, 187);
    margin-left: 30px;
    animation: progressBarAnimation 1s ease-in-out forwards;
}

@keyframes progressBarAnimation {
    from {
        width: 0%;
    }
}

@media (max-width: 460px) {
    .card {
        height: 620px;
        background-size: 50%;
        background-position-x: 130%;
        background-position-y: 40%;
        width: 300px;
    }

    .upper_section {
        height: 280px;
    }

    .lower_section {
        font-size: 13px;
        font-weight: 500;
        height: 320px;
        margin-bottom: 0px;
        padding-top: 20px;
    }

    .image {
        height: 180px;
        width: 180px;
        bottom: -10px;
        right: 30px;
    }

    .classes {
        margin-bottom: 20px;
    }

    .container_border {
        margin-bottom: 20px;
    }

    .subheadline {
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 15px;
    }

    .name {
        font-size: 30px;
    }

    .class:hover {
        font-size: 15px;
    }

    tr td:first-child {
        width: 110px;
        padding-right: 0px;
    }

    tr {
        max-width: 100px;
    }

    .tabledata {
        width: 30px;
    }

   .progressbar {
        margin-left: 29px;
    }

    .move {
        height: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .show_more {
        margin-left: 0px;
    }
}