html{
    background-color: black;
    font-family: Arial;
}
#stage{
    margin:auto;
    width: 960px;
    height: 540px;
    border: 10px solid black;
    position: relative;
    background-color: rgb(49, 49, 49);
    overflow: hidden;
}

/*INDEX*/
#headphones{
    position: absolute;
    left: 35%;
    top: 65%;
    transform: translateY(-50%);
    font-size: 125px;
}
#brightness{
    position: absolute;
    right: 35%;
    top: 65%;
    transform: translateY(-50%);
    font-size: 100px;
}
#indexIntroText,.indexIntroTextName{
    position: absolute;
    color: rgba(255, 255, 255, 0.476);
    font-size: 28px;
    font-family: Arial;
    width: 100%;
    text-align: center;
    top: 5%;
}
#indexIntroText{
    top: 37%;
}
#firstNameText{
    right: 15%;
}
#lastNameText{
    left: 50%;
    transform: translateX(-50%);
}
.playerName{
    position: absolute;
    top: 20%;
    width: 20%;
    padding: 12px 20px;
    border: 2px solid #787878;
    background-color:rgba(0, 0, 0, 0.274);
    border-radius: 10px;
    color:rgb(181, 181, 181);
    font-size: x-large;
}
#firstName{
    left: 22%;
}
#lastName{
    left: 50%;
    transform: translateX(-50%);
}
#indexStartButton{
    position: absolute;
    width: 22%;
    height: 8%;
    bottom: 5%;
    border-radius: 15px;
    right: -7%;
    transform: translateX(-50%);
    background-color: rgba(38, 139, 139, 0.5);
    color: #999;
    text-align: center;
    font-size: 35px;
    margin-top: auto;
}

/*TUTORIAL*/
.zeyada-regular {
    font-family: "Zeyada", cursive;
    font-weight: 400;
    font-style: normal;
}
#Title{
    position: absolute;
    font-weight: bolder;
    color:rgb(101, 84, 8);
    font-size: 140px;
    left: 50%;
    top: 20%;
    transform: translateX(-50%);
    text-align: center;
    line-height: 0.8;
    font-family: "Zeyada", cursive;
}
#objective{
    position: absolute;
    font-family: Arial;
    font-weight: bold;
    z-index: 2;
    margin: auto;
    width: fit-content;
    line-height: 1.4em;
    top: 2%;
    left: 2%;
    padding: 15px 20px;
    background-color:rgba(218, 164, 38, 0.425);
    color: #000000;
    border-radius: 20px;
    user-select:none; /*No more selecting text*/
}
#output{
    font-family: Arial;
    z-index: 2;
    margin: auto;
    width: 80%;
    font-size: 25px;
    line-height: 1.4em;
    bottom: 10px;
    padding: 15px 20px;
    padding-right: 50px;
    border-radius: 20px;
    position: absolute;
    box-sizing: border-box;
    left: 50%;
    transform: translateX(-50%);
    background-color:rgba(35, 32, 32,0.8);
    color: #999;
    user-select:none;
}
a, a:link, a:visited { 
    text-decoration: none; 
    color: rgba(38, 139, 139);
}
a:hover{
    color: rgba(218, 165, 38, 0.7);
    font-weight: bold;
}
#button{
    user-select:none;
    cursor:pointer;
    box-sizing: border-box;
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}
.material-symbols-outlined {
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 48
}
.material-symbols-outlined{
    font-size: 100px;
    color: rgba(38, 139, 139);
}
#transitionHover{
    position: absolute;
    width: 100px;
    height: 325px;
}
#transitionHoverCell{
    position: absolute;
    width: 100px;
    height: 75px;
}
#transitionClick{
    position: absolute;
    width: 20px;
    height: 20px;
    border: 7px solid rgba(38, 139, 139, 0.5);
    border-radius: 50%;
    transform: translateY(-50%);
}

/*FAMILY*/
#familyMember{
    position: absolute;
    width: 110px;
    height: 170px;
    border: 5px solid black;
}
#familyName{
    display: none;
    position: absolute;
    margin-top: 180px;
    width: 11%;
    padding: 4px 5px;
    border: 2px solid rgb(218, 165, 38, 1);
    background-color:rgba(109, 109, 109, 0.411);
    border-radius: 10px;
    color:rgb(181, 181, 181);
    font-size:large;
}

