html {
  -ms-touch-action: none;
}

body, canvas, div {
  display: block;
  outline: none;
  -webkit-tap-highlight-color: #1A3091;

  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -khtml-user-select: none;
  -webkit-tap-highlight-color: #1A3091;
}

/* Remove spin of input type number */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

body {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  margin: 0;

  cursor: default;
  color: #1A3091;
  background-color: #1A3091;

  text-align: center;
  font-family: Helvetica, Verdana, Arial, sans-serif;

  display: flex;
  flex-direction: column;
}

canvas {
  background-color: #2c2c2c;
}

#GameDiv, #Cocos3dGameContainer, #GameCanvas {
  width: 100%;
  height: 100%;
}

:root {
  --safe-top: env(safe-area-inset-top);
  --safe-right: env(safe-area-inset-right);
  --safe-bottom: env(safe-area-inset-bottom);
  --safe-left: env(safe-area-inset-left);
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  /* background: url('img/BG.png') no-repeat top center; */
  background-size: 100% auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.loading-wrapper {
  text-align: center;
}

.loading-spinner {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #db9334;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.loading-text {
  color: white;
  font-size: 18px;
}

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


#cocos-loading-bar {
position: absolute;
width: 100%;
left: 50%;
bottom: 0%;
transform: translate(-50%, -0%);
display: block;
text-align: center;
}
/* 
#cocos-logo {
width: 182px;
height: 167px;
background: url('img/USDT_logo.png') no-repeat center;
margin: 0 auto;
}

#cocos-progress-bar-empty {
width: 286px;
height: 41px;
margin: 0 auto;
background: url('img/LoadingProgressBG.png') no-repeat center;
position: relative;
scale: 1.2;
}

#cocos-progress-bar-full {
width: 0%;
height: 35px;
background: url('img/progress-bar-full-dark.png') no-repeat left;
position: absolute;
top: 0;
margin-left: 10;
} */

#cocos-progress-bar-lable {
position: absolute;
left: 50%;
top: 12px;
transform: translate(-50%, 0%);
font-size: 15px;
text-align: center;
font-family: "Black Han Sans", sans-serif;
color: #fff;
}

#cocos-progress-bar-title {
position: relative;
font-size: 34px;
text-align: center;
font-family: "Black Han Sans", sans-serif;
color: #fff;
font-weight: bold;
margin-top: 40px;
margin-bottom: 40px;
}

#cocos-progress-bar-tips {
/* height: 100px; */
position: relative;
font-size: 14px;
font-weight: 600;
text-align: center;
font-family: sans-serif;
color: #002C5C;
text-shadow: 
  -0.5px -0.5px 0 #fff,  
  0.5px -0.5px 0 #fff,
  -0.5px 0.5px 0 #fff,
  0.5px 0.5px 0 #fff;
margin-top: 0px;
margin-bottom: 10px;
margin-left: 24px;
margin-right: 24px;
}

/* #power-by-aptos {
  width: 271px;
  height: 40px;
  background: url('img/power_by_aptos.png') no-repeat center;
  position: relative;
  left: 50%;  
  transform: translate(-100%, -0%);
  scale: 0.5;
  } */

#cocos-top {
position: absolute;
width: 100%;
left: 50%;
top: -1%;
transform: translate(-50%, 0%);
display: block;
text-align: center;
}  

/* #cocos-top-logo {
  width: 122px;
  height: 97px;
  background: url('img/SR_logo.png') no-repeat center;
  margin: 0 auto;
  margin-top: 0px;
  scale: 0.6;
}  */

#cocos-top-welcome {
  /* height: 100px; */
  position: relative;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  font-family: "Black Han Sans", sans-serif;
  color: #002C5C;
  text-shadow: 
    -2px -2px 0 #fff,  
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    2px 2px 0 #fff;
  margin-top: 4px;
  margin-bottom: 10px;
  margin-left: 24px;
  margin-right: 24px;
  }
#cocos-top-welcome-second {
  /* height: 100px; */
  position: relative;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  font-family: "Black Han Sans", sans-serif;
  color: #002C5C;
  margin-top: 2px;
  margin-bottom: 10px;
  margin-left: 24px;
  margin-right: 24px;
  }

.image-container {
    margin-top: 15vh; 
}
.bouncing-image {
    animation: bounce 2s ease-in-out infinite;
    scale: 0.7;
}
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}