p {
    margin:1%;
}
button {
    cursor: url('pointing.png'), pointer;
}
#credits {
    display: none;
    color: #5d64a8;
    z-index: 6;
    position: absolute;
    font-size: 7.5vh;
    text-align: center;
    font-family: "Special Elite", 'Times New Roman';
    top: 20%;
    left: 16%;
}
#screen {
    position: relative;
    aspect-ratio: 16/9;
    height: auto;
    overflow: hidden;
    display: none;
}
#menu {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    position: absolute;
    top:0;
    width: 100%;
    height: 3.5%;
    z-index: 1;
}
#pause {
    font-size: 2vh;
    text-align: end;
    width: 2%;
    height: 100%;
    margin: 0.5%;
    z-index: 1;
}

#menubox {
    display: none;
    position: absolute;
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    z-index: 2;
    background-color: #5d64a8;
    border:0.5vh solid white;
    box-sizing: border-box;
}

#menustuffs {
    width: 100%;
    height: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#quitscreen {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 80%;
}
#quitscrnbuttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 5%;
    font-size: 3vh;
}
#confirmquit, #cancelquit {
    margin : 2%;
    font-size: 3vh;
}
#quitgame {
    font-size: 3vh;
    margin: 3%;
}
#closemenubutton {
    margin: 2%;
    font-size: 3vh;
}
#menuheader {
    font-family: "Special Elite", 'Times New Roman';
    color: white;
    font-size: 4vh;
    margin: 1%;
}
#skipanimheader, #volumeheader {
    font-family: "Special Elite", 'Times New Roman';
    color: white;
    font-size: 3vh;
    margin: 2%;
}
#volumecontrol, #skipanim {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 90%;
}
#volume {
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    height: 2.5%;
    width: 60%;
    background: black;
    cursor: url('default_none.png'), pointer;
}
#volume::-webkit-slider-thumb:active {
    cursor: url('grab.png'), pointer;
}

#skipanimcheckbox {
    cursor: url('pointing.png'), pointer;
}

#bg {
    position: absolute;
    top: 0;
    width: auto;
    height: 100%;
    z-index: 0;
}
#shadow1 {
    position: absolute;
    display: block;
    top: 0;
    height: 100%;
    opacity: 1;
    z-index: 2;
    transition-timing-function: ease-in;
    transition: opacity 3s;
}
#shadow2 {
    position: absolute;
    display: none;
    top: 0;
    height: 100%;
    opacity: 0;
    z-index: 2;
    transition-timing-function: ease-in;
    transition: opacity 0.3s;
}
#iceoverlay {
    position: absolute;
    display: none;
    top: 0;
    height: 100%;
    z-index: 0;
    opacity:0;
}
#shadow {
    position: absolute;
    display: none;
    top: 0;
    height: 100%;
    opacity: 0.5;
    z-index: 1;
}
/* to place objs, figure out hieght and left right positions(%) top / bottom by necessity*/
#objects {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
#movebuttons {
    display: block;
    width: 100%;
    height: 100%;
}
#leftbutton, #rightbutton {
    position: absolute;
    display: none;
    height: 10%;
    top: 44.5%;
    cursor: url('pointing.png'),pointer;
}
#upbutton, #downbutton {
    width: 5%;
    right: 47%;
    position: fixed;
    display: none;
    cursor: url('pointing.png'),pointer;
}
#upbutton {
    top: 5%;
}
#downbutton {
    bottom: 5%
}
#rightbutton {
    right: 15%;
}
#leftbutton {
    left: 15%;
}
#controlbar {
    width:0%;
    height:25%;
    display: none;
    position: absolute;
    top: 70%; 
    left: 7%; 
    right: 7%;
    z-index: 3;
    border: 0.5vh solid black;
    background-color: white;
    transition: width 0.5s;
    transition-timing-function: ease-in;
}
#textbox {
    width:95%
}
#textboxtxt {
    font-size : 3vh;
    margin: 1%;
}
#nextbutton {
    display: none;
    position: absolute;
    width: 3%;
    height: 30%;
    top: 35%;
    right: 1%;
    cursor: url('pointing.png'),pointer;
}
#choicebox {
    height:98%;
    width:100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    margin-top: 0.25%;
}
#choiceboxrow1, #choiceboxrow2 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    align-self: center;
    width:100%;
    height: 48%;
}
#opt0, #opt1, #opt2, #opt3 {
    box-sizing: border-box;
    height: 100%;
    width: 49.5%;
    font-size: 1.75vw;
}