/* Allgemeine Stile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Press Start 2P', cursive; /* Retro-Gaming-Schrift */
}

body {
    background-color: #0d0d0d;
    color: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
font-family: "Staatliches", sans-serif;
}

h2 {
    font-family: "Staatliches", sans-serif;
    }

p {
    font-family:  "Roboto", sans-serif;
    }

/* Header und Navigationsleiste */
header {
    background-color: #000000;
    width: 100%;
    padding: 1em 0;
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2em;
}

.logo {
    width: 150px;
    height: auto;
    margin-right: 1em;
}

.nav-text h1 {
    font-size: 1.8em;
    color: #33ff00;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.nav-text p {
    font-size: 1em;
    color: #f5f5f5;
    margin: 0.2em 0 0;
}

/* Produktbereich */
.product-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(255, 0, 204, 0.4);
    margin: 2em;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    overflow: hidden;
    position: relative; /* Stelle sicher, dass das Bild im richtigen Kontext positioniert wird */
}


.product-image {
    width: 50%;
    border-radius: 8px; /* Runde Ecken für die Bilder */
}

.product-details {
    padding: 2em;
    width: 50%;
}

.product-details h2 {
    font-size: 2em;
    color: #ff00cc;
    margin-bottom: 0.5em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.product-details p {
    color: #cccccc;
    line-height: 1.5;
    
}

.price {
    font-size: 1.5em;
    font-weight: bold;
    color: #33ff00;
    margin: 1em 0;
}

/* Slideshow-Container */
.slideshow-container {
    position: relative;
    width: 50%;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 8px; /* Runde Ecken für einen moderneren Look */
}

.slide {
    width: 100%;
    display: none;
}

.slide img {
    width: 50%;
    border-radius: 8px; /* Runde Ecken für die Bilder */
}

/* Angepasste Pfeile */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 12px;
    color: #ffffff; /* Grüne Farbe passend zum Design */
    font-weight: bold;
    font-size: 24px;
    background-color: rgba(0, 0, 0, 0.5); /* Halbtransparentes Schwarz für den Hintergrund */
    border-radius: 50%; /* Runde Pfeile */
    transform: translateY(-50%); /* Vertikale Zentrierung */
    transition: background-color 0.3s, color 0.3s; /* Weicher Übergang bei Hover */
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: #ff00cc; /* Hintergrundfarbe beim Hover */
    color: #0d0d0d; /* Pfeile in dunkler Farbe beim Hover */
}

.order-button {
    background-color: #33ff00;
    color: #0d0d0d;
    padding: 0.8em 1.5em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
    box-shadow: 0px 4px 8px rgba(0, 255, 0, 0.3);
}

.order-button:hover {
    background-color: #00cc99;
}

/* Divider Linie */
.divider {
    width: 100%;
    height: 3px;
    background-color: #ff00cc; /* Pinke Linie */
}

.confirmation-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2em;
    margin-top: 50px;
}

.confirmation-container h1 {
    font-size: 2.5em;
    color: #33ff00; /* Grüne Farbe für Erfolg */
}

.confirmation-container p {
    font-size: 1.2em;
    color: #555;
    margin-top: 0.5em;
}

.icon-success img {
    width: 300px;
    height: auto;
}

.back-button {
    display: inline-block;
    padding: 0.4em 1em;
    background-color: #33ff00;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.back-button p{
    font-family:  "Roboto", sans-serif;
    color: #fff;
}



/* Stile für die Links im Footer */
footer a {
    text-decoration: none;
    color: #ff00cc;
    margin-bottom: 0.5em; /* Abstand zwischen den Links */
    display: inline-block; /* Sicherstellen, dass Links untereinander sind */
    font-family:   "Staatliches", sans-serif;
}

footer a:hover {
    text-decoration: underline;
}

/* Für größere Bildschirme (min-width: 992px) */
@media (min-width: 992px) {

    footer {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 2em 5em;
        text-align: left;
    }

    .footer-section1 {
        margin-right: 5em; /* Abstand zwischen Kontakt und Folge uns */
    }

    /* Größerer Zeilenabstand in der Kontakt-Spalte */
    .footer-section1 p {
        margin-bottom: 1.5em; /* Erhöhten Abstand zwischen den Zeilen in der Kontakt-Spalte */
    }

    .footer-section2 p {
        display: inline-block;
        margin-right: 1.5em; /* Abstand zwischen den einzelnen Social-Media-Links */
    }

    .footer-section2 p:last-child {
        margin-right: 0; /* Kein Abstand nach dem letzten Link */
    }
}

