:root {
    --slime: #34ff4f;
    --acid: #fff200;
    --tomato: #ff3b3b;
    --ink: #111;
    --chalk: #f7f7ef;
    --grime: #2b2b2b;
}

body {
    background-color: #1f1f1f;
    background-image:
        repeating-linear-gradient(45deg, #1f1f1f 0 18px, #272727 18px 36px),
        radial-gradient(circle at 10% 10%, rgba(255, 242, 0, 0.08), transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(52, 255, 79, 0.12), transparent 45%);
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    margin: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    color: var(--chalk);
}


.navbar {
    background-color: var(--slime);
    padding: 1rem;
    border-radius: 0.4rem;
    border: 3px solid var(--ink);
    box-shadow: 6px 6px 0 var(--ink);
}

@media (max-width: 700px) {
    .navbar {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }

    .navitem {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48%;
        text-align: center;
    }

    .basket {
        position: static;
        margin: 0 auto;
    }
}

.navitem {
    background-color: var(--acid);
    padding: 0.4rem 0.6rem;
    border-radius: 0.2rem;
    text-decoration: none;
    color: var(--ink);
    font-weight: 800;
    border: 2px dashed var(--ink);
    text-shadow: 1px 1px 0 #fff;
}

.navitem:hover {
    background-color: #ffe000;
    transform: translateY(-1px);
}

.current {
    background-color: #ffd100;
}

.footer {
    position: absolute;
    color: #63fff0;
    justify-content: center;
    width: 98%;
    text-align: center;
    text-shadow: 2px 2px 0 var(--ink);
}

h1 {
    color: var(--chalk);
    text-shadow: 3px 3px 0 var(--ink);
    letter-spacing: 0.5px;
    text-align: center;
}

h2 {
    color: var(--chalk);
    text-align: center;
    text-shadow: 2px 2px 0 var(--ink);
}

p {
    color: #e6e0ff;
    text-align: center;
}

.cookie-container {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: #ffd000;
    padding: 0 32px;
    transform: 400ms;
    box-shadow: 0 -6px 0 var(--ink), 0 -2px 16px #ffd000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 3px solid var(--ink);
}

.cookie-container p {
    color: rgb(211, 49, 0);
    margin: 30px;
}

.cookie-container.active {
    bottom: 0;
}

.cookie-button {
    background-color: rgb(2, 202, 2);
    border: 3px solid var(--ink);
    color: rgb(211, 49, 0);
    padding: 12px 48px;
    font-size: 20px;
    margin-bottom: 16px;
    border-radius: 8px;
    cursor: pointer;
    margin: 10px;
    font-weight: 800;
    box-shadow: 4px 4px 0 var(--ink);
}

.cookie-container img {
    width: 150px;
}

.cookie-button:hover {
    background-color: #947900;
    color: black;
}
::-webkit-scrollbar {
    width: 10px; /* Breite der Scrollbar */
  }
  
::-webkit-scrollbar-track {
background: #fffb00; /* Hintergrundfarbe der Scrollbar */
}
  
::-webkit-scrollbar-thumb {
  background: #00ff00; /* Farbe des Thumbs */
  border-radius: 5px; /* Runde Ecken des Thumbs */
}
  
::-webkit-scrollbar-thumb:hover {
  background: #00ad00; /* Farbe des Thumbs bei Hover */
}

.shop { 
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.shopitem {
    background-color: rgb(63, 194, 51);
    border-radius: 0.6rem;
    padding: 1.5rem;
    width: 260px;
    height: 340px;
    text-align: center;
    display: flex;
    flex-direction: column;
    border: 3px solid var(--ink);
    box-shadow: 8px 8px 0 var(--ink);
}
.shopitem p {
    color: #fffb00;
    font-weight: 800;
    font-size: 18px;
    text-shadow: 1px 1px 0 var(--ink);
}

.shopitem p.shopitem-desc {
    font-size: 13px;
    line-height: 1.2;
    color: #d6d6d6;
    background: #272727;
    border: 2px solid var(--ink);
    border-radius: 0.4rem;
    padding: 0.4rem 0.5rem;
    margin: 0.5rem auto 0.6rem;
    max-width: 220px;
    text-shadow: none;
}
.shopitem img {
    width: auto;
    height: 140px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.shopimg1 img {
    width: auto;
    height: 140px;
    object-fit: contain;
}
.shopitem button {
    display: block;
    margin: 0 auto;
    cursor: pointer;
    text-align: center;
    background-color: yellow;
    font-size: 16px;
    font-weight: 800;
    padding: 0.5rem 0.8rem;
    border-radius: 0.3rem;
    border: 3px solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
}

.shopitem button:hover {
    background-color: #00ff00;
    border: #00ad00;
}
.shopitem a {
    text-decoration: none;
    margin-top: auto;
    display: block;
}
.shopspace {
    padding: 2.5%;
}

.disclaimer {
    background-color: rgb(190, 0, 38);
    padding: 0.5rem;
    border-radius: 0.6rem;
    font-weight: 800;
    border: 3px solid var(--ink);
    box-shadow: 6px 6px 0 var(--ink);
}

.emeraldflip img {
    width: 30px;
}

.emeraldflip,
.payment-method {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%;
    margin: auto;
    border-radius: 10px;
    border: 3px solid var(--ink);
    background: #ffe95a;
    box-shadow: 4px 4px 0 var(--ink);
    gap: 0.5rem;
}
.emeraldflip a,
.payment-method a,
.payment-method span {
    text-decoration: none;
    color: #007500;
    font-weight: bold;
}

.payment-method img,
.emeraldflip img {
    width: 26px;
    height: 26px;
}

.payment-method {
    cursor: pointer;
}

.payment-choice {
    max-width: 900px;
    margin: 30px auto;
    background: #1f1f1f;
    border: 3px solid var(--ink);
    box-shadow: 6px 6px 0 var(--ink);
    border-radius: 0.6rem;
    padding: 1rem 1.4rem;
    text-align: center;
}

.payment-options {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0.8rem 0 1rem;
}

.payment-option {
    background-color: #ffd000;
    border: 3px solid var(--ink);
    color: #333;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 800;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 3px 3px 0 var(--ink);
}

.payment-option.selected {
    background-color: #00ff00;
}

#payment-continue[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.shop-search {
    display: flex;
    justify-content: center;
    margin: 0.6rem 0 1rem;
}

.shop-search input {
    width: min(420px, 90%);
    padding: 0.6rem 0.8rem;
    border-radius: 0.4rem;
    border: 3px solid var(--ink);
    background: #1f1f1f;
    color: #e6e0ff;
    font-weight: 700;
    box-shadow: 4px 4px 0 var(--ink);
}

.receipt-page {
    max-width: 900px;
    margin: 30px auto;
    background: #1f1f1f;
    border: 3px solid var(--ink);
    box-shadow: 6px 6px 0 var(--ink);
    border-radius: 0.6rem;
    padding: 1rem 1.4rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.receipt-sub {
    font-weight: 700;
}

.receipt-actions {
    margin-top: 1rem;
}

.receipt-fly {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.receipt-fly img {
    position: absolute;
    top: 100%;
    width: 64px;
    height: 64px;
    animation: fly-up var(--fly-duration, 3.4s) linear infinite;
}

.fly-emerald img {
    filter: drop-shadow(2px 2px 0 var(--ink));
}

.fly-redstone img {
    filter: drop-shadow(2px 2px 0 var(--ink)) saturate(140%);
}

@keyframes fly-up {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    50% {
        transform: translate(var(--drift, 0), -70vh) rotate(90deg);
    }
    100% {
        transform: translate(calc(var(--drift, 0) * -1), -140vh) rotate(180deg);
        opacity: 0;
    }
}

.home-hero {
    margin: 24px auto;
    max-width: 1100px;
    padding: 1.2rem 1.4rem;
    background: #1f1f1f;
    border: 3px solid var(--ink);
    border-radius: 0.6rem;
    box-shadow: 8px 8px 0 var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.hero-text p {
    font-weight: 700;
    color: #e6e0ff;
}

.home-cta {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.6rem;
}

.cta-button {
    border: 2px solid var(--ink);
}

.hero-sticker {
    min-width: 180px;
    text-align: center;
    background: #ff3b3b;
    border: 3px dashed var(--ink);
    border-radius: 0.6rem;
    padding: 0.6rem 0.8rem;
    box-shadow: 4px 4px 0 var(--ink);
    transform: rotate(-2deg);
    font-weight: 800;
    color: #fff6c2;
}

.hero-sticker span {
    display: block;
    font-size: 14px;
}

.home-section {
    max-width: 1100px;
    margin: 24px auto;
    padding: 1rem 1.2rem;
    background: #2a2a2a;
    border: 3px solid var(--ink);
    border-radius: 0.6rem;
    box-shadow: 6px 6px 0 var(--ink);
}

.section-header h2 {
    margin-bottom: 0.2rem;
}

.section-header p {
    margin-top: 0;
    font-weight: 700;
}

.payment-grid {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.8rem;
}

.fun-list {
    list-style: square;
    margin: 0.6rem auto 0;
    padding-left: 1.2rem;
    max-width: 700px;
    color: #e6e0ff;
    font-weight: 700;
}

.cart-shell {
    text-align: center;
}

.dwars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.dwars-card {
    background: #1f1f1f;
    border: 3px solid var(--ink);
    border-radius: 0.6rem;
    box-shadow: 6px 6px 0 var(--ink);
    padding: 0.8rem 1rem;
}

.dwars-card h3 {
    margin-top: 0;
    color: var(--chalk);
    text-shadow: 2px 2px 0 var(--ink);
}

.dwars-card img {
    width: 100%;
    border: 3px solid var(--ink);
    border-radius: 0.4rem;
    box-shadow: 4px 4px 0 var(--ink);
}

.checkout-shell {
    text-align: center;
}

.item-shell {
    text-align: center;
}

.item-shell #item-ad {
    margin-top: 1rem;
}

.item-shell .form {
    background-color: rgb(63, 194, 51);
    border-radius: 0.6rem;
    border: 3px solid var(--ink);
    box-shadow: 8px 8px 0 var(--ink);
    color: #fffb00;
    font-weight: 800;
}

.item-shell .form input[type="submit"] {
    display: block;
    margin: 0 auto;
    cursor: pointer;
    text-align: center;
    background-color: yellow;
    font-size: 16px;
    font-weight: 800;
    padding: 0.5rem 0.8rem;
    border-radius: 0.3rem;
    border: 3px solid var(--ink);
    margin-top: 10px;
    box-shadow: 3px 3px 0 var(--ink);
}

.item-shell .form input[type="submit"]:hover {
    background-color: #00ff00;
    border-color: #00ad00;
}

.checkout-shell #checkout-container {
    background: #3a2a1c;
    border: 3px solid var(--ink);
    border-radius: 0.6rem;
    box-shadow: 8px 8px 0 var(--ink);
    padding: 1rem 1.2rem 2rem;
    position: relative;
    overflow: hidden;
}

.checkout-shell #checkout-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(135deg, rgba(255, 242, 0, 0.08) 0 10px, transparent 10px 20px);
    opacity: 0.4;
    pointer-events: none;
}

.checkout-shell #progress-bar-container {
    width: 85%;
    margin: 0 auto;
    background: #1c120b;
    border: 3px solid var(--ink);
    border-radius: 20px;
    padding: 6px;
    position: relative;
    text-align: center;
}

.checkout-shell #progress-bar {
    height: 16px;
    border-radius: 12px;
    background-color: #43a047;
    box-shadow: inset 0 0 0 2px var(--ink);
}

