/* styles.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: url('https://www.mtb-news.de/news/wp-content/uploads/2020/12/best-of-2020-9089_-scaled.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #f0f0f0;
}
header, footer {
    background-color: rgba(31, 31, 31, 0.8);
    color: white;
    text-align: center;
    padding: 10px 0;
}
nav {
    display: flex;
    justify-content: center;
    background-color: rgba(44, 44, 44, 0.8);
}
nav a {
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    text-transform: uppercase;
}
nav a:hover {
    background-color: rgba(68, 68, 68, 0.8);
}
main {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
}
.product-list {
    display: flex;
    flex-wrap: wrap;
}
.product-details{
    
    display: flex;
    flex-wrap: nowrap;
}
.cart{
    display: block;
}

.product {
    background-color: rgba(31, 31, 31, 0.8);
    border: 1px solid #333;
    border-radius: 5px;
    margin: 10px;
    padding: 20px;
    text-align: center;
    width: 400px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}
.product img {
    max-width: 100%;
    height: auto;
    border-bottom: 1px solid #333;
    margin-bottom: 15px;
}
.product h3 {
    font-size: 18px;
    margin: 0 0 10px;
    color: #f0f0f0;
}
.product p {
    color: #bbb;
    font-size: 14px;
    margin: 0 0 10px;
}
.product button {
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.product button:hover {
    background-color: #0056b3;
}
.cart-item {
    border-bottom: 1px solid #333;
    padding: 10px 0;
}
.cart-item h4 {
    margin: 0;
}
.cart-item p {
    margin: 5px 0;
}
.cart-item button {
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
}
.cart-item button:hover {
    background-color: #c82333;
}
/* Kontaktformular-Stile */
.contact form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
}

.contact label {
    margin-top: 10px;
    font-size: 1.2em;
}

.contact input, .contact textarea {
    padding: 10px;
    font-size: 1em;
    margin-top: 5px;
}

.contact button {
    margin-top: 20px;
    padding: 10px;
    font-size: 1.2em;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

.contact button:hover {
    background-color: #45a049;
}