@-moz-document url-prefix() {
  div{
    scrollbar-color: rgba(205, 216, 216, 0.265) rgba(91, 91, 91, 0) !important;
    scrollbar-width: thin !important;
  }
}

::-webkit-scrollbar {
  background: transparent; /* Chrome/Safari/Webkit */
  width: 0px;
}


/* ---- hiiiiiiiii ---- */

body{
    padding:0px;
    margin:0 auto;
    height:100%;
    width:100%;
}

p{
    color:rgb(255, 255, 255);
    padding:5px;
    font-size:0.9em;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}

h4{
  padding:0;
  margin:0 auto;
  margin-top:-5%;
  font-size:0.7em;
  font-family:Verdana, Geneva, Tahoma, sans-serif;
}

h2{
  z-index: 2;
  font-size:1.1em;
  margin: 5px 0px 10px 0px;
  font-family:sans-serif;
}

hr{
  color:rgba(255, 255, 255, 0.669);
  margin-top:5%;
}

#testnav ul {
    padding-left: 6px;
    list-style: none;
  }
  
  .lp{
    margin-left:3px;
    margin-top:0;
    padding-top:5px;
    font-size:0.55em;
  }
    
#testnav  li {
    cursor:pointer;
    position: relative;
    font-size:1em;
    padding-bottom:2px;
    padding-left: 20px;
    height: 30px;
    color: rgb(235, 235, 235);
    text-shadow: 0px 0 1px;
    font-size:1.2em;
    z-index: 2;
    text-align:left;
    white-space: nowrap;
  }
  
#testnav  li:before {
    position: absolute;
    top: 15px;
    left: 0;
    width: 20px;
    height: 1px;
    content: '';
    background-color: #ffffff;
  }
  
#testnav  li:after {
    position: absolute;
    top: -12px;
    bottom: 0;
    left: 0;
    width: 1px;
    height: 60px;
    content: '';
    background-color: #ffffff;
  }
  
 #testnav li:last-of-type:after {
    height: 10px;
  }


 th, td{
    border: 1px solid; 
    padding:7px;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    font-size: 0.8em;
    }

  table{
    border-collapse: collapse;
    width:fit-content;
    max-width:60%;
    margin:2%;

  }
  .right{
    margin:0 auto;
  }
  .left{
    margin:0 auto;
  }
  .center{
    margin:0 auto;
  }
  #entryspace{
    width:100%;
    height:100%;
    overflow-y:scroll;
  }
  .entry p{
    width:90%;
    margin-left:5%;
  }
  .entry ul{
    list-style-type:'-';
    text-align:left;
    width:70%;
    margin-left:15%;
    padding-left:5px;
  }
  .entry li{
  padding:0px 0px 5px 5px;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    font-size:0.9em;
  }
  .microblog{
    margin:10px;
    padding:10px;
    background:red;
  }
  #entryPad{
    width:100%;
    height:40%;
  }
  
  .topbtn{
    width:80%;
    max-width:200px;
    padding:0px;
    font-size:0.9em;
    border:2px dotted;
    border-radius: 5px;
    border-color:rgba(206, 210, 211, 0.363);
    background-color: rgba(0,0,0,0);
    color:white;
    text-wrap: nowrap;
    overflow:hidden;
    margin: 0 auto;
  
  }
  #audioplay{
    background:#dfdfdf00;
    border-radius:5px;
    border:2px dotted;
    scale:0.8;
    border-color:rgba(206, 210, 211, 0.363);
    color:rgba(245, 247, 247, 0.747);
  }

  .windowGrade{
    border-left: 2px solid  rgba(158, 158, 165, 0.459);
    border-right: 2px solid  rgba(186, 183, 193, 0.242);
    border-top:0px;
    border-radius: 40px 40px;
    position: relative;
    z-index: 0;
    max-width: 1100px;
    overflow-y:scroll;
    background:  linear-gradient(0deg,
                                    rgb(151, 156, 181) 0%,
                                    rgba(223, 220, 237, 0.258) 0.3%, 
                                    rgba(196, 193, 219, 0.08) 0.4%,
                                    rgba(181, 176, 201, 0.205) 0.68%,
                                    rgba(206, 214, 230, 0.016) 1.1%,
                                    rgba(213, 209, 224, 0.059) 99.2%,
                                    rgba(233, 215, 239, 0.235) 99.9%,
                                    rgba(217, 217, 234, 0.543) 100%);
    border-radius: 10px;
  }

  .fade{
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
    -webkit-mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position:  left bottom;

    mask-image:linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
    mask-position:  left bottom;

  }
  .fadetop{
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 95%, rgba(0,0,0,0) 100%);
    -webkit-mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position:  left bottom;

    mask-image:linear-gradient(to top, rgba(0,0,0,1) 95%, rgba(0,0,0,0) 100%);
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
    mask-position:  left bottom;

  }
 
img{
  width:50%;
  height:auto;
}


/* ---- IDS ---- */


#canvas{
    width:100%;
    height:100%;
    margin:0;
    padding:0;
    position:fixed;
    z-index:-1;
}

#testbody{
    position: absolute;
    text-align: center;
    font-size: 0.8em;
    color: white;
    top: 10%;
    right: 22%;
    width: 35%;
    max-width: 700px;
    height: 60%;
    z-index:2;
}

#testnav{
    position: absolute;
    text-align: center;
    font-size: 1em;
    color: white;
    /* transform-origin: 100% 300%;
    transform: perspective(35cm) rotateY(10deg); */
    top: 22%;
    right: 61%;
    width: 10%;
    max-width:300px;
    max-height: 25%;
    z-index:2;
    padding:10px;
}
#underlanding{
  font-size:0.7em;
  float:left;
  width:100%;
  padding:5px;
  text-align:center;
}

