* {
    box-sizing: border-box;
}
html{
    background-color: black;
    font-family: "unibody-8-new", sans-serif;
    font-weight: 900;
    font-style: normal;
    overflow-y: hidden;
}
body {
    margin: 0;
}
h4{
    margin: 0;
    color: white;
}
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    color: white;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 80px;
}
#everything{
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 852px;
    overflow: hidden;
}
#tv-container{
    /* display: none; */
    width: 1338px;
    height: 824px;
    top: 0;
    left: 0;
    margin-top: -700px;
    pointer-events: none;
    z-index: 1;
 }
#tv{
    position: relative;
    top: 0;
    left: 0;
    height: 100%;
    background-image: url(img/tv.png);
    background-repeat: no-repeat;
}
#game{
    margin: 90px 0 0 -233px;
}
#main-container {
    position: relative;
    margin-top: 0;
    /* width: 1024px; */
}
/* stat bar stuff */
#stat-bar{
    position: absolute;
}
#health-container{
    width: 824px;
    display: flex;
    padding: 20px 20px 5px 20px;
}
#timer {
    width: 10%;
    height: 50px;
    background-color: white;
    font-size: xx-large;
}
#enemy-health {
    background-color: #1F2FB9;
    height: 100%;
    border-right: 4px solid white;
}
#enemy-health-container {
    position: relative;
    height: 50px;
    width: 45%;
}
#enemy-health-background {
    background-color: #DE0000;
    height: 50px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border: 4px solid white;
}
#player-health {
    background-color: #1F2FB9;
    height: 100%;
    width: 100%;
    border-left: 4px solid white;
}
#player-health-container {
    position: relative;
    height: 50px;
    width: 45%;
}
#player-health-background {
    background-color: red;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    height: 50px;
    border: 4px solid white;
}
#timer {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* score stuff */
#score{
    color: white;
    display: flex;
    width: 100%;
    padding: 0 20px;
    margin-top: 5px;
}
#score-name{
    font-weight: 800;
    margin: 0 20px;
}
#player-1-name{
    font-weight: 700;
    width: 100%;
}
#player-2-name{
    font-weight: 700;
    width: 100%;
    text-align: right;
}
#display-text{
    position: absolute;
    color: white;
    font-size: xx-large;
    align-items: center;
    justify-content: center;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    z-index: 4;
    pointer-events: none;
}
#button-container {
    margin-top: 60px;
    position: absolute;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column-reverse;
    width: 100%;
    height: 100%;
}
#play-again {
    margin-top: 10%;
    width: 220px;
    z-index: 1;
}
#save-scores{
    z-index: 1;
}
#end-game-or{
    color: white;
    margin: 0;
    z-index: 2;
}
#refresh-page {
    color: white;
    font-size: large;
}
#enter-names{
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1;
}
#black-background{
    background-color: black;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 50%;

}
/* TV buttons */
#home-button{
    position: relative;
    display: flex;
    justify-content: center;
    width: 100px;
    height: 100px;
    top:  -670px;
    left: 1066px;
    border-radius: 50px;
    padding: 12px 17px;
}
#audio-toggle{
    position: relative;
    display: flex;
    justify-content: center;
    width: 100px;
    height: 100px;
    top:  -620px;
    left: 1066px;
    border-radius: 50px;
    padding: 12px 17px;
}
a{
    text-align: center;
    background-color: white;
    width: 220px;
    padding: 5px 10px;
    pointer-events: all;
    color: black;
    text-decoration: none;
    font-size: large;
}
a:hover{
    background-color: gray;
}
a:active{
    background-color: red;
}
/* input styling */
#player-1-name-input{
    width: 215px;
    height: 50px;
    margin-bottom: 10px;
    font-size: x-large;
    font-family: unset;
}
#player-2-name-input{
    display: block;
    width: 215px;
    height: 50px;
    margin-bottom: 10px;
    font-size: x-large;
    font-family: unset;
}