.checkout-shell #progress-text,
.checkout-shell #payment-flavor {
    font-weight: 800;
    color: #ffe95a;
    text-shadow: 2px 2px 0 var(--ink);
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.checkout-shell #kaktus-container {
    height: 230px;
}

.checkout-shell #kaktus {
    max-height: 220px;
    filter: drop-shadow(6px 6px 0 var(--ink));
}

@media (max-width: 700px) {
    .home-hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-sticker {
        transform: rotate(1deg);
    }
}

.emeraldflip-page {
    max-width: 900px;
    margin: 30px auto;
}

.emeraldflip-hero {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: #2b2b2b;
    border: 3px solid var(--ink);
    box-shadow: 8px 8px 0 var(--ink);
    border-radius: 0.6rem;
    padding: 1.2rem 1.4rem;
}

.emeraldflip-hero img {
    width: 110px;
    height: 110px;
    background: #ffe95a;
    border-radius: 12px;
    border: 3px solid var(--ink);
    box-shadow: 4px 4px 0 var(--ink);
    padding: 8px;
}

.emeraldflip-badge {
    display: inline-block;
    margin-top: 0.5rem;
    background: #ffd100;
    color: var(--ink);
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border: 2px dashed var(--ink);
}

.emeraldflip-steps {
    margin-top: 1.5rem;
    background: #1f1f1f;
    border: 3px solid var(--ink);
    box-shadow: 6px 6px 0 var(--ink);
    border-radius: 0.6rem;
    padding: 1rem 1.4rem;
}

