@charset "utf-8";
/*  This is an css comment tag and is used to help guide you */

* {
  box-sizing: border-box;
}

body {
    top:0;
    bottom:0;
    left:0;
    right:0;
    position: relative;
    margin: 0;
    padding: 0; 
    border: 0px solid DarkViolet  ;  /* colour of the body border (the whole page)  0 by default (off ) */
    border-radius: 0px;  /*  0 by default (off)  */
    background-color: transparent; 
    font-family: Arial;   /*font style */ 
    line-height: 1.0;
    font-size: calc(2.5vw + 0.5vh + 3vmin); 
    font-weight: 400; 
    color : #fff;    /* colour of the text on the page */
    line-height: 100%;
    text-align: left; 
    overflow: hidden;
    }

  img {    
    vertical-align: middle;
  }

  .wrapper {
    min-width: 100%;
    background-color: #1a2a3b; /* background colour */
    padding: 0px; /* suggest 8px for rounded corners, 0 by default */
    border: 0px solid #1c2633; /* colour of the main border suggest 4px for rounded corners,  0 by default (off ) */
    border-radius: 10px; /*  suggest 12px for rounded corners,  be sure to set a radius for the top of the heading section (line 46) and the bottom of the info section (line 111) to prevent an inner squared effect */
    overflow: hidden;
  }

  .heading{
    background-color: transparent;   /*  background colour of the header section for name/join */
    padding: 3% 2% 0% 3%;
    border: 0px solid olive ;   /* colour of the header border  0 by default (off ) */
    border-radius: 12px 12px 0 0;  /* creates a radius for the top of this section, used only if there is a border radius for the wrapper line 39 */
  } 

  .name {
    background-color:  transparent;  /*  background colour of the server name text */  
    color: #fff;  /* name of the server */
    width: 100%;
    padding: 2% 2% 2% 4%;
    font-weight: 500; 
    border: 0px solid Pink ;  /* colour of the server name border  0 by default (off ) */
  }

  .reserved {
    width: 100%;
    position: relative; 
    font-size: 80%;
    font-weight: 600;
    text-align: right;
    padding: 0;
  }

  .location {  /*  where to display the number of users on the server */  
    position: absolute; 
    font-size: 80%;
    font-weight: 600;
    top: 1.8em; 
    right: 1.5em; 
  }

  .discord-icon {
    width: 8%;
    vertical-align: middle;
  }

  .channels {
    background-color: transparent;   /* background colour of Discord Voice Channels text */
    font-size: 110%;
    font-weight: 600; 
    font-style: italic;
    padding: 1% 1% 3% 3%;
  }

  a.join {
    width: 100%;
    background-color: #081824; /* Join Server button background */
    color: #60b1ce; /* Join Server button text */
    font-style: italic;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    display: block;
    margin: auto;
    padding: 1% 0 2% 0;
  }

  a.join:hover {
     background-color: #3a92b0; /* Join Server button hover background */
     color: #1c1c1c; /* Join Server button hover text */
  }

  .info{   /* container holding all the information on channels and users */
    background-color: transparent;
    border: 0px solid Lawngreen ;  /* colour of the main page border  0 by default (off ) */
    padding: 0%;
    border-radius: 0 0 12px 12px;  /* creates a radius for the bottom of this section, used only if there is a border radius for the wrapper line 39 */
    white-space: nowrap;
    overflow: hidden;
  }

  .channel {
    background-color: transparent;    /* background colour of channel names text */
    padding: 1%;
    font-weight: 600; 
    font-style: italic;
    padding: 3% 1% 3% 3%;
  }

  .ico {
    position: relative;
    display: inline;
  }

  .userinfo {
    overflow: hidden!important;
    white-space: nowrap!important;
  }

  .discord-avatar {
     border-radius:100%;
     width: 1.4em;
     border: solid 2px #fff!important;
     border-color: #3a3a3a!important;   
     display: inline;
     margin-bottom: 0px;
     margin-right: 5px!important;
     vertical-align: middle;
  }

  .discord-status {
     border-radius: 100%;
     width: 40%;
     border: solid 0.12em #1a2a3b!important;   /*  same colour as the background  */ 
     position: absolute;
     bottom: -20%;
     right: 10%;
     text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
  }

  .user {
    background-color: transparent;   /* background colour of user names text */
    padding: 1% 1% 1% 6%;
  }

  .label-admin {
    margin-left: 5px;
    background-color: #049053;
    color: #fff;
    border-radius: 0.3em;
    padding: .3em;
    font-size: 60%;
    /*font-size: 9px;*/
  }

  .label-bot {
    margin-left: 5px;
    background-color: #7289DA;
    color: #fff;
    border-radius: 0.3em;
    padding: 0.3em;
    font-size: 60%;
    vertical-align: middle;
  }

  img.mutedeaf {   
    width: 8%;
    vertical-align: middle;
  }

  .label-game {
    color: #e66f1f;   /* playing game text colour */
    font-size: 60%;
  }

   hr { 
    width: 90%;
    display: block; 
    height: 1px;
    border: 0; 
    border-top: 1px solid  #1c2633; /* Spacer bar between channels and more online */
    margin: 1em 1em; padding: 0; 
 }

  .crisp-edges {
    image-rendering: -webkit-optimize-contrast; /* Chrome, Edge, Opera, and Safari */
  }

  .moreusers {
    background-color: transparent;  /* background colour of more online section */
    padding: 0% 0% 4% 0%;
    white-space: nowrap;
    overflow: hidden;
  }

  .moreonline {
    margin-left: 1.8em;
    padding: 0 5% 3% 2%;
    font-weight: 500;  
  }

  input[type='checkbox'] {    /* hides the 'view' button checkbox */  
    display: none;
  }

   input[type=checkbox]:checked ~ label:before {
    border-left: .7em solid transparent;
    border-top: .7em solid green;  /* view more triangle - on click */
    border-right: .7em solid transparent;
    margin-left: -.7em;
    margin-top: -.6em
  }

  #toggle:checked ~ div.hidden {
    display: block;
    overflow: hidden;
    -webkit-transform: scaleY(1);
    -moz-transform: scaleY(1);
    -o-transform: scaleY(1);
    -ms-transform: scaleY(1);
  }

  label {
    position: relative;
  display: inline;
  padding-left: 15px;
    cursor: pointer;
    padding: 2px 5px;
    font-family: 'Arial';
    font-size: 80%;
    font-weight: bold;
  }

  label:before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  top: 50%;
  left: 0px;
  border-left: .6em solid white;  /* view more triangle */
  border-top: .6em solid transparent;
  border-bottom: .6em solid transparent;
  margin-top: -.8em;
}

