/* General Styles */
body {
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #0049bd;
    font-family: 'Comic Sans MS';
    overflow-x: hidden;
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#loader-text {
    color: #0049bd;
    font-size: 2em;
    text-align: center;
}

#color-options {
    margin-top: 20px;
    text-align: center;
}

.color-button {
    margin: 5px;
    padding: 10px 15px;
    font-size: 1em;
    background-color: #0049bd;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.color-button:hover {
    background-color: #ff0;
    color: #000;
}

.color-button.selected-color {
    background-color: #ff0;
    color: #000;
}

#enter-site {
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 1.5em;
    background-color: #0049bd;
    color: #000;
    border: none;
    cursor: pointer;
    border-radius: 10px;
}

#enter-site:hover {
    background-color: #ff0;
}

/* Controls (Mute and Skip Intro Buttons) */
#controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
}

#controls button {
    padding: 10px 15px;
    margin-left: 10px;
    font-size: 1em;
    background-color: #0049bd;
    color: #000;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#controls button:hover {
    background-color: #ff0;
}

/* Hide main content initially */
#navbar, #hero, #about, #nft-viewer, #music-player,
#gallery, #roadmap, #team, #contact, .flying-monkees {
    display: none;
}

/* Navbar Styles */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #111;
    padding: 10px 0;
    text-align: center;
    z-index: 1000;
    flex-wrap: wrap;
}

#navbar a {
    color: #0049bd;
    margin: 5px 10px;
    text-decoration: none;
    font-weight: bold;
}

#navbar a:hover {
    color: #ff0;
}

/* Flying Monkees */
.flying-monkees {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 500;
}

.monkee {
    position: absolute;
    width: 100px;
    animation: fly linear infinite;
    opacity: 0.8;
}

@keyframes fly {
    0% {
        transform: translateX(-100px) translateY(0);
    }
    100% {
        transform: translateX(calc(100vw + 100px))
                    translateY(calc(100vh + 100px));
    }
}

/* Sections Styles */
section {
    padding: 100px 20px 20px 20px;
    position: relative;
    z-index: 1;
    background-color: #000;
}

section h1, section h2 {
    font-size: 3em;
    text-align: center;
    text-shadow: 2px 2px #ff0;
}

section p, section ul {
    font-size: 1.5em;
    line-height: 1.5;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin: 10px 0;
}

/* Team Section */
.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.team-member {
    margin: 20px;
    text-align: center;
}

.team-member img {
    width: 200px;
    border-radius: 50%;
    border: 5px solid #0049bd;
}

.team-member h3 {
    margin-top: 10px;
    font-size: 1.5em;
}

.team-member p {
    font-size: 1em;
}

/* Contact Form */
#contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contact-form input, #contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    font-size: 1em;
}

#contact-form button {
    padding: 10px 20px;
    font-size: 1em;
    background-color: #0049bd;
    color: #000;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#contact-form button:hover {
    background-color: #ff0;
}

/* NFT Viewer Styles */
#nft-viewer {
    text-align: center;
}

#nft-id-input {
    padding: 10px;
    font-size: 1.2em;
    width: 300px;
    max-width: 80%;
}

#view-nft {
    padding: 10px 20px;
    font-size: 1.2em;
    margin-left: 10px;
    background-color: #0049bd;
    color: #000;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#view-nft:hover {
    background-color: #ff0;
}

#nft-display {
    margin-top: 30px;
    color: #fff;
}

#nft-display img {
    width: 300px;
    max-width: 90%;
    border: 5px solid #0049bd;
    border-radius: 10px;
}

#nft-traits {
    margin-top: 20px;
    font-size: 1.2em;
    text-align: left;
    display: inline-block;
}

/* Music Player Styles */
#music-player {
    text-align: center;
    padding: 50px 20px;
}

#music-player h2 {
    font-size: 2.5em;
}

#audio-player {
    margin: 20px auto;
    width: 80%;
}

#music-audio {
    width: 100%;
}

#song-list {
    margin-top: 20px;
}

.song-item {
    margin: 5px 0;
    cursor: pointer;
    color: #0049bd;
}

.song-item:hover {
    color: #ff0;
}

/* Gallery Styles */
#gallery {
    text-align: center;
    padding: 50px 20px;
}

#gallery h2 {
    font-size: 2.5em;
}

#gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.gallery-image {
    width: 200px;
    margin: 10px;
    border: 3px solid #0049bd;
    border-radius: 10px;
}

.gallery-image:hover {
    border-color: #ff0;
}