#buttontxt{
  padding:none;
  margin: 0 auto;
  font-size:0.85em;
  text-align: center;
  width:auto;
}

a{
  color:rgb(245, 234, 172);
  text-decoration:none;
  font-size:0.75em;
  font-family:Verdana, Geneva, Tahoma, sans-serif;
}

#sitedir{
  width:45%;
  height:15%;
  max-height:150px;
  margin: 0 auto;
  float:right;
  overflow:scroll;
  padding:5px;
  padding-top:20px;
}

#sitedirborder{
  margin-top:10px;
  margin-bottom:-5px;
  width:91%;
}

#fps {
  position: absolute;
  background-color: black;
  border: 2px solid red;
  text-align: center;
  font-size: 16px;
  color: white;
  top: 1%;
  right: 15%;
  width: 6%;
  height: 2%;
  z-index:2;
}



/* This was directly robbed from W3Schools: https://www.w3schools.com/howto/howto_css_dropdown_navbar.asp */
.navbar {
  display:none;
  position: absolute;
  z-index:2;
  width:100%;
  overflow: hidden;
  background-color: #333;
  font-family: Arial;
  border-top:0px;
  background: rgba(0, 0, 0, 0);
  /* background:  linear-gradient(0deg,
                                  rgb(151, 156, 181) 0%,
                                  rgba(223, 220, 237, 0.258) 0.3%, 
                                  rgba(196, 193, 219, 0.08) 0.4%,
                                  rgba(181, 176, 201, 0.205) 0.68%,
                                  rgba(206, 214, 230, 0.016) 1.1%,
                                  rgba(213, 209, 224, 0.059) 99.2%,
                                  rgba(233, 215, 239, 0.235) 99.9%,
                                  rgba(217, 217, 234, 0.543) 100%); */
  overflow-x:hidden;

}

.dropdown {
  float: right;
  overflow: hidden;
  z-index:2;
}

.navp{
  display:inline;
}
.dropdownlp{
  color:rgb(66, 66, 66);
}

.dropdown .dropbtn {
  z-index:2;
  font-size: 1em;
  border: none;
  outline: none;
  color: white;
  padding: 10px 30px 10px 40px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

.dropdownlp:hover, .dropdown:hover .dropbtn {
  background:  linear-gradient(0deg,
                              rgb(151, 156, 181) 0%,
                              rgba(223, 220, 237, 0.458) 0.3%, 
                              rgba(196, 193, 219, 0.2) 0.4%,
                              rgba(181, 176, 201, 0.4) 0.68%,
                              rgba(206, 214, 230, 0.2) 1.1%,
                              rgba(213, 209, 224, 0.1) 99.2%,
                              rgba(233, 215, 239, 0.4) 99.9%,
                              rgba(217, 217, 234, 1) 100%);
                              border-left: 2px solid  rgba(186, 183, 193, 0.242);
}

.dropbtn{
  background:  linear-gradient(0deg,
  rgb(151, 156, 181) 0%,
  rgba(223, 220, 237, 0.514) 0.3%, 
  rgba(196, 193, 219, 0.521) 0.4%,
  rgba(181, 176, 201, 0.29) 0.68%,
  rgba(206, 214, 230, 0.333) 1.1%,
  rgba(213, 209, 224, 0.486) 99.2%,
  rgba(233, 215, 239, 0.626) 99.9%,
  rgba(217, 217, 234, 1) 100%);
  border-left: 3px solid  rgba(186, 183, 193, 0.667);
  border-radius: 0px 0px 0px 15px;

}

.dropbtn:hover{
  border-radius: 0px 0px 0px 0px;
}

.dropdown-content {
  display: none;
  position: fixed;
  background:  linear-gradient(0deg,
                            rgb(151, 156, 181) 0%,
                            rgba(223, 220, 237, 0.7) 0.3%, 
                            rgba(196, 193, 219, 0.85) 0.4%,
                            rgba(181, 176, 201, 0.6) 0.68%,
                            rgba(206, 214, 230, 0.6) 1.1%,
                            rgba(213, 209, 224, 0.6) 99.2%,
                            rgba(233, 215, 239, 0.6) 99.9%,
                            rgba(217, 217, 234, 1) 100%);
  z-index: 2;
  width:100%;
  border-radius:0 0 0 10px;
  
}

.dropdown-content .dropdownlp {
  float: none;
  color: rgb(50, 50, 50);
  text-decoration: none;
  display: block;
  text-align: left;
  font-size:0.8em;
}

.dropdown-content .dropdownlp:hover {
  z-index:2;
  color: #fffff4;
}

.dropdown:hover .dropdown-content {
  z-index:2;
  display: block;
}

.dropdown:hover .dropbtn {
  border-radius: 0px 0px 0px 0px;
}

#inner{
  float:right;
  margin-top:-5px;
  margin-right:5%;
}
.leavelp{
  font-size:0.8em;
  display:none;
}




@media only screen and (max-width: 1024px){

  #holder{
    display:flex;
    flex-wrap:wrap;
    flex-direction: row;
    margin:0 auto;
    padding:0px;
    height:100vh;
    width:100vw;
    }

    #testnav{
      visibility: hidden;
    }

    .navbar{
      display:block;
    }
    .topbtn{
      margin-left:1%;
      margin-top:1%;
      scale:0.9;
    }

  #testbody{
    position:static;
    order:2;
    width:80%;
    height:70%;
    margin: 0 auto;
    left:0%;
    margin-top:50px;
    z-index:1;
  }
  .leavelp{
    display: block;
  }

}

