362 lines
5.9 KiB
CSS
362 lines
5.9 KiB
CSS
/* ========== 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: 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 {
|
|
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;
|
|
}
|
|
|
|
|