Unterkategorien fertig. Finish - Funktionalität
This commit is contained in:
parent
263afe76b3
commit
ce66f54192
@ -1,15 +1,8 @@
|
|||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<link rel="stylesheet" href="./Styles/header/header.css">
|
|
||||||
<title>Header</title>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<!-- header.html -->
|
<!-- header.html -->
|
||||||
<header>
|
<header>
|
||||||
<div class="logo-container">
|
<div class="logo-container">
|
||||||
<img src="/images/Logo.png" alt="Modellauto-Shop Logo" class="logo-img">
|
<img src="/images/Logo.png" alt="Modellauto-Shop Logo" class="logo-img">
|
||||||
<h1>Modellauto-Shop</h1>
|
<h1>Modellauto - Shop</h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="header-right">
|
<div class="header-right">
|
||||||
<a href="/login" class="login-btn">Login</a>
|
<a href="/login" class="login-btn">Login</a>
|
||||||
|
|||||||
@ -4,9 +4,8 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="stylesheet" href="./Styles/login/login.css">
|
<link rel="stylesheet" href="./Styles/login/login.css">
|
||||||
|
<link rel="stylesheet" href="./Styles/styles-main.css">
|
||||||
<link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet">
|
<link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="./Styles/header_footer/header.css">
|
|
||||||
<link rel="stylesheet" href="./Styles/header_footer/footer.css">
|
|
||||||
<title>Login</title>
|
<title>Login</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@ -21,26 +20,25 @@
|
|||||||
.catch(error => console.error('Fehler beim Laden des Headers:', error));
|
.catch(error => console.error('Fehler beim Laden des Headers:', error));
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="wrapper">
|
<main class="main-content">
|
||||||
<form action="login.php" method="POST">
|
<div class="login-container">
|
||||||
<h1>Login</h1>
|
<h2 class="login-title">Login</h2>
|
||||||
<div class="input-box">
|
<form class="login-form">
|
||||||
<input type="text" name="username" placeholder="Username" required>
|
<div class="input-group">
|
||||||
<i class='bx bxs-user'></i>
|
<input type="text" placeholder="Username" required />
|
||||||
</div>
|
<i class="icon fas fa-user"></i>
|
||||||
<div class="input-box">
|
</div>
|
||||||
<input type="password" id="password" name="password" placeholder="Passwort" required>
|
<div class="input-group">
|
||||||
<i class='bx bxs-lock-alt' id="togglePassword" onclick="togglePassword()"></i>
|
<input type="password" placeholder="Passwort" required />
|
||||||
</div>
|
<i class="icon fas fa-lock"></i>
|
||||||
|
</div>
|
||||||
<button type="submit" class="btn">Login</button>
|
<button type="submit" class="login-btn">Login</button>
|
||||||
|
<p class="register-text">
|
||||||
<div class="register-link">
|
Noch keinen Account? <a href="/registrieren">Registrieren</a>
|
||||||
<br>
|
</p>
|
||||||
<p>Noch keinen Account? <a href="/registrieren">Registrieren</a></p>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</main>
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Fußzeiele -->
|
<!-- Fußzeiele -->
|
||||||
<div id="footer"></div>
|
<div id="footer"></div>
|
||||||
|
|||||||
@ -4,62 +4,61 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="stylesheet" href="./Styles/registrieren/registrieren.css">
|
<link rel="stylesheet" href="./Styles/registrieren/registrieren.css">
|
||||||
|
<link rel="stylesheet" href="./Styles/styles-main.css">
|
||||||
<link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet">
|
<link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="./Styles/header_footer/header.css">
|
|
||||||
<link rel="stylesheet" href="./Styles/header_footer/footer.css">
|
|
||||||
<title>Registrieren</title>
|
<title>Registrieren</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- Header -->
|
<div class="page-container">
|
||||||
<div id="header-placeholder"></div>
|
|
||||||
<script>
|
|
||||||
fetch(href="/header")
|
|
||||||
.then(response => response.text())
|
|
||||||
.then(data => {
|
|
||||||
document.getElementById('header-placeholder').innerHTML = data;
|
|
||||||
})
|
|
||||||
.catch(error => console.error('Fehler beim Laden des Headers:', error));
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- Regestrierungsformular -->
|
<!-- Header -->
|
||||||
<div class="wrapper">
|
<div id="header-placeholder"></div>
|
||||||
<form action="register.php" method="POST">
|
<script>
|
||||||
<h1>Registrieren</h1>
|
fetch(href="/header")
|
||||||
|
.then(response => response.text())
|
||||||
|
.then(data => {
|
||||||
|
document.getElementById('header-placeholder').innerHTML = data;
|
||||||
|
})
|
||||||
|
.catch(error => console.error('Fehler beim Laden des Headers:', error));
|
||||||
|
</script>
|
||||||
|
|
||||||
<div class="input-box">
|
<!-- Registrierungsformular -->
|
||||||
<input type="text" name="vorname" placeholder="Vorname" required>
|
<main class="content-wrapper">
|
||||||
<i class='bx bxs-user'></i>
|
<div class="wrapper">
|
||||||
</div>
|
<form action="register.php" method="POST">
|
||||||
<div class="input-box">
|
<h1>Registrieren</h1>
|
||||||
<input type="text" name="nachname" placeholder="Nachname" required>
|
|
||||||
<i class='bx bxs-user'></i>
|
|
||||||
</div>
|
|
||||||
<div class="input-box">
|
|
||||||
<input type="email" name="email" placeholder="E-Mail" required>
|
|
||||||
<i class='bx bxs-envelope'></i>
|
|
||||||
</div>
|
|
||||||
<div class="input-box">
|
|
||||||
<input type="password" id="regPassword" name="password" placeholder="Passwort" required>
|
|
||||||
<i class='bx bxs-lock-alt'></i>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="input-box">
|
<div class="input-box">
|
||||||
<input type="password" id="confirmPassword" name="confirmPassword" placeholder="Passwort bestätigen" required>
|
<input type="text" name="vorname" placeholder="Vorname" required>
|
||||||
<i class='bx bxs-lock-alt'></i>
|
<i class='bx bxs-user'></i>
|
||||||
|
</div>
|
||||||
|
<div class="input-box">
|
||||||
|
<input type="text" name="nachname" placeholder="Nachname" required>
|
||||||
|
<i class='bx bxs-user'></i>
|
||||||
|
</div>
|
||||||
|
<div class="input-box">
|
||||||
|
<input type="email" name="email" placeholder="E-Mail" required>
|
||||||
|
<i class='bx bxs-envelope'></i>
|
||||||
|
</div>
|
||||||
|
<div class="input-box">
|
||||||
|
<input type="password" id="regPassword" name="password" placeholder="Passwort" required>
|
||||||
|
<i class='bx bxs-lock-alt'></i>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="input-box">
|
||||||
|
<input type="password" id="confirmPassword" name="confirmPassword" placeholder="Passwort bestätigen" required>
|
||||||
|
<i class='bx bxs-lock-alt'></i>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<button type="submit" class="btn">Registrieren</button>
|
||||||
|
|
||||||
|
<div class="register-link">
|
||||||
|
<br>
|
||||||
|
<p>Bereits ein Konto? <a href="/login">Login</a></p>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
</main>
|
||||||
<!-- Sicherheitsbalken -->
|
|
||||||
<div id="passwordStrengthBar" class="password-strength-bar"></div>
|
|
||||||
|
|
||||||
<button type="submit" class="btn">Registrieren</button>
|
|
||||||
|
|
||||||
<div class="register-link">
|
|
||||||
<br>
|
|
||||||
<p>Bereits ein Konto? <a href="/login">Login</a></p>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Fußzeiele -->
|
<!-- Fußzeiele -->
|
||||||
<div id="footer"></div>
|
<div id="footer"></div>
|
||||||
@ -71,5 +70,6 @@
|
|||||||
document.getElementById('footer').innerHTML = data;
|
document.getElementById('footer').innerHTML = data;
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@ -4,10 +4,8 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Shop</title>
|
<title>Shop</title>
|
||||||
<link rel="stylesheet" href="./Styles/shop/shop.css">
|
<link rel="stylesheet" href="./Styles/styles-main.css">
|
||||||
<link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet">
|
<link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="./Styles/header_footer/header.css">
|
|
||||||
<link rel="stylesheet" href="./Styles/header_footer/footer.css">
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- Header -->
|
<!-- Header -->
|
||||||
@ -22,7 +20,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- Hauptinhalt -->
|
<!-- Hauptinhalt -->
|
||||||
<section style="padding: 20px 30px; text-align: left; background: #fff;">
|
<section style="padding: 0px 30px; text-align: left;">
|
||||||
<h1>Willkommen im Webshop</h1>
|
<h1>Willkommen im Webshop</h1>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
@ -4,20 +4,53 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Shop - LKW's</title>
|
<title>Shop - LKW's</title>
|
||||||
<link rel="stylesheet" href="./Styles/shop/shop.css">
|
<link rel="stylesheet" href="/Styles/styles-main.css">
|
||||||
<link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet">
|
<link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="./Styles/header_footer/header.css">
|
|
||||||
<link rel="stylesheet" href="./Styles/header_footer/footer.css">
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<!-- Header -->
|
||||||
|
<div id="header-placeholder"></div>
|
||||||
|
<script>
|
||||||
|
fetch(href="/header")
|
||||||
|
.then(response => response.text())
|
||||||
|
.then(data => {
|
||||||
|
document.getElementById('header-placeholder').innerHTML = data;
|
||||||
|
})
|
||||||
|
.catch(error => console.error('Fehler beim Laden des Headers:', error));
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<!-- Hauptinhalt -->
|
||||||
|
<section style="padding: 0px 30px; text-align: left;">
|
||||||
|
<h1>Unsere LKW Produkte</h1>
|
||||||
|
</section>
|
||||||
|
<section class="card-grid" id="products_lkw">
|
||||||
|
<!-- Dynamische Produkte (filtern nach Motorrad) -->
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
fetch('/api/products/lkw')
|
||||||
|
.then(res => res.json())
|
||||||
|
.then(products => {
|
||||||
|
const container = document.getElementById('products_lkw');
|
||||||
|
container.innerHTML = ''; // sicherheitshalber leeren
|
||||||
|
|
||||||
|
products.forEach(product => {
|
||||||
|
const card = document.createElement('div');
|
||||||
|
card.classList.add('card');
|
||||||
|
card.innerHTML = `
|
||||||
|
<img src="${product.image_url}" alt="${product.name}">
|
||||||
|
<h3>${product.name}</h3>
|
||||||
|
<p>Preis: ${product.price}€</p>
|
||||||
|
<p>${product.description}</p>
|
||||||
|
<button class="add-to-cart" data-id="${product.id}">Zum Warenkorb hinzufügen</button>
|
||||||
|
`;
|
||||||
|
container.appendChild(card);
|
||||||
|
});
|
||||||
|
})
|
||||||
|
.catch(err => {
|
||||||
|
console.error('Fehler beim Laden der neuesten Produkte:', err);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
<!-- Fußzeiele -->
|
<!-- Fußzeiele -->
|
||||||
<div id="footer"></div>
|
<div id="footer"></div>
|
||||||
|
|||||||
@ -4,10 +4,8 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Shop - Motorräder</title>
|
<title>Shop - Motorräder</title>
|
||||||
<link rel="stylesheet" href="./Styles/shop/shop.css">
|
<link rel="stylesheet" href="/Styles/styles-main.css">
|
||||||
<link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet">
|
<link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="./Styles/header_footer/header.css">
|
|
||||||
<link rel="stylesheet" href="./Styles/header_footer/footer.css">
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- Header -->
|
<!-- Header -->
|
||||||
@ -22,10 +20,11 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- Hauptinhalt -->
|
<!-- Hauptinhalt -->
|
||||||
</br>
|
<section style="padding: 0px 30px; text-align: left;">
|
||||||
<h1>Unsere Motorrad Produkte</h1>
|
<h1>Unsere Motorrad Produkte</h1>
|
||||||
|
</section>
|
||||||
<section class="card-grid" id="products_motorrad">
|
<section class="card-grid" id="products_motorrad">
|
||||||
<!-- Dynamische Produkte (5 aktuelle Produkte) -->
|
<!-- Dynamische Produkte (filtern nach Motorrad) -->
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -4,17 +4,53 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Shop - Oldtimer</title>
|
<title>Shop - Oldtimer</title>
|
||||||
<link rel="stylesheet" href="./Styles/shop/shop.css">
|
<link rel="stylesheet" href="/Styles/styles-main.css">
|
||||||
<link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet">
|
<link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="./Styles/header_footer/header.css">
|
|
||||||
<link rel="stylesheet" href="./Styles/header_footer/footer.css">
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<!-- Header -->
|
||||||
|
<div id="header-placeholder"></div>
|
||||||
|
<script>
|
||||||
|
fetch(href="/header")
|
||||||
|
.then(response => response.text())
|
||||||
|
.then(data => {
|
||||||
|
document.getElementById('header-placeholder').innerHTML = data;
|
||||||
|
})
|
||||||
|
.catch(error => console.error('Fehler beim Laden des Headers:', error));
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<!-- Hauptinhalt -->
|
||||||
|
<section style="padding: 0px 30px; text-align: left;">
|
||||||
|
<h1>Unsere Oldtimer Produkte</h1>
|
||||||
|
</section>
|
||||||
|
<section class="card-grid" id="products_oldtimer">
|
||||||
|
<!-- Dynamische Produkte (filtern nach Motorrad) -->
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
fetch('/api/products/oldtimer')
|
||||||
|
.then(res => res.json())
|
||||||
|
.then(products => {
|
||||||
|
const container = document.getElementById('products_oldtimer');
|
||||||
|
container.innerHTML = ''; // sicherheitshalber leeren
|
||||||
|
|
||||||
|
products.forEach(product => {
|
||||||
|
const card = document.createElement('div');
|
||||||
|
card.classList.add('card');
|
||||||
|
card.innerHTML = `
|
||||||
|
<img src="${product.image_url}" alt="${product.name}">
|
||||||
|
<h3>${product.name}</h3>
|
||||||
|
<p>Preis: ${product.price}€</p>
|
||||||
|
<p>${product.description}</p>
|
||||||
|
<button class="add-to-cart" data-id="${product.id}">Zum Warenkorb hinzufügen</button>
|
||||||
|
`;
|
||||||
|
container.appendChild(card);
|
||||||
|
});
|
||||||
|
})
|
||||||
|
.catch(err => {
|
||||||
|
console.error('Fehler beim Laden der neuesten Produkte:', err);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
<!-- Fußzeiele -->
|
<!-- Fußzeiele -->
|
||||||
<div id="footer"></div>
|
<div id="footer"></div>
|
||||||
|
|||||||
@ -4,18 +4,53 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Shop - Sportwagen</title>
|
<title>Shop - Sportwagen</title>
|
||||||
<link rel="stylesheet" href="./Styles/shop/shop.css">
|
<link rel="stylesheet" href="/Styles/styles-main.css">
|
||||||
<link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet">
|
<link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="./Styles/header_footer/header.css">
|
|
||||||
<link rel="stylesheet" href="./Styles/header_footer/footer.css">
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<!-- Header -->
|
||||||
|
<div id="header-placeholder"></div>
|
||||||
|
<script>
|
||||||
|
fetch(href="/header")
|
||||||
|
.then(response => response.text())
|
||||||
|
.then(data => {
|
||||||
|
document.getElementById('header-placeholder').innerHTML = data;
|
||||||
|
})
|
||||||
|
.catch(error => console.error('Fehler beim Laden des Headers:', error));
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<!-- Hauptinhalt -->
|
||||||
|
<section style="padding: 0px 30px; text-align: left;">
|
||||||
|
<h1>Unsere Motorrad Produkte</h1>
|
||||||
|
</section>
|
||||||
|
<section class="card-grid" id="products_sportwagen">
|
||||||
|
<!-- Dynamische Produkte (filtern nach Motorrad) -->
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
fetch('/api/products/sportwagen')
|
||||||
|
.then(res => res.json())
|
||||||
|
.then(products => {
|
||||||
|
const container = document.getElementById('products_sportwagen');
|
||||||
|
container.innerHTML = ''; // sicherheitshalber leeren
|
||||||
|
|
||||||
|
products.forEach(product => {
|
||||||
|
const card = document.createElement('div');
|
||||||
|
card.classList.add('card');
|
||||||
|
card.innerHTML = `
|
||||||
|
<img src="${product.image_url}" alt="${product.name}">
|
||||||
|
<h3>${product.name}</h3>
|
||||||
|
<p>Preis: ${product.price}€</p>
|
||||||
|
<p>${product.description}</p>
|
||||||
|
<button class="add-to-cart" data-id="${product.id}">Zum Warenkorb hinzufügen</button>
|
||||||
|
`;
|
||||||
|
container.appendChild(card);
|
||||||
|
});
|
||||||
|
})
|
||||||
|
.catch(err => {
|
||||||
|
console.error('Fehler beim Laden der neuesten Produkte:', err);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
<!-- Fußzeiele -->
|
<!-- Fußzeiele -->
|
||||||
<div id="footer"></div>
|
<div id="footer"></div>
|
||||||
|
|||||||
@ -4,10 +4,8 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Modellauto - Startseite</title>
|
<title>Modellauto - Startseite</title>
|
||||||
<link rel="stylesheet" href="./Styles/startseite/startseite.css">
|
<link rel="stylesheet" href="./Styles/styles-main.css">
|
||||||
<link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet">
|
<link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="./Styles/header_footer/header.css">
|
|
||||||
<link rel="stylesheet" href="./Styles/header_footer/footer.css">
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
@ -24,15 +22,14 @@
|
|||||||
|
|
||||||
<!-- Infobereich -->
|
<!-- Infobereich -->
|
||||||
<section style="padding: 40px 20px; text-align: center; background: #fff;">
|
<section style="padding: 40px 20px; text-align: center; background: #fff;">
|
||||||
<h2>Willkommen bei deinem Modellauto-Shop</h2>
|
<h2>Willkommen beim Modellauto-Shop</h2>
|
||||||
<p>Bei uns findest du hochwertige Modellautos – ob Oldtimer, Sportwagen oder Nutzfahrzeuge.
|
<p>Bei uns finden Sie hochwertige Modellautos – ob Oldtimer, Sportwagen, Lkw's oder Motorräder.
|
||||||
Perfekt für Sammler, Bastler und Fans.
|
Perfekt für Sammler, Bastler und Fans.
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- Hauptinhalt -->
|
<!-- Hauptinhalt -->
|
||||||
</br>
|
<h1>Unsere Neusten Produkte: </h1>
|
||||||
<h1>Unsere Neusten Produkte</h1>
|
|
||||||
<section class="card-grid" id="latest-products">
|
<section class="card-grid" id="latest-products">
|
||||||
<!-- Dynamische Produkte (5 aktuelle Produkte) -->
|
<!-- Dynamische Produkte (5 aktuelle Produkte) -->
|
||||||
</section>
|
</section>
|
||||||
@ -64,26 +61,26 @@
|
|||||||
|
|
||||||
|
|
||||||
<!-- Info-Sektion -->
|
<!-- Info-Sektion -->
|
||||||
<section style="background: #ffffff; padding: 40px 20px; display: flex; flex-wrap: wrap; justify-content: space-around; gap: 30px; text-align: center;">
|
<section class="info-cards-section">
|
||||||
<div style="flex: 1 1 250px;">
|
<div class="info-card">
|
||||||
<i class='bx bx-package' style="font-size: 40px; color: #ff6600;"></i>
|
<i class='bx bx-package'></i>
|
||||||
<h3>Versandkostenfrei ab 50 €</h3>
|
<h3>Versandkostenfrei ab 50 €</h3>
|
||||||
<p>Schneller & sicherer Versand mit Sendungsverfolgung.</p>
|
<p>Schneller & sicherer Versand mit Sendungsverfolgung.</p>
|
||||||
</div>
|
</div>
|
||||||
<div style="flex: 1 1 250px;">
|
<div class="info-card">
|
||||||
<i class='bx bx-credit-card' style="font-size: 40px; color: #ff6600;"></i>
|
<i class='bx bx-credit-card'></i>
|
||||||
<h3>Flexible Zahlungsmethoden</h3>
|
<h3>Flexible Zahlungsmethoden</h3>
|
||||||
<p>PayPal, Kreditkarte, Klarna, Vorkasse – du hast die Wahl.</p>
|
<p>PayPal, Kreditkarte, Klarna, Vorkasse – Sie haben die Wahl.</p>
|
||||||
</div>
|
</div>
|
||||||
<div style="flex: 1 1 250px;">
|
<div class="info-card">
|
||||||
<i class='bx bx-undo' style="font-size: 40px; color: #ff6600;"></i>
|
<i class='bx bx-undo'></i>
|
||||||
<h3>14 Tage Rückgaberecht</h3>
|
<h3>14 Tage Rückgaberecht</h3>
|
||||||
<p>Unzufrieden? Kein Problem – Rückgabe einfach & unkompliziert.</p>
|
<p>Unzufrieden? Kein Problem – Rückgabe einfach & unkompliziert.</p>
|
||||||
</div>
|
</div>
|
||||||
<div style="flex: 1 1 250px;">
|
<div class="info-card">
|
||||||
<i class='bx bx-star' style="font-size: 40px; color: #ff6600;"></i>
|
<i class='bx bx-star'></i>
|
||||||
<h3>Top-Bewertungen</h3>
|
<h3>Top-Bewertungen</h3>
|
||||||
<p>Unsere Kunden lieben uns – überzeug dich selbst!</p>
|
<p>Unsere Kunden lieben uns – überzeugen Sie sich selbst!</p>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@ -99,6 +96,5 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
49
server.js
49
server.js
@ -54,7 +54,7 @@ app.get('/api/products', (req, res) => {
|
|||||||
|
|
||||||
app.get('/api/products/new', async (req, res) => {
|
app.get('/api/products/new', async (req, res) => {
|
||||||
// SQL-Abfrage für Produktdaten
|
// SQL-Abfrage für Produktdaten
|
||||||
const sql = 'SELECT * FROM webshop.product ORDER BY created_at DESC LIMIT 5';
|
const sql = 'SELECT * FROM webshop.product ORDER BY created_at DESC LIMIT 4';
|
||||||
|
|
||||||
// Abfrage ausführen
|
// Abfrage ausführen
|
||||||
db.query(sql, (err, results) => {
|
db.query(sql, (err, results) => {
|
||||||
@ -69,7 +69,52 @@ app.get('/api/products/new', async (req, res) => {
|
|||||||
|
|
||||||
app.get('/api/products/motorrad', async (req, res) => {
|
app.get('/api/products/motorrad', async (req, res) => {
|
||||||
// SQL-Abfrage für Produktdaten
|
// SQL-Abfrage für Produktdaten
|
||||||
const sql = 'SELECT * FROM webshop.product_category WHERE id = 4';
|
const sql = 'SELECT * FROM webshop.product WHERE category_id = 4';
|
||||||
|
|
||||||
|
// Abfrage ausführen
|
||||||
|
db.query(sql, (err, results) => {
|
||||||
|
if (err) {
|
||||||
|
console.error('Fehler beim Abrufen der Produkte:', err);
|
||||||
|
res.status(500).send('Fehler beim Abrufen der Produkte');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
res.json(results); // Rückgabe der Produktdaten als JSON
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
app.get('/api/products/oldtimer', async (req, res) => {
|
||||||
|
// SQL-Abfrage für Produktdaten
|
||||||
|
const sql = 'SELECT * FROM webshop.product WHERE category_id = 2';
|
||||||
|
|
||||||
|
// Abfrage ausführen
|
||||||
|
db.query(sql, (err, results) => {
|
||||||
|
if (err) {
|
||||||
|
console.error('Fehler beim Abrufen der Produkte:', err);
|
||||||
|
res.status(500).send('Fehler beim Abrufen der Produkte');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
res.json(results); // Rückgabe der Produktdaten als JSON
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
app.get('/api/products/lkw', async (req, res) => {
|
||||||
|
// SQL-Abfrage für Produktdaten
|
||||||
|
const sql = 'SELECT * FROM webshop.product WHERE category_id = 3';
|
||||||
|
|
||||||
|
// Abfrage ausführen
|
||||||
|
db.query(sql, (err, results) => {
|
||||||
|
if (err) {
|
||||||
|
console.error('Fehler beim Abrufen der Produkte:', err);
|
||||||
|
res.status(500).send('Fehler beim Abrufen der Produkte');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
res.json(results); // Rückgabe der Produktdaten als JSON
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
app.get('/api/products/sportwagen', async (req, res) => {
|
||||||
|
// SQL-Abfrage für Produktdaten
|
||||||
|
const sql = 'SELECT * FROM webshop.product WHERE category_id = 1';
|
||||||
|
|
||||||
// Abfrage ausführen
|
// Abfrage ausführen
|
||||||
db.query(sql, (err, results) => {
|
db.query(sql, (err, results) => {
|
||||||
|
|||||||
@ -1,234 +0,0 @@
|
|||||||
/* Allgemeine Einstellungen */
|
|
||||||
* {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
box-sizing: border-box;
|
|
||||||
font-family: "Poppins", sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
background: #f8f9fa;
|
|
||||||
color: #333;
|
|
||||||
min-height: 100vh;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Header */
|
|
||||||
header {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
padding: 15px 20px;
|
|
||||||
width: 100%;
|
|
||||||
background: #ffffff;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
position: sticky;
|
|
||||||
top: 0;
|
|
||||||
z-index: 1000;
|
|
||||||
}
|
|
||||||
|
|
||||||
header h1 {
|
|
||||||
font-size: 28px;
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-right {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
header .login-btn {
|
|
||||||
font-size: 14px;
|
|
||||||
text-decoration: none;
|
|
||||||
color: white;
|
|
||||||
background: #ff6600;
|
|
||||||
padding: 10px 20px;
|
|
||||||
border-radius: 25px;
|
|
||||||
transition: background 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
header .login-btn:hover {
|
|
||||||
background: #e95b00;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cart {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
position: relative;
|
|
||||||
font-size: 24px;
|
|
||||||
color: #ff6600;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cart-count {
|
|
||||||
position: absolute;
|
|
||||||
top: -5px;
|
|
||||||
right: -10px;
|
|
||||||
background: #ff6600;
|
|
||||||
color: white;
|
|
||||||
font-size: 12px;
|
|
||||||
width: 20px;
|
|
||||||
height: 20px;
|
|
||||||
border-radius: 50%;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Navigation */
|
|
||||||
.menu {
|
|
||||||
background: #ffffff;
|
|
||||||
width: 100%;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-list {
|
|
||||||
list-style: none;
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-around;
|
|
||||||
padding: 15px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-item {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-item a {
|
|
||||||
text-decoration: none;
|
|
||||||
color: #333;
|
|
||||||
font-size: 18px;
|
|
||||||
padding: 10px 20px;
|
|
||||||
transition: background 0.3s ease, color 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-item a:hover {
|
|
||||||
background: #ff6600;
|
|
||||||
color: white;
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Submenu */
|
|
||||||
.submenu {
|
|
||||||
position: absolute;
|
|
||||||
top: 100%;
|
|
||||||
left: 0;
|
|
||||||
background: #ffffff;
|
|
||||||
border-radius: 10px;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
display: none;
|
|
||||||
list-style: none;
|
|
||||||
min-width: 200px;
|
|
||||||
z-index: 10;
|
|
||||||
}
|
|
||||||
|
|
||||||
.submenu li {
|
|
||||||
padding: 10px 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.submenu li a {
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
|
|
||||||
.submenu li a:hover {
|
|
||||||
color: white;
|
|
||||||
background: #ff6600;
|
|
||||||
border-radius: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-item:hover .submenu {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Suchleiste */
|
|
||||||
.search-bar {
|
|
||||||
display: flex;
|
|
||||||
gap: 15px;
|
|
||||||
width: 100%;
|
|
||||||
padding: 20px;
|
|
||||||
background: #ffffff;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
position: sticky;
|
|
||||||
top: 65px;
|
|
||||||
z-index: 1000;
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-bar input,
|
|
||||||
.search-bar select {
|
|
||||||
padding: 12px;
|
|
||||||
font-size: 16px;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 5px;
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-bar button {
|
|
||||||
padding: 12px 20px;
|
|
||||||
background: #ff6600;
|
|
||||||
color: white;
|
|
||||||
border: none;
|
|
||||||
border-radius: 5px;
|
|
||||||
cursor: pointer;
|
|
||||||
transition: background 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-bar button:hover {
|
|
||||||
background: #e95b00;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Karten */
|
|
||||||
.card-grid {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
||||||
gap: 20px;
|
|
||||||
width: 100%;
|
|
||||||
padding: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card {
|
|
||||||
background: #ffffff;
|
|
||||||
border-radius: 10px;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
text-align: center;
|
|
||||||
padding: 20px;
|
|
||||||
height: 100%;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card img {
|
|
||||||
max-width: 100%;
|
|
||||||
height: auto;
|
|
||||||
border-radius: 10px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card h3 {
|
|
||||||
font-size: 20px;
|
|
||||||
color: #333;
|
|
||||||
margin: 10px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card p {
|
|
||||||
font-size: 14px;
|
|
||||||
color: #666;
|
|
||||||
margin: 5px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.add-to-cart {
|
|
||||||
background: #ff6600;
|
|
||||||
color: white;
|
|
||||||
border: none;
|
|
||||||
padding: 12px 20px;
|
|
||||||
border-radius: 25px;
|
|
||||||
margin-top: 10px;
|
|
||||||
cursor: pointer;
|
|
||||||
transition: background 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.add-to-cart:hover {
|
|
||||||
background: #e95b00;
|
|
||||||
}
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
.footer {
|
|
||||||
background: #222;
|
|
||||||
color: #fff;
|
|
||||||
padding: 30px 20px;
|
|
||||||
text-align: center;
|
|
||||||
margin-top: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer a {
|
|
||||||
color: #ff6600;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer a:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
@ -1,245 +0,0 @@
|
|||||||
/* Allgemeine Einstellungen */
|
|
||||||
* {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
box-sizing: border-box;
|
|
||||||
font-family: "Poppins", sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
background: #f8f9fa;
|
|
||||||
color: #333;
|
|
||||||
min-height: 100vh;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Header */
|
|
||||||
header {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
padding: 15px 20px;
|
|
||||||
width: 100%;
|
|
||||||
background: #ffffff;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
position: sticky;
|
|
||||||
top: 0;
|
|
||||||
z-index: 1000;
|
|
||||||
}
|
|
||||||
|
|
||||||
.logo-container {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.logo-img {
|
|
||||||
height: 60px;
|
|
||||||
object-fit: contain;
|
|
||||||
}
|
|
||||||
|
|
||||||
header h1 {
|
|
||||||
font-size: 28px;
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-right {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
header .login-btn {
|
|
||||||
font-size: 14px;
|
|
||||||
text-decoration: none;
|
|
||||||
color: white;
|
|
||||||
background: #ff6600;
|
|
||||||
padding: 10px 20px;
|
|
||||||
border-radius: 25px;
|
|
||||||
transition: background 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
header .login-btn:hover {
|
|
||||||
background: #e95b00;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cart {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
position: relative;
|
|
||||||
font-size: 24px;
|
|
||||||
color: #ff6600;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cart-count {
|
|
||||||
position: absolute;
|
|
||||||
top: -5px;
|
|
||||||
right: -10px;
|
|
||||||
background: #ff6600;
|
|
||||||
color: white;
|
|
||||||
font-size: 12px;
|
|
||||||
width: 20px;
|
|
||||||
height: 20px;
|
|
||||||
border-radius: 50%;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Navigation */
|
|
||||||
.menu {
|
|
||||||
background: #ffffff;
|
|
||||||
width: 100%;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-list {
|
|
||||||
list-style: none;
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-around;
|
|
||||||
padding: 15px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-item {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-item a {
|
|
||||||
text-decoration: none;
|
|
||||||
color: #333;
|
|
||||||
font-size: 18px;
|
|
||||||
padding: 10px 20px;
|
|
||||||
transition: background 0.3s ease, color 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-item a:hover {
|
|
||||||
background: #ff6600;
|
|
||||||
color: white;
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Submenu */
|
|
||||||
.submenu {
|
|
||||||
position: absolute;
|
|
||||||
top: 100%;
|
|
||||||
left: 0;
|
|
||||||
background: #ffffff;
|
|
||||||
border-radius: 10px;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
display: none;
|
|
||||||
list-style: none;
|
|
||||||
min-width: 200px;
|
|
||||||
z-index: 10;
|
|
||||||
}
|
|
||||||
|
|
||||||
.submenu li {
|
|
||||||
padding: 10px 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.submenu li a {
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
|
|
||||||
.submenu li a:hover {
|
|
||||||
color: white;
|
|
||||||
background: #ff6600;
|
|
||||||
border-radius: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-item:hover .submenu {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Suchleiste */
|
|
||||||
.search-bar {
|
|
||||||
display: flex;
|
|
||||||
gap: 15px;
|
|
||||||
width: 100%;
|
|
||||||
padding: 20px;
|
|
||||||
background: #ffffff;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
position: sticky;
|
|
||||||
top: 65px;
|
|
||||||
z-index: 1000;
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-bar input,
|
|
||||||
.search-bar select {
|
|
||||||
padding: 12px;
|
|
||||||
font-size: 16px;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 5px;
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-bar button {
|
|
||||||
padding: 12px 20px;
|
|
||||||
background: #ff6600;
|
|
||||||
color: white;
|
|
||||||
border: none;
|
|
||||||
border-radius: 5px;
|
|
||||||
cursor: pointer;
|
|
||||||
transition: background 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-bar button:hover {
|
|
||||||
background: #e95b00;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Karten */
|
|
||||||
.card-grid {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
||||||
gap: 20px;
|
|
||||||
width: 100%;
|
|
||||||
padding: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card {
|
|
||||||
background: #ffffff;
|
|
||||||
border-radius: 10px;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
text-align: center;
|
|
||||||
padding: 20px;
|
|
||||||
height: 100%;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card img {
|
|
||||||
max-width: 100%;
|
|
||||||
height: auto;
|
|
||||||
border-radius: 10px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card h3 {
|
|
||||||
font-size: 20px;
|
|
||||||
color: #333;
|
|
||||||
margin: 10px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card p {
|
|
||||||
font-size: 14px;
|
|
||||||
color: #666;
|
|
||||||
margin: 5px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.add-to-cart {
|
|
||||||
background: #ff6600;
|
|
||||||
color: white;
|
|
||||||
border: none;
|
|
||||||
padding: 12px 20px;
|
|
||||||
border-radius: 25px;
|
|
||||||
margin-top: 10px;
|
|
||||||
cursor: pointer;
|
|
||||||
transition: background 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.add-to-cart:hover {
|
|
||||||
background: #e95b00;
|
|
||||||
}
|
|
||||||
@ -1,344 +1,68 @@
|
|||||||
/* Allgemeine Einstellungen */
|
.login-container {
|
||||||
* {
|
background-color: #fff;
|
||||||
margin: 0;
|
padding: 40px 30px;
|
||||||
padding: 0;
|
border-radius: 16px;
|
||||||
box-sizing: border-box;
|
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
|
||||||
font-family: "Poppins", sans-serif;
|
width: 100%;
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
background: #f8f9fa;
|
|
||||||
color: #333;
|
|
||||||
min-height: 100vh;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Wrapper */
|
|
||||||
.wrapper {
|
|
||||||
background: #ffffff;
|
|
||||||
padding: 40px;
|
|
||||||
border-radius: 10px;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
max-width: 400px;
|
max-width: 400px;
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
font-size: 24px;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #333;
|
margin: 50px auto; /* Zentriert das Formular */
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Input-Box */
|
.login-title {
|
||||||
.input-box {
|
font-size: 26px;
|
||||||
|
font-weight: 600;
|
||||||
|
margin-bottom: 25px;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-form .input-group {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-box input {
|
.login-form input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 12px 40px 12px 15px;
|
padding: 12px 15px 12px 15px;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
border-radius: 5px;
|
border-radius: 8px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
color: #333;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Styling für das Schloss-Icon */
|
.login-form .icon {
|
||||||
.input-box i {
|
display: none; /* Falls du später Icons einbinden willst, kannst du das anpassen */
|
||||||
position: absolute;
|
|
||||||
top: 50%;
|
|
||||||
right: 15px;
|
|
||||||
transform: translateY(-50%);
|
|
||||||
color: #888;
|
|
||||||
font-size: 20px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Remember and Forgot */
|
.login-btn {
|
||||||
.remember-forgot {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.remember-forgot a {
|
|
||||||
color: #ff6600;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.remember-forgot a:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Button */
|
|
||||||
.btn {
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 12px 20px;
|
|
||||||
background: #ff6600;
|
|
||||||
color: white;
|
|
||||||
border: none;
|
|
||||||
border-radius: 5px;
|
|
||||||
font-size: 16px;
|
|
||||||
cursor: pointer;
|
|
||||||
transition: background 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn:hover {
|
|
||||||
background: #e95b00;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Register-Link */
|
|
||||||
.register-link {
|
|
||||||
text-align: center;
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.register-link a {
|
|
||||||
color: #ff6600;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.register-link a:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Allgemeine Einstellungen */
|
|
||||||
* {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
box-sizing: border-box;
|
|
||||||
font-family: "Poppins", sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
background: #f8f9fa;
|
|
||||||
color: #333;
|
|
||||||
min-height: 100vh;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Header */
|
|
||||||
header {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
padding: 15px 20px;
|
|
||||||
width: 100%;
|
|
||||||
background: #ffffff;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
position: sticky;
|
|
||||||
top: 0;
|
|
||||||
z-index: 1000;
|
|
||||||
}
|
|
||||||
|
|
||||||
header h1 {
|
|
||||||
font-size: 28px;
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-right {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
header .login-btn {
|
|
||||||
font-size: 14px;
|
|
||||||
text-decoration: none;
|
|
||||||
color: white;
|
|
||||||
background: #ff6600;
|
|
||||||
padding: 10px 20px;
|
|
||||||
border-radius: 25px;
|
|
||||||
transition: background 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
header .login-btn:hover {
|
|
||||||
background: #e95b00;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cart {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
position: relative;
|
|
||||||
font-size: 24px;
|
|
||||||
color: #ff6600;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cart-count {
|
|
||||||
position: absolute;
|
|
||||||
top: -5px;
|
|
||||||
right: -10px;
|
|
||||||
background: #ff6600;
|
|
||||||
color: white;
|
|
||||||
font-size: 12px;
|
|
||||||
width: 20px;
|
|
||||||
height: 20px;
|
|
||||||
border-radius: 50%;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Navigation */
|
|
||||||
.menu {
|
|
||||||
background: #ffffff;
|
|
||||||
width: 100%;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-list {
|
|
||||||
list-style: none;
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-around;
|
|
||||||
padding: 15px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-item {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-item a {
|
|
||||||
text-decoration: none;
|
|
||||||
color: #333;
|
|
||||||
font-size: 18px;
|
|
||||||
padding: 10px 20px;
|
|
||||||
transition: background 0.3s ease, color 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-item a:hover {
|
|
||||||
background: #ff6600;
|
|
||||||
color: white;
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Submenu */
|
|
||||||
.submenu {
|
|
||||||
position: absolute;
|
|
||||||
top: 100%;
|
|
||||||
left: 0;
|
|
||||||
background: #ffffff;
|
|
||||||
border-radius: 10px;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
display: none;
|
|
||||||
list-style: none;
|
|
||||||
min-width: 200px;
|
|
||||||
z-index: 10;
|
|
||||||
}
|
|
||||||
|
|
||||||
.submenu li {
|
|
||||||
padding: 10px 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.submenu li a {
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
|
|
||||||
.submenu li a:hover {
|
|
||||||
color: white;
|
|
||||||
background: #ff6600;
|
|
||||||
border-radius: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-item:hover .submenu {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Suchleiste */
|
|
||||||
.search-bar {
|
|
||||||
display: flex;
|
|
||||||
gap: 15px;
|
|
||||||
width: 100%;
|
|
||||||
padding: 20px;
|
|
||||||
background: #ffffff;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
position: sticky;
|
|
||||||
top: 65px;
|
|
||||||
z-index: 1000;
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-bar input,
|
|
||||||
.search-bar select {
|
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
font-size: 16px;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 5px;
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-bar button {
|
|
||||||
padding: 12px 20px;
|
|
||||||
background: #ff6600;
|
background: #ff6600;
|
||||||
color: white;
|
color: white;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 5px;
|
|
||||||
cursor: pointer;
|
|
||||||
transition: background 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-bar button:hover {
|
|
||||||
background: #e95b00;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Karten */
|
|
||||||
.card-grid {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
||||||
gap: 20px;
|
|
||||||
width: 100%;
|
|
||||||
padding: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card {
|
|
||||||
background: #ffffff;
|
|
||||||
border-radius: 10px;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
text-align: center;
|
|
||||||
padding: 20px;
|
|
||||||
height: 100%;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card img {
|
|
||||||
max-width: 100%;
|
|
||||||
height: auto;
|
|
||||||
border-radius: 10px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card h3 {
|
|
||||||
font-size: 20px;
|
|
||||||
color: #333;
|
|
||||||
margin: 10px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card p {
|
|
||||||
font-size: 14px;
|
|
||||||
color: #666;
|
|
||||||
margin: 5px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.add-to-cart {
|
|
||||||
background: #ff6600;
|
|
||||||
color: white;
|
|
||||||
border: none;
|
|
||||||
padding: 12px 20px;
|
|
||||||
border-radius: 25px;
|
border-radius: 25px;
|
||||||
margin-top: 10px;
|
font-size: 16px;
|
||||||
|
font-weight: 600;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: background 0.3s ease;
|
transition: background 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.add-to-cart:hover {
|
.login-btn:hover {
|
||||||
background: #e95b00;
|
background: #e95b00;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.register-text {
|
||||||
|
margin-top: 20px;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #555;
|
||||||
|
}
|
||||||
|
|
||||||
|
.register-text a {
|
||||||
|
color: #ff6600;
|
||||||
|
text-decoration: none;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
.register-text a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|||||||
@ -1,131 +1,83 @@
|
|||||||
/* Allgemeine Einstellungen */
|
.page-container {
|
||||||
* {
|
display: flex;
|
||||||
margin: 0;
|
flex-direction: column;
|
||||||
padding: 0;
|
min-height: 100vh;
|
||||||
box-sizing: border-box;
|
|
||||||
font-family: "Poppins", sans-serif;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
.wrapper {
|
||||||
background: #f8f9fa;
|
max-width: 400px;
|
||||||
color: #333;
|
width: 100%;
|
||||||
min-height: 100vh;
|
padding: 30px;
|
||||||
|
background-color: #ffffff;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
border-radius: 12px;
|
||||||
|
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.content-wrapper {
|
||||||
|
flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
padding: 40px 20px;
|
||||||
}
|
}
|
||||||
|
.registration-container {
|
||||||
/* Wrapper für das Formular */
|
|
||||||
.wrapper {
|
|
||||||
width: 100%;
|
|
||||||
max-width: 400px;
|
max-width: 400px;
|
||||||
padding: 20px;
|
margin: 60px auto;
|
||||||
background: #fff;
|
padding: 30px;
|
||||||
border-radius: 10px;
|
background-color: #ffffff;
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
border: 1px solid #ddd;
|
||||||
|
border-radius: 12px;
|
||||||
|
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
.registration-container h2 {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
color: #333;
|
font-size: 1.8em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Eingabefelder */
|
.registration-container input[type="text"],
|
||||||
.input-box {
|
.registration-container input[type="email"],
|
||||||
position: relative;
|
.registration-container input[type="password"] {
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Textfelder */
|
|
||||||
.input-box input {
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 12px 15px;
|
padding: 10px 12px;
|
||||||
font-size: 16px;
|
margin-bottom: 15px;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ccc;
|
||||||
border-radius: 5px;
|
border-radius: 8px;
|
||||||
outline: none;
|
font-size: 1em;
|
||||||
padding-left: 40px; /* Platz für das Icon */
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Positionierung der Icons */
|
.registration-container button[type="submit"] {
|
||||||
.input-box i {
|
|
||||||
position: absolute;
|
|
||||||
top: 50%;
|
|
||||||
left: 10px;
|
|
||||||
transform: translateY(-50%);
|
|
||||||
font-size: 18px;
|
|
||||||
color: #888;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Passwortfeld */
|
|
||||||
.input-box input[type="password"] {
|
|
||||||
padding-right: 40px; /* Platz für das Passwort-Symbol rechts */
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Positionierung des Passwort-Symbols */
|
|
||||||
#toggleRegPassword {
|
|
||||||
position: absolute;
|
|
||||||
top: 50%;
|
|
||||||
right: 10px;
|
|
||||||
transform: translateY(-50%);
|
|
||||||
font-size: 18px;
|
|
||||||
color: #888;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Passwort Sicherheitsbalken */
|
|
||||||
.password-strength-bar {
|
|
||||||
height: 8px;
|
|
||||||
width: 0%;
|
|
||||||
background-color: #ccc;
|
|
||||||
margin-top: 5px;
|
|
||||||
transition: width 0.3s ease, background-color 0.3s ease;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Sicherheitsstufen */
|
|
||||||
.password-strength-bar.weak {
|
|
||||||
background-color: #f44336; /* Rot für schwach */
|
|
||||||
}
|
|
||||||
|
|
||||||
.password-strength-bar.medium {
|
|
||||||
background-color: #ff9800; /* Orange für mittel */
|
|
||||||
}
|
|
||||||
|
|
||||||
.password-strength-bar.strong {
|
|
||||||
background-color: #4caf50; /* Grün für stark */
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Button */
|
|
||||||
.btn {
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 12px;
|
padding: 10px;
|
||||||
background: #ff6600;
|
background-color: #007bff;
|
||||||
color: white;
|
color: white;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 25px;
|
border-radius: 8px;
|
||||||
font-size: 16px;
|
font-size: 1em;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: background 0.3s ease;
|
transition: background-color 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn:hover {
|
.registration-container button[type="submit"]:hover {
|
||||||
background: #e95b00;
|
background-color: #0056b3;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Registrierung-Link */
|
|
||||||
.register-link {
|
.register-link {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: 20px;
|
font-size: 14px;
|
||||||
|
margin-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.register-link a {
|
.register-link a {
|
||||||
text-decoration: none;
|
|
||||||
color: #ff6600;
|
color: #ff6600;
|
||||||
|
text-decoration: none;
|
||||||
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
.register-link a:hover {
|
.register-link a:hover {
|
||||||
color: #e95b00;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,245 +0,0 @@
|
|||||||
/* Allgemeine Einstellungen */
|
|
||||||
* {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
box-sizing: border-box;
|
|
||||||
font-family: "Poppins", sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
background: #f8f9fa;
|
|
||||||
color: #333;
|
|
||||||
min-height: 100vh;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Header */
|
|
||||||
header {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
padding: 15px 20px;
|
|
||||||
width: 100%;
|
|
||||||
background: #ffffff;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
position: sticky;
|
|
||||||
top: 0;
|
|
||||||
z-index: 1000;
|
|
||||||
}
|
|
||||||
|
|
||||||
.logo-container {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.logo-img {
|
|
||||||
height: 60px;
|
|
||||||
object-fit: contain;
|
|
||||||
}
|
|
||||||
|
|
||||||
header h1 {
|
|
||||||
font-size: 28px;
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-right {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
header .login-btn {
|
|
||||||
font-size: 14px;
|
|
||||||
text-decoration: none;
|
|
||||||
color: white;
|
|
||||||
background: #ff6600;
|
|
||||||
padding: 10px 20px;
|
|
||||||
border-radius: 25px;
|
|
||||||
transition: background 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
header .login-btn:hover {
|
|
||||||
background: #e95b00;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cart {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
position: relative;
|
|
||||||
font-size: 24px;
|
|
||||||
color: #ff6600;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cart-count {
|
|
||||||
position: absolute;
|
|
||||||
top: -5px;
|
|
||||||
right: -10px;
|
|
||||||
background: #ff6600;
|
|
||||||
color: white;
|
|
||||||
font-size: 12px;
|
|
||||||
width: 20px;
|
|
||||||
height: 20px;
|
|
||||||
border-radius: 50%;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Navigation */
|
|
||||||
.menu {
|
|
||||||
background: #ffffff;
|
|
||||||
width: 100%;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-list {
|
|
||||||
list-style: none;
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-around;
|
|
||||||
padding: 15px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-item {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-item a {
|
|
||||||
text-decoration: none;
|
|
||||||
color: #333;
|
|
||||||
font-size: 18px;
|
|
||||||
padding: 10px 20px;
|
|
||||||
transition: background 0.3s ease, color 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-item a:hover {
|
|
||||||
background: #ff6600;
|
|
||||||
color: white;
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Submenu */
|
|
||||||
.submenu {
|
|
||||||
position: absolute;
|
|
||||||
top: 100%;
|
|
||||||
left: 0;
|
|
||||||
background: #ffffff;
|
|
||||||
border-radius: 10px;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
display: none;
|
|
||||||
list-style: none;
|
|
||||||
min-width: 200px;
|
|
||||||
z-index: 10;
|
|
||||||
}
|
|
||||||
|
|
||||||
.submenu li {
|
|
||||||
padding: 10px 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.submenu li a {
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
|
|
||||||
.submenu li a:hover {
|
|
||||||
color: white;
|
|
||||||
background: #ff6600;
|
|
||||||
border-radius: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-item:hover .submenu {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Suchleiste */
|
|
||||||
.search-bar {
|
|
||||||
display: flex;
|
|
||||||
gap: 15px;
|
|
||||||
width: 100%;
|
|
||||||
padding: 20px;
|
|
||||||
background: #ffffff;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
position: sticky;
|
|
||||||
top: 65px;
|
|
||||||
z-index: 1000;
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-bar input,
|
|
||||||
.search-bar select {
|
|
||||||
padding: 12px;
|
|
||||||
font-size: 16px;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 5px;
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-bar button {
|
|
||||||
padding: 12px 20px;
|
|
||||||
background: #ff6600;
|
|
||||||
color: white;
|
|
||||||
border: none;
|
|
||||||
border-radius: 5px;
|
|
||||||
cursor: pointer;
|
|
||||||
transition: background 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-bar button:hover {
|
|
||||||
background: #e95b00;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Karten */
|
|
||||||
.card-grid {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
||||||
gap: 20px;
|
|
||||||
width: 100%;
|
|
||||||
padding: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card {
|
|
||||||
background: #ffffff;
|
|
||||||
border-radius: 10px;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
text-align: center;
|
|
||||||
padding: 20px;
|
|
||||||
height: 100%;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card img {
|
|
||||||
max-width: 100%;
|
|
||||||
height: auto;
|
|
||||||
border-radius: 10px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card h3 {
|
|
||||||
font-size: 20px;
|
|
||||||
color: #333;
|
|
||||||
margin: 10px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card p {
|
|
||||||
font-size: 14px;
|
|
||||||
color: #666;
|
|
||||||
margin: 5px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.add-to-cart {
|
|
||||||
background: #ff6600;
|
|
||||||
color: white;
|
|
||||||
border: none;
|
|
||||||
padding: 12px 20px;
|
|
||||||
border-radius: 25px;
|
|
||||||
margin-top: 10px;
|
|
||||||
cursor: pointer;
|
|
||||||
transition: background 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.add-to-cart:hover {
|
|
||||||
background: #e95b00;
|
|
||||||
}
|
|
||||||
@ -1,245 +0,0 @@
|
|||||||
/* Allgemeine Einstellungen */
|
|
||||||
* {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
box-sizing: border-box;
|
|
||||||
font-family: "Poppins", sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
background: #f8f9fa;
|
|
||||||
color: #333;
|
|
||||||
min-height: 100vh;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Header */
|
|
||||||
header {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
padding: 15px 20px;
|
|
||||||
width: 100%;
|
|
||||||
background: #ffffff;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
position: sticky;
|
|
||||||
top: 0;
|
|
||||||
z-index: 1000;
|
|
||||||
}
|
|
||||||
|
|
||||||
.logo-container {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.logo-img {
|
|
||||||
height: 60px;
|
|
||||||
object-fit: contain;
|
|
||||||
}
|
|
||||||
|
|
||||||
header h1 {
|
|
||||||
font-size: 28px;
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-right {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
header .login-btn {
|
|
||||||
font-size: 14px;
|
|
||||||
text-decoration: none;
|
|
||||||
color: white;
|
|
||||||
background: #ff6600;
|
|
||||||
padding: 10px 20px;
|
|
||||||
border-radius: 25px;
|
|
||||||
transition: background 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
header .login-btn:hover {
|
|
||||||
background: #e95b00;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cart {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
position: relative;
|
|
||||||
font-size: 24px;
|
|
||||||
color: #ff6600;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cart-count {
|
|
||||||
position: absolute;
|
|
||||||
top: -5px;
|
|
||||||
right: -10px;
|
|
||||||
background: #ff6600;
|
|
||||||
color: white;
|
|
||||||
font-size: 12px;
|
|
||||||
width: 20px;
|
|
||||||
height: 20px;
|
|
||||||
border-radius: 50%;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Navigation */
|
|
||||||
.menu {
|
|
||||||
background: #ffffff;
|
|
||||||
width: 100%;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-list {
|
|
||||||
list-style: none;
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-around;
|
|
||||||
padding: 15px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-item {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-item a {
|
|
||||||
text-decoration: none;
|
|
||||||
color: #333;
|
|
||||||
font-size: 18px;
|
|
||||||
padding: 10px 20px;
|
|
||||||
transition: background 0.3s ease, color 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-item a:hover {
|
|
||||||
background: #ff6600;
|
|
||||||
color: white;
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Submenu */
|
|
||||||
.submenu {
|
|
||||||
position: absolute;
|
|
||||||
top: 100%;
|
|
||||||
left: 0;
|
|
||||||
background: #ffffff;
|
|
||||||
border-radius: 10px;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
display: none;
|
|
||||||
list-style: none;
|
|
||||||
min-width: 200px;
|
|
||||||
z-index: 10;
|
|
||||||
}
|
|
||||||
|
|
||||||
.submenu li {
|
|
||||||
padding: 10px 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.submenu li a {
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
|
|
||||||
.submenu li a:hover {
|
|
||||||
color: white;
|
|
||||||
background: #ff6600;
|
|
||||||
border-radius: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-item:hover .submenu {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Suchleiste */
|
|
||||||
.search-bar {
|
|
||||||
display: flex;
|
|
||||||
gap: 15px;
|
|
||||||
width: 100%;
|
|
||||||
padding: 20px;
|
|
||||||
background: #ffffff;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
position: sticky;
|
|
||||||
top: 65px;
|
|
||||||
z-index: 1000;
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-bar input,
|
|
||||||
.search-bar select {
|
|
||||||
padding: 12px;
|
|
||||||
font-size: 16px;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 5px;
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-bar button {
|
|
||||||
padding: 12px 20px;
|
|
||||||
background: #ff6600;
|
|
||||||
color: white;
|
|
||||||
border: none;
|
|
||||||
border-radius: 5px;
|
|
||||||
cursor: pointer;
|
|
||||||
transition: background 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-bar button:hover {
|
|
||||||
background: #e95b00;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Karten */
|
|
||||||
.card-grid {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
||||||
gap: 20px;
|
|
||||||
width: 100%;
|
|
||||||
padding: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card {
|
|
||||||
background: #ffffff;
|
|
||||||
border-radius: 10px;
|
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
||||||
text-align: center;
|
|
||||||
padding: 20px;
|
|
||||||
height: 100%;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card img {
|
|
||||||
max-width: 100%;
|
|
||||||
height: auto;
|
|
||||||
border-radius: 10px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card h3 {
|
|
||||||
font-size: 20px;
|
|
||||||
color: #333;
|
|
||||||
margin: 10px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card p {
|
|
||||||
font-size: 14px;
|
|
||||||
color: #666;
|
|
||||||
margin: 5px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.add-to-cart {
|
|
||||||
background: #ff6600;
|
|
||||||
color: white;
|
|
||||||
border: none;
|
|
||||||
padding: 12px 20px;
|
|
||||||
border-radius: 25px;
|
|
||||||
margin-top: 10px;
|
|
||||||
cursor: pointer;
|
|
||||||
transition: background 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.add-to-cart:hover {
|
|
||||||
background: #e95b00;
|
|
||||||
}
|
|
||||||
@ -1,26 +1,361 @@
|
|||||||
|
/* ========== Allgemeine Einstellungen ========== */
|
||||||
/*
|
* {
|
||||||
===============
|
margin: 0;
|
||||||
Fonts
|
padding: 0;
|
||||||
===============
|
box-sizing: border-box;
|
||||||
*/
|
font-family: "Poppins", sans-serif;
|
||||||
@import url("https://fonts.googleapis.com/css?family=Open+Sans|Roboto:400,700&display=swap");
|
|
||||||
|
|
||||||
/*
|
|
||||||
===============
|
|
||||||
Variables
|
|
||||||
===============
|
|
||||||
*/
|
|
||||||
:root {
|
|
||||||
--demo-clr: #ff0000;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
body {
|
||||||
===============
|
background: #f8f9fa;
|
||||||
Global Styles
|
color: #333;
|
||||||
===============
|
min-height: 100vh;
|
||||||
*/
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ========== Header ========== */
|
||||||
|
header {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
padding: 0px 20px;
|
||||||
|
width: 100%;
|
||||||
|
background: #ffffff;
|
||||||
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 1000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo-container {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo-img {
|
||||||
|
height: 70px;
|
||||||
|
object-fit: contain;
|
||||||
|
}
|
||||||
|
|
||||||
|
header h1 {
|
||||||
|
font-size: 30px;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-right {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-btn {
|
||||||
|
font-size: 14px;
|
||||||
|
text-decoration: none;
|
||||||
|
color: white;
|
||||||
|
background: #ff6600;
|
||||||
|
padding: 10px 20px;
|
||||||
|
border-radius: 25px;
|
||||||
|
transition: background 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-btn:hover {
|
||||||
|
background: #e95b00;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ========== Warenkorb Icon ========== */
|
||||||
|
.cart {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
position: relative;
|
||||||
|
font-size: 24px;
|
||||||
|
color: #ff6600;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cart-count {
|
||||||
|
position: absolute;
|
||||||
|
top: -5px;
|
||||||
|
right: -10px;
|
||||||
|
background: #ff6600;
|
||||||
|
color: white;
|
||||||
|
font-size: 12px;
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
border-radius: 50%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ========== Navigation ========== */
|
||||||
|
.menu {
|
||||||
|
background: #ffffff;
|
||||||
|
width: 100%;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-list {
|
||||||
|
list-style: none;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-around;
|
||||||
|
padding: 15px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-item {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-item a {
|
||||||
|
text-decoration: none;
|
||||||
|
color: #333;
|
||||||
|
font-size: 18px;
|
||||||
|
padding: 10px 20px;
|
||||||
|
transition: background 0.3s ease, color 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-item a:hover {
|
||||||
|
background: #ff6600;
|
||||||
|
color: white;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.submenu {
|
||||||
|
position: absolute;
|
||||||
|
top: 100%;
|
||||||
|
left: 0;
|
||||||
|
background: #ffffff;
|
||||||
|
border-radius: 10px;
|
||||||
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
||||||
|
display: none;
|
||||||
|
list-style: none;
|
||||||
|
min-width: 200px;
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
.submenu li {
|
||||||
|
padding: 10px 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.submenu li a {
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.submenu li a:hover {
|
||||||
|
color: white;
|
||||||
|
background: #ff6600;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-item:hover .submenu {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ========== Suchleiste ========== */
|
||||||
|
.search-bar {
|
||||||
|
display: flex;
|
||||||
|
gap: 15px;
|
||||||
|
width: 100%;
|
||||||
|
padding: 20px;
|
||||||
|
background: #ffffff;
|
||||||
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
||||||
|
position: sticky;
|
||||||
|
top: 65px;
|
||||||
|
z-index: 1000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.search-bar input,
|
||||||
|
.search-bar select {
|
||||||
|
padding: 12px;
|
||||||
|
font-size: 16px;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
border-radius: 5px;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.search-bar button {
|
||||||
|
padding: 12px 20px;
|
||||||
|
background: #ff6600;
|
||||||
|
color: white;
|
||||||
|
border: none;
|
||||||
|
border-radius: 5px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.search-bar button:hover {
|
||||||
|
background: #e95b00;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ========== Karten ========== */
|
||||||
|
.card-grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
||||||
|
gap: 20px;
|
||||||
|
width: 100%;
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card {
|
||||||
|
background: #ffffff;
|
||||||
|
border-radius: 10px;
|
||||||
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
||||||
|
text-align: center;
|
||||||
|
padding: 20px;
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card img {
|
||||||
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
|
border-radius: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card h3 {
|
||||||
|
font-size: 20px;
|
||||||
|
color: #333;
|
||||||
|
margin: 10px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card p {
|
||||||
|
font-size: 14px;
|
||||||
|
color: #666;
|
||||||
|
margin: 5px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.add-to-cart {
|
||||||
|
background: #ff6600;
|
||||||
|
color: white;
|
||||||
|
border: none;
|
||||||
|
padding: 12px 20px;
|
||||||
|
border-radius: 25px;
|
||||||
|
margin-top: 10px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.add-to-cart:hover {
|
||||||
|
background: #e95b00;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ========== Footer ========== */
|
||||||
|
.footer {
|
||||||
|
background: #222;
|
||||||
|
color: #fff;
|
||||||
|
padding: 30px 20px;
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 40px;
|
||||||
|
margin-top: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
main {
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer a {
|
||||||
|
color: #ff6600;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ========== Formulare und Buttons allgemein ========== */
|
||||||
|
.input-box {
|
||||||
|
position: relative;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-box input {
|
||||||
|
width: 100%;
|
||||||
|
padding: 12px 40px 12px 15px;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
border-radius: 5px;
|
||||||
|
font-size: 16px;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-box i {
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
right: 15px;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
color: #888;
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn {
|
||||||
|
width: 100%;
|
||||||
|
padding: 12px 20px;
|
||||||
|
background: #ff6600;
|
||||||
|
color: white;
|
||||||
|
border: none;
|
||||||
|
border-radius: 5px;
|
||||||
|
font-size: 16px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn:hover {
|
||||||
|
background: #e95b00;
|
||||||
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
color: var(--demo-clr);
|
font-size: 24px;
|
||||||
|
color: #333;
|
||||||
|
margin-top: 20px;
|
||||||
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.info-cards-section {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 30px;
|
||||||
|
padding: 50px 20px;
|
||||||
|
background: #f8f9fa;
|
||||||
|
}
|
||||||
|
|
||||||
|
.info-card {
|
||||||
|
background: #ffffff;
|
||||||
|
border-radius: 15px;
|
||||||
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
|
||||||
|
padding: 30px 25px;
|
||||||
|
width: 320px;
|
||||||
|
min-height: 300px;
|
||||||
|
text-align: center;
|
||||||
|
transition: transform 0.3s ease;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.info-card:hover {
|
||||||
|
transform: translateY(-5px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.info-card i {
|
||||||
|
font-size: 50px;
|
||||||
|
color: #ff6600;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.info-card h3 {
|
||||||
|
font-size: 22px;
|
||||||
|
color: #333;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.info-card p {
|
||||||
|
font-size: 16px;
|
||||||
|
color: #555;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 534 KiB |
Loading…
x
Reference in New Issue
Block a user