: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;
    /*overflow-x: hidden;  Prevent horizontal scrolling */

}

body::after {
    content: "";
    position: absolute;
    filter: brightness(0.4);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    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;
}
.eventbtn.nav-button:hover {
     /* spezieller Hintergrund */
    border-color: #ffae00; /* spezielle Rahmenfarbe */
    transition-duration: 0.52s;
    background: linear-gradient(45deg, #ffae00ad, #f8a32286); /* optional eigener Verlauf */
}
.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: block;
    padding: 0rem;
    min-width: 0px;
    width: 100%;
    position: relative;
    margin: 10px auto;
    justify-items: center;
}

.feature-card {
    background: #333;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #444;
    z-index: 2;
    color: aliceblue;
    width: auto;
    overflow: hidden;
    margin: 20px;
    max-width: 800px;
}

.feature-card-BG {
    background: #333;
    background-image: url("../pics/stonewall.png");
    background-repeat: repeat;
    background-size: 300px;
    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: 15rem;
    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;
}

.cmd{   
    font-family: monospace;
    font-size: 1.2em;
    margin: 1rem 0;
}
.desc {
    font-size: 16px;
    margin: 1rem 0;
}
tr {
    border-bottom: 1px solid #444;
}
tr:hover {
    background-color: #2a793494;
    transition-duration: 0.2s;
}

.titleEffect {
    animation: titleEffect 2s infinite;
}

@keyframes titleEffect {
    0%  { color: #15ca8e; }
    25% { color: #ffffff; }
    75% { color: #ffffff; }
    100% { color: #15ca8e; }
}

#ipAnimation:hover {
    font-size: 1.5em;
    color: var(--mc-green);
    margin: 1rem 0;
    animation: ipAnimationEffect 0.3s forwards;
    cursor: pointer;

    max-width: 400px;
    align-self: center;
    justify-self: center;
    min-width: 300px;
}
@keyframes ipAnimationEffect {
    0%  { 
        
    }

    100% { 
        background-color: rgb(33, 75, 62);
        border-radius: 100px;
        color: rgb(165, 255, 205);
        box-shadow: #00ff9d 0px 0px 10px 1px;
    }
}
.nav-dropdown {
    display: inline-block;
    position: relative;
    vertical-align: top;
}

.nav-dropdown-toggle {
    display: inline-block;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 190px;
    background: rgba(24, 30, 36, 0.96);
    border: 1px solid #69ce69;
    border-radius: 8px;
    padding: 6px;
    z-index: 50;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-item {
    display: block;
    color: whitesmoke;
    text-align: left;
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 5px;
}

.nav-dropdown-item:hover {
    color: white;
    background: linear-gradient(45deg, #2a793494, #28d49293);
}

.censored {
    position: relative;
    overflow: hidden;
    user-select: none;
    pointer-events: none;
}
.censored > * {
    filter: blur(6px);
}

.gamemodeSurvival {
    font-size: 14px;
    display: block;
    position: absolute;
    top: 10px;
    right: 0;
    margin-right: 0px;
    background-color: rgb(82, 22, 22);
    padding: 5px;
    border-radius: 50px 0 0 50px;
    width: 100px;
    text-align: center;
}
.gamemodeCreative {
    font-size: 14px;
    display: block;
    position: absolute;
    top: 10px;
    right: 0;
    margin-right: 0px;
    background-color: rgb(22, 82, 22);
    padding: 5px;
    border-radius: 50px 0 0 50px;
    width: 100px;
    text-align: center;
}
.feature-card:hover .gamemodeSurvival {
    transition-duration: 0.3s;
    background: linear-gradient(45deg, #ff1e1e94, #d4282893);
    
}
.feature-card:hover .gamemodeCreative {
    transition-duration: 0.3s;
    background: linear-gradient(45deg, #2a793494, #28d49293);
    
}
