:root {
    --grass: #48D0B0;
    --fire: #FC6C6D;
    --water: #6DB5F8;
    --normal: #A8A878;
    --flying: #A890F0;
    --bug: #A8B820;
    --poison: #A040A0;
    --electric: #F8D030;
    --ground: #E0C068;
    --fighting: #C03028;
    --psychic: #F85888;
    --rock: #B8A038;
    --ice: #98D8D8;
    --ghost: #705898;
    --dragon: #7038F8;
    --dark: #705848;
    --steel: #B8B8D0;
    --fairy: #EE99AC;
}



body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    box-sizing: border-box;
}

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

.column {
    flex-direction: column;
}

.margin_r_l_50px {
    margin-left: 50px;
    margin-right: 50px;

}

h1 {
    font-family: Protest Strike;
    font-size: 100px;
    text-shadow: 1px 1px 2px black;
    margin-bottom: 20px;
}

h2 {
    font-family: Protest Strike;
    font-size: 32px;
}

.gap32px {
    gap: 32px;
}

.d-none {
    display: none !important;
}

.max-width {
    max-width: 1440px;
}

.container-head {
    padding-bottom: 6%;
    margin-bottom: 30px;
    background-color: rgb(232, 232, 232);
    border-radius: 0px 0px 30px 30px;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.header h1 {
    margin-top: 60px;
    color: #d33e3e;
}

.header img {
    width: 100px;
    height: 100%;
}

input {
    width: 300px;
    height: 8px;
    padding: 10px 16px;
    border-radius: 25px;
    border: 2px solid gray;

}

.container-top {
    color: white;
    min-height: 50vh;
    padding-top: 50px;
}

.icon-back {
    width: 40px;
    color: white;
    cursor: pointer;
}

.back_and_id {
    width: 90vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container-top h1 {
    margin-top: 0;
}

#pokemonTypes {
    gap: 12px;
}

.types_and_swipe {
    width: 90vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.swipe_arrow {
    padding: 30px 0px;
    width: 40px;
    cursor: pointer;
}

.types {
    appearance: button;
    background-image: linear-gradient(to bottom, #e2e2e2, #b3b3b3);
    border: 0 solid #e5e7eb;
    border-radius: .5rem;
    color: #3f3f3f;
    font-weight: 600;
    outline: 2px solid transparent;
    padding: 8px 16px;
    text-align: center;
    box-shadow: 0px 3px 8px 2px rgba(81, 41, 10, 0.1)
}

.pokemon-img-single-card {
    width: 450px;
    padding-bottom: 20px;
}

.container-specs {
    background-color: white;
    border-radius: 40px;
    margin-top: -45px;
}

.container-specs img {
    margin-top: -360px;
}

.specs {
    gap: 45px;
}

.evolutions {
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.evolutions-img {
    width: 100px;
    cursor: pointer;
}


/* ----- ALL POKEMON VIEW ----- */


.container-allPokemon {
    flex-wrap: wrap;
}

.card {
    width: 200px;
    height: 300px;
    margin: 16px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
    border-radius: 25px;
    border: 3px solid white;
    cursor: pointer;
}

.card:hover .pokemon-img {
    transform: scale(1.1);
    transition: transform 0.5s ease-in-out;
}

.pokemon-img {
    width: 170px;
    z-index: 1;
    margin-bottom: 16px;
}

.card-id {
    font-size: 100px;
    position: absolute;
    text-shadow: none;
    color: rgba(255, 255, 255, 0.15);
    padding-bottom: 60px;
}

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

.full-icon {
    height: 20px;
    background-color: white;
    border-radius: 15px 0px 0px 0px;
    padding: 8px 6px 12px 10px;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.buttonloadMore {
    padding: 16px 32px;
    border-radius: 45px;
    border: none;
    background-color: #d33e3e;
    color: white;
}

.buttonloadMore:hover {
    background-color: #e93a3a;
    box-shadow: 0px 3px 8px 2px rgba(81, 41, 10, 0.3);
    cursor: pointer;
}


/* ----- PROGRESSBAR ----- */


#progressbar {
    width: 90vw;
    max-width: 860px;
    padding-top: 3px;
}

.container-bar {
    margin-top: 20px;
}


.title {
    font-weight: bold;
    font-size: 16px;
    color: #000000;
}

.bar {
    width: 90%;
    height: 30px;
    border-radius: 10px;
    background: #d2d2d2;
    position: relative;
    transition: all 2s linear;
}

.bar-1,
.my-skills {
    width: 80%;
    margin: 10px auto 16px;
}

.bar-inner {
    width: 0;
    max-width: 100%;
    height: 30px;
    line-height: 35px;
    background: #db3a34;
    border-radius: 5px 0 0 5px;
}

.bar-percent {
    position: absolute;
    right: 5px;
    top: 5px;
    font-size: 18px;
}


/* ----- FOOTER ----- */


footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 270px;
    background-color: lightgray;
    border-radius: 25px 25px 0px 0px;
    margin-top: 50px;
    padding-bottom: 50px;
    color: white;
    font-size: 16px;
}

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


/* ----- LOADING SCREEN ----- */

.loadingScreen {
    width: 100vw;
    height: 100%;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000c3;
    z-index: 10;
}


.loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
    border-top: 4px solid #FFF;
    border-right: 4px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
  }
  .loader::after {
    content: '';  
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border-bottom: 4px solid #FF3D00;
    border-left: 4px solid transparent;
  }
  @keyframes rotation {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  } 


/* ----- SCROLLBAR ----- */


/* Firefox */
* {
    scrollbar-width: auto;
    scrollbar-color: #d33e3e #ffffff;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 60px;
}

*::-webkit-scrollbar-track {
    background: #ffffff;
}

*::-webkit-scrollbar-thumb {
    background-color: #d33e3e;
    border-radius: 10px;
    border: 3px dashed #ffffff;
}



/* ----- RESPONSIVE CSS ----- */


@media only screen and (max-width: 660px) {

    .header img {
        display: none;
    }

    .specs {
        gap: 16px;
        flex-direction: column;
        margin-bottom: 30px;
    }

    h1 {
        font-size: 80px;
    }

    h3 {
        margin: 0;
    }

    .pokemon-img-single-card {
        width: 350px;
        padding-bottom: 40px;
    }

    .container-specs img {
        margin-top: -280px;
    }

}

@media only screen and (max-width: 520px) {

    h1 {
        font-size: 70px;
    }

    input {
        width: 200px;
    }

    .evolution_list {
        flex-direction: column;
        gap: 8px;
    }

    .evolutions-img {
        width: 150px;
    }
}

@media only screen and (max-width: 420px) {

    h1 {
        font-size: 50px;
    }

    .pokemon-img-single-card {
        width: 260px;
    }

    .container-specs img {
        margin-top: -215px;
    }
}