#shuffle-gallery {
    padding: 10px 20px;
    font-size: 1em;
    background-color: #0049bd;
    color: #000;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 20px;
}

#shuffle-gallery:hover {
    background-color: #ff0;
}

/* Scroll Effects */
section {
    animation: colorChange 10s infinite;
}

@keyframes colorChange {
    0% { color: #0049bd; }
    25% { color: #ff0; }
    50% { color: #f0f; }
    75% { color: #0ff; }
    100% { color: #0049bd; }
}

/* Responsive Design */
@media (max-width: 1200px) {
    section h1, section h2 {
        font-size: 2.5em;
    }
    .team-member {
        width: 45%;
    }
}

@media (max-width: 800px) {
    #navbar {
        flex-direction: column;
    }
    #navbar a {
        margin: 10px 0;
    }
    .team-member {
        width: 80%;
    }
}

@media (max-width: 600px) {
    section h1, section h2 {
        font-size: 2em;
    }
    section p {
        font-size: 1em;
    }
    #enter-site {
        font-size: 1em;
    }
    #nft-id-input, #view-nft {
        width: 80%;
        font-size: 1em;
    }
    .gallery-image {
        width: 150px;
    }
    .team-member {
        width: 100%;
    }
}

#pfp-customizer {
    margin-top: 30px;
    text-align: center;
    display: none;
}

#pfp-customizer h3 {
    font-size: 2em;
    margin-bottom: 20px;
}

#attributes-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.attribute-option {
    margin: 10px;
    text-align: center;
}

.attribute-option img {
    width: 100px;
    height: 100px;
    border: 2px solid #0049bd;
    border-radius: 5px;
}

.attribute-option label {
    display: block;
    margin-top: 5px;
    color: #fff;
}

#download-pfp {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1em;
    background-color: #0049bd;
    color: #000;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.button-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333333;
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}

.button-link:hover {
    background-color: #555555;
}

#download-pfp:hover {
    background-color: #ff0;
}

/* Responsive adjustments for PFP Customizer */
@media (max-width: 600px) {
    #attributes-list {
        flex-direction: column;
        align-items: center;
    }

    .attribute-option {
        margin: 10px 0;
    }

    .attribute-option img {
        width: 80px;
        height: 80px;
    }
}

#pfp-customizer {
    margin-top: 30px;
    text-align: center;
}

#pfp-customizer h3 {
    font-size: 2em;
    margin-bottom: 20px;
}

#attributes-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.attribute-option {
    margin: 10px;
    text-align: center;
}

.attribute-image-preview {
    width: 100px;
    height: 100px;
    border: 2px solid #0049bd;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
}

.attribute-image-preview:hover {
    border-color: #ff0;
}

.attribute-image-preview.selected {
    border-color: #ff0;
}

/* Join Monkees Verse Section */
#join-monkees-verse {
    padding: 40px 20px;
    text-align: center;
    background-color: #1e1e1e;
    border-top: 2px solid #333333;
    border-bottom: 2px solid #333333;
}

#join-monkees-verse h2 {
    font-size: 2.5em;
    color: #ffeb3b;
    margin-bottom: 10px;
}

#join-monkees-verse p {
    font-size: 1.2em;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto 30px;
}

.monkees-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

/* Animated Gradient Button */
.animated-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    color: #ffeb3b;
    border-radius: 8px;
    border: 2px solid transparent;
    background-size: 200% 200%;
    background-image: linear-gradient(45deg, #0049bd, #ffffff, #0049bd);
    animation: gradientBackground 3s ease infinite;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.animated-button:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: inherit;
    filter: blur(10px);
    transform: rotate(0deg);
    transition: transform 0.4s ease;
    z-index: -1;
}

.animated-button:hover:before {
    transform: rotate(360deg);
}

.animated-button:hover {
    color: #ffffff;
    background: transparent;
    box-shadow: 0px 0px 20px #0049bd, 0px 0px 20px rgba(255, 255, 255, 0.7);
    border: 2px solid #ffffff;
    transition: all 0.4s ease;
}

@keyframes gradientBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* PFP Container Styles */
#pfp-container {
    position: relative;
    display: inline-block;
    width: 300px; /* Adjust as needed */
    height: 300px; /* Adjust as needed */
}

#pfp-container img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;
}

#pfp-container #nft-image {
    position: relative;
    z-index: 1;
}

#pfp-container #attribute-image {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
}

/* Remove any unwanted borders or margins */
img {
    margin: 0;
    padding: 0;
    border: none;
}