html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

a:link, a:visited, a:hover {
    text-decoration: none;
    color: inherit;
}

body {
    width: 100vw;
    height: 100vh;

    margin: 0;
    overflow: hidden;

    font-family: Arial, Helvetica, sans-serif;

    background-image: url('./images/BattleFightersLogo.png');
    background-size: contain;
}

#startScreen {
    height: 100%;
    width: 100%;

    display: block;
}

#startMenu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.startMenuButton {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;

    width: 100px;
    height: 16px;
    padding: 3px 10px 3px 0;
    text-align: right;

    cursor: pointer;
    background-color: #dddddd;
    user-select: none;
}

.startMenuButton:hover {
    background-color: #afafaf;
}

#game {
    height: 100%;
    width: 100%;
    
    display: none;

    background-color: #acacac;
}

#floor.wall {
    position: absolute;

    left:  10%;
    bottom: 10%;
    width: 80%;
    height: 10%;

    background-color: #000;
}

#floating1.wall {
    position: absolute;

    left: 20%;
    bottom: 40%;
    width: 20%;
    height: 10%;

    background-color: #000;
}

#floating2.wall {
    position: absolute;

    right: 20%;
    bottom: 40%;
    width: 20%;
    height: 10%;

    background-color: #000;
}

#character {
    position: absolute;

    width: 30px;
    height: 50px;

    background-color: #000000;
}

#character #top.collisionP1 {
    width: 20px;
    height: 1px;

    position: absolute;
    top: 0;
    left: 5px;
}

#character #left.collisionP1 {
    width: 1px;
    height: 40px;

    position: absolute;
    left: 0;
    top: 5px;
}

#character #right.collisionP1 {
    width: 1px;
    height: 40px;

    position: absolute;
    right: 0;
    top: 5px;
}

#character #bottom.collisionP1 {
    width: 20px;
    height: 1px;

    position: absolute;
    bottom: 0;
    left: 5px;
}

#playerHands {
    background-color: #000000;

    width: 10px;
    height: 10px;

    position: absolute;

    display: none;
}

#AIHands {
    background-color: #ff0000;

    width: 10px;
    height: 10px;

    position: absolute;

    display: none;
}

#characterAI {
    position: absolute;

    width: 30px;
    height: 50px;

    background-color: #ff0000;
}

#characterAI #top.collisionAI {
    width: 20px;
    height: 1px;

    position: absolute;
    top: 0;
    left: 5px;
}

#characterAI #left.collisionAI {
    width: 1px;
    height: 40px;

    position: absolute;
    left: 0;
    top: 5px;
}

#characterAI #right.collisionAI {
    width: 1px;
    height: 40px;

    position: absolute;
    right: 0;
    top: 5px;
}

#characterAI #bottom.collisionAI {
    width: 20px;
    height: 1px;

    position: absolute;
    bottom: 0;
    left: 5px;
}

#postGame {
    display: none;

    width: 100%;
}

#winnerText {
    margin: 10px 5px;
    font-size: 50px;
    color: #ffffff;
    width: 100%;
    text-align: center;
}

#winnerButton {
    display: block;

    margin-left: 42.5%;
    padding: 10px 0;
    width: 15%;
    text-align: center;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;

    box-shadow: 0 0 10px #333;

    cursor: pointer;
    background-color: #afafaf;
    transition: 0.3;
}

#winnerButton:hover {
    box-shadow: 0 0 20px #333;
}

#winnerButton:active {
    box-shadow: 0 0 0px #333;
}

form {
    border-radius: 15px;
    padding: 15px 35px;
    color: #ffffff
}

form label {
    margin-bottom: 15px;
}

form p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    padding-bottom: 10px;
    margin-left: 15%;
}

form h2 {
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 35px;
    padding-bottom: 5px;
}

form input, form textarea {
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    width: 80%;
    border: #000000 1px solid;
}

form input:hover, form textarea:hover {
    background-color: #dadada;
}

span {
    color: #8f0000;
}

#submit {
    background-color: #cecece;
    height: 35px;
    border-radius: 5px;
}

#backToHome {
    background-color: #cecece;
    height: 35px;
    border-radius: 5px;
}

#submit:hover {
    background-color: #858585;
    cursor: pointer;
}

#backToHome:hover {
    background-color: #858585;
    cursor: pointer;
}

#address {
    display: none;
}

#optionsScreen {
    display: none;
}

#creditsScreen {
    display: none;
}

h1 {
    font-size: 50px;
    width: 100%;
    text-align: center;
    margin: 20px 0;
    color: #ffffff
}

#leaveOptionsButton {
    background-color: #cecece;
    height: 35px;
    border-radius: 5px;
    text-align: center;
    margin-left: 35%;
    width: 30%;
}

#leaveOptionsButton:hover {
    background-color: #858585;
    cursor: pointer;
}

#controlsText {
    color: #ffffff;
    font-size: 25px;
    margin: 5px 45px;
}

#controlsText p {
    margin: 10px 0;
}

#leaveCreditsButton {
    background-color: #cecece;
    height: 35px;
    border-radius: 5px;
    text-align: center;
    width: 10%;
}

#leaveCreditsButton:hover {
    background-color: #858585;
    cursor: pointer;
}

#creditsText {
    position: absolute;
    top: 100vh;
    transition: 30s;
}