/* Anchor styles */
a {
    cursor: pointer;
}

a img {
    cursor: pointer;
}

/* Back arrow styles */
#back_arrow {
    width: 8vmin;
    height: 5vmin;
    margin: 2vh;
    cursor: pointer;
    position: absolute;
    top: 2vmin;
    left: 2vmin;
}

/* Button styles */
button {
    background: transparent;
    border: none;
    font-size: larger;
    padding: 0;
}

button:hover {
    background: transparent;
    border: none;
    font-size: larger;
    transform: scale(1.15);
}

/* Canvas styles */
canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* Container styles */
#container {
    flex: 1;
    font-size: 4vh;
    display: flex;
    flex-direction: column;
    color: white;
    margin-left: 2vw;
}

#container.active_menu {
    margin-right: 23vw;
    transition: margin-right 0.3s ease-in-out;
}

#container a:hover{
    color: lightgreen;
    text-decoration-line: underline;
    text-decoration-style: wavy;
}

#container a {
    text-decoration: underline;
    text-decoration-style: wavy;
}

/* Content styles */
#content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 5vh;
    margin-bottom: 5vh;
    color: white;
}
/* Contributor styles */
#contributors {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 1em;
}

#contributors {
    font-size: 5vmin;
    display: flex;
    flex-direction: column;
    justify-content: left;
    margin: 5vmin;
}

.contributor {
    display: flex;
    vertical-align: center;
    align-items: center;
    gap: 2vmin;
    padding: 2vh;
}

#contributor img {
    width: 10vmin;
    height: 10vmin;
}

#contributor a {
    color: white;
    text-decoration-line: underline;
    text-decoration-style: dashed;
    margin-top: 16px;
    margin-bottom: 16px;
}

#contributor span {
    color: white;
    text-decoration-line: underline;
    text-decoration-style: dashed;
    margin-top: 16px;
    margin-bottom: 16px;
}

/* Countdown styles */
#countdown {
    font-size: 5vmin;
    color: white;
    text-align: center;
    margin-top: 20px;
}

/* Footer styles */
#footer {
    background: grey;
    padding: 5px;
    text-align: center;
    margin-top: auto;
    z-index: 1000;
    position: relative;
}

#footer_text {
    color: black;
}

/* General styles for the entire document */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    overscroll-behavior: none;
    font-family: Helvetica, Arial, sans-serif;
}

body {
    min-height: 100vh;
    background-color: #000000;
}

body.mobile .container {
    padding: 0;
    margin: 0;
}

body.mobile #header_row {
    flex-direction: row; /* Stack items vertically on mobile */
    text-align: left;
    display: flex;
    flex-wrap: wrap;
}

body.mobile #header_row h1 {
    margin-left: 3vh;
    margin-top: 2vh; /* Add spacing if necessary */
    text-align: left;
    display: flex;
}

/* Github logo styles */
#github_logo {
    width: 5vmin;
    height: 5vmin;
    margin: 2vh;
    cursor: pointer;
    position: absolute;
    top: 2vmin;
    left: 2vmin;
    z-index: 10;
}

/* Header styles */
#header {
    color: white;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#header a {
    color: white;
    text-decoration: underline;
}

#header_row {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 2vmin;
    padding-left: 2vmin; /* optional: space from the left edge */
    position: relative; /* This allows absolute positioning of children (back arrow) */
}

/* 🍔 Hamburger menu */

/* 🍔 Hamburger base */
#hamburger-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

/* 🍔 Slide-in menu */
#hamburger-menu {
    position: fixed;
    top: 0;
    right: -22vw;
    width: 20vw;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    z-index: 200;
    transition: right 0.3s ease-in-out;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

#hamburger-menu nav {
    display: flex;
    flex-direction: column;
}

/* ✅ Active state */
#hamburger-menu.active {
    right: 0;
    transition: right 0.3s ease-in-out;
}

/* 🔥 Highlight current page */
#hamburger-menu a {
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

#hamburger-menu a.active-link {
    font-weight: bold;
    color: #5865F2; /* Discord blurple 💜 */
}

#hamburger-menu a.active-link::before {
    content: '| ';
    color: #5865F2;
}

/* List element styles */
li {
    list-style-type: decimal;
    margin-left: 10%;
    margin-right: 10%;
    color: white;
    margin-bottom: 2vh;
}

li:hover strong {
    color: mediumpurple;
    text-decoration-line: underline;
    text-decoration-style: wavy;
}

/* Loading message styles */
#loading-message {
    text-align: center;
    font-size: 1.2em;
    margin-top: 2em;
    color: #888;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* Mobile specific styling */
body.mobile .container {
    padding: 0;
    margin: 0;
}

body.mobile #header_row {
    flex-direction: row; /* Stack items vertically on mobile */
    text-align: left;
    display: flex;
    flex-wrap: wrap;
}

body.mobile #header_row h1 {
    margin-left: 3vh;
    margin-top: 2vh; /* Add spacing if necessary */
    text-align: left;
    display: flex;
}

/* Paragraph styles */
p {
    text-align: center;
    color: white;
}

#content p:hover, li:hover {
    color: green;
    text-decoration-line: underline;
    text-decoration-style: wavy;
}

p:hover em {
    color: pink;
    text-decoration-line: underline;
    text-decoration-style: wavy;
}

p:hover strong {
    color: mediumpurple;
    text-decoration-line: underline;
    text-decoration-style: wavy;
}


/* Particle.js styles */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none; /* So clicks pass through */
}

/* Report button styles */
#report-button {
    background-color: #5865F2;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
}

/* Report container styles */
#report-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

/* Start button styles */
.start_button {
    display: flex;
    width: 50vmin;
    height: 40vmin;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.start_button:hover {
    transform: scale(1.02) translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Warning header styles */
#warning_header {
    color: red;
    text-align: center;
    font-size: xx-large;
    padding-left: 2px;
}

/* Warning symbol styles */
#warning_symbol {
    width: 80vw;
    height: 50vh;
}