﻿.tcg-container {
    display: flex;
    align-items: flex-start; /* Damit Inhalte nicht über die Sidebar hinausragen */
}

.tcg-sidebar {
    width: 250px; /* Stelle sicher, dass die Sidebar immer diese Breite behält */
    min-width: 250px;
    background-color: #222;
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0; /* Verhindert das Schrumpfen */
}

/* Hauptkategorie-Buttons */
.tcg-btn {
    width: 100%;
    padding: 12px;
    margin: 5px 0;
    background-color: #444;
    color: white;
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
}

    .tcg-btn:hover {
        background-color: #555;
    }

.tcg-btn, .lang-btn, .special-btn {
    min-width: 200px; /* Passe den Wert ggf. an */
    text-align: center;
}

/* Unterkategorie-Buttons */
.lang-btn {
    background-color: #007bff;
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 10px;
    border-radius: 6px;
}

    .lang-btn:hover {
        background-color: #0056b3;
    }

/* Spezial-Buttons wie Hidden Fates */
.special-btn {
    background-color: #28a745;
    color: white;
    font-weight: bold;
    padding: 10px;
    border-radius: 6px;
}

    .special-btn:hover {
        background-color: #1e7e34;
    }

.tcg-content {
    flex-grow: 1;
    padding: 20px;
}

.card-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Sorgt für gleichmäßige Verteilung */
    gap: 10px; /* Verkleinert den Abstand zwischen den Karten */
    margin-top: 20px;
}

.card-item {
    background-color: #333;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    flex: 1 1 250px; /* Stellt sicher, dass die Karten flexibel bleiben */
    max-width: 250px; /* Maximale Breite setzen */
}

    .card-item img {
        width: 100%;
        height: auto; /* Erlaubt die natürliche Höhe des Bildes */
        object-fit: contain; /* Sorgt dafür, dass das ganze Bild sichtbar bleibt */
        border-radius: 6px;
    }

    .card-item p {
        margin-top: 5px;
        font-weight: bold;
        color: white;
    }

    .preis-historie {
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid #555;
    }

    .preis-eintrag {
        font-size: 12px;
        font-weight: normal;
        color: #ccc;
        margin: 3px 0;
    }

.navbar-info {
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: #222;
    text-align: center;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 2px solid #555;
}