html {

    background-color: black;
    background-size:cover;
    background-image: url(nn_background.png);
    background-repeat: no-repeat;
    height:100%;
}

body {
    font-weight:600;
    font-size: 1em;
    margin:left;
    padding: 1em 1em -1em 2em;
}

@font-face {
  font-family: SourceSansPro;
  src: url(sourcesanspro/SourceSansPro-Semibold.ttf);
}


h1 {
    font-size: 40px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h2:hover{
    font-size:35px;
}

h2 {
    /*place holder*/
    animation: cubic-bezier(0, 0.82, 0.165, 1) 0.5s;
    font-size:32px;
    margin:0.5em 0 0 0;
    opacity:0.7;
    /* -- */
    cursor:pointer;
    transition:0.05s;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
    color:#c4c4c4;
}

h1, h2, h3, p {
    color:white;
}

h2, h3, p, a {
    font-family: SourceSansPro;
}

sup {
    color:darkgray;
    font-size: x-small;
}

sup:hover {
    color:lightgray;
    cursor:pointer;
}

#game_menu {
    width:400px;
    padding:2em;
    padding-left:3em;
}

#logo_title {
    
    display: inline-flex;
    padding: 2em;
}

#logo {
      animation: none 1s cubic-bezier(0,0.2,0.58,1);
}


/* vhs lines */

.lines {
position: fixed;
left: 0;
top: 0;
width: 100vw;
height: 100vh;
pointer-events: none;
z-index: 300;
opacity: 0.15;
}
 
.lines:before {
content: '';
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
pointer-events: none;
background: linear-gradient(to bottom, transparent 70%, rgba(35, 125, 255, 0.89) 51%);
background-size: 100% 4px;
will-change: background, background-size; animation: scanlines 0.2s linear infinite;
}


 
@keyframes scanlines {
from {
background: linear-gradient(to bottom, transparent 10%, rgba(0, 0, 0, .5) 51%); background-size: 100% 4px; }
to {
background: linear-gradient(to bottom, rgba(0, 0, 0, .5) 50%, transparent 51%);
background-size: 100% 4px;
}
}
@media only screen and (max-width: 600px);

/* end of vhs lines */

/* scrollbar */
  /* Firefox */
  * {
    scrollbar-width: auto;
    scrollbar-color: #ffffff #000000;
  }

  /* Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 16px;
    opacity:0.8;
  }

  *::-webkit-scrollbar-track {
    background: #000000;
    opacity:0.8;
  }

  *::-webkit-scrollbar-thumb {
    background-color: #ffffff;
    border-radius: 10px;
    border: 3px solid #ffffff;
    opacity:0.8;
  }

::selection {
/* Change highlight background color */
background: white;
/* Change highlight text color */
color: black;
}


img {
    background: transparent;
     -khtml-user-select: none;
    -o-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
    -webkit-filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.59));
    filter:box-shadow(0 0 2px rgba(0, 0, 0, 0.59));
    animation: fade 1s cubic-bezier(0,0.2,0.58,1);
     ;
    
}   

.resource {
    pointer-events: all;
    cursor: pointer;
}

@keyframes fade {
    0% {
        -webkit-filter: opacity(0%);
        filter: opacity(0%);
    }
    100% {
        -webkit-filter: opacity(100%);
        filter: opacity(100%);
    }
}

.pagedoll {
    position:fixed;
    right:1em;
    bottom:1em;
    
}

#pagedoll {
    height:140px;
    width:160px;
        animation: none 1s cubic-bezier(0,0.2,0.58,1);
}

.img-infinitebouncehover {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}
 
.img-infinitebouncehover:hover {
  -webkit-animation-name: bounces;
  animation-name: bounces;
}
 
@-webkit-keyframes bounces {
  0%, 100%, 20%, 50%, 80% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}
 
@keyframes bounces {
  0%, 100%, 20%, 50%, 80% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

.menu_and_serverlist {
    margin-bottom: 0.5em;
}

.container {
    border-radius: 8px;
    padding: 1em 0.5em 0.8em 0.5em;
    background-color: black;
    opacity:70%;
}

.menu {
    width: 448px;
}

.back {
    position: fixed;
    left:16em;
    top:9em;
    width:4em;
    height:4em;
    background-color: black;
    border-radius: 8px;
    border: solid, 2px ,rgba(255, 255, 255, 0.41);
    opacity:70%;
}

#info {
    width: 330px;
    max-height:495px;
    margin-left:1em;
    text-align: center;
}

#info02 {
    width: 330px;
    height:495px;
    margin-left:1em;
    text-align: center;
    overflow-x:hidden;
    overflow-y:scroll;
}

#box {
    border-radius: 8px;
    border: solid, 2px ,rgba(255, 255, 255, 0.41);
    padding: 1em 0 0 0;
    opacity: 1;
  transition:0.3s;
}

.button01 {
    height:227px;
    width:440px;
}

.buttonrow2 {
    height:227px;
    width:240px;
    margin-top:0.5em;
}

.boxtitle {
    text-align: center;
    background-image: linear-gradient( rgba(0, 0, 0, 0.6), black);
    width: auto;
    padding-top:0.2em;
    border-radius:0.5em 0.5em 0 0;
    opacity:0.9;
}

.boxtitle:hover {
    font-size:20px;
    height:calc(+1em);
    padding-bottom: 0.2em;
    transition: 0.1s;
}


#about {
    width:491px;
    height:200px;
}

#thoughts {
    width:240px;
    height:200px;
}

#links {
    width:240px;
    height:200px;
}

.serverboxtitle {
    text-align: center;
    margin: 0.3em 0 0 0;
}

.serverlist {
    opacity:50%;
    height:30px;
    border-radius: 8px;
    padding:0.2em 0 0 0;
    background-color: #0092c3;
    border: 2px solid grey;
    transition:0.3s;
    margin: 0.5em 0.5em 0 0

}

/* hovers and onclicks */

#box:hover {
  cursor:pointer;
  background-color: rgba(240, 248, 255, 0.16);
  transform: scale(0.99); 
  filter:brightness(160%);    
}

.serverlist:hover {
  cursor:pointer;
  background-color: #00a9e1;
  transform: scale(0.99); 
}

.overlay {
background: #5779ff24;
-webkit-mask-image: url(nn_blur.png);
-webkit-mask-size: 104% 100%;
-webkit-mask-repeat: no-repeat;
-webkit-mask-position: center;
 
}


h1 {
    margin-left:1em;
    padding:0.5em;
}