body {
    padding: 0;
    margin: 0;
	font-family: Verdana, sans-serif;
	color: #000048;
	background-color: #FFE0E0;
}

img {
    max-width: 100%;
    max-height: 100%;
}

h2 {
  font-size: 16px;
  color: #000048;
}

h3 {
  font-size: 12px;
  color: #000048;
  text-align: start;
}


p {
  font-size: 12px;
  color: #000048;
}

p.maxwidth {
	/*margin-right: 20%;*/
}

a {
    font-size: 12px;
    color: #000048;
}

#content-desktop {
    position: absolute;
    top: 20px;
    bottom: 0;
    right: 0;
    left: 0;
	display: none;
}

#content-mobile {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 20px;
	display: none;
}

#store-apple{
	text-align: center;
}

#store-android{
	text-align: center;
}

#deeplink{
	display: none;
}

#no-deeplink{
	display: none;
}

#container {
    margin-top: 20px;
}


#container::after {
    display: block;
    content: '';
}

.aspect-ratio-16-9-limited {
  aspect-ratio: 16 / 9;
  width: 98%; /* Adjust as needed */
  max-height: 88vh; /* Ensure the height never exceeds the viewport height */
  height: auto; /* The height will adjust based on the width and maintain the aspect ratio */
  max-width: calc(88vh * (16 / 9)); /* Make sure width follows the 16:9 ratio based on the viewport height */
  background-color: #FFE0E0; /* Optional: for visualization */
  margin: 0 auto; /* Optional: center horizontally */
}

.aspect-ratio-16-9-limited.iframe-styles {
  width: 100%;
  max-width: calc(100vh * (16 / 9)) !important;
}

#canvas {
    background: #FFFFFF
}



/**** START BUTTONS ****/

.button-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background-color: #000048;
  border: none;
  color: white;
  width: 170px;
  height: 70px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  margin: 20px auto; /* centers horizontally */
  cursor: pointer;
}

.button {
    border: none;
    color: white;
	width: 180px;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    text-rendering: auto;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    text-align: center;
    align-items: flex-start;
    box-sizing: border-box;
    pointer-events: all;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    appearance: button;
    transition: opacity 0.4s ease 0s;
}

.rounded {
    border-radius: 20px;
}


.start {
    background-color: #000048;
    color: white;
}

.start:hover {
    background-color: #141484;
    color: white;
}

.fullscreen {
	top: 0px;
	right: 0px;
    padding: 0px;
    vertical-align: top;
    margin: 0px;
    background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;
	width: 40px;
	float: right;
}

/**** END BUTTONS ****/



#intro {
    position: absolute;
    width: 100%;
    left: 50%;
    top: 50%;
	padding: 10px;
    transform: translate(-50%, -50%);
	/*background-color: #FBD603;*/
}

#intro-logo {
    width: 50px;
    margin: auto;
	/*background-color: #00ff00;*/
}

#intro-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

#intro-description {
	width: 80%;
	max-width: 500px;
	margin:auto;
    padding: 10px;
    text-align: center;
	/*background-color: #ABBAEA;*/
	font-optical-sizing: auto;
}

#character {
    position: absolute;
	bottom: 0; right: 0;
	max-width:100px;
	margin-right: 2%;
}

@media (max-width:1280px){
	p.maxwidth {
		margin-right: 20%;
	}
	
    #character {
	  	max-width:240px;
    }
}

@media (min-width:1000px){
    #character {
      margin-right: 7%;
	  height: 90%;
	  max-width:500px;
    }
}

#character-mobile {
	margin: auto;
	padding: 20px;
	max-width:200px;
	/*background-color: #FF0000;*/
}


#loading {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none
}

#loading-bar-container {
	background-color: #FFC8C7;
	border-radius: 16px;
	text-align: center;
}

#loading-bar {
	background-color: #000048; 
	width:0%; 
	color:#FFFFFF;
	text-align: center;
	border-radius: 16px;
}

#loading-percentage {
	margin-left: 16px;
	margin-right: 16px;
}

#loading-logo {
    margin: 40px;
    width: 75px;
}

#footer {
    display: flex;
    margin: 10px;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

#footer-logo {
    display: block;
    width: 160px;
}

#logo-mobile {
    display: block;
	margin: auto;
	padding: 10px;
    width: 50%;
	max-width: 50px;
}

#footer-mobile {
	margin: auto;
	padding: 10px;
	width: 70%;
	max-width: 200px;
}


#footer-stores {
    display: flex;
    height: 40px;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}

#footer-apple {
	width: 118px;
	padding-right: 5px;
}

#footer-google {
	width: 130px;
	padding-left: 5px;
}

#footer-coupon {
	width: 140px;
	padding-left: 25px;
}

#footer-fullscreen {
    width: 100px;
}


#game-title {
    float: right;
    margin-right: 10px;
    line-height: 38px;
    font-family: arial;
    font-size: 18px
}

#unity-warning {
    position: absolute;
    left: 10%;
    top: 5%;
    transform: translate(-5%);
    display: none;
    font-size: 12px;
}

/* Step boxes for two-step mobile flow */
.step-box {
    background-color: #FFFFFF;
    border: 2px solid #000048;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
}

.step-number {
    display: inline-block;
    background-color: #000048;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.step-box h3 {
    margin: 10px 0;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.step-box p {
    margin: 10px 0;
    text-align: center;
}

/* Store text links for two-step flow */
.store-text-link {
    display: inline-block;
    color: #000048;
    font-size: 16px;
    font-weight: bold;
    text-decoration: underline;
    padding: 10px 20px;
    transition: color 0.3s ease;
}

.store-text-link:hover {
    color: #141484;
    text-decoration: underline;
}
