html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    touch-action: manipulation
}

#mainPageBody {
    width: 100vw;
    text-align: center;
    background-color: black;
    overflow-x: hidden;
}
#centerMe {
    position:relative;
    width: 1280px;
    height: 800px;
    background-color: black;
    margin: auto;
    display: flex;
    flex-direction: row;
}
#walkingFoodDiv {
    position:absolute;
    top:0px;
    left: 0px;
    right: 0px;
    margin-left: auto;
    margin-right: auto;
    width: 1280px;
    height: 100vh;
}
#experimentName {
    background-color: aliceblue;
    padding: 10px;
}
#textInputDiv{
    position: absolute;
    top: 290px;
    left: 390px;
    z-index: 100;
}
#content{
    width: 1200px;
    height: 800px;
    background-color: black;
    display: flex;
    flex-direction: column;
    position: relative;
}
.showHandCursor{
    cursor: pointer;
}
#backgroundImg {
    position: relative;
    width: 940px;
    z-index: 0;
    background-color: #2b2a27;
    border: none;
}

#flashContentDiv {
    position: relative;
    top: 10px;
    left: 10px;
    width: 1020px;
    height: 775px;
    z-index: 40;
    border: black 10px solid;
    border: none; 
}
#myFlashRelative {
    position: relative;
}

#modalScrim {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 41;
    background: pink;
    opacity: .5;
    visibility: collapse;
}

#backgroundImgFlashDiv {
    position: absolute;
    width: 1030px;
    height: 780px;
    top: 0px;
    left: 0px;
    border: none;
    opacity: 0;
}

.background_checkerboard_medium {
    background-color: rgba(255, 0, 0, 0.28);
    background-image: /* tint image */
                      linear-gradient(to right, rgba(192, 192, 192, 0.75), rgba(192, 192, 192, 0.95)),
                      /* checkered effect */
                      linear-gradient(to right, black 50%, white 50%),
                      linear-gradient(to bottom, black 50%, white 50%);
    background-blend-mode: normal, difference, normal;
    background-size: 2em 2em;
}
.background_red {
    background-color: red;
}
.background_green {
    background-color: green;
}
.background_yellow {
    background-color: yellow;
}
.background_blue {
    background-color: blue;
}

#contentFrame {
    position:absolute;
    width: 1020px;
    height: 775px;
    top: 0px;
    left: 0px;
    overflow: hidden;
    border: none !important;
    background-color: transparent;
    z-index: 1;
}

#overlayFrame {
    position: absolute;
}
#bitsyFrame {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 1280px;
    height: 800px;
    z-index: 6;
    border: none;
}

#rightRail{
    width: 200px;
    height: auto;
    background-color: grey;
    margin-top: 10px;
    margin-left: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    z-index: 20;
    padding: 10px;
}

.rightRailImage {
    width: auto;
    max-width: 200px;
    margin-bottom: 5px;
}

.bottomRailImage{
    height: auto;
    max-height: 150px;
    margin-right: 5px;
}

#bottomRail{
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 10px;
    margin-left: 0px;
    z-index: 20;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
#bottomRailContent {
    width: 1280px;
    height: auto;
    background-color: gray;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
#timerDiv {
    position: absolute;
    top: 325px;
    right: 40px;
    color: #5c82fe;
    height: auto;
    width: auto;
    padding: 10px;
    background-color: black;
    border: 2px solid #5c82fe;
    z-index: 30;
}

#joystickDiv {
    position: absolute;
    top: 290px;
    left: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.joystick-button {
    background-color: #2150c4;
    cursor: pointer;
    color: #5c82fe;
    font-size: 20pt;
    font-weight: bold;
    user-select: none;
}
.joystick-button-disabled {
    background-color: gray;
    visibility: collapse;
}

.up-down {
    width: 30px;
    height: 40px;
    /*to get it to align more to bottom*/
    line-height: 45px;
}
#joystick_center {
    width: 30px;
    height: 30px;
    background-color: #2150c4;
}
.left-right{
    width: 40px;
    height: 30px;
}
#joystick_mid {
    display: flex;
    flex-direction: row;
}

