*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-decoration: none;
}
body{
    min-height: 100vh;
    background-image: url(img/frog.gif);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
article{
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
h1{
    border-radius: 200px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(50px);
    box-shadow: 0 0 5px rgba(0, 0, 0, 1);
    padding: 20px;
    display: flex;
    align-items: center;
    font-size: 40px;
}
.logo{
    margin-right: auto;
    font-size: 50px;
    color: #000;
    display: flex;
    align-items: center;
}
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 5px 2%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 10;
}
header::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(50px);
    box-shadow: -5px 0 5px rgba(0, 0, 0, 0.1);
    z-index: -1;
}
nav{
    position: fixed;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    top: 0;
    right: -100%;
    z-index: 10;
    width: 250px;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(50px);
    box-shadow: -5px 0 5px rgba(0, 0, 0, 0.1);
    transition: 0.75s ease;
}
.drawer{
    position: absolute;
    bottom: 6%;
    display: flex;
    flex-direction: row-reverse;
    left: -373px;
    transition: 1s ease;
}
.drawer-content{
    display: flex;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(50px);
    box-shadow: 0 0 5px rgba(0, 0, 0, 1);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    width: auto;
    padding: 10px;
    z-index: 9;
}
.card{
    display: flex;
    align-items: center;
    flex-direction: row;
    border: 4px solid #3a3a3a;
    background-color: #232323;
    border-radius: 10px;
    width: 350px;
    height: 100px;
}
#server-icon{
    margin: 0 10px 0 10px;
    border-radius: 10px;
    height: 75px;
    width: 75px;
}
#status{
    color: #ffdf00;
    font-size: 14px;
}
#motd{
    color: #cccccc;
    font-size: 18px;
    width: 230px;
    max-height: 2.8em;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    box-orient: vertical;
    -webkit-line-clamp: 2;
    -moz-line-clamp: 2;
    -ms-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}
#version{
    color: #888888;
    font-size: 11px;
}
.players{
    position: absolute;
    display: flex;
    align-items: center;
    right: 20px;
    top: 20px;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#player-list{
    display: none;
    grid-template-columns: repeat(2, 1fr);
    grid-row-gap: 2px;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    border: 4px solid #3a3a3a;
    background-color: #232323;
    color: #cccccc;
    font-size: 13px;
    border-radius: 10px;
    top: 40px;
    right: 20px;
    padding: 3px;
    height: auto;
    width: auto;
    overflow: hidden;
    transition: 0.5s ease;
}
#player-list::-webkit-scrollbar{
    display: none;
}
#player-list-item, #player-list-item-border{
    display: flex;
    justify-content: center;
    padding: 0 5px 0 5px;
}
#player-list-item-border{
    border-right: 1.5px dashed #888888;
    padding-right: 6px;
}
.players:hover ~ #player-list{
    visibility: visible;
    opacity: 1;   
}
#refresh{
    position: absolute;
    opacity: 0.4;
    left: 16px;
    top: 16px;
    cursor: pointer;
}
#player-count{
    color: #888888;
    font-size: 12px;
    margin-right: 1px;
}
.drawer-open{
    display: flex;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(50px);
    box-shadow: 0 0 5px rgba(0, 0, 0, 1);
    clip-path: inset(-10px -10px -10px 0);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-top: auto;
    margin-bottom: auto;
    height: 30px;
    width: 20px;
    z-index: 9;
}
#drawer-active{
    display: none;
}
#drawer-active:checked ~ .drawer{
    left: -5px;
}
#drawer-active:checked ~ .overlay{
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 8;
}
.minecraft-server{
    position: relative;
    width: 300px;
}
#sidebar-active{
    display: none;
}
#sidebar-active:checked ~ nav{
    right: 0;
}
#sidebar-active:checked ~ .overlay{
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 9;
}
nav a{
    display: flex;
    align-items: center;
    box-sizing: border-box;
    height: auto;
    width: 100%;
    padding: 20px 30px;
    justify-content: flex-start;
    color: #000;
}
.wordpress{
    border-top: 1px ridge rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
nav a:hover{
    background-color: rgba(0, 255, 0, 0.5);
}
.menu-open, .menu-close{
    padding-top: 20px;
    padding-bottom: 20px;
    cursor: pointer;
}
.menu-close{
    padding: 20px;
}
.icon-right{
    cursor: pointer;
}
@media (max-width: 1000px) {
    h1{
        width: 95%;
    }
}
@media (max-width: 550px){
    h1{
        border-radius: 75px;
        width: 90%;
    }
    .card{
        width: 280px;
        height: 125px;
    }
    .drawer{
        left: -303px;
    }
    #server-icon{
        height: 100px;
        width: 100px;
    }
    #status{
        font-size: 11px;
    }
    #motd{
        font-size: 18px;
        width: 140px;
        max-height: 4.8em;
        -webkit-line-clamp: 3;
        -moz-line-clamp: 3;
        -ms-line-clamp: 3;
        line-clamp: 3;
    }
    #version{
        font-size: 8px;
    }
    #player-list{
        font-size: 9px;
    }
    #player-list-item, #player-list-item-border{
        padding: 0 3px 0 3px;
    }
    #player-list-item-border{
        padding-right: 4px;
    }
}
@media (max-height: 550px){
    .drawer{
        bottom: 1%;
    }
}
