body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

header {
    background-color: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
}

h1 {
    margin: 0;
}

main {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

#products {
    width: 70%;
}

.product {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    text-align: center;
    margin-bottom: 15px;
}

.product-digital {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin-bottom: 15px;
}

.product img, .product-digital img {
    width: 100%;
    border-radius: 8px;
    width: 250px;
    margin: 10px;
}

.product h1 {
    margin: 10px 0;
    font-size: 38px;
}

.product-digital h1 {
    margin: 10px 0;
    font-size: 38px;
}

.headline {
    font-size: 25px;
}

.describe {
    margin-left: 50px;
}

div ul {
    list-style-type: none;
    padding-left: 20px;
    margin: 10px 0;
}

.product-digital ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 10px 0;
}

.price {
    font-size: 44px;
    color: #7f9c14;
    margin: 20px 0 10px;
    font-weight: bold;
}

.product-digital .price {
    text-align: center;
}

.vat {
    text-align: center;
}

.product button, .product-digital button {
    background-color: #ff9800;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
}

.product button:hover {
    background-color: #ff990091;
}

#cart {
    width: 25%;
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-height: 100%;
    overflow-y: auto;
    margin-bottom: 15px;
}

#cart-items {
    list-style-type: none;
    padding: 0;
}

#cart-items li {
    margin: 10px 0;
}

#paypal-button-container {
    margin-top: 20px;
}

footer {
    background-color: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
}

.contact-list, .social-list {
  font-family: Arial, sans-serif;
  font-size: 16px;
  margin-left: 0;
}

.contact-list a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin: 15px;
}

.contact-list a:hover {
  color: #ff9800;
}

.container {
  width: 80%;
  margin: 0 auto;
}

.contact-info {
    margin-left: 30%;
}

.social {
    margin-left: 12.5%;
}

.social-list a {
  color: black;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin: 15px;    
}

.social-list {
    display: inline-block;
}

.social-list a:hover {
  color: #ff9800;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #222;
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  z-index: 1000;
}

#cookie-banner button {
  background-color: #4CAF50;
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 10px 0;
  cursor: pointer;
}

#cookie-banner a {
  color: #f1f1f1;
  text-decoration: underline;
}

.notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #f44336;
  color: white;
  padding: 15px;
  border-radius: 5px;
  display: none;
  z-index: 1000;
}

.notification button {
  background: transparent;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.hidden {
  display: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* Layout anpassen */
    header h1 {
        font-size: 18px;
    }

    #products .product {
        flex-direction: column;
        text-align: center;
    }

    #products img {
        width: 80%;
        max-width: 250px;
        margin: 1px;
    }

    #products h1 {
        font-size: 18px;
    }

    #products p, #products ul {
        font-size: 12px;
    }

    #cart h2 {
        font-size: 18px;
    }

    .social-list a {
        font-size: 12px;
        padding: 8px 12px;
    }

    footer .contact-list a {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    /* Layout für kleine Smartphones */
    header h1 {
        font-size: 16px;
    }

    #products h1 {
        font-size: 16px;
    }

    #products p, #products ul {
        font-size: 11px;
    }

    #cart h2 {
        font-size: 16px;
    }

    .social-list a {
        font-size: 10px;
        padding: 6px 10px;
    }

    footer .contact-list a {
        font-size: 10px;
    }
}

.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s ease-in-out;
}

.toast.show {
    visibility: visible;
    opacity: 1;
}

.hidden {
    display: none;
}

.error {
     color: red; 
     font-size: 0.9em; 
}

label {
  font-weight: bold;
  display: block;
  margin-top: 10px;
  margin-bottom: 3px;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 7px 10px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus {
  outline: none;
  border-color: #0070ba;
}

.customer-container {
    display: flex;
    justify-content: center;
    align-items: center; /* optional für vertikale Mitte */
    flex-direction: column; 
}

.cart-cost {
    margin: 0;
}

/* Styling für die Navigation */
table {
    margin: 0 auto;
}

table p a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

table p a:hover {
    color: #ff9800;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #333;
    text-align: center;
}

nav ul li {
    display: inline-block;
    position: relative;
}

nav ul li a {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    font-size: 16px;
}

nav ul li:hover {
    background-color: #444;
}

/* Dropdown Content (versteckt beim Laden) */
nav ul li .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    min-width: 160px;
}

nav ul li:hover .dropdown-content {
    display: block;
}

/* Styling der Links im Dropdown */
nav ul li .dropdown-content a {
    padding: 10px;
    color: white;
    text-decoration: none;
}

nav ul li .dropdown-content a:hover {
    background-color: #555;
}