.desc {
  margin-left: 4%;
  font-size: 70%;
}

  div.hidden {
    display: none;
    -webkit-transform: scaleY(0);
    -moz-transform: scaleY(0);
    -o-transform: scaleY(0);
    -ms-transform: scaleY(0);
    -webkit-transform-origin: center top 0;
    -moz-transform-origin: center top 0;
    -o-transform-origin: center top 0;
    -ms-transform-origin: center top 0;
    padding: 2% 0 0 6%;
    overflow: hidden;
  }

  .main{    /* Minimum height of main viewing area */ 
    min-height: 16em;
  }

  .face{
    max-width: 12%;
  }

  .face img{
    max-width:100%;
    max-height:100%
  }

  .lh-sm {
    line-height: 1.2 !important;
  }

  .p-1 {
    padding: .25rem !important;
  }

  .ms-1 {
    margin-left: .25rem !important;
  }

  .ps-1 {
    padding-left: .35rem !important;
  }

  .ps-2 {
    padding-left: .35rem !important;
  }

  .ps-3 {
    padding-left: 6% !important;
  }

  .mx-1 {
    margin-right: .25rem !important;
    margin-left: .25rem !important;
  }

  .avatar-link{
    position: relative;
    display: inline-block;
  }

  .avatar {
    background: rgba(15, 28, 63, 0.125);
    border-radius: 50%;
    height: 1.00em;
    object-fit: cover;
    width: 1.00em;
  }

  .dnd {
    border: 0.12em solid #1a2a3b;
    border-radius: 50%;
    height: 0.55em;
    position: absolute;
    right: -0.1em;
    bottom:  -0.05em;
    width: 0.55em;
    background-color: #f5444b;
    line-height: 0.1em;
    text-align: center;
  }

  .dnd:after {
    color: #000;
    content: ' \002D';
    position: absolute;
    right: 0.08em;
    top:  0.05em;
    font-size: calc(1.5vw + 0.5vh + 1vmin); 
  }

  .idle {
    border: 0.12em solid#1a2a3b;
    border-radius: 50%;
    height: 0.55em;
    position: absolute;
    right: -0.1em;
    bottom:  -0.05em;
    width: 0.55em;
    background-color: #fda43f;
  }

  .online {
    border: 0.12em solid #1a2a3b;
    border-radius: 50%;
    height: 0.55em;
    position: absolute;
    right: -0.1em;
    bottom:  -0.05em;
    width: 0.55em;
    background-color: #32a67c;
  }

  .voice { 
    margin-left: 3%;
  }

  img.voice { 
    width: 8%;
    vertical-align: middle;
 }

 .letter {   /*  Zzz animation when there are no users */ 
        position: relative;
        top: -webkit-calc(50% - 60px);
        top: calc(50% - 60px);
        text-shadow: 0px 0px 3px white;
    }
    .letter:nth-child(1) {
        -webkit-animation: fade 4s infinite 200ms;
        animation: fade 4s infinite 200ms;
    }
    .letter:nth-child(2) {
        -webkit-animation: fade 4s infinite 400ms;
        animation: fade 4s infinite 400ms;
    }
    .letter:nth-child(3) {
        -webkit-animation: fade 4s infinite 600ms;
        animation: fade 4s infinite 600ms;
    }
    .letter:nth-child(4) {
        -webkit-animation: fade 4s infinite 800ms;
        animation: fade 4s infinite 800ms;
    }
 
    @-webkit-keyframes fade {
        50% {
            opacity: 0.02;
        }
    }
 
    @keyframes fade {
        50% {
            opacity: 0.02;
        }
    }

    @media only screen and (max-width: 160px) {
      .desc {
        font-size: 70%;
      }
    }
