body { font-family: 'Roboto', Arial, sans-serif; background-color: #1e1e2f; color: #f0f0f0; margin: 0; padding: 0; } header { background-color: #101010; color: white; text-align: center; padding: 1rem; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); } .container { max-width: 1200px; margin: 20px auto; padding: 0 20px; } h2 { text-align: center; margin-bottom: 30px; color: #ffc107; } /* Produktkarten */ .sale-badge { position: absolute; top: 10px; left: 65px; background-color: #ff6f61; color: white; font-size: 14px; font-weight: bold; padding: 5px 10px; border-radius: 5px; z-index: 10; box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); } .product-card { position: relative; background: #101010; border: 1px solid #444; margin: 15px; padding: 20px; text-align: center; border-radius: 12px; width: 200px; display: inline-block; vertical-align: top; transition: transform 0.3s ease, box-shadow 0.3s ease; cursor: pointer; overflow: hidden; } .price { font-size: 18px; font-weight: bold; color: #ffc107; /* Goldfarbig */ margin: 10px 0; /* Abstand zum Rest */ text-align: center; /* Zentriert */ background-color: rgba(255, 255, 255, 0.062); /* Leicht durchsichtiger Hintergrund */ padding: 5px 10px; border-radius: 8px; /* display: inline-block; */ box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); } .product-card:hover { transform: translateY(-10px); box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3); } .product-card img { width: 120px; height: 120px; object-fit: cover; margin-bottom: 10px; border-radius: 10px; } .product-card h3 { margin: 10px 0; font-size: 18px; color: #ffc107; } .product-card button { background-color: #ffc107; color: #101010; border: none; padding: 10px; cursor: pointer; border-radius: 4px; margin-top: 10px; font-weight: bold; font-size: 14px; transition: background-color 0.3s; } .product-card button:hover { background-color: #ff9f1a; } /* Produktbeschreibung */ .product-description { display: block; text-align: left; margin-top: 10px; font-size: 14px; color: #ccc; } .product-description img { width: 25px; height: 25px; vertical-align: middle; margin-right: 5px; } /* Warenkorb */ .cart { position: fixed; top: 20px; right: 20px; background-color: #101010; color: white; padding: 20px; border-radius: 8px; max-width: 300px; width: 100%; box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); } .cart h3 { margin-top: 0; } .cart ul { list-style: none; padding: 0; margin: 0; } .cart ul li { margin: 5px 0; display: flex; justify-content: space-between; align-items: center; color: #ffc107; } .cart .total { font-weight: bold; margin-top: 10px; font-size: 16px; } .cart .remove { cursor: pointer; color: #ff6f61; font-size: 14px; } /* Navigation */ nav { background-color: #97979746; padding: 10px; text-align: center; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } nav ul { list-style-type: none; margin: 0; padding: 0; } nav ul li { display: inline; margin: 0 15px; } nav ul li a { color: white; text-decoration: none; font-size: 16px; transition: color 0.3s; } nav ul li a:hover { color: #ffc107; text-decoration: underline; } /* Scrollverhalten */ html { scroll-behavior: smooth; } /* Icons Styling */ .icon { margin-right: 10px; } html { scroll-behavior: smooth; } .order-popup { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; } .order-popup-content { background: white; padding: 20px; border-radius: 8px; width: 90%; max-width: 400px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); } .order-popup-content h2 { margin-top: 0; } .order-popup-content label { color: #1e1e2f; display: block; margin-top: 10px; font-weight: bold; } .order-popup-content input, .order-popup-content textarea { width: calc(100% - 20px); margin-top: 5px; padding: 10px; border: 1px solid #ddd; border-radius: 4px; } .order-popup-content button { margin-top: 20px; padding: 10px; width: 100%; border: none; border-radius: 4px; cursor: pointer; font-size: 16px; } .order-popup-content button:first-child { background: #333; color: white; } .order-popup-content button:last-child { background: #ccc; color: black; }