html {
width: 100%;
height: 100%;
/* overflow: hidden; */
/* position: relative; */
/* -webkit-overflow-scrolling: auto ; */
}
body {
/* width: 1920px;
height: 1080px;
max-width: 1920px;
max-height: 1080px; */
width: 100%;
height: 100%;
max-width: 100%;
max-height: 100%;
overflow: hidden;
/* position: relative; */
/* position: fixed; */
/* touch-action: none; */
}
.noselect {
-webkit-touch-callout: none;
/* iOS Safari */
-webkit-user-select: none;
/* Safari */
-khtml-user-select: none;
/* Konqueror HTML */
-moz-user-select: none;
/* Firefox */
-ms-user-select: none;
/* Internet Explorer/Edge */
user-select: none;
/* Non-prefixed version, currently
supported by Chrome and Opera */
}
.my-container {
margin: 0;
position: relative;
width: 100%;
height: 100%;
}
.center-message {
display: flex;
justify-content: center;
align-items: center;
text-align: center;
color: #b65f5b;
}
.display-camera-container {
position: absolute;
width: 540px;
height: 540px;
top: 51%;
-ms-transform: translateY(-50%);
transform: translateY(-50%);
left: 60%;
margin: 0 auto;
}
#camrea_tips{
position: absolute;
left: 50%;
top: 107%;
transform: translateX(-50%);
width: 100%;
text-align: center;
color: #9f5540;
font-size: 20px;
display: none;
}
#camrea_tips::before{
content: '';
border: 10px solid transparent;
display: inline-block;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: -15px;
border-top-color: #9f553f;
}
.rcorners {
border-radius: 50%;
background: #c2c2c2;
padding: 0px;
width: auto;
height: auto;
}
/* #canvasFrame{
position: fixed;
top: 0;
left: 0;
display: inline-block!important;
} */
.rcorners_2 {
border-radius: 50%;
width: auto;
height: auto;
}
#parent-wrapper {
vertical-align: middle;
}
.inner {
vertical-align: middle;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
#fade-wrapper {
display: none;
vertical-align: middle;
position: fixed;
height: 100%;
width: 100%;
background-image: url('../content/ui/bg.jpg');
background-size: cover;
z-index: 5;
align-items: center;
justify-content: center;
}
div#fade-wrapper img {
position: absolute;
top: 50%;
left: 50%;
margin-right: -50%;
transform: translate(-50%, -50%);
}
.btn-message-color {
color: #b65f5b;
}
.float {
position: fixed;
width: 60px;
height: 60px;
bottom: 40px;
right: 40px;
border-radius: 50px;
text-align: center;
}
.my-float {
margin-top: 22px;
}
.play-again-btn {
background-color: transparent;
background: url('../content/ui/play_again.png') no-repeat;
background-size: contain;
border: none;
text-align: center;
text-decoration: none;
}
#btn_play {
color: #b65f5b;
font-family: 'SupermercadoOneRegular';
background-color: transparent;
background-image: url("../content/ui/en-us/play.png");
background-size: cover;
box-shadow: transparent;
bottom: -1000;
right: -1000;
}
#btn_play_end {
color: #b65f5b;
font-family: 'SupermercadoOneRegular';
background-color: transparent;
background-image: url("../content/ui/en-us/play.png");
background-size: cover;
box-shadow: transparent;
bottom: -1000;
right: -1000;
}
#btn_practice {
color: #b65f5b;
font-family: 'SupermercadoOneRegular';
bottom: -1200;
right: -1200;
}
#btn_next {
background-image: url("../content/ui/en-us/next.png");
background-size: cover;
box-shadow: transparent;
position: relative;
bottom: -1200;
right: -1200;
}
#btn_select_zodiac {
background-image: url("../content/ui/en-us/comfirm.png");
background-size: contain;
background-repeat: no-repeat;
background-position: center;
box-shadow: transparent;
width: auto;
/* position: relative; */
}
#btn_begin {
background-image: url("../content/ui/en-us/begin.png");
background-size: cover;
box-shadow: transparent;
position: relative;
bottom: -1200;
right: -1200;
}
#calibrate_message {
font-family: 'SupermercadoOneRegular';
font-size: 0.2vh;
color: gray;
position: relative;
bottom: -1500;
right: -1200;
/* text-shadow: 2px 2px #000 */
}
#select_zodiac {
bottom: -1500;
}
#select_year {
bottom: -1500;
}
#btn_save {
background-image: url("../content/ui/en-us/download.png");
background-size: cover;
box-shadow: transparent;
position: absolute;
bottom: -1200;
right: -1200;
}
#btn_fb {
background-image: url("../content/ui/en-us/facebook.png");
background-size: cover;
box-shadow: transparent;
position: absolute;
bottom: -1200;
right: -1200;
}
#btn_twitter {
background-image: url("../content/ui/en-us/twitter.png");
background-size: cover;
box-shadow: transparent;
position: absolute;
bottom: -1200;
right: -1200;
}
#select_zodiac {
background-image: url("../content/ui/animal_button/rat_button.png");
background-size: cover;
box-shadow: transparent;
position: absolute;
/* bottom: -1200;
right: -1200; */
}
#select_year {
background-image: url("../content/ui/animal_button/calendar_button.png");
background-size: cover;
box-shadow: transparent;
position: absolute;
padding: 0;
text-decoration: none;
/* bottom: -1200;
right: -1200; */
}
.intro__footer-link--right {
font-family: 'Noto Sans', sans-serif;
font-weight: 200;
/* color: #929395; */
font-size: 2.0vmin;
position: absolute;
text-decoration: none;
/* bottom: 10vh;
right: 12.0vw; */
display: none;
}
.intro__footer-link--right:hover {
text-decoration: none;
color: rgba(0, 0, 0, 1.0);
}
.link--grey {
color: rgba(226, 169, 139, 1.0);
}
.link {
/* color: #000; */
}
.dropdown-select-lang {
font-family: 'Noto Sans', sans-serif;
font-size: 1.8vmin;
position: absolute;
text-decoration: none;
display: none;
background-color: transparent;
/* bottom: 13.5vh;
right: 12.0vw; */
}
.customs-dropdown-select {
border-radius: 0.5em;
border-width: 2px;
background-color: transparent;
border-color: rgba(226, 169, 139, 1.0);
color: rgba(226, 169, 139, 1.0);
font-family: 'Noto Sans', sans-serif;
width: 100%;
height: 100%;
}
.customs-dropdown-select:hover {
border-radius: 0.5em;
background-color: transparent;
border-color: #ecbea6;
color: rgba(226, 169, 139, 1.0);
font-family: 'Noto Sans', sans-serif;
}
.customs-dropdown-select:focus {
outline: 0;
border-color: #ecbea6;
}
option:checked:hover,
select:focus option:checked:hover {
background-color: darkgoldenrod;
color: darkgoldenrod;
}
select option {
background: rgba(226, 169, 139, 0.2);
outline: none;
}
select option:checked {
color: #9f553f;
box-shadow: 0 0 10px 100px #000 inset;
}
select:active,
select:hover {
outline: none
}
/* make it red instead (with with same width and style) */
select:active,
select:hover {
outline-color: red
}
.zodiac_select_name {
font-family: 'Supermercado One, cursive';
font-size: 0.1vw;
text-align: center;
}
.zodiac-ic-name {
font-size: 0.9em;
margin: 0;
cursor: pointer;
}
#modal_zodiac_body img{
cursor: pointer;
}
.btn-select-zodiac {
position: absolute;
/*it can be fixed too*/
left: 0;
right: 0;
top: 0;
bottom: 0;
margin: auto;
display: table-cell;
text-align: center;
vertical-align: middle;
}
select option:checked:after {
content: attr(title);
background: #666;
color: #fff;
position: absolute;
width: 100%;
left: 0;
border: none;
}
.btn-zodiac {
padding-bottom: 10;
}
.modal-content {
border-radius: 50px;
}
.custom-modal {
padding: 0.25rem;
}
img {
display: block;
margin-left: auto;
margin-right: auto;
}
/* .zodiac-select-box {
margin-left: auto;
margin-right: auto;
display: block;
} */
#logo {
position: fixed;
width: 80px;
top: 30px;
right: 40px;
z-index: 1;
}
#logo>img {
width: 100%;
}
#bgm {
display: none;
position: absolute;
bottom: 40px;
left: 60px;
cursor: pointer;
width: 56px;
}
.bgmplay {
animation: autorate infinite 10s linear;
}
#bgm>div {
width: 56px;
height: 56px;
background-image: url(../audio/musicoff.png);
background-repeat: no-repeat;
background-size: cover;
}
#bgm.bgmplay>div {
background-image: url(../audio/musicon.png);
}
.comfirmcon, .foucstips {
position: fixed;
width: 100%;
height: 100%;
left: 0;
right: 0;
bottom: 0;
top: 0;
backdrop-filter: blur(30px);
z-index: 9999999;
display: none;
}
.comfirmcon .con, .foucstips .con {
background-image: url(../images/pop.png);
width: 1167px;
height: 275px;
background-size: cover;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
}
.foucstips .con{
background-image: url(../images/pop.png);
background-size: auto 100%;
background-position: center;
}
.comfirmcon .con>p,.foucstips .con>p {
color: #FAE1B0;
font-size: 28px;
margin-bottom: 40px;
}
.foucstips .con>p {
width: 100%;
font-size: 20px;
}
.comfirmcon .con .btncon,.foucstips .con .btncon {
display: flex;
}
.comfirmcon .con .no {
background-image: url(../images/no.png);
width: 160px;
height: 42px;
background-size: cover;
color: #fff;
background-repeat: no-repeat;
margin: 0 20px;
line-height: 42px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
.comfirmcon .con .yes,.foucstips .con .yes {
background-image: url(../images/yes.png);
width: 160px;
height: 42px;
background-size: cover;
color: #fff;
background-repeat: no-repeat;
margin: 0 20px;
line-height: 42px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
.foucstips .con .yes{
width: auto;
padding: 0 20px;
height: 52px;
background-size: 100% 100%;
}
.selectList{
position: fixed;
display: none;
bottom: 0;
left: 0;
width: 100%;
height: 16vh;
background-image: url(../images/line.png);
background-size: 100% 4px;
background-repeat: no-repeat;
z-index: 999;
padding: 0;
background-color: rgba(182, 95, 91,.2);
}
.selectList > ul{
padding-left: 0;
display: flex;
justify-content: space-around;
width: 100%;
height: 100%;
align-items: center;
}
.selectList > ul > li{
list-style: none;
cursor: pointer;
position: relative;
}
.selectList > ul .liactive::before{
content: '';
width: 100%;
height: 100%;
background-color: rgba(180, 72, 22, 0.6);
filter: blur(20px);
display: inline-block;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
#success_end{
position: fixed;
left: 50%;
transform: translateX(-50%);
bottom: 16vh;
text-align: center;
color: #9f5540;
font-size: 24px;
font-weight: bold;
display: none;
margin-bottom: 0;
}
#success_end::after{
content: '';
border: 10px solid transparent;
display: inline-block;
position: absolute;
right: -28px;
top: 42%;
border-top-color: #9f553f;
}
#end_tips{
position: fixed;
top: 46%;
left: 50%;
transform: translate(-50%,-50%);
text-align: center;
color: #9f5540;
font-size: 30px;
font-weight: bold;
display: none;
}
@keyframes autorate {
0% {
transform: rotate(0);
}
100% {
transform: rotate(360deg);
}
}
#mobiletips{
position: fixed;
touch-action: none;
left: 0;
top: 50%;
transform: translateY(-50%);
right: 0;
width: 100%;
height: 80%;
z-index: 9999;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
display: none;
}
.mtipsheader{
width: 100%;
}
.mtipsheader>img{
width: 70%;
}
.mbtips{
text-align: center;
}
.mbtips .img{
width: 50vw;
height: 50vw;
margin: 0 auto;
border-radius: 50%;
background-color: #9f8c7c;
background-repeat: no-repeat;
background-image: url(../images/selected/Rat.png);
background-size: auto 90%;
background-position: center;
}
.mbtips p{
width: 80vw;
color: #9f5540;
font-size: 16px;
margin-top: 20px;
}
.mbbtn{
}
.mbbtn .mbcopy{
color: #fff;
background: #9f5540;
text-align: center;
font-size: 18px;
padding: 8px 20px;
border-radius: 4px;
}
.mbbtn ul {
display: flex;
justify-content: center;
padding:0;
margin-top: 20px;
color: #9f5540;
}
.mbbtn ul li{
list-style: none;
margin: 0 10px;
}
.mbbtn ul li.active{
font-weight: bold;
}
@media screen and (max-width: 800px) {
body{
background-image: url(../content/ui/bg.jpg);
background-size: cover;
background-repeat: no-repeat;
}
#logo{
width: 50px;
right: 20px;
top: 20px;
}
}