body {
    background: #000900;

    /* Prevent the ugly blue highlighting from accidental selection of text */
    user-select: none;

    /* Disable long touch hold select */
    -webkit-touch-callout: none !important;

    overflow: hidden;
}

.divMenuGrid {
    position:absolute;
    height:25%; width:40%;
    background-size: cover;
    /**/
   border-color:lavender;
    border-width: 0px;
    border-style:dotted;

}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    left:50%;
/*    -ms-transform: translateY(-50%);
    transform: translateY(-50%);*/
    transform: translate(-50%, -50%);
    transform-origin: center center;
  }

#wrapper {
    /* Wrapper covers entire window height and width */
    position:absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    right: 4px;
    background: url("images/blackboard.jpg");
    background-size: cover;
    /**/
   border-color:white;
    border-width: 2px;
    border-style: solid;
}

#gamecontainer {

    /* Set game container width, height and background */
    width: 640px;
    height: 480px;

    /* Use a wider splash screen and center it within the container */
    background: url("images/splashscreenwide.png");
    background-position: center;
    background-repeat: no-repeat;

    /* Center the game container relative to outer wrapper */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transform-origin: center center;
}

.gamelayer {
    width: 100%;
    height: 100%;
    position: absolute;
    display: none;
}

/* Game Starting Menu Screen */

#gamestartscreen {
    padding-top: 250px;
    text-align: center;
}

#gamestartscreen img {
    margin: 10px;
    cursor: pointer;
}

/* Level Selection Screen */

#levelselectscreen {
    padding-top: 150px;
    padding-left: 50px;
}

#levelselectscreen input {
    margin: 20px;
    cursor: pointer;

    background: url("images/icons/level.png") no-repeat;
    color: yellow;
    font-size: 20px;

    width: 64px;
    height: 64px;

    border: 0;

    /* Remove the default blue border when an input is selected */
    outline: 0;
}

/* Loading Screen */

#loadingscreen {
    background: rgba(100, 100, 100, 0.5);
}

#loadingmessage {
    margin-top: 400px;
    text-align: center;
    height: 48px;
    color: white;
    background: url("images/loader.gif") no-repeat center;
    font: 12px Arial;
}

/* Score Screen */

#scorescreen {
    height: 60px;
    font: 32px "Comic Sans MS";
    text-shadow: 0 0 2px black;
    color: white;
}

#scorescreen img {
    opacity: 0.6;
    top: 5%;
    left: 5%;
    position: relative;
    padding: 8px;
    cursor: pointer;
}

#score {
    position: absolute;
    top: 5%;
    right: 5%;
}

/* Ending Screen */

#endingscreen {
    text-align: center;
    background: rgba(1, 1, 1, 0.3);
}

#endingscreen div {

    /* Center the popup div within the screen */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transform-origin: center center;


    height: 250px;
    width: 330px;

    border: 1px solid gray;
    border-radius: 25px;
    background: rgba(1, 1, 1, 0.3);

    padding: 10px 30px 40px 50px;

    text-align: left;
}

.endingoption {
    font: 20px "Comic Sans MS";
    text-shadow: 0 0 2px black;
    color: white;
}

#endingscreen p img {
    top: 10px;
    position: relative;
    cursor: pointer;

    padding-right: 20px;
}

#endingmessage {
    font: 25px "Comic Sans MS";
    text-shadow: 0 0 2px black;
    color: yellow;
    text-align: center;
}



  .videoIntro {
    position: absolute;
    left: 50%;
    top: 10%;
    width:80%;
    height:60%;
    border: 6px solid black;
    border-radius: 25px;
    transform:translateX(-50%);
    /*
    transition-duration: 5s;
    transition-delay:2s;
    transform:scale(1);
    transform-origin: center center;
    */
    
}

.footerTxt{
    position:fixed;
    bottom:120px;
    height:10%; 
    width:100%;
    background-size: cover;
    background-color:Transparent;
    color: whitesmoke;
    /**/
    border-color:lavender;
    border-width: 0px;
    border-style:dotted;
    vertical-align: middle;
   
}
.headerTxt{
    position:fixed;
    height:10px; 
    width:100%;
    background-size: cover;
    background-color:Transparent;
    color: whitesmoke;
    /**/
    border-color:lavender;
    vertical-align: top;
  
}

.butNextPrev {
    /*background-color: #f4511e;*/
    background-color: black;    /*Transparent*/        
    border: 1px solid grey;
    color: white;
    padding: 4px 8px;
    text-align: center;
    font-size: 26px;
    margin: 2px 2px;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}
.butNextPrev:hover{background-color: greenyellow;color: black;}


.butMenu {

    /*background-color: #f4511e;*/
    background-color: Transparent;            
    border: 2px solid white;
    width: 90%;
    height: 40%;
    color: white;
    padding: 16px 32px;
    text-align: center;
    font-size: 5vh;
    margin: 4px 2px;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    transition-duration: 0.1s;
    font-family: 'Fredericka the Great', cursive;
    /*font-family: 'Henny Penny', cursive;
    font-family: 'Permanent Marker', cursive;
    font-family: 'Satisfy', cursive;*/
}
.butMenu:hover{background-color: greenyellow;}

        .gl1 {
            margin: 0;
            position: absolute;
            top: 50%;
            -ms-transform: translate(0px, -50%);
            transform: translate(0px, -50%); 
            text-align: left;
            color:gainsboro;
            /*border: 1px solid green;*/
            font-family: 'Permanent Marker', cursive;        
        }


.divBackNext{    
            position: absolute;
            bottom: 0;
            left: 0;
        }