html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

#loginForm{
    text-align: center;
    height: 500px;
    background-repeat: no-repeat;
    position: center;
    background-image: url("img/login_back.jpg");
    background-color: #a1d6e6;
}
body{
    height: 80%;
}
#settingsForm{
    text-align: center;
    height: 1000px;
    background-repeat: no-repeat;
    position: center;
    background-image: url("img/login_back.jpg");
    background-color: #a1d6e6;
}

#register{
    text-align: center;
    height: 850px;
    background-repeat: no-repeat;
    position: center;
    background-image: url("img/login_back.jpg");
    background-color: #a1d6e6;
}

#loginForm .container{
    top: 20px;
    position: relative;
    background-color: #eaeaea;
    width: 420px;
    height: 380px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#settingsForm .container{
    top: 20px;
    position: relative;
    background-color: #eaeaea;
    width: 420px;
    height: 1090px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#register .container{
    top: 20px;
    position: relative;
    background-color: #eaeaea;
    width: 420px;
    height: 750px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#register button{
    margin-left: 10px;
    background-color: #a1d6e6;
    height: 40px;
    width: 200px;
}

#loginForm input{
     text-align: center;
     width: 200px;
     height: 40px;
     background-color: #fefefe;
 }

#settingsForm input{
    text-align: center;
    width: 200px;
    height: 40px;
    background-color: #fefefe;
}

#settingsForm button{
    background-color: #a1d6e6;
    height: 40px;
    width: 200px;
}

#register input{
    margin-left: 10px;
    text-align: center;
    width: 200px;
    height: 40px;
    background-color: #fefefe;
}

#register label{
    margin-left: -60px;
}

#menu nav{
    position: sticky;
    top: 0;
    overflow: hidden;
    margin : 0 !important;
}

#loginForm button{
    background-color: #a1d6e6;
    height: 40px;
    width: 200px;
}
#Welcome #background-gif {
    opacity: 1;
    height: 200px;
    position: relative;
    left: 30%;
    background-repeat: no-repeat;
    background-image: url("img/giphy.gif");
}

#Welcome button {
    display: inline-block;
    *display: inline;
    zoom: 1;
    height: 40px;
    width: 120px;
    cursor: pointer;
    border: 1px solid #bbb;
    overflow: visible;
    font: bold 13px arial, helvetica, sans-serif;
    text-decoration: none;
    white-space: nowrap;
    color: #555;
    position: relative;
    top: 50%;
    margin-right: 190px;
    left: 35%;
}

button {
    display: inline-block;
    *display: inline;
    zoom: 1;
    height: 40px;
    cursor: pointer;
    border: 1px solid #bbb;
    overflow: visible;
    font: bold 13px arial, helvetica, sans-serif;
    text-decoration: none;
    white-space: nowrap;
    color: #555;
    position: relative;
    top: 50%;
    margin-right: 120px;
}

input[type=color]{
    margin: 5px 0 22px 0;
}

input[type=text], input[type=password], input[type=number] {
    padding: 15px;
    margin: 5px 0 22px 0;
    display: inline-block;
    border: none;
    background: #f1f1f1;
}

input[type=text]:focus, input[type=password]:focus {
    outline: none;
}

/* Set a style for the submit button */
.registerbtn {
    background-color: #4CAF50;
    color: white;
    padding: 16px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    opacity: 0.9;
}

.registerbtn:hover {
    opacity: 1;
}

/* Set a grey background color and center the text of the "sign in" section */
.signin {
    text-align: center;
}

.wholeScreen {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
}

.part {
    position: relative;
    display: block;
    margin: 0;
}

#Welcome {
    height: 60%;
    background-color: #1f1c22;
    display: block;
}

#Welcome p{
    color: white;
}


#canvasDiv {
    background-image: url("img/flat_game.jpg");
    display: none;
}

#login {
    display: none;
}

#register {
    display: none;
}

#header #logo p{
	margin-top:-30px;
}

#settings {
    display: none;
}

#footer{
    display: none;
}

 #logo {
    text-align: left;
}

#canvasDiv #life {
    margin-left: 60%;
    width: 70px;
    float: left;
}

#canvasDiv #score {
    width: 70px;
    float: left;
}

#canvasDiv #time {
    width: 70px;
    float: left;
}

#canvasDiv button {
    margin-top: 25px;
    width: 100px;
    float: left;
}

#canvasDiv #user {
    color: darkgreen;
    font-size: 18px;
}

#canvasDiv #container{
    margin-left: 180px;
}
#canvasDiv #canvas {
    border-style: dashed double none;
    border-width: 5px;
    width: 32%;
    height: 32%;
    margin-top: -7%;
    margin-left: 9%;
    background-color: rgba(187, 193, 255, 0.733);
}

#about p{
    text-align: left;
}
p {
    text-align: center;
    font-size: 20px;
}

h1 {
    text-align: center;
}

span {
    font-weight: bold;
    color: red;
}