body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Press Start 2P', cursive;
}

.background {
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

header nav a {
    text-decoration: none;
    color: white;
    margin: 0 10px;
}

header nav a.inactive:hover:after {
    content: attr(data-hover-text);
    color: #03521d;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80%;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    color:white;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
header {
    /*background-image: url('path_to_header_background.png'); /* Pixel art background for the header */
    text-align: center; /* Centering the nav items */
    padding: 10px 0; /* Adding some padding for aesthetic */
    height: 40px; /* Adjust based on your layout */
}

#musicControl {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: #000;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
}

/* General Styles for Navigation Menu */
nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
}

.nav-item {
    display: inline-block;
    padding: 10px 20px;
    color: rgb(243, 238, 238);
    text-decoration: none;
    border-radius: 4px;
    transition: transform 0.2s;
    background-size: cover;
    background-position: center;
    text-shadow: 
    -1px -1px 0 #000,  
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
    
}

/* Styles for Active Menu Items */
#join { background-image: url('button.png'); }
#arthera { background-image: url('button.png'); }
#get-subscription { background-image: url('button.png'); }
#pixudi { background-image: url('button.png'); }

/* Hover Effect for All Menu Items */
.nav-item:hover {
    transform: translateY(-2px);
    cursor: pointer;
}

/* Individual Background Images for Inactive Items (if needed) */
#mint.inactive { background-image: url('button.png'); }
#about-us.inactive { background-image: url('button.png'); }
#token.inactive { background-image: url('button.png'); }


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 50px auto; /* Adjusted for demonstration */
    padding: 20px;
    border: 1px solid #888;
    width: 680px; /* Slightly larger than the form width */
    max-width: 90%; /* Ensures responsiveness */
    overflow: hidden; /* Keeps the modal neat */
}
/* Responsive adjustments */
@media screen and (max-width: 700px) {
    .modal-content {
        margin: 20px auto;
        width: 95%; /* Gives more room on smaller screens */
    }
    .modal-content iframe {
        width: 100%; /* Makes the iframe responsive */
        height: auto; /* Adjust height automatically */
    }
}
/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.join-guild-btn {
    background-image: url('guild.png');
    background-size: cover;/* Size of the background image */
    width: 331px; /* New width */
    height: 118px; /* New height */
    border: none; /* Remove default border */
    cursor: pointer;
    display: block;
    margin: 0 auto; /* Center the button horizontally */
    position: absolute;
    left: 52%; /* Center horizontally */
    bottom: 20%; /* Adjust this value to position the button higher than your current setup */
    transform: translate(-50%, 0); /* Adjust horizontal centering */
    outline: none; /* Optional: removes the outline to keep the button appearance clean on focus */
}

/* Optional: Add a hover effect */
.join-guild-btn:hover {
    opacity: 0.8; /* Slight transparency on hover */
}