body {
    background-color: black;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    cursor: url('default_none.png'),pointer;
    overflow: hidden;
}
button{
    font-size: 3vh;
    font-family: buttonfonts;
    border: 0.5vh solid black;
    background-color: white;
    color: black;
    padding: 1vh;
    margin: 1vw;
    height: fit-content;
    cursor: url('pointing.png'), pointer;
}
button:hover{
    background-color: black;
    color: white;
}
button:disabled{
    background-color: white;
    color: grey;
    border: 0.5vh solid grey;
    cursor:  url('default_blocked.png'),pointer;
}
button:enabled:active {
    border: 0.5vh solid white;
}
p {
    font-family: textfonts;
}
@font-face {
  font-family: buttonfonts;
  src: url(Ronysiswadi10Light-GODwG.ttf);
}
@font-face {
    font-family: headerfonts;
    src: url(Ronysiswadi10Bold-JRDdj.ttf);
}
@font-face {
    font-family: textfonts;
    src: url(Ronysiswadi10-jEenG.ttf);
}
#screen {
    position: relative;
    aspect-ratio: 16/9;
    height: auto;
    background-color: white;
    /*background-image:url("bgstill.png");
    background-repeat: no-repeat;
    background-size :cover;*/
    overflow: hidden;
}
#loadingscrn {
    background-color: black;
    position: absolute;
    height: 100vh;
    width: 100%;
    z-index: 5;
    display: flex;
    justify-content: center;
    opacity: 1;
    transition: opacity 1s;
    transition-timing-function: ease-in;
    top: 0;
    left: 0;
}
#loadingscrn1 {
    background-color: black;
    position: absolute;
    height: 100vh;
    width: 100%;
    z-index: 5;
    display: none;
    opacity: 0;
    transition: opacity 1s;
    transition-timing-function: ease-out;
}
#clicktostart {
    color: white;
    font-size: 10vw;
    margin: auto;
}
@keyframes fadeout {
    0% {opacity: 1;}
    100% {opacity: 0;}
}
#menu1 {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transition: left 1s;
    transition-timing-function: ease-in-out;
    background-image: url("menu1.png");
    background-repeat: no-repeat;
    background-size: cover;
}
#menubuttons {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 15%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
#mainbuttons {
    display: flex;
    flex-direction: row;
    width: 45%;
}
#otherbuttons {
    display: flex;
    flex-direction: row-reverse;
    width: 45%;
}
#playbutton, #optionsbutton, #creditsbutton, #logbutton,#closebutton, #guidebutton, #closebutton1 {
    font-size: 4.5vh;
}
#closebutton1 {
    margin-left: 3%;
}
#menu2 {
    position: absolute;
    width: 100%;
    height: 100%;
    left:-100%;
    top:0;
    display: block;
    transition: left 1s;
    transition-timing-function: ease-in-out;
}
#menu2button, #menu3button {
    position: absolute;
    bottom: 0;
    width:100%;
    height: 15%;
    display: flex;
    flex-direction: row-reverse;
}
#menu3button {
    flex-direction: row;
}
#closebutton {
    margin-right: 3%;
}
#optiontray {
    display: flex;
    position: absolute;
    top : 7%;
    left: 5%;
    width: 30%;
    height: 87%;
    border: 0.25vw solid black; 
    flex-direction: column;   
}
#trayheader{
    font-family: headerfonts;
    font-size: 5vh;
    margin: 2vh;
    text-decoration: underline;
    align-self: center;
}
#guideheader {
    font-family: headerfonts;
    text-decoration: underline;
    font-size:5vh;
    margin: 0;
    width: 100%;
    text-align: center;
}
#tray1, #tray2, #tray3 {
    display: none;
}
#tray1,#tray2 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}
#stage1button, #continuebutton, #endlessbutton {
    width: 70%;
}
#continuebutton {
    display: none;
}
#volbox{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}
#volopt {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 2%;
}
#vollabel, #animlabel {
    font-size: 3vh;
}
#volume {
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    height: 1%;
    width: 60%;
    background: black;
    cursor: url('default_none.png'), pointer;
}
#volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height : 3000%;
    width: 18%;
    background: url('mag1.png');
    background-size: cover;
    background-repeat: no-repeat;
    cursor: url('default_none.png'), pointer;
}
#volume::-webkit-slider-thumb:active {
    cursor:url('grab.png'), pointer;
    background: url('mag.gif');
    
}
#voltext {
    opacity: 0;
    width: 90%;
    text-align: center;
}
#animbox {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}
#animopt {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 25%;
    margin: 2%;
}
#skipbutton {
    font-size: 2vh;
    font-family: headerfonts;
    margin: 2%;
    cursor: url('pointing.png'), pointer;
}
#skiptext {
    opacity: 0;
    width: 90%;
    text-align: center;
}
#tray3 {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#credtxt {
    width: 96%;
    font-size: 2.5vh;
    text-align: center;
    margin: 2%;
}
#menu3 {
    position: absolute;
    width: 100%;
    height: 100%;
    right: -100%;
    top:0;
    display: block;
    transition: right 1s;
    transition-timing-function: ease-in-out;
}
#guide,#log {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
#tray4 {
    display: flex;
    position: absolute;
    top : 7%;
    right: 3%;
    width: 60%;
    height: 87%;
    border: 0.25vw solid black; 
    flex-direction: column; 
    justify-content: right;
}
#demotxt{
    width: 96%;
    margin: 2%;
    font-size: 2vh;
    text-align: center;
}
#demos {
    width: 100%;
    height: 40%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.demo {
    height: 60%;
    width:auto;
    margin-right: 2%;
    margin-top: 2%;
}
#logheader {
    font-family: headerfonts;
    font-size: 5vh;
    margin-right: 0;
    margin-top: 1%;
    margin-bottom: 1%;
    margin-left: 74%;
    text-decoration: underline;
}
#logbar, #logcontent {
    width: 100%;
}

#logbar {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}
#line {
    position: absolute;
    top:-85%;
    width: 100%;
    height: 100%;
    border: 0.55vh solid black;
    border-top: 0;
    border-right: 0;
    border-left: 0;
}
#weap, #ult, #sp, #eff, #ene {
    z-index: 1; 
    margin: 0;
    font-size: 2.5vh;
    border: 0.5vh solid black;
    border-right: 0;
    color: white;
    background-color: black;
}

#weapcontent, #ultcontent, #spcontent, #effcontent, #enecontent {
    display: none;
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
}

#weapcontent {
    display: flex;
}
#logbody{
    width: 100%;
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: scroll;
}
.weapbox {
    display: flex;
    width: 96%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: left;
    border-bottom: 0.3vh solid black;
    border-right: 0;
}

.weapheader {
    font-family: headerfonts;
    font-size: 2.5vh;
    margin-top: 1%;
    margin-bottom: 1%;
    padding:1%;
}
.weapboxbody {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    padding-bottom: 2%;
}
.weapimg {
    width: 20%;
    height: auto;
}
.weaptxt {
    font-size:1.9vh;
    margin:auto;
    margin-left: 3%;
}
.bugskins {
    display: flex;
    width: 20%;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap-reverse;
}

