/* Place your CSS styles in this file */

h1 {
    background-color: transparent;
    text-align: center;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: normal;
    color: white;
}





#header {
    display: flex;
    width: 100%;
    background-color: 	#644240;
    padding: 10px 0;            /* remove horizontal padding for full width rounding */
    border-radius: 15px;         /* keeps corners rounded */
    box-shadow: 0 6px 15px rgba(0,0,0,0.5), 0 0 20px 	#322424 inset;
    font-family: Arial, sans-serif;
    overflow: hidden;            /* clip inner divs so rounding is preserved */
}

.right-half {
    color: #000;
}

/* Split header into halves */
.left-half, .right-half {
    width: 50%;
    display: flex;
    align-items: center;       /* vertical centering */
}

/* Center buttons horizontally within the left half */
.left-half {
    justify-content: center;   /* centers the nav horizontally in left half */
}

/* Nav list and buttons */
#header nav ul {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;       /* vertical centering */
}




#header nav ul li a {
    background-color: 	#E5E5E5;
    color: #000;
    text-decoration: none;
    padding: 10px 18px;
    font-weight: bold;
    border-radius: 12px;
    box-shadow: 0 3px 6px #A5A2A2;
    transition: all 0.3s ease;
}

.news-button {
    background-color: 	#E5E5E5;
    color: #000;
    text-decoration: none;
    padding: 10px 18px;
    font-weight: bold;
    font-style: italic;
    font-family: Arial, sans-serif;
    border-radius: 12px;
    box-shadow: 0 3px 6px #A5A2A2;
    transition: all 0.3s ease;
}

#header nav ul li a[href="about.html"]{
    background-color: #821510;
    color: white;
    text-decoration: none;
    padding: 12px 18px;
    font-weight: bold;
    border-radius: 12px;
    box-shadow: 0 3px 6px #821510;
    transition: all 0.3s ease;
}


#header nav ul li a[href="about.html"]:hover {
    background-color: #f0e6da;
    color: #111;
    transform: translateY(-30px);
    box-shadow: 0 0 15px #f0e6da, 0 6px 20px #f0e6da;
}

#header nav ul li a:hover {
    background-color: #821510;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 0 15px #821510, 0 6px 20px #821510;
}



#fullscreen-btn {
    position: fixed;
    bottom: 20px; /* distance from bottom */
    right: 20px;  /* distance from right (use left: 20px; if you want bottom-left) */
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999; /* ensures it stays on top of everything */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

fullscreen-btn:hover {
    background-color: #555;
}



/* Floating fullscreen button */
fullscreen-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: white;
    border: none;
    padding: 12px 18px;
    font-size: 22px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: opacity 0.3s ease;
}

fullscreen-btn:hover {
    background-color: #555;
}

/* Make game fill the screen when fullscreen */
Eaglercraft:fullscreen {
    width: 100%;
    height: 100%;
}

/* Entire page background */
body {
    background-color: 	#322424;       /* very dark background */
    color: #eee;                  /* light text for readability */
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

/* Navigation bar around buttons */
.nav-bar {
    position: relative;
    display: flex;
    gap: 20px;
    background-color: #E5E5E5; /* subtle gradient */
    border-radius: 40px;           /* round pill shape */
    box-shadow: 0 6px 20px rgba(0,0,0,0.6), 0 0 20px #A5A2A2 inset; /* neon-ish shadow */
    width: 55%;
    height: 999%;
    margin: 30px auto;
    overflow: hidden;
    height: 1200px;
    width: 2000px;
    justify-content: flex-start;  /* align left */
    align-items: flex-start;      /* align top */
                 /* takes at least 60% of screen height */
    padding: 15px;                /* spacing inside */
    box-sizing: border-box; 
}



.nav-button {
    display: flex;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 28px;
    font-size: 18px;
    font-weight: bold;
    background-color: #821510;      /* dark base */
    border-radius: 25px;
    box-shadow: 0 4px 10px #821510;
    transition: all 0.3s ease;
    position: top;
    overflow: hidden;        /* almost full width */
    margin: 0 4;
    padding: 10px 10px;       /* more vertical space inside */
    border-radius: 15px;
}

.nav-button-logo {
    color: black;
    text-decoration: black;
    font-weight: bold;
    background-color: transparent;
    
}



/* Assign each button a different neon color using CSS variables */
.nav-button:nth-child(1) { --neon: #821510; } /* cyan */
.nav-button:nth-child(2) { --neon: #821510 } /* magenta */
.nav-button:nth-child(3) { --neon: #821510 } /* green */
.nav-button:nth-child(4) { --neon: #821510 } /* orange */

/* Hover effect: background glow and color shift */
.nav-button:hover {
    background-color: var(--neon);
    color: #111;
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--neon), 0 6px 20px rgba(255,255,255,0.5);
}

/* Active/click effect */
.nav-button:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(255,255,255,0.3);
}

/* Animated glow overlay */
.nav-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--neon) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.nav-button:hover::before {
    opacity: 0.3;
}


#floating-text {
    position: fixed;              /* stays in the corner */
    bottom: 10px;
    left: 10px;
    color: #aaa;                  /* gray text */
    font-size: 14px;
    font-family: Arial, sans-serif;
    background: rgba(0,0,0,0.5); /* semi-transparent background */
    padding: 6px 10px;
    border-radius: 8px;
    pointer-events: none;         /* clicks pass through */
    z-index: 9999;

    /* Animation */
    animation: floatFade 3s ease-in-out infinite alternate;
}

/* Keyframes for subtle floating and fading */
@keyframes floatFade {
    0% {
        transform: translateY(0px);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-5px); /* floats upward slightly */
        opacity: 1;
    }
    100% {
        transform: translateY(0px);
        opacity: 0.7;
    }
}

/* Bottom-left spotlight */


/* Example usage */
body {
    overflow: hidden;
    font-family: 'mojangles', ; /* Fallback to sans-serif */
}
/* Keep your existing styles for header/buttons */

/* Layout for leaderboard page */
.leaderboard-layout {
  display: flex;
  justify-content: space-between;
  margin: 20px;
  height: 80vh; /* taller containers */
}

/* Side nav containers */
.side-nav {
  color: black;
  background: #f5f5f5; /* same light box color */
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  width: 40%;        /* narrower than the middle one */
  padding: 20px;
  overflow-y: auto;  /* scroll if tall */
}

/* Optional: left/right specific tweaks */
.left-nav {
  margin-right: 10px;
}

.right-nav {
  margin-left: 10px;
}


.nav-button-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0; /* No padding for logo */
    background: none; /* No background for logo */
    box-shadow: none; /* No shadow for logo */
    height: -100px;
}

.logo-img {
  height: 60px;   /* adjust to fit your header */
  width: auto;    /* keeps proportions */
  padding-left: 10px;
}




/* News bar on the right */

.news-box {
  flex: 1;              /* fixed width */
  max-height: 50px;          /* fixed height */
  background: #3b2a2a;
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  margin-left: 20px;
  margin-right: 100px;
  font-size: 0.9rem;
  font-style: italic;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.3);

  overflow-y: auto;          /* vertical scroll if too tall */
  overflow-x: hidden;        /* prevent sideways scroll */
  white-space: normal;       /* allow wrapping */
  word-wrap: break-word;     /* break long words if needed */
}