.emeraldflip-steps h3 {
    margin-top: 0;
    color: var(--chalk);
    text-shadow: 2px 2px 0 var(--ink);
}

.emeraldflip-steps ol {
    margin: 0;
    padding-left: 1.4rem;
    color: #e6e0ff;
    font-weight: 700;
}

.emeraldflip-steps li {
    margin: 0.6rem 0;
}

.emeraldflip-steps code {
    background: #111;
    color: #fff200;
    padding: 0 0.25rem;
    border: 1px solid var(--ink);
}

.emeraldflip-note {
    margin-top: 1.5rem;
    background: #8e001f;
    border: 3px solid var(--ink);
    box-shadow: 6px 6px 0 var(--ink);
    border-radius: 0.6rem;
    padding: 0.9rem 1.2rem;
    font-weight: 800;
    color: #fff0a6;
}

.emeraldflip-method {
    margin-top: 1.5rem;
    background: #2b2b2b;
    border: 3px solid var(--ink);
    box-shadow: 6px 6px 0 var(--ink);
    border-radius: 0.6rem;
    padding: 1rem 1.4rem;
}

.emeraldflip-method h3 {
    margin-top: 0;
    color: var(--chalk);
    text-shadow: 2px 2px 0 var(--ink);
}

.emeraldflip-method p {
    margin-bottom: 0.6rem;
    font-weight: 700;
}

