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: circle;
    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;
}

.vat a {
    text-decoration: underline;
}

.product button, .product-digital button {
    background-color: #ff9800;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
}

.subscription {
    background-color: #ff9800;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;   
}

.subscription a {
    text-decoration: none;
    color: white;
    font-size: large;
    font-weight: bolder;
}

.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 {
    text-align: center;
}

.social {
    text-align: center;
}

.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;
}

/* Allgemeine Stile für das Cookie-Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: #fff;
    padding: 20px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px 8px 0 0;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

/* Stil für den Text im Banner */
#cookie-banner p {
    margin-bottom: 15px;
    text-align: center;
    max-width: 600px;
}

/* Stile für die Checkbox-Optionen */
.cookie-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.cookie-options label {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.cookie-options input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

/* Stil für den Button */
#accept-cookies {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#accept-cookies:hover {
    background-color: #45a049;
}

/* Stil für den Button, wenn der Benutzer das Banner akzeptiert hat */
#cookie-banner.accepted {
    display: none;
}

/* Reaktionsschnelligkeit */
@media (max-width: 768px) {
    #cookie-banner {
        padding: 15px;
    }

    .cookie-options {
        flex-direction: column;
        gap: 10px;
    }

    #accept-cookies {
        width: 100%;
        font-size: 18px;
    }
}

.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;
}

.lernplattform li {
    text-align: left;
    list-style-type: circle;
}

.lernplattform td {
    border: 5px solid #ff9800;
    border-radius: 10px;
}

#lms-products {
    width: max-content;
    margin-left: 22.5%;
}

/* Grundlegendes Styling für den Video-Container */
.video-container {
    justify-content: center;
    width: 40%;
    height: 100%;
    overflow: hidden;
    background: white; /* Hintergrundfarbe für den Container */
    margin: auto;
    margin-top: 25px;
    border-radius: 15px;
}

/* Styling für das Video */
.video-container video {
    width: 100%; /* Video nimmt die volle Breite des Containers ein */
    height: 100%; /* Video nimmt die volle Höhe des Containers ein */
    object-fit: cover; /* Video skaliert so, dass es den Container ausfüllt, ohne das Seitenverhältnis zu verzerren */
}

.messenger {
    position: fixed;  /* Das Element bleibt immer an der gleichen Stelle */
    bottom: 20px;     /* Abstand vom unteren Rand */
    left: 20px;      /* Abstand vom rechten Rand */
    z-index: 1000;    /* Stellt sicher, dass der Button immer oben ist */
    background-color: #ff9800;
    border-radius: 8px;
}

.messenger a {
    display: block;
    text-decoration: none;
}

.messenger img {
    width: 100px;
    height: 100px;
    border-radius: 50%;  /* Optional: macht das Bild rund */
    transition: transform 0.3s ease;  /* Sanfte Animation */
}

.messenger img:hover {
    transform: scale(1.2);  /* Bild wird etwas größer, wenn man darüber fährt */
}

.messenger p {
    color: white;
    text-align: center;
    font-weight: bold;
}

#scrollToTopBtn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 100;
    background-color: #333;
    color: #ff9800;
    border: none;
    padding: 14px 18px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#scrollToTopBtn:hover {
    background-color: #555;
    transform: translateY(-2px);
}

.product-digital a {
    color: black;
}

.product a {
    color: black;
}

.subscription a {
    color: white;
}