/* Import Minecraft-style font if desired */
@font-face {
    font-family: 'MinecraftFont';
    src: url('https://cdn.jsdelivr.net/gh/AdvancedLearning/MinecraftFont@main/MinecraftRegular.woff2') format('woff2');
}

/* Variables */
:root {
    --header-bg: #7760be;
    --nav-bg: #4d86ac;
    --section-bg: #5158eb;
    --footer-bg: #362188;
    --body-bg: #7b9af8;
    --container-bg: #5f84f1;
    --title-bg: #8ea0d6;
    --text-bg: #7c9e9e;
    --text-primary: #000000;
    --text-shadow: 1px -1px 5px rgba(0, 0, 0, 0.5), 1px 1px 5px rgba(0, 0, 0, 0.5);
    --heading-color: rgb(196, 86, 58);
    --link-hover: #2196F3;
}

/* Base styles */
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, var(--body-bg) 0%, #2c076d 100%);
    font-family: Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
/* Containers*/
.nav-container {
    background: linear-gradient(180deg, var(--nav-bg) 0%, #640a0a 100%);
    padding: 2rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.title-container{
    background-color: var(--title-bg);
    padding: 2rem;
    border-radius: 24px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 50%;
}
.body-container {
    background: var(--container-bg);
    padding: 2rem;
    border-radius: 64px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    
}
.text-container {
    background: var(--text-bg);
    padding: 2rem;
    border-radius: 24px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 50%;
    
}
/* Container */
.container {
    width: 80%;
    max-width: 1260px;
    min-width: 780px;
    margin: 0 auto;
    display: flex;
    flex: 1;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--header-bg) 0%, #3caf68 100%);
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-content {
    font-size: 80px;
    color: #4d3434;
    text-shadow: var(--text-shadow);
}

/* Navigation */
nav {
    background-color: var(--nav-bg);
    width: 20%;
    min-height: 900px;
    padding: 20px 0;
}

.nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.nav-link {
    font-size: 30px;
    color: var(--text-primary);
    text-shadow: var(--text-shadow);
    transition: color 0.2s ease-in-out;
}

.nav-link:hover {
    color: var(--link-hover);
}

/* Main section */
section {
    background-color: var(--section-bg);
    width: 80%;
    min-height: 900px;
    padding: 20px;
    box-sizing: border-box;
}

.content {
    text-align: center;
}

/* Typography */
h1 {
    text-align: left;
    color: var(--heading-color);
    margin: 10px;
    text-shadow: var(--text-shadow);
    font-size: 2.5rem;
}

h2 {
    text-align: center;
    color: var(--text-primary);
}

p {
    color: rgba(241, 149, 149, 0.63);
    text-align: left;
    margin: 10px;
    text-shadow: 2px -2px 4px black, 2px 2px 4px black;
    font-size: 30px;
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
}

a:visited {
    color: inherit;
}

a:hover {
    color: inherit;
}

a:active {
    color: inherit;
}

.underline {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    padding: 10px 20px;
    color: black;
    font-size: 20px;
    width: 100%;
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
}

/* Tables */
table {
    width: 90%;
    margin: auto;
    border: 1px solid;
    border-collapse: collapse;
    color: var(--text-primary);
}

th, td {
    border: 1px solid;
    padding: 5px;
}

td {
    text-align: left;
}

/* Forms */
form {
    text-align: center;
}

label {
    font-family: sans-serif;
    color: var(--text-primary);
}

/* Lists */
ul {
    color: var(--text-primary);
    text-align: left;
}

/* Status indicators (from MC page) */
.status-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.status-indicator.online {
    background-color: #22c55e;
}

.status-indicator.offline {
    background-color: #ef4444;
}

.status-text.online {
    color: #22c55e;
}

.status-text.offline {
    color: #ef4444;
}

/* Responsive Design */
@media (max-width: 1000px) {
    .container {
        min-width: auto;
        width: 95%;
        flex-direction: column;
    }

    nav {
        width: 100%;
        min-height: auto;
        padding: 20px 0;
    }

    section {
        width: 100%;
    }

    .header-content {
        font-size: 40px;
    }
}