@media (max-width: 700px) {
    .emeraldflip-hero {
        flex-direction: column;
        text-align: center;
    }
}

.basket {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    position: absolute;
    right: 20px;
    top: 0px;
    background: #ffe95a;
    border: 3px solid var(--ink);
    border-radius: 12px;
    padding: 0.2rem 0.5rem;
    box-shadow: 4px 4px 0 var(--ink);
}

.basket img {
    width: 50px;
}

.basket:hover {
    background-color: #947900;
}

.basket-count,
#basket-count {
    margin: 0;
    padding: 0.1rem 0.45rem;
    background: #ff3b3b;
    color: #fff6c2;
    font-weight: 800;
    border-radius: 999px;
    border: 2px solid var(--ink);
    line-height: 1;
    min-width: 24px;
    text-align: center;
    box-shadow: 2px 2px 0 var(--ink);
}

.form {
    text-align: center;
    color: red;
    background-color: #00ad00;
    padding: 1rem;
    margin-bottom: 20px;
    border-radius: 1rem;
    margin-left: 20%;
    margin-right: 20%;
}

.form input[type="submit"] {
    margin: 30px;
    padding: 15px;
    background-color: #ffe600;
    border: 1px solid #51ff00;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
}

.form input[type="submit"]:hover {
    background-color: #00ff00;
    cursor: pointer;
}

.select {
    width: 300px;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #51ff00;
    background-color: #ffe600;
}

#logoImage {
    width: 200px;
    height: 200px;
    margin-top: 20px;
    display: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#skinImage {
    width: 200px;
    margin-top: 20px;
    display: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#item-image {
    width: 200px;
    margin-top: 20px;
    display: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.custom-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #247000;
    padding: 20px;
    border: 3px solid #ffd000;
    border-radius: 5px;
    box-shadow: 6px 6px 0 var(--ink);
    z-index: 9999;
    font-weight: 800;
    color: #ffd000;
}

.cart-container {
    margin-top: 30px;
  }
  
  .cart-table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .cart-table th,
  .cart-table td {
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .cart-table th {
    text-align: center;
    font-weight: bold;
    color: #00ad00;
    font-size: 25px;
  }
  
  .cart-table td {
    text-align: center;
    color: #00ff00;
    font-weight: bold;
  }
  
  .empty-cart {
    color: #fffb00;
    text-align: center;
    margin-top: 20px;
  }

  button {
    background-color: #ffd000;
    border: 3px solid var(--ink);
    color: #333;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 800;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 4px;
    box-shadow: 3px 3px 0 var(--ink);
  }
  
  button:hover {
    background-color: #ffbb00;
  }

  #checkout-button {
    display: block;
    margin: 20px auto;
    padding: 10px 10px;
    font-size: 20px;
    text-align: center;
  }

  #checkout-container {
    text-align: center;
    position: relative;
    z-index: 2;
  }
  
  #kaktus-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 200px; /* Höhe des Kaktuscontainers anpassen */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 1;
  }
  
  #kaktus-container img {
    max-width: 100%;
    height: auto;
  }
  
  #progress-bar-container {
    width: 80%; /* Geben Sie hier die gewünschte Breite der ProgressBar an */
    height: 20px; /* Geben Sie hier die gewünschte Höhe der ProgressBar an */
    background-color: #ccc;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 20px;
  }
  
  #progress-bar {
    height: 100%;
    width: 0%;
    background-color: #43a047;
    border-radius: 10px;
    transition: width 0.5s ease;
  }
  
  #progress-text {
    margin-top: 10px;
  }
  img.item-image {
    width: 250px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .ufo_ad {
    width: 70%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    /*round corners*/
    border-radius: 40px;
  }
  .popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 1000; /* Beispielwert, du kannst ihn nach Bedarf anpassen */
    }

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.popup img {
    max-width: 100%;
    max-height: 80vh; /* Du kannst dies an deine Bedürfnisse anpassen */
    border-radius: 12px;
    border: 4px solid var(--ink);
    box-shadow: 6px 6px 0 var(--ink);
}

.close {
    position: absolute;
    top: 0px;
    left: 0px;
    font-size: 60px;
    color: rgb(255, 109, 109);
    cursor: pointer;
    text-shadow: 3px 3px 0 var(--ink);
}

.close:hover {
    color: rgb(255, 0, 0);
}
