:root {
    --color1: #3f51b5; /* Dunkles Blau */
    --color2: #ffffff; /* Weiß */
    --color3: #f5f5f5; /* Hellgrau */
    --color4: #e0e0e0; /* Hellgrau */
    --color5: #333; /* Dunkelgrau */
    --color6: #e57373; /* Schönes Rot */
    --color7: #81c784; /* Schönes Grün */
}


body {
    font-family: 'Press Start 2P', cursive;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--color5); /* Dunkelgrau */
    margin: 0;
    padding: 0;
}

header {
    width: 100%;
    background-color: var(--color1); /* Dunkles Blau */
    padding: 1rem 0;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: var(--color2); /* Dunkles Blau */
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #303f9f; /* Dunkleres Blau beim Hover */
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

.card-title {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #333;
} 

.card {
    background-color: var(--color2);
    border: 4px solid var(--color1);
    border-radius: 10px;
    margin: 1rem;
    padding: 1rem;
    width: 300px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
} 

.card:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-information {
    background-color: var(--color2); /* Weiß */
    border: 4px solid var(--color1); /* Hellgrau */
    border-radius: 10px;
    margin: 1rem;
    padding: 1rem;
    width: 220px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    display: none;
}

.card-login {
    background-color: var(--color2);
    border: 4px solid var(--color1);
    border-radius: 10px;
    padding: 2rem;
    width: 300px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-profile {
    background-color: white;
    border: 2px solid #333;
    border-radius: 10px;
    padding: 2rem;
    width: 450px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-description {
    background-color: var(--color3); /* Hellgrau */
    border: 4px solid var(--color1); /* Hellgrau */
    border-radius: 10px;
    margin: 1rem;
    padding: 1rem;
    width: 400px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

h2, p {
    margin: 0.5rem 0;
}

.container {
    text-align: center;
    margin-top: 0.5rem;
}

.card-login input {
    font-family: inherit;
}
.hidden {
    display: none;
}

.header-title {
    font-size: 2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--color2); /* Dunkelgrau */
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.9rem;
}

.btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #555;
}

.text-center {
    margin-top: 1rem;
    font-size: 0.8rem;
}

.text-center a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.text-center a:hover {
    color: #555;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon {
    content: '';
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px auto;
    background-color: var(--color2); /* Ändere die Farbe hier */
    transition: background-color 0.3s;
}

input {
    font-family: Arial, sans-serif;
}
::placeholder {
    font-family: Arial, sans-serif;
}
input:focus::placeholder {
    font-family: Arial, sans-serif;
}
input, input::placeholder {
    font-family: Arial, sans-serif !important;
}

.password-toggle {
    position: relative;
}
.password-toggle .toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.shopping-card {
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    background-color: #fff;
}

.shopping-card-header {
    background-color: var(--color1);
    color: var(--color2);
    border-bottom: 1px solid #ddd;
    padding: 15px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.shopping-card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 500;
}

.shopping-card-body {
    padding: 15px;
}

.removeProductBtn{
    background-color: var(--color6);
}

.btnCheckout{
    background-color: var(--color7);
}

.shopping-card-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #ddd;
    padding: 10px 15px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.info-card {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.info-card-header {
    background-color: var(--color1); /* Blau, kann angepasst werden */
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

.info-card-body {
    padding: 1.5rem;
}

.info-card-title {
    font-size: 1.5rem;
    margin: 0;
}

.info-card-text {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .shopping-card {
        margin: 0 10px;
    }

    .shopping-card-header, .shopping-card-footer {
        text-align: center;
    }

    .shopping-card-footer .btn {
        width: 100%;
    }

    .shopping-card-body table {
        width: 100%;
        font-size: 0.9rem;
    }

    .shopping-card-body table thead {
        display: none;
    }

    .shopping-card-body table tbody tr {
        display: flex;
        flex-direction: column;
        border: 1px solid #ddd;
        margin-bottom: 10px;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .shopping-card-body table tbody tr td {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        border-bottom: 1px solid #ddd;
    }

    .shopping-card-body table tbody tr td:last-child {
        border-bottom: none;
    }

    .shopping-card-body table tbody tr td::before {
        content: attr(data-label);
        font-weight: bold;
    }

    .shopping-card-body table tbody tr td:last-child {
        justify-content: center;
    }
}
