* {
    margin:0;
    padding:0;
    box-sizing:border-box;
}


html {
    scroll-behavior:smooth;
}


body {

    font-family:"JetBrains Mono";

    min-height:100vh;


    background:
        linear-gradient(
            rgba(255,255,255,0.75),
            rgba(255,255,255,0.75)
        ),
        url("https://images.rennivik.xyz/background.png");


    background-size:700px auto;
    background-position:left bottom;
    background-repeat:no-repeat;
    background-attachment:fixed;

}




hr {

    width:97%;
    border:none;
    border-top:1px solid black;

}



.nav {

    display:flex;
    flex-direction:column;
    align-items:center;

}



.navbar {

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:20px 40px;

    width:100%;

}



.logo img {

    width:45px;
    height:45px;

    object-fit:contain;

    filter:brightness(0);

}



.nav-links {

    display:flex;
    gap:30px;

}



.nav-links a {

    text-decoration:none;
    color:black;

    font-size:18px;

    position:relative;

}



.nav-links a:hover {

    opacity:.6;

}



#active {

    font-weight:700;

}



#active::after {

    content:"";

    position:absolute;

    left:0;
    bottom:-6px;

    width:100%;
    height:2px;

    background:black;

}





.content {

    min-height:75vh;

    display:flex;

    justify-content:center;

    padding:80px 40px;

}



.status-container {

    width:min(800px,100%);

}



h1 {

    font-size:42px;

    margin-bottom:10px;

}



.subtitle {

    opacity:.6;

    margin-bottom:40px;

}




.update-banner {

    display:none;

    background:#9ff7ae;

    padding:12px 18px;

    margin-bottom:20px;

    font-weight:bold;

}




.status-card {

    background:black;

    color:white;


    padding:30px;


    display:flex;

    justify-content:space-between;

    align-items:center;


    transition:.2s ease;

}



.status-card:hover {

    transform:translateY(-5px);

}




.status-card h2 {

    font-size:26px;

    margin-bottom:10px;

}




#last-check {

    opacity:.7;

}




#status-badge {

    background:white;

    color:black;

    padding:10px 18px;

    font-size:15px;

}



.online {

    background:#9ff7ae !important;

}



.offline {

    background:#ff9c9c !important;

}




.version-tag {

    opacity:.5;

    font-size:13px;

    margin-top:15px;

}





.history {

    margin-top:40px;

}



.history h2 {

    margin-bottom:20px;

}




.check {

    display:flex;

    justify-content:space-between;

    padding:15px 0;

    border-bottom:1px solid black;

}



.up {

    font-weight:bold;

}



.down {

    font-weight:bold;

}





.credits {

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:15px;

}