body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    cursor: pointer;
    user-select: none;
}

#background-video {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

header {
    background: transparent;
    padding: 40px 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.header-title {
    font-family: 'Baloo 2', sans-serif;
    font-size: 5em;
    color: #39ff14;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.header-container {
    max-width: 80%;
    margin: 0 auto;
    position: relative;
    text-align: center;
}

.header-image img {
    width: 55%;
    height: auto;
}

nav {
    width: calc(100% - 40px); /* Adjust width to prevent overflow */
    padding: 10px 20px; /* Add padding to give space around the nav */
    text-align: center;
    background: linear-gradient(90deg, #1e88e5, #42a5f5, #1565c0);
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden; /* Ensure nothing overflows */
    margin: 0 auto; /* Center the nav bar */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping to avoid overflow */
}

nav ul li {
    margin: 5px 10px; /* Adjust margin for better spacing */
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1em;
    padding: 8px 12px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


.nft-gallery {
    padding: 60px 20px;
    text-align: center;
    position: relative;
}

.nft-gallery h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.carousel {
    position: relative;
    margin: 0 auto;
    width: 80%;
    overflow: hidden;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 1.5em;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 1;
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.carousel-track-container {
    overflow: hidden;
    margin: 5px 0;
}

.nft-card {
    flex: 0 0 calc(20% - 10px);
    margin: 0 4px;
    padding: 0;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    width: calc(100% + 8px);
    margin: 0 auto;
}

.nft-card img {
    width: auto;
    max-width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    text-align: center;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.magic-eden-button {
    display: block;
    width: fit-content;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 1em;
    background: #1e88e5;
    color: #fff;
    border: none;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.magic-eden-button:hover {
    background: #64b5f6;
}

footer {
    background: rgba(34, 34, 34, 0.8);
    padding: 10px 5px;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    margin: 0 20px;
}

.footer-container .left,
.footer-container .right {
    margin: 0;
}

.footer-container .right a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
}

#canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.copy {
    position: absolute;
    top: 45%;
    left: 0;
    width: 100%;
    text-align: center;
    pointer-events: none;
    font-family: 'Futura', 'Helvetica Neue', Helvetica;
    color: #333;
}

.copy h1 {
    margin: 0;
    color: white;
    letter-spacing: 1px;
    font-size: 7vmin;
    font-weight: 700;
}

.copy p {
    margin: 0;
}

.coming-soon {
    padding: 60px 20px;
    text-align: center;
}

.coming-soon h2 {
    font-size: 8em;
    color: #39ff14;
    margin-top: 100px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#coming-soon-text {
    animation: pulse 2s infinite;
}

.contact-form {
    padding: 60px 20px;
    text-align: center;
}

.contact-form form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form label {
    text-align: left;
    color: #39ff14;
}

.contact-form input, .contact-form textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.contact-form button {
    background-color: #1e88e5;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #64b5f6;
}

.contact-form h2,
.contact-form label {
    color: #39ff14;
    font-weight: bold;
}

.legal-notice {
    max-width: 800px;
    margin: 0 auto 40px auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #333;
}

.legal-notice h2 {
    color: #007bff;
    font-size: 2em;
    margin-bottom: 10px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

.legal-notice p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.legal-notice strong {
    font-weight: bold;
}

.legal-notice a {
    color: #007bff;
    text-decoration: none;
    border-bottom: 1px dashed #007bff;
    transition: color 0.3s;
}

.legal-notice a:hover {
    color: #0056b3;
}

#connect-wallet {
    padding: 10px 20px;
    font-size: 1em;
    background-color: #1e88e5;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#connect-wallet:hover {
    background-color: #64b5f6;
}

.whitepaper {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #e0f7fa;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #000;
}

.whitepaper h1, .whitepaper h2, .whitepaper h3 {
    color: #39ff14;
    font-size: 2em;
    margin-bottom: 20px;
    text-shadow: none;
}

.whitepaper p {
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.whitepaper img {
    max-width: 150px;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s;
}

.whitepaper img:hover {
    transform: scale(3);
}

.whitepaper img:active {
    transform: scale(1.5);
}

.disclaimer {
    margin-top: 20px;
    background: #f9f9f9;
    padding: 15px;
    border-left: 4px solid #ff6600;
    font-size: 0.9em;
    line-height: 1.4;
}

.disclaimer h3 {
    margin: 0 0 10px;
    color: #39ff14;
}

.disclaimer p {
    margin: 0;
}

/* Media Queries für Mobilgeräte */
@media (max-width: 768px) {
    /* Hintergrundvideo ausblenden */
    #background-video {
        display: none;
    }

    /* Navigation anpassen */
    nav {
        display: block;
        padding: 20px 10px;
        text-align: center;
        background: linear-gradient(90deg, #1e88e5, #42a5f5, #1565c0);
        border-radius: 10px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    nav ul {
        display: block;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav ul li a {
        display: block;
        padding: 10px;
        font-size: 1.2em;
    }

    /* Header anpassen */
    .header-title {
        font-size: 3em;
    }

    .header-container {
        max-width: 100%;
        padding: 0 10px;
    }

    .header-image img {
        width: 100%;
        height: auto;
    }

    /* NFT-Galerie anpassen */
    .nft-gallery {
        padding: 30px 10px;
    }

    .carousel {
        width: 100%;
    }

    .nft-card {
        flex: 0 0 calc(50% - 10px);
    }

    /* Kontaktformular anpassen */
    .contact-form form {
        max-width: 100%;
        padding: 0 10px;
    }

    /* Footer anpassen */
    footer {
        position: relative;
        padding: 20px 10px;
    }

    .footer-container {
        flex-direction: column;
    }

    .footer-container .left,
    .footer-container .right {
        margin-bottom: 10px;
        text-align: center;
    }

    /* Whitepaper anpassen */
    .whitepaper {
        max-width: 100%;
        margin: 20px 10px;
        padding: 10px;
    }

    /* Disclaimer anpassen */
    .disclaimer {
        padding: 10px;
        font-size: 0.8em;
    }
}

#wallet-address {
    font-size: 1.2em;
    color: #39ff14;
    margin-top: 10px;
}

.message-box {
    padding: 20px;
    margin-top: 20px;
    border-radius: 5px;
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    text-align: center;
    display: inline-block; /* Ensure it's inline-block to show width properly */
    max-width: 100%; /* Ensure it doesn't overflow */
}

.success {
    color: green;
}

.error {
    color: red;
}

.invalid {
    color: orange;
}
