@keyframes loading-spinner {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
  }

.loading_spinner img {
    width: 256px;
    height: 256px;
    animation: loading-spinner 2s linear infinite;
}

.spinner_container {
    position: relative;
}

.pika_gif {
    position: absolute;
    top: 185px;
    left: 60px;
    height: 63px;
    width: 116px;
}

#search_pokemon {
    position: relative;
    margin-right: 32px;
    border-radius: 8px;
}

#suggestions {
    position: absolute;
    z-index: 1;
}

#show_more_btn {
    display: flex;
    justify-content: center;
}

#show_more_btn button {
    height: 64px;
    width: 128px;
    border-radius: 16px;
    filter: drop-shadow(2px 4px 6px black);
    margin: 16px;
}

#show_more_btn button:hover {
    cursor: pointer;
    transform: scale(0.95);
}

/* toggle overlay */
.d_none {
    display: none;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.detail_card_border {
    filter: drop-shadow(2px 4px 6px black);
    padding: 16px 14px;
    height: 640px;
    width: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: rgb(17, 17, 17);
    position: absolute;
    top: calc(30% - (360px / 2));
    left: calc(50% - (460px / 2));
    z-index: 2;
    border-radius: 16px;
    border: 1px solid black;
}

.details_card_background {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    width: 100%;
    background-color: rgba(250, 250, 250, 0.9);
    border: 3px solid rgba(37, 37, 37, 0.9);
    border-radius: 8px;
}


.details_card_display {
    height: 351px;
    width: 432px;
    /* background-color: rgb(67, 155, 255); */
    border-radius: 8px;
    z-index: 3;
    border: 3px inset rgba(37, 37, 37, 0.9);
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 12px;
}

.overlay_header {
    padding: 8px 8px;
    width: 90%;
    height: 96px;
    display: flex;
    justify-content: space-between;
    /* background-color: rgb(70, 70, 70); */
    border-radius: 6px 6px 6px 24px;
}

.overlay_header1 {
    width: 45%;
    background-color: rgb(248, 248, 64);
    height: 32px;
    /* position: absolute;
    top: 8px;
    left: 8px; */
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: 8px 8px 24px 8px;
    border: 3px inset rgba(121, 121, 121, 0.9);
    /* filter: drop-shadow(3px 4px 4px black); */
    font-family: 'Lucida Sans Unicode';
    margin-top: 10px;
}

.overlay_id {
    margin-left: 8px;
    font-size: 18px;
    font-weight: 700;
}

/* .overlay_header2 { */
    /* background-color: rgb(34, 34, 34); */
    /* filter: drop-shadow(3px 4px 4px black);
    background-image: linear-gradient(45deg, rgb(141, 141, 141), rgba(225, 225, 225, 0.9));
    position: absolute;
    top: 6px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: row;
    width: 75%;
    height: 56px;
    border: 2px solid rgba(121, 121, 121, 0.9);
    border-radius: 8px 20px 50px 8px;
    font-family: 'Lucida Sans Unicode';
} */

.overlay_header2 {
     /* Static gradient with metallic colors */
     background: linear-gradient(
        45deg,
        #8d8d8d,    /* Dark silver */
        #a5a5a5,    /* Gradual gray */
        #c3c3c3,    /* Lighter gray */
        #e1e1e1,    /* Light silver */
        #f0f0f0,    /* Subtle highlight */
        #e1e1e1,    /* Light silver fade */
        #c3c3c3,    /* Lighter gray return */
        #a5a5a5,    /* Gradual gray */
        #8d8d8d     /* Dark silver - seamless loop */
    );
    
    /* Animation properties */
    background-size: 400% 400%; /* Large size for smooth movement */
    animation: metallicShift 7.50s ease infinite; /* Back-and-forth motion */
    
    /* Existing properties */
    filter: drop-shadow(3px 4px 4px black);
    position: absolute;
    top: 6px;
    right: 11px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: row;
    width: 93%;
    height: 59px;
    border: 7px solid rgba(83, 83, 83, 0.9);
    border-radius: 8px 8px 50px 8px;
    font-family: 'Lucida Sans Unicode';
    border-style: outset;
}

/* Keyframes adapted from moveGradient */
@keyframes metallicShift {
    0% { background-position: 0% 50%; }    /* Start at left */
    50% { background-position: 100% 50%; } /* Move to right */
    100% { background-position: 0% 50%; }  /* Return to left */
}

.overlay_battlepoints {
    font-family: 'Lucida Sans Unicode';
    margin-right: 56px;
    font-size: 24px;
    font-weight: 700;
}

.overlay_power_img {
    height: 32px;
    width: 32px;
    border-radius: 16px;
    margin-right: 8px;
}

.overlay_img {
    filter: drop-shadow(2px 4px 6px black);
    height: 256px;
    z-index: 4;
    position: absolute;
    top: 15%;
    left: 25%;
}

.overlay_body {
    z-index: 4;
    position: absolute;
    top: 407px;
    left: 23px;
    color: black;
    background-image: radial-gradient(white 62%, lightgray);
    /* -webkit-text-stroke: 1px #fff; */
    font-family: 'Lucida Sans Unicode';
    font-size: 24px;
    font-weight: 800;
    height: 200px;
    width: 418px;
    padding: 12px 8px;
    border-radius: 12px;
    border: 3px inset black;
}

.overlay_body_text {
    margin: 0;
    padding: 0;
}

.navigation_buttons {
    position: absolute;
    top: 233px;
    left: 120px;
    width: auto;
}

.btn_left {
    font-family: 'Lucida Sans Unicode';
    color: #303030;
    font-size: 18px;
    font-weight: 800;

    /* Static gradient with metallic colors */
    background: linear-gradient(
        45deg,
        #3a3a3a,    /* Very dark silver */
        #515151,    /* Very dark gradual gray */
        #686868,    /* Dark muted gray */
        #7f7f7f,    /* Darker mid-tone silver */
        #969696,    /* Dark subtle highlight */
        #7f7f7f,    /* Darker mid-tone silver fade */
        #686868,    /* Dark muted gray return */
        #515151,    /* Very dark gradual gray */
        #3a3a3a     /* Very dark silver - seamless loop */
    );
    
    /* Animation properties */
    background-size: 400% 400%; /* Large size for smooth movement */
    animation: metallicShift 7.50s ease infinite; /* Back-and-forth motion */
    height: 48px;
    width: 88px;
    border-radius: 8px 8px 8px 24px;
    border: 3px outset black;
}

.btn_left:hover {
    transform: scale(0.95);
    border-style: inset;
}

.btn_right {
    font-family: 'Lucida Sans Unicode';
    color: #303030;
    font-size: 18px;
    font-weight: 800;

    /* Static gradient with metallic colors */
    background: linear-gradient(
        45deg,
        #3a3a3a,    /* Very dark silver */
        #515151,    /* Very dark gradual gray */
        #686868,    /* Dark muted gray */
        #7f7f7f,    /* Darker mid-tone silver */
        #969696,    /* Dark subtle highlight */
        #7f7f7f,    /* Darker mid-tone silver fade */
        #686868,    /* Dark muted gray return */
        #515151,    /* Very dark gradual gray */
        #3a3a3a     /* Very dark silver - seamless loop */
    );
    
    /* Animation properties */
    background-size: 400% 400%; /* Large size for smooth movement */
    animation: metallicShift 7.50s ease infinite; /* Back-and-forth motion */
    height: 48px;
    width: 88px;
    border-radius: 8px 8px 24px 8px;
    border: 3px outset black;
}

.btn_right:hover {
    transform: scale(0.95);
    border-style: inset;
}