html, body{
  margin: 0;
  padding: 0;
  overflow: hidden;
  touch-action: none;
}

body {
  position: absolute; 
  height:100%;
	width:100%;
  background-size:cover;
  background-color: white;
}

#gameContainer {
	position:absolute;
  top: 0;
  left: 0;

	width:100%;
  height:100%;
  /* height:calc(100vh - 38px); */

  background: #FFFFFF url('splash.png') center / cover no-repeat;
  background-size: contain;

  display: flex; 
  flex-direction: column; 
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#canvasWrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1; /* Take up available space */
}

#canvas{
  display: block;
}

#loadingBar {
  position: absolute;
  left: 50%;
  top: 65%;
  transform: translate(-50%, -50%);
  display: none
}

#progressEmpty {
  width: 141px;
  height: 18px;
  margin-top: 10px;
  margin-left: 6.5px;
  background: #f3f3f3 no-repeat center
}

#progressFull {
  width: 0%;
  height: 18px;
  margin-top: 10px;
  background: red
}

#footer {
  width: 100%; /* Full width */
  text-align: center;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow */
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#fullscreenButton {
  float: right;
  width: 38px;
  height: 38px;
  background: url('fullscreen-button.png') no-repeat center
}

.loader {
  margin-top: 300px;
  border: 4px solid #00000000;
  border-top: 4px solid red;
  border-left: 4px solid red;
  border-right: 4px solid red;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#logo {
  float: left;
  width: 155px;
  height: 38px;
  margin-right: 20px;
  background: url('spectrum.png') no-repeat center
}

.linkFooter {
  float: left;
  display: flex;
  align-items: center;
  height: 38px;
  font-family: arial;
  font-size: 18px;
  color: black;
  margin-right: 30px;
  text-decoration: none;
}

@media screen and (max-width: 768px), 
       screen and (max-height: 480px) {
  #footer {
    display: none;
  }
}
