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

body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    color: #263047;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: #263047;
    padding: 10px 0;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo img {
    display: block;
}

.nav-menu {
    list-style: none;
    display: flex;
}

.nav-item {
    position: relative;
}

.nav-button {
    display: inline-block;
    background-color: #24c6cb;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.nav-button:hover {
    background-color: #1aa8ad;
}

.submenu {
    list-style: none;
    display: none;
    position: absolute;
    background-color: #263047;
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    top: 100%;
    left: 0;
}

.nav-item:hover .submenu {
    display: block;
}

.submenu li {
    padding: 10px;
}

.submenu li a {
    color: #24c6cb;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

.submenu li a:hover {
    background-color: #1a252f;
    border-radius: 5px;
}

.hamburger {
    display: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

h1, h2, h3 {
    color: #263047;
}

h2 {
    margin: 30px 0 20px;
    border-bottom: 2px solid #24c6cb;
    padding-bottom: 10px;
}

.btn {
    display: inline-block;
    background-color: #24c6cb;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.btn:hover {
    background-color: #1aa8ad;
}

.footer-contact {
    background-color: #263047;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.footer-contact h3 {
    color: #24c6cb;
    margin-bottom: 10px;
}

footer {
    background-color: #1a252f;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

/* Styling für Login/Registrierung */
.form-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 40px;
}

.form-box {
    background-color: #fff;
    width: 48%;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 20px;
}

.form-box h3 {
    margin-bottom: 20px;
    text-align: center;
}

.form-box form {
    display: flex;
    flex-direction: column;
}

.form-box input, .form-box textarea, .form-box select {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #263047;
    border-radius: 5px;
    font-size: 16px;
}

.form-box textarea {
    height: 100px;
    resize: vertical;
}

.form-box button {
    background-color: #24c6cb;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.form-box button:hover {
    background-color: #1aa8ad;
}

.form-box p {
    margin-top: 10px;
    text-align: center;
}

.forgot-link {
    color: #24c6cb;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.message {
    color: #263047;
    text-align: center;
    margin: 10px 0;
}

/* Styling für Marktplatz */
.category-grid {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 40px;
}

.category-box {
    background-color: #24c6cb;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    align-items: center;
    flex: 1;
    transition: transform 0.2s;
}

.category-box:hover {
    transform: scale(1.05);
}

.category-icon {
    font-size: 20px;
    margin-right: 8px;
    color: #fff;
}

.category-text {
    flex: 1;
}

.category-text h3 {
    font-size: 14px;
    margin-bottom: 3px;
    color: #fff;
}

.category-text p {
    font-size: 12px;
    color: #fff;
}

.item-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.item-box {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
}

.item-box:hover {
    transform: scale(1.02);
}

.item-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #263047;
    font-size: 14px;
    background-color: #f0f0f0;
}

.item-info {
    padding: 10px;
}

.item-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.item-info h3 a {
    color: #263047;
    text-decoration: none;
}

.item-info h3 a:hover {
    text-decoration: underline;
}

.item-info .price {
    font-size: 16px;
    font-weight: bold;
    margin: 3px 0;
}

.item-detail-box {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
}

.item-detail-box img {
    max-width: 300px;
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #263047;
        padding: 20px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        margin: 10px 0;
    }

    .submenu {
        position: static;
        background-color: #1a252f;
        box-shadow: none;
        display: none;
    }

    .nav-item:hover .submenu {
        display: none;
    }

    .submenu.active {
        display: block;
    }

    .submenu li {
        padding: 5px 0 5px 20px;
    }

    .submenu li a {
        font-size: 16px;
    }

    .hamburger {
        display: block;
    }

    .box-container {
        flex-direction: column;
        align-items: center;
    }

    .box {
        width: 100%;
        max-width: 400px;
    }

    .form-box {
        width: 100%;
    }

    .item-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .category-grid {
        flex-direction: column;
        gap: 15px;
    }

    .category-box {
        width: 100%;
    }
}