/* Für kleinere Tablets und große Smartphones (max-width: 768px) */
@media (max-width: 768px) {
    .nav-bar {
        padding: 1.5em 1em; /* Mehr Platz um den Text herum */
    }

    .divider {
        margin-top: 1em; /* Mehr Abstand zwischen der Linie und dem Header-Text */
    }

    .product-section {
        flex-direction: column; /* Layout wird vertikal angeordnet */
        align-items: center;
        text-align: center; /* Zentriert den Text */
        padding: 20px;
    }

    .product-image {
        width: 90%; /* Bild wird größer */
        max-width: 350px;
        margin-bottom: 20px;
    }

    .product-details {
        width: 100%; /* Nimmt die volle Breite ein */
    }
    footer {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 2em 5em;
        text-align: left;
    }

    .footer-section1 {
        margin-right: 5em; /* Abstand zwischen Kontakt und Folge uns */
    }

    /* Größerer Zeilenabstand in der Kontakt-Spalte */
    .footer-section1 p {
        margin-bottom: 1.5em; /* Erhöhten Abstand zwischen den Zeilen in der Kontakt-Spalte */
    }

    .footer-section2 p {
        display: inline-block;
        margin-right: 1.5em; /* Abstand zwischen den einzelnen Social-Media-Links */
    }

    .footer-section2 p:last-child {
        margin-right: 0; /* Kein Abstand nach dem letzten Link */
    }
}

/* Für Smartphones (max-width: 480px) */
@media (max-width: 480px) {
    /* Zusätzliche Anpassungen für den kleineren Viewport */
   .nav-bar {
        display: flex;
        flex-direction: column; /* Navigation vertikal anordnen */
        align-items: center;
        padding: 1em; /* Zusätzlicher Abstand rund um den Text */
        font-size: 0.9em; /* Kleinere Schriftgröße */
        text-align: center; /* Zentriere den Text */
    }

    .nav-bar a {
        padding: 0.5em 0; /* Abstand zwischen den Links */
        text-decoration: none; /* Entferne Unterstreichung */
    }

    .logo {
        width: 250px;
        height: auto;
        margin-right: 1em;
    }

    .divider {
        margin-top: 1.2em; /* Mehr Abstand zwischen der Linie und dem Header-Text */
    }

    .product-section {
        display: flex;
        flex-direction: column; /* Bild und Text untereinander anordnen */
        align-items: center;
        padding: 20px;
        text-align: center; /* Zentriert den Text */
    }

    .product-image {
        width: 100%;         /* Bild nimmt die volle Breite des Containers ein */
        max-width: 250px;    /* Maximale Breite für das Bild */
        height: auto;        /* Höhe automatisch anpassen */
        margin-bottom: 15px; /* Abstand zwischen Bild und Text */
        object-fit: cover;   /* Bild proportional beschneiden bei Bedarf */
        border-radius: 8px;  /* Runde Ecken für ein modernes Design */
    }

    .slideshow-container {
        width: 100%;             /* Volle Breite des Bildschirms */
        max-width: 250px;        /* Begrenzte maximale Breite für die Slideshow */
        margin: 0 auto;          /* Zentriert die Slideshow */
        border-radius: 8px;      /* Runde Ecken für einen modernen Look */
    }

    .slide {
        width: 100%;
        display: none;           /* Standardmäßig ausgeblendet */
    }

    .slide img {
        width: 100%;             /* Bild nimmt die volle Breite des Containers ein */
        height: 150px;           /* Einheitliche Höhe für alle Bilder */
        object-fit: cover;       /* Bild füllt den Rahmen und wird bei Bedarf beschnitten */
        border-radius: 8px;      /* Runde Ecken für die Bilder */
    }

    /* Anzeige des aktiven Bildes */
    .slide.active {
        display: block;          /* Nur das aktive Bild wird angezeigt */
    }
    
    .product-details {
        width: 100%; /* Text nimmt die volle Breite ein */
    }

    .product-details h2 {
        font-size: 1.5em;
        margin-bottom: 1.2em;
    }

    .product-details p {
        margin-bottom: 1.5em; /* Abstand zwischen den Absätzen */
    }

    .price {
        font-size: 1.3em;
        margin: 1.2em 0;
    }

    footer {
        padding: 3em 1em; /* Noch mehr Platz im Footer-Bereich */
    }

    .footer-section1,
    .footer-section2 {
        margin-bottom: 1.8em; /* Mehr Abstand zwischen Kontakt und Folge uns */
    }
    /* Größerer Zeilenabstand in der Kontakt-Spalte */
    .footer-section1 p {
        margin-bottom: 1.5em; /* Erhöhten Abstand zwischen den Zeilen in der Kontakt-Spalte */
    }
    .footer-section2 p {
        display: inline-block;
        margin-right: 1.5em; /* Abstand zwischen den einzelnen Social-Media-Links */
    }
}
