* {
    touch-action: none;
}

#container {
    max-width: fit-content;
    margin: 0 auto;
    width: 100%;
}


#gameWindow {
    width: 600px;
    height: 600px;
    background-image: url(images/fullWall.jpg);
}

#welcome {
    position: absolute;
    width: 600px;
    height: 600px;
    background-image: url(images/Entrance.jpg);
    z-index: 4;
}

#welcomeScreenOneBackground {
    position: absolute;
    width: 600px;
    height: 150px;
    background-color: black;
    opacity: 0.7;
    visibility: visible;
    margin-top: 450px;
}

#welcomeScreenTwoBackground {
    position: absolute;
    width: 600px;
    height: 150px;
    background-color: black;
    opacity: 0.7;
    visibility: hidden;
    margin-top: 450px;
}

#welcomeScreenOne {
    position: absolute;
    width: 600px;
    height: 150px;
    text-align: center;
    visibility: visible;
    color: white;
    margin-top: 450px;
}

#welcomeScreenOne * {
    margin-top: 10px;
    margin-bottom: 10px;
}

#playersName {
    width: 400px;
    text-align: center;
    font-size: 18px;
}

#welcomeScreenOne button {
    border-radius: 20px;
    font-size: 18px;
    font-weight: bold;
}

#welcomeScreenTwo {
    position: absolute;
    width: 600px;
    height: 150px;
    text-align: center;
    visibility: hidden;
    color: white;
    margin-top: 450px;
}

#welcomeScreenTwo h3 {
    margin: 10px;
    padding: 0;
}

#welcomeScreenTwo p {
    margin: 2px;
    padding: 0;
    font-size: 18px;
}

#left {
    margin: 0;
    padding: 0;
}

#center {
    margin: 0 0 0 200px;
    padding: 0;
}

#right {
    margin: 0 0 0 400px;
    padding: 0;
}

#right, #left, #center {
    width: 200px;
    height: 600px;
    position: absolute;
}

#leftAction {
    visibility: hidden;
}

#centerAction {
    margin-left: 200px;
    visibility: hidden;
}

#monsterImage {
    height: 600px;
    width: 600px;
    position: absolute;
    z-index: 9;
    visibility: hidden;
}

#leftAction, #centerAction {
    width: 200px;
    height: 600px;
    position: absolute;
    z-index: 9;
}

#center {
    background-image: url(images/centerWallDoor.jpg);
}

#roomMessage {
    text-align: center;
    font-weight: bold;
    color: white;
    z-index: 12;
}

#healthBar, #healthBarOverlay {
    display: none;
    position: absolute;
    margin-left: 250px;
    margin-top: 570px;
    width: 100px;
    height: 10px;
}

#healthBar {
    z-index: 10;
    background-color: white;
}

#healthBarOverlay {
    z-index: 11;
    background-color: red;
}

#actions {
    width: 600px;
    height: 60px;
    background-color: black;
    margin: 0;
    padding: 0;
    display: flex;
}

#playerStats {
    width: 600px;
    height: 100px;
    background-color: black;
    margin: 0;
    padding: 0;
}

#playerHealthBar, #playerHealthBarOverlay {
    position: absolute;
    margin-left: 50px;
    margin-top: 60px;
    width: 500px;
    height: 10px;
    visibility: hidden;
}

#playerHealthBar {
    z-index: 10;
    background-color: white;
}

#playerHealthBarOverlay {
    z-index: 11;
    background-color: red;
}

#yourHealth {
    position: absolute;
    width: 600px;
    text-align: center;
    /*margin-left: 216px;*/
    font-weight: bold;
    color: white;
    visibility: hidden;
}

.flex {
    flex: 1 1 calc(33.333%);
    text-align: center;
}

#deathList {
    height: 600px;
    width: 600px;
    padding-top: 75px;
    position: absolute;
    z-index: 15;
    visibility: hidden;
    display: flex;
    flex-flow: column wrap;
    justify-content: flex-start;
}

#deathBackground {
    height: 600px;
    width: 600px;
    position: absolute;
    z-index: 15;
    background-color: red;
    opacity: 0.5;
    visibility: hidden;
    flex-flow: column wrap;
    justify-content: flex-start;
}

#deathList p {
    color: white;
    font-weight: bold;
    font-size: 20px;
    line-height: 25px;
    margin: 0 0 0 250px;
    padding: 0;
}

#deathList h3 {
    color: white;
    font-weight: bold;
    font-size: 24px;
    line-height: 5px;
    margin-left: 200px;
}

#deathList h2 {
    color: white;
    font-weight: bold;
    font-size: 30px;
    text-align: center;
}

#formBackground {
    position: absolute;
    margin-left: 100px;
    margin-top: 100px;
    width: 400px;
    height: 400px;
    z-index: 11;
    visibility: hidden;
    background-color: white;
    opacity: 0.7;
}

#formWindow {
    position: absolute;
    margin-left: 100px;
    margin-top: 100px;
    width: 400px;
    height: 400px;
    z-index: 12;
    visibility: hidden;
    text-align: center;
}

#radioField {
    text-align: left;
    font-size: 16px;
}

#radioField legend {
    font-size: 20px;
    font-weight: bold;
}

#radioField div {
    margin-top: 12px;
    margin-bottom: 12px;
}

#levelUpForm div {
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
}

#levelUpForm div button {
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
}

#levelUpForm h2 {
    line-height: 50px;
}

#chestMessage {
    background-color: black;
    opacity: 0.7;
    border-radius: 20px;
    position: absolute;
    margin-top: 300px;
    visibility: visible;
    color: white;
    font-weight: bold;
    font-size: 24px;
    line-height: 30px;
    text-align: center;
    width: 225px;
    z-index: 12;
}

#refresh {
    width: 600px;
    height: 100px;
    margin: 0;
    padding: 0;
    position: absolute;
    visibility: hidden;
}

#preventClicking {
    position: absolute;
    visibility: hidden;
    z-index: 10;
    width: 600px;
    height: 600px;
}

#submitLeaderBoard {
    position: absolute;
    width: 600px;
    height: 600px;
    visibility: hidden;
    z-index: 20;
}

#submitLeaderBoard * {
    margin: 0;
    padding: 0;
}


#submit {
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    width: 320px;
    height: 30px;
    margin-left: 145px;
    margin-top: 385px;
    border-radius: 20px;
}