@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap');
:root {
    --box: 20px;
}

body {
    background: url(bg.png) #000;
    background-position: 50% 25%;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    padding: 0;
    display: flex;
    height: 100vh;
}
* {
    user-select: none;
    font-family: 'Montserrat';
    color: #fff;
} h1, h2, h3, h4, h5, h6 {margin: 0;padding: 0;}
main {
    /* backdrop-filter: blur(4px); */
    background-color: rgba(0,0,0,.35);
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;

    display: flex;
    flex-direction: column;
    padding: 0 20px;
}
list {
    display: flex;
    flex-direction: column;
    width: 100%;
} list > * {
    margin-bottom: 20px;
}

.server {
    /* margin-right: 10px; */
    display: flex;
    width: 100%;
}
.server > .info {
    /* padding: 10px 15px; */
    backdrop-filter: blur(40px);
    background-color: rgba(0,0,0,.3);
    border-radius: 10px 0 0 10px;
    width: fit-content;
} .server > .info > h3 {
    text-wrap: nowrap;
    padding: 10px 15px 0;
}
.server > .info > h3 > span {
    font-weight: normal;
    font-size: 15px;
    margin-left: 10px;
    color: #ff9999;
}
.server > .info > .data {
    margin-top: 10px;
    padding: 0 15px 10px;

    display: grid;
    grid-template-columns: min-content auto;
    grid-gap: 5px;
} .server > .info > .data > .h {
    font-weight: bold;
    margin-right: 10px;
    text-align: right;
} .server > .info > .data > .v {
    /* width: max-content; */
    text-wrap: nowrap;

}
.server > .uptime {
    padding: 10px 0;
    backdrop-filter: blur(40px);
    background-color: rgba(0,0,0,.65);

    border-radius: 0 10px 10px 0 ;
    width: 100%;
    display: flex;
    flex-direction: column;

}.server > .uptime > svg {
    width: 100%; 
    height: 110px;
} .server > .uptime > svg > line {
    stroke-width: 2px;
    stroke-linecap: round;
    stroke: #fff;
    opacity: 1;
} .server > .uptime > svg.down > line {
    stroke: #ff9999;
} 


warn {
    position: fixed;
    height: 100vh;
    width: 100vw;
    backdrop-filter: blur(40px);
    background-color: rgba(0,0,0,.65);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity .2s;
}


.warn {
    display: flex;
    backdrop-filter: blur(40px);
    background-color: rgba(0,0,0,.3);
    border-radius: 10px;
    padding: 10px;
} .warn > .icon {
    height: 45px;
    width: 45px;
    min-height: 45px;
    min-width: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    margin-right: 10px;
    background: rgba(255,255,255,.2);
} .warn > .icon > span {
    font-size: 20px;
} .warn > .info {
    display: flex;
    flex-direction: column;
    width: 100%;
} .warn > .info > .head {
    display: flex;
    min-width: 100%;
    /* align-items: center; */
    justify-content: space-between;
} .warn > .info > .head > span {
    font-size: 13px;
    opacity: .8;
}
h1 {
    display: flex;
    align-items: center;
}
h1 > span.fa {
    margin-right: 15px;
    font-size: 20px;
    /* vertical-align: middle; */
    margin-top: 7px;
}


@media (max-width: 500px) {
    .server {
        flex-direction: column;
    }
    .server > .info {
        width: 100%;
        border-radius: 10px 10px 0 0;
    }
    .server > .uptime {
        border-radius: 0 0 10px 10px;
        /* color: hsl(160, 60%, 48%); */
    }
    
}


body > button {
    transition: transform .3s;
    /* opacity: .8; */
    position: fixed;
    background: rgba(0,0,0,.3);
    backdrop-filter: blur(40px);
    border: 0;
    padding: 10px 15px;
    border-radius: 100px;
    top: 20px;
    right: 20px;
    z-index: 999;
    cursor: pointer;

} body > button > span.fa {
    transition: transform .3s;
    margin-right: 10px;
} body > button:hover {
    transform: scale(1.05);
} body > button:hover > span.fa {
    transform: rotate(-200deg);
}
body > button:active {
    transform: scale(0.97);

} body > button:active > span.fa {
    transition: transform 40s linear;
    transform: rotate(-18000deg);

}
body > warn {
    z-index: 1000;
}