/* Globale Stile */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 100 900;
    src: url('assets/fonts/Outfit/Outfit-VariableFont_wght.ttf') format('truetype');
}

:root {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent: #ffcb05; 
    --accent-hover: #c7a008;
    --type-normal: #A8A77A;
    --type-fire: #EE8130;
    --type-water: #6390F0;
    --type-electric: #F7D02C;
    --type-grass: #7AC74C;
    --type-ice: #96D9D6;
    --type-fighting: #C22E28;
    --type-poison: #A33EA1;
    --type-ground: #E2BF65;
    --type-flying: #A98FF3;
    --type-psychic: #F95587;
    --type-bug: #A6B91A;
    --type-rock: #B6A136;
    --type-ghost: #735797;
    --type-dragon: #6F35FC;
    --type-dark: #705746;
    --type-steel: #B7B7CE;
    --type-fairy: #D685AD;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    overflow-x: hidden;
    width: 100%;
    scrollbar-width: none; 
}

::-webkit-scrollbar { display: none; }

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Layout */
.header {
    background-color: rgba(30, 30, 30, 0.95);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.header-content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 40px;
    height: 40px;
}

.search-container {
    display: flex;
    gap: 0.5rem;
}

#search-input {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: none;
    background: #333;
    color: white;
    font-family: inherit;
    outline: none;
    transition: box-shadow 0.3s;
}

#search-input:focus {
    box-shadow: 0 0 0 2px var(--accent);
}

#search-button {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    border: none;
    background: var(--accent);
    color: #121212;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

#search-button:disabled {
    background: #555;
    cursor: not-allowed;
    transform: none;
}

/* Hauptinhalt */
.main-content {
    max-width: 1440px;
    margin: 2rem auto;
    padding: 0 1rem;
    min-height: 80vh;
}

/* Flexbox Raster */
.pokemon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

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



