/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Full height for HTML and Body, with flex layout */
html, body {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styling */
header {
    width: 100%;
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    text-align: center;
}

nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    background-color: #3498db;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #2980b9;
}

/* Main Section with Background Image for Index Page */
#hero {
    background-image: url('Art_for_Website.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    flex: 1; /* Allows hero section to expand */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px 20px; /* Adjusts padding for top spacing */
    height: 100vh; /* Ensures it fills the viewport height */
    overflow: hidden; /* Prevents the hero section from scrolling */
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(44, 62, 80, 0.7); /* Faded overlay */
    z-index: 1; /* Places overlay behind text */
}

/* Main Content Styling (Applies to Other Pages) */
main {
    flex: 1; /* Ensures main content expands to fill available space */
    padding: 20px; /* Adds padding for content spacing */
}

/* Content Styling for Text Area */
.content {
    position: relative;
    color: #f5f5dc; /* Light color for readability */
    font-family: 'Cinzel', serif; /* Fantasy font */
    font-size: 1.1em;
    line-height: 1.6;
    text-align: justify;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); /* Adds depth with shadow */
    background-color: rgba(139, 69, 19, 0.2); /* Light brown for parchment effect */
    padding: 30px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2); /* Subtle border for definition */
    overflow-y: auto; /* Scrolls within content area */
    max-width: 100%;
    height: 80vh; /* Allows scrolling within the content box */
    z-index: 2; /* Ensures text appears above overlay */
}

/* Paragraph Spacing */
.content p {
    margin-bottom: 1em; /* Adds space between paragraphs */
}

/* Background Image and Overlay for About Page */
#about-hero {
    background-image: url('Art_for_Website.jpg'); /* Use the same or a new background image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(44, 62, 80, 0.8); /* Dark overlay for readability */
    z-index: 1;
}

/* Centered Text Container for About Page */
.about-content {
    position: relative;
    background-color: rgba(139, 69, 19, 0.85); /* Rich parchment color */
    color: #f5f5dc;
    max-width: 800px;
    padding: 40px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2); /* Subtle border */
    text-align: justify;
    overflow-y: auto;
    z-index: 2;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.6); /* Subtle shadow for depth */
}

/* Section Headings for About Page */
.about-content h2 {
    font-size: 2em;
    color: #d4af37; /* Gold color for fantasy feel */
    text-align: center;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Paragraph and List Styling */
.about-content p,
.about-content li {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* List Styling */
.about-content ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* General Styling for Download Page */
#download-hero {
    background-image: url('Art_for_Website.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#download-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(44, 62, 80, 0.8); /* Dark overlay for readability */
    z-index: 1;
}

.download-content {
    position: relative;
    background-color: rgba(139, 69, 19, 0.85); /* Parchment-like color */
    color: #f5f5dc;
    max-width: 800px;
    padding: 40px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2); /* Subtle border */
    text-align: center;
    z-index: 2;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.6); /* Subtle shadow */
}

/* Button Styling */
.button {
    padding: 10px 20px;
    margin: 10px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #2980b9;
}

/* NDA Content Styling (Initially Hidden) */
.nda-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(139, 69, 19, 0.95); /* Dark parchment color for readability */
    color: #f5f5dc;
    width: 80%;
    max-width: 600px;
    padding: 30px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-align: justify;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
    z-index: 10;
}

/* Adjust iframe within the NDA modal */
.nda-content iframe {
    border: none;
    border-radius: 5px;
    width: 100%;
    height: 500px; /* Adjust height as needed */
}

/* NDA Content Buttons */
.nda-content button {
    margin-top: 15px;
    margin-right: 10px;
}

/* Footer Styling */
footer {
    width: 100%;
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 10px;
}

.discord-link {
    background-color: #7289da; /* Discord blurple */
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-left: 10px;
}

.discord-link:hover {
    background-color: #5b6eae;
}