#joystickButtonDiv_a {
    position: absolute;
    top: 280px;
    left: 920px;
    width: 75px;
    height: 75px;
    border-radius: 50px;
}
#joystickButtonDiv_b {
    position: absolute;
    top: 380px;
    left: 920px;
    width: 75px;
    height: 75px;
    border-radius: 50px;
}
.joystickIcon_up {
    background-image: url("../images/joypad_up.jpg");
    background-size: cover;
}
.joystickIcon_up:hover {
    background-image: url("../images/joypad_up_focus.jpg");
}
.joystickIcon_down {
    background-image: url("../images/joypad_down.jpg");
    background-size: cover;
}
.joystickIcon_down:hover {
    background-image: url("../images/joypad_down_focus.jpg");
}
.joystickIcon_left {
    background-image: url("../images/joypad_left.jpg");
    background-size: cover;
}
.joystickIcon_left:hover {
    background-image: url("../images/joypad_left_focus.jpg");
}
.joystickIcon_right {
    background-image: url("../images/joypad_right.jpg");
    background-size: cover;
}
.joystickIcon_right:hover {
    background-image: url("../images/joypad_right_focus.jpg");
}

#testButton {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
}

.iFrameCreatedClass {
    overflow: hidden;
    -ms-overflow-style: none !important;  /* IE and Edge */
    scrollbar-width: none !important;  /* Firefox */
}

.iFrameCreatedClass::-webkit-scrollbar {
    display: none !important; /* for Chrome, Safari and Opera */
}

#belowFoldContent {
    width: 1280px;
    height: auto;
    position: relative;
    margin: auto;
}

.vendingBelowFoldContent {
    width: 1280px;
    height: auto;
    position: relative;
    margin: auto;
    margin-top: 0px;
    display: flex;
    flex-direction: row;
}

.vendingBelowFoldContent img{
    width: 75%;
    margin-left: 45px;
}

#belowFoldExtraHeight {
    height: 1000px;
}

#topBar {
    background-color: black;
    color: white;
    width: 100%;
    height: 40px;
}

#topAd {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 10px;
    margin-left: 0px;
    z-index: 20;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#topAdBg {
    width: 1280px;
    height: auto;
    background-color: gray;
}

#topAdBg img {
    margin: 5px;
    height:130px;
}

#belowFoldContent img {
    width: 100%;
}

#woz {
    position: fixed;
    top: 0px;
    left: 0px;
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    min-width: 100px;
    min-height: 100px;
    background-color: green;
    z-index: 10000;
}

#titlePage {
    position:absolute;
    top:0px;
    left: 0px;
    width: 100%;
    height: 100%;
    width: 100vw;
    height: 100vh;
    color: white;
    background-color: black;
    z-index: 20000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.visibility-hidden {
    visibility: hidden;
}

.visibility-visible {
    visibility: visible;
}

#bottomRightVideoDiv {
    position: absolute;
    bottom: 0px;
    right: 0px;
    display: flex;
    flex-direction: column-reverse;
    width: auto;
    height: auto;
    background-color: pink;
}

#vend_doorsAndTeeth{
    position:relative;
    width: 1280px;
    height: 800px;
    height: 753px;
    background-color: black;
    margin: auto;
    display: flex;
    flex-direction: row;
}
#doorsAndTeeth{
    width: 75%;
    margin-left: 45px;
}
#vend_wayBelowFold_birdPile{
    position:relative;
    width: 1280px;
    height: 800px;
    background-color: black;
    margin: auto;
    display: flex;
    flex-direction: row;
}
#wayBelowFold_birdPile{
    width: 75%;
    margin-left: 45px;
}

#results{
    position: fixed !important;
    left: 45% !important;
    transform: translateX(-55%) !important;
}

#pinballEndMatch {
    position: fixed !important;
    left: 45% !important;
    transform: translateX(-55%) !important;
}


@font-face {
    font-family: garbageFont;
    src: url('../fonts/Bitsygarbagebirds-Regular.ttf');
}

.garbageFontClass {
    font-family: garbageFont; 
    font-size: xx-large;
}