/*TELEPHONE*/
#backgroundImage{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}
#sceneTransition{
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 3;
}
#smallKey{
    position: absolute;
    top: 49%;
    left: 28%;
    z-index: 6;
}
.inventoryContainer{
    margin: auto;
    z-index:2;
    width: 70%;
    bottom: 10px;
    padding: 65px 20px;
    position: absolute;
    box-sizing: border-box;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 20px;
    background-color:rgba(0, 0, 0, 0.8);
}
#smallInventoryContainer{
    width: 19%;
}
.inventory{
    position: absolute;
    z-index: 2;
    background-color:rgba(35, 32, 32,0.8);
    border-radius: 10px;
    bottom: 15px;
    height: 98px;
    width: 143px;
}
#inv1{
    left: 20px;
}

/*INTENTORY*/
#goBack{
    user-select:none;
    cursor:pointer;
    box-sizing: border-box;
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    font-size: 85px;
    color:rgba(38, 139, 139, 0.8);
    font-variation-settings:
    'wght' 800
}
#refresh{
    bottom: 5%;
    right: 3%;
    font-size: 85px;
    position: absolute;
    color:rgba(38, 139, 139, 0.8);
    font-variation-settings:
    'wght' 800
}
#reminder{
    margin: auto;
    padding: 15px 20px;
    width: 70%;
    left: 50%;
    top: 30%;
    transform: translateX(-50%);
    position: absolute;
    box-sizing: border-box;
    background-color:rgb(0, 0, 0, 0.8);
    color: #999;
    text-align: center;
    font-size: xx-large;
    border-radius: 20px;
    z-index: 5;
    display: none;
}
#inv2{
    left: 183px;
}
#inv3{
    right: 183px;
}
#inv4{
    right: 20px;
}
.food{
    position: absolute;
    z-index: 3;
    left: 523px;
    top: 100px;
}
#Water{
    position: absolute;
    z-index: 3;
}

/*CELLS*/
#inmate{
    position: absolute;
    bottom: 0;
    z-index: 1;
    display: none;
}

/*SKULL*/
.skullPiece, .skull, .skullComplete{
    position: absolute;
}
.skullComplete{
    top: 32%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    z-index: 1;
}
.skull{
    opacity: 0;
    z-index: 1;
}
.skullPiece{
    z-index: 2;
}

/*EYE*/
#eyeball{
    position: absolute;
    z-index: 2;
}
#eyeComplete{
    position: absolute;
    top: 32%;
    left: 50%;
    transform: translateX(-50%);
}
#eyeWall{
    display: none;
    position: absolute;
    right: 15.5%;
    top: 7%;
    opacity: 0.08;
}
#noteText{
    position: absolute;
    font-size: 32px;
    top: 2%;
    line-height: 1.5;
    font-family: "Zeyada", cursive;
}
#eyeLock {
    position: absolute;
    height: 75px;
    width: 75px;
    border-radius: 50%;
    right: 15.5%;
    top: 13%;
    transform: translateY(-50%);
} 
#slidingBrick{
    position: absolute;
    left: 49%;
    top: 0%;
    transform: translateX(-50%);
}
#smallNote{
    position: absolute;
    width: 20%;
    height: 10%;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
}
#bigNote{
    display: none;
    font-family: Arial;
    z-index: 2;
    margin: auto;
    width: 40%;
    height:90%;
    font-size: 15px;
    line-height: 2em;
    bottom: 30px;
    padding: 25px 30px;
    position: absolute;
    box-sizing: border-box;
    left: 50%;
    transform: translateX(-50%);
    background-color:rgb(131, 108, 62);
    color: #000000;
    user-select:none;
}

/*KEY*/
#wholeKey{
    position: absolute;
    top: 30%;
    left: 5%;
}
#backKey, #fixedKey{
    position: absolute;
    top: 27%;
    left: 44.8%;
}
#keyHole{
    position: absolute;
    width: 100px;
    height: 175px;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
}
#fixedKey{
    transform: rotate(80deg);
    display: none;
}
.lock{
    position: absolute;
    width: 70px;
    height: 70px;
    background-color: aqua;
    right:0%;
    bottom: 0%;
    transform: translateY(-50%);
}

/*END*/
.endingText{
    display: none;
    position: absolute;
    color: rgba(255, 255, 255, 0.62);
    font-size: 23px;
    font-family: Arial;
    width: 100%;
    text-align: center;
    top: 5%;
}