#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    .spinner {
        height: 5vw;
        width: 5vw;
        border-radius: 10vw;
        border: solid 0.4vw #333;
        border-top: solid 0.4vw #fff;
        animation: spinner 1s linear infinite;
    }
}
@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

h1, h2, h3 ,h4, p {
    margin: 0;
    padding: 0;
}
body {
    user-select: none;
    > h1 {
        margin-bottom: 10px;
        font-weight: normal;
    }
    > p {
        width: 100%;
        /* text-align: right; */
        opacity: 0.8;
        font-size: 12px;
        margin-top: 10px;
    }
}

.servers, .incidents  {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
    >* {
        width: 100%;
    }
}

.ann {
    margin: 0px 0 20px;
    font-family: monospace;
    text-decoration: none;
    color: #ddd;
    display: flex;
    align-items: center;
    font-size: 15px;
    width: fit-content;
    border-bottom: solid 2px #ddd;

    svg {
        height: 19px;
        width:  19px;
        margin-left: 6px;
        margin-top: 4px;
        fill: #ddd;
    }
}

.server.offline .loads .load {
    display: none !important;
}
.server {
    overflow-x: hidden;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(-135deg, hsl(var(--color_id), 30%, 15%) 0%, hsl(var(--color_id), 20%, 10%) 100%);
    border: solid 1px hsl(var(--color_id), 20%, 20%);
    
    .info {
        padding: 10px 10px;
        padding-right: 30px;
        display: flex;
        gap: 6px;
        flex-direction: column;
        z-index: 10;
        backdrop-filter: blur(5px);
        mask-image: linear-gradient(to left, transparent 0px, #000 26px);
        
        .basic {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .loads {
            display: flex;
            gap: 10px;
        }
        .load {
            display: flex;
            align-items: center;
            background: hsla(var(--color_load), 100%, 60%, .1);
            color: hsl(var(--color_load), 100%, 70%);
            height: min-content;
            padding: 2px 4px;
            font-family: monospace;
            font-size: 10px;
            border-radius: 3px;
            gap: 4px;
            >.datatype {
                font-weight: 1000;
            }
            svg {
                height: 13px !important;
                width: 13px !important;
                fill: hsl(var(--color_load), 100%, 70%);
            }
            .last {
                display: none;
            }
        }
        h3 {
            font-weight: normal;
        }
        p { 
            background: hsla(var(--color_id), 100%, 60%, .1);
            color: hsl(var(--color_id), 100%, 70%);  
            height: min-content;
            padding: 2px 4px; 
            font-family: monospace;
            font-size: 10px;
            border-radius: 3px;
        }
    }

    >.datatype {
        z-index: 8;
        mask-image: linear-gradient(to right, transparent 10%, #000 30%);
        color: hsl(var(--color_id), 100%, 70%);
        font-size: 50px;
        font-weight: 100;
        position: absolute;
        right: 31px
    }
}


.incident {
    background: #151515;
    border: solid 1px #292929;
    padding: 10px;

    .info {
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;

        h3 {
            font-weight: 500;
        }
        .tag {
            background: #272727;
            border-radius: 3px;
            padding: 2px 4px;
            font-size: 10px;
            font-family: monospace;
        }
    }
    p {
        font-size: 14px;
    }
    .dates {
        opacity: 0.4;
        display: flex;
        align-items: center;
        gap: 6px;
        margin-top: 10px;
        font-size: 12px;
        p {
            font-size: 12px;
        }
    }
}
.incident.active {
    background: #271515;
    border: solid 1px #3f2929;

    h3, p, a, .dates {
        color: #fdd;
    }
    .tag {
        color: #fdd;
        background: #372727;
    }
}