.header-img {
    height: 40px;
}

#pokeSearch {
    height: 32px;
    width: 360px;
    border-radius: 12px;
    border: none;
    box-shadow: 4px 4px 4px 4px rgba(0, 0, 0, 0.801);
    box-sizing: border-box;
    padding: 0 8px;
}

.field {
    position: relative;
}

.tooltip {
    position: absolute;
    left: 12px;
    top: 38px;
    background: #ff4d4f;
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;

    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transform-origin: left bottom;
    transition: all 0.25s ease;

    pointer-events: none;
}

.field input:invalid:not(:placeholder-shown)~.tooltip {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.field input:invalid:not(:placeholder-shown) {
    border-color: #ff4d4f;
}

#showMoreButton {
    background-color: transparent;
    border: black solid;
    border-radius: 12px;
    font-size: 24px;
    box-shadow: 2px 1px 2px 2px rgba(0, 0, 0, 0.801);
}

.footer-img {
    height: 48px;
    mix-blend-mode: multiply;
}

.footer-img:hover {
    cursor: pointer;
}

.spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 20px 0;
}

.spinner img {
    width: 100px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hidden {
    display: none;
}