:root {
    --mc-green: #69ce69;
    --mc-dark: #2D2D2D;
    --bg: url('./pics/concrete_bg.png');
    --fbg: url('./pics/deepslate_bg.png');
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    position: relative;
    color: white;
    margin: 0;
    z-index: 0;
}

body::after {
    content: "";
    position: absolute;
    filter: brightness(0.4);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg);
    background-size: fill;
    z-index: -1; /* Behind all other content */
}

header {
    /*background: #1a1a1a;*/
    background-image: url('./pics/spawn-bg.png');
    background-position: center;
    padding: 2rem;
    text-align: center;
    border-bottom: 3px solid var(--mc-green);
}

.nav-button {
    font-size: 14px;
    border-bottom: solid #69ce69 2px;
    padding: 3px;
    border-radius: 5px;
    cursor: pointer;
    width: 120px;
    height: 20px;
    display: inline-block;
    top: 10px;
    position: relative;
    margin: 5px;
    color: whitesmoke;
}

.nav-button:hover {
    background-color: #024e0c;
    border-color: #00ff9d;
    transition-duration: 0.2s;
    background: linear-gradient(45deg, #2a793494, #28d49293);
}

.server-ip {
    font-size: 1.5em;
    color: var(--mc-green);
    margin: 1rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 2rem;
}

.feature-card {
    background: #333;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #444;
    z-index: 2;
    color: aliceblue;
}

.feature-card-BG {
    background: #333;
    background-image: url("./pics/oak_background.png");
    background-size: 620px; /*Not used anymore. Could remove, but dont want.*/
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 1;
}

.feature-card-BG::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    z-index: -1; /* Behind the card content */
}

.feature-card-BG:hover::before {
    background-color: rgba(0, 0, 0, 0.4);
    /*transition: background-color 0.3s ease;*/
    box-shadow: #00ff9d 0px 0px 10px 1px;
    transition: 0.3s ease;
}

.status-widget {
    max-width: 600px;
    margin: 3rem auto;
    padding: 1rem;
    background: #222;
    border-radius: 8px;
    height: auto;
}

footer {
    text-align: center;
    padding: 2rem;
    /*background: #1a1a1a; not used anymore */
    margin-top: 2rem;
    position: relative;
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    filter: brightness(0.3);
    background-image: var(--bg);
    background-size: fill;
}

footer p {
    margin: 0.5rem 0;
    position: relative;
    color: aliceblue;
    z-index: 1; /* Above the background */
}

a {
    color: #9dbaf8;
    text-decoration-line: none;
}

.titleEffect {
    animation: titleEffect 2s infinite;
}

@keyframes titleEffect {
    0% { color: #15ca8e; }
    2% { color: #ffffff; }
    50% { color: #15ca8e; }
    100% { color: #15ca8e; }
}