/* === General style === */
* {
    box-sizing: border-box;
    font-family: 'Press Start 2P', cursive;
}

h1 {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.gameScreenContainer {
    width: 1032px;
    margin: 0 auto;
    border: 4px solid black;
}

.mainGameContainer {
    position: relative;
    display: inline-block;
}

.subMainGameContainer {
    position: absolute;
    display: flex;
    width: 100%;
    align-items: center;
    padding: 20px;
}

/* === Left Player style === */
.leftPlayerHealthContainer {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    border-top: 4px solid white;
    border-left: 4px solid white;
    border-bottom: 4px solid white
}

.leftPlayerRedHealthBar {
    background-color: red;
    height: 30px;
    width: 100%;
}

.leftPlayerBlueHealthBar {
    background-color: #818CF8;
    position: absolute;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
}

/* === Right Player style === */
.rightPlayerHealthContainer {
    position: relative;
    width: 100%;
    height: 30px;
}

.rightPlayerRedHealthBar {
    background-color: red;
    height: 30px;
}

.rightPlayerBlueHealthBar {
    background-color: #818CF8;
    position: absolute;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-top: 4px solid white;
    border-right: 4px solid white;
    border-bottom: 4px solid white;
}

.messageMiddleDisplayContainer {
    position: absolute;
    color: black;
    align-items: center;
    justify-content: center;
    top: -110px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
}

.replayMiddleDisplayContainer {
    position: absolute;
    align-items: center;
    justify-content: center;
    top: 0px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
}

.replayButtonStyle {
    color: green;
    font-size: 14px;
    background-color: black;
    padding: 16px;
}

.startFightButtonStyle {
    color: black;
    font-size: 14px;
    background-color: white;
    padding: 20px;
}

.startFightButtonMiddleDisplayContainer {
    position: absolute;
    align-items: center;
    justify-content: center;
    top: 20px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
}


.timerContainer {
    background-color: black;
    width: 100px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 4px solid white;
}
