body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    scroll-behavior: smooth;
    background-color: #c5c6e7;
}

h2 {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-thumb {
    background-color: rgb(200, 55, 55);
    border-radius: 4px;
}

.padding-12 {
    padding: 12px 12px 0 12px;
}

.bold {
    font-weight: bold;
}

.header {
    /* background-color: rgb(220, 220, 232); */
    background-color: #adaecb;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 24px 8px 24px;
    box-shadow: 1px 1px rgba(26, 26, 26, 0.2);
}

.header img {
    height: 104px;
    width: 104px;
    padding: 8px 16px 8px 16px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-left img {
    display: flex;
    align-items: center;
}

.header-right {
    padding: 8px 16px 8px 16px;
}

#search {
    padding: 8px 16px 8px 16px;
    width: 220px;
    height: 30px;
    border-radius: 8px;
    border: none;
}

input:focus::placeholder {
    position: absolute;
    top: 1px;
    left: 10px;
    font-size: 10px;
    color: rgb(200, 55, 55);
    background-color: white;
    transition: all 175ms ease-in-out;
}

input:focus {
    outline-color: rgb(200, 55, 55);
}

/* Loader____________________________________________ */
#loader-container {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 30%;
}

.loader {
    height: 60px;
    aspect-ratio: 1;
    position: relative;
}

.loader::before,
.loader::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    transform-origin: bottom;
}

.loader::after {
    background: radial-gradient(at 75% 15%, #fffb, #0000 35%),
        radial-gradient(at 80% 40%, #0000, #0008),
        radial-gradient(circle 5px, #fff 94%, #0000),
        radial-gradient(circle 10px, #000 94%, #0000),
        linear-gradient(#F93318 0 0) top /100% calc(50% - 5px),
        linear-gradient(#fff 0 0) bottom/100% calc(50% - 5px) #000;
    background-repeat: no-repeat;
    animation: l20 1s infinite cubic-bezier(0.5, 120, 0.5, -120);
}

.loader::before {
    background: #ddd;
    filter: blur(8px);
    transform: scaleY(0.4) translate(-13px, 0px);
}

@keyframes l20 {

    30%,
    70% {
        transform: rotate(0deg)
    }

    49.99% {
        transform: rotate(0.2deg)
    }

    50% {
        transform: rotate(-0.2deg)
    }
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 24px 16px 32px 16px;
    max-width: 1400px;
    margin: 0 auto;
}

.cards {
    background-color: rgba(255, 123, 0, 0.259);
    margin: 12px;
    height: 197px;
    width: 320px;
    box-sizing: border-box;
    border-radius: 16px;
    box-shadow: 4px 4px 16px #d5d5d5,
        -4px -4px 16px #ebebeb;
    cursor: pointer;
}

.cards:hover {
    box-shadow: 8px 8px 16px #c0c0c0,
        -8px -8px 16px #e3e3e3;
}

.cards-headline {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cards-type {
    padding: 0 16px 0 16px;
}

.cards-img {
    display: flex;
    justify-content: flex-end;
    padding: 0 16px 0 16px;
}

.cards-img img {
    height: 96px;
    margin-top: -16px;
}

.box-fullscreen {
    background-color: rgb(22, 22, 22, 0.6);
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0px;
    left: 0px;
    z-index: 2;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.d-none {
    display: none;
}

.no-scroll {
    overflow: hidden;
}

.pokedex-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    overflow: hidden;
}

#pokedex {
    display: flex;
    flex-direction: column;
    min-height: 40vh;
    width: 500px;
    padding: 24px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 999;
    
}

#pokedex img {
    padding-top: 80px;
    height: 160px;
    max-width: 180px;
}

.navigation-btn {
    color: rgb(200, 55, 55);
    font-weight: bold;
    font-size: 40px;
    display: flex;
    z-index: 1000;
    gap: 200px;
    position: fixed;
}

#previous {
    cursor: pointer;
    margin-top: 48px;
}

#next {
    cursor: pointer;
    margin-top: 48px;
}

.info-container {
    background-color: white;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    min-height: 40vh;
    width: 500px;
    padding: 24px;
    margin-top: -32px;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 999;
}

.chart-container {
    position: relative;
    height: 40vh;
    width: 60vw;
}

.info-container img {
    height: 400px;
}

.button-container {
    display: flex;
    justify-content: center;
}

#bt-load {
    padding: 12px 24px 12px 24px;
    margin: 16px 0 16px 0;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    font-weight: bold;
    font-size: 18px;
    background-color: rgb(200, 55, 55);
    color: white;
}

@media(max-width: 700px) {
    #search {
        width: 140px;
    }

    #pokedex {
        width: 350px;
    }

    .info-container {
        width: 350px;
    }

    .navigation-btn {
        gap: 140px;
    }
}

@media(max-width: 550px) {
    .header {
        padding: 8px;
    }

    #headline-poke {
        display: none;
    }

    .cards {
        background-color: rgba(255, 123, 0, 0.259);
        margin: 12px;
        height: 179px;
        width: 290px;
    }

    #pokedex {
        width: 300px;
    }

    .info-container {
        width: 300px;
    }

    .navigation-btn {
        gap: 110px;
    }
}

@media(max-width: 430px) {

    #pokedex {
        width: 220px;
    }

    .info-container {
        width: 220px;
    }

    .navigation-btn {
        gap: 80px;
    }
}