@import url('https://fonts.googleapis.com/css2?family=Fugaz+One&display=swap');

body {
    margin: 0;
    padding: 20px 0;
    background-color: #111;
    background-image: url('websitebackground.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    font-family: 'Fugaz One', cursive;
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}
/* Banner Bar */
.banner {
    background-color: white;
    width: 85%;
    max-width: 1000px;
    border-radius: 20px;
    text-align: center;
    padding: 15px; /* Reduced white space */
    margin-bottom: 20px;
    box-sizing: border-box;
}

.banner h1 {
    margin: 0;
    font-size: 2.5rem;
}
/* Main Content Area */
.content-box {
    background-color: white;
    width: 85%;
    max-width: 800px;
    border-radius: 20px;
    padding: 20px; /* Reduced white space around text */
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Tighter gap between elements */
    align-items: center;
    box-sizing: border-box;
}

.content-box p {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.4;
}
.small-text {
    font-size: 0.9rem !important;
    margin-top: 15px !important;
}

/* Images - Reduced by 25% */
.game-image {
    max-width: 75%;
    height: auto;
    border-radius: 10px;
}
/* Design Document Text Styling */
.doc-content {
    text-align: left;
    width: 100%;
    font-family: sans-serif;
}

.doc-content p, .doc-content li {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 12px; /* Tighter vertical spacing */
}
.doc-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
    margin-top: 5px;
}

.doc-content h2 {
    font-family: 'Fugaz One', cursive;
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 10px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}
/* Mobile Responsiveness */
@media (max-width: 600px) {
    body {
        /* Fixes the mobile browser bug where fixed backgrounds disappear */
        background-attachment: scroll; 
        background-position: top center;
    }
    
    /* Ensure background shows on edges with 90% width */
    .banner { 
        width: 90%; 
        padding: 12px 15px; 
        text-align: left; /* Force left align on mobile */
    }
    
    .banner h1 { 
        font-size: 1.6rem; 
    }
    
    .content-box { 
        width: 90%; 
        padding: 15px; /* Minimal white space on mobile edges */
        align-items: flex-start;
        text-align: left; /* Force left align */
    }
    
    .content-box p { 
        font-size: 1.1rem; 
        text-align: left; 
    }
    
    /* Keeps images centered on mobile even though the text is left-aligned */
    .game-image {
        align-self: center;
        max-width: 85%; /* Slightly larger on tiny screens so you can still see them */
    }

    .doc-content { 
        text-align: left; 
    }
    
    .doc-content p, .doc-content li { 
        font-size: 1rem; 
    }
}
