
@font-face {
    font-family: sinistre;
    src: url(fonts/Sinistre-S†Caroline.woff),
    url(fonts/Sinistre-S†Caroline.otf);
}
@font-face {
    font-family: jolybolditalic;
    src: url(fonts/JolyDisplay-BoldDisplayItalic.woff),
    url(fonts/JolyDisplay-BoldDisplayItalic.otf);
}

@font-face {
    font-family: jolyregularitalic;
    src: url(fonts/JolyDisplay-RegularDisplayItalic.woff),
    url(fonts/JolyDisplay-RegularDisplayItalic.otf);
}
@font-face {
    font-family: jolyregular;
    src: url(fonts/JolyDisplay-RegularDisplay.woff),
    url(fonts/JolyDisplay-RegularDisplay.otf);
}

@font-face {
    font-family: jolybold;
    src: url(fonts/JolyDisplay-BoldDisplay.woff),
    url(fonts/JolyDisplay-BoldDisplay.otf);
}
  
  ::-moz-selection { /* Code for Firefox */   
    background: transparent;
  }
  ::selection {
    background: transparent;
  }


 body {
     font-family: jolyregular;
     font-size: 1.8vw;
 }

   #ground{
        width: 120%;
        height: 120%;
        position:fixed;
        margin:-100px;
        background-color: white;
        z-index:-10;
    }

 svg {
    width: 100%;
    height: 100%;
    position:fixed;
    z-index: -10;
 }

 .instructions{
    font-family:jolyregularitalic;

 }
    span.instructions_arrow{
    padding-left:40px;
    font-size: 2.4vw;
    font-family:jolybolditalic;
}



div.text_container {
    bottom: 40px;
    left:40px;
    right:40px;
    position:fixed;
    margin: auto; 
    line-height: 1.4em;   
    /*animation-name:text_bottom ;
    animation-duration:1s;*/
}

div.message1{
    animation-name:text_bottom ;
    animation-duration:1s;
}

/* animation*/
.animation_bottom {
    animation-name:text_bottom ;
    animation-duration:1s;
};

@keyframes text_bottom {
    0% {bottom: 40px;}
    25% {bottom: 50px;}
    50% {bottom: 40px;}
    75% {bottom: 50px;}
    100% {bottom: 40px;}
}

.game_bar {
    top:40px;
    right:80px;
    position:fixed;
    border-radius: 25vw;
    padding-left: 10px;
    padding-right: 10px;
    font-family: sinistre;
    background-color: white;
    border: 0.11vw black solid;
    border-radius: 25vw;
    color:black;
    cursor:pointer;
    font-size: 1.4vw;

}

button{
    -webkit-appearance: none;
    background-color: white;
    border: 0.11vw black solid;
    border-radius: 25vw;
    color:black;
    cursor:pointer;
    font-family: jolybolditalic;
}

button:hover{
border: 0.11vw transparent solid;
-webkit-box-shadow: 0px 0px 8px 2px  black;
-moz-box-shadow: 0px 0px 8px 2px  black;
box-shadow: 0px 0px 8px 2px  black;
    
}

span.button_text{
    font-size: 1.6vw;
    padding: 8px;
}

#ned {
    bottom: 25%;
    left: 15%;
    position:absolute ;
    z-index: 1;
}

#ned_flame {
    bottom: 25%;
    left: 17%;
    position:absolute ;
    z-index: 2;
}



#player_img {
    bottom: 24%;
    left: 8%;
    position:absolute ;
    z-index: 0;
}

#pill{
    bottom: 30%;
    left: 12%;
    position:absolute ;
}

/*school staff*/

#table {
    bottom: 50%;
    left: 45%;
    position:absolute ;
    cursor: pointer;
}

#column {
    bottom: 50%;
    left: 47%;
    position:absolute ;
}



div.figure1 {
    top: 20%;
    left: 30%;
    position:absolute ;
}

div.figure2 {
    top: 10%;
    left: 60%;
    position:absolute ;
}

div.figure3 {
    top: 25%;
    right:10%;
    position:absolute ;
}

div.figure4 {
    bottom: 25%;
    left: 54%;
    position:absolute ;
}

div.figure5 {
    bottom: 40%;
    right: 24%;
    position:absolute ;
}


.invert_style{
    filter: invert(100%);
}







/* baloons*/

    .ned_bubble1 {
        left: 23%;
        bottom: 43%;
        position: absolute;
        background: #ffffff;
        color: #000000;
        font-family: sinistre;
        font-size: 16px;
        line-height: 17px;
        text-align: center;
        width: 250px;
        height: 90px;
        border-radius: 10px;
        padding: 18px;
        border: #000000 solid 1px;
    }
    .ned_bubble1:after {
        content: '';
        position: absolute;
        display: block;
        width: 0;
        z-index: 1;
        border-style: solid;
        border-width: 20px 20px 0 0;
        border-color: #ffffff transparent transparent transparent;
        bottom: -20px;
        left: 14%;
        margin-left: -10px;
    }
    .ned_bubble1:before {
        content: '';
        position: absolute;
        width: 0;
        z-index: 0;
        border-style: solid;
        border-width: 21px 21px 0 0;
        border-color: #000000 transparent transparent transparent;
        bottom: -22px;
        left: 14%;
        margin-left: -11px;
        display: block;
    }
    .ned_bubble2 {
        left: 27%;
        bottom: 28%;
        position: absolute;
        background: #ffffff;
        color: #000000;
        font-family: sinistre;
        font-size: 16px;
        line-height: 17px;
        text-align: center;
        width: 250px;
        height: 40px;
        border-radius: 10px;
        padding: 18px;
        border: #000000 solid 1px;
    }
    .ned_bubble2:after {
        content: '';
        position: absolute;
        display: block;
        width: 0;
        z-index: 1;
        border-style: solid;
        border-color: transparent #ffffff;
        border-width: 10px 20px 10px 0;
        top: 39%;
        left: -20px;
        margin-top: -10px;
    }
    .ned_bubble2:before {
        content: '';
        position: absolute;
        width: 0;
        z-index: 0;
        border-style: solid;
        border-color: transparent #000000;
        border-width: 11px 21px 11px 0;
        top: 39%;
        left: -21.5px;
        margin-top: -11px;
        display: block;
    }



  
  /* Track */
  ::-webkit-scrollbar-track {
    background: white; 
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: white; 
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: white; 
  }