﻿/*
  global
*/
html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}
@media (min-width: 767px) {
  html {
    font-size: 16px;
  }
}
body {
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

@keyframes loading-bg {
  from { background-color: #e96e07; }
  to { background-color: #ffa269; }
}
@keyframes loading-hide {
  from { bottom: 0; top: 0 }
  to { top: inherit; bottom: 100% }
}

.full-body {
  margin-bottom: 0;
  height: 100%;
}

.full-body .footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: normal;
  color: #ffffff;
  text-align: center;
  margin-bottom: 8px;
}

.full-body .footer div {
  margin: 3px;
}
.full-body .footer a {
  color: #ffffff;
}

.full-body .beian a {
  color: #aaaaaa;
  font-size: 12px;
  display: inline-block;
  margin: 0 5px;
}

.loading {
  position: absolute;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  background-color: #e96e07;
}

.loading-animation {
  animation: 2s ease 0s infinite alternate loading-bg;
}

.loading > div {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loading-text {
  margin-top: 20px;
  font-size: 20px;
  color: #ffffff;
}

@media (max-width: 767px) {
  .loading img {
    width: 300px;
  }
}

.container-bg1 {
  /* background-image: url(/images/bg-1.png);
  background-repeat: repeat; */
  background-image: url(/images/bg-1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}


.container-bg2 {
  background-image: url(/images/bg-2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.container-bg3 {
  background-image: url(/images/bg-3.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}


/*
  hexagon
*/
.hexagon-block {
  position: relative;
  width: 250px;
  height: 250px;
  cursor: default;
}

.hexagon-block svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  transition: opacity 0.5s;
}
.hexagon-block:hover svg, .hexagon-block-active svg {
  opacity: 0.8;
}

.hexagon-block > div {
  position: relative;
}
.hexagon-block > div img {
  width: 70%;
  margin-left: 15%;
  margin-top: 15%;
}
.hexagon-block > div h1 {
  color: #ffffff;
  font-size: 100px;
  padding-top: 25%;
  text-align: center;
  transition: font-size 0.3s;
}
.hexagon-block > div h2 {
  font-size: 0;
  padding-top: 5%;
  color: #e96e07;
  text-align: center;
  transition: font-size 0.3s;
}

.hexagon-block:hover > div h1, .hexagon-block-active > div h1 {
  font-size: 50px;
  color: #e96e07;
}
.hexagon-block:hover > div h2, .hexagon-block-active > div h2 {
  font-size: 24px;
}

.hexagon-fill, .circle-fill, .star-fill {
  fill: #193d4a;
  transition: fill 0.5s;
}
.hexagon-fill2, .circle-fill2, .star-fill2 {
  fill: #ffffff;
}
.hexagon-stroke, .circle-stroke, .star-stroke {
  fill: #2bbcb6;
}

@media (max-height: 900px) and (min-width: 768px), (max-width: 900px) and (min-height: 768px) {
  .hexagon-block {
    width: 200px;
    height: 200px;
  }
  .hexagon-block > div h1 {
    font-size: 80px;
  }
  .hexagon-block:hover > div h1, .hexagon-block-active > div h1 {
    font-size: 44px;
  }
  .hexagon-block:hover > div h2, .hexagon-block-active > div h2 {
    font-size: 20px;
  } 
}

@media (max-width: 767px), (max-height: 767px) {
  .hexagon-block {
    width: 120px;
    height: 120px;
  }
  .hexagon-block > div h1 {
    font-size: 40px;
    padding-top: 30%;
  }
  .hexagon-block > div h2 {
    padding-top: 0;
  }
  .hexagon-block:hover > div h1, .hexagon-block-active > div h1 {
    font-size: 20px;
  }
  .hexagon-block:hover > div h2, .hexagon-block-active > div h2 {
    font-size: 12px;
  }  
}

/* circle */
.circle-block {
  position: relative;
  width: 200px;
  height: 200px;
  cursor: default;
}

.circle-block-logo {
  width: 300px;
  height: 300px;
}

.circle-block svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  transition: opacity 0.5s;
}
.circle-block:hover svg, .circle-block-active svg {
  opacity: 0.8;
}

.circle-block > div {
  position: relative;
}
.circle-block > div img {
  width: 80%;
  margin-left: 10%;
  margin-top: 10%;
}
.circle-block > div h1 {
  color: #ffffff;
  font-size: 100px;
  padding-top: 20%;
  text-align: center;
  transition: font-size 0.3s;
}
.circle-block-logo > div h1 {
  padding-top: 25%;
}
.circle-block > div h2 {
  font-size: 0;
  padding-top: 5%;
  color: #e96e07;
  text-align: center;
  transition: font-size 0.3s;
}

.circle-block:hover > div h1, .circle-block-active > div h1 {
  font-size: 50px;
  color: #e96e07;
}
.circle-block:hover > div h2, .circle-block-active > div h2 {
  font-size: 24px;
}

@media (max-height: 900px) and (min-width: 768px), (max-width: 900px) and (min-height: 768px) {
  .circle-block {
    width: 180px;
    height: 180px;
  }
  .circle-block-logo {
    width: 240px;
    height: 240px;
  }
  .circle-block > div h1 {
    font-size: 80px;
  }
  .circle-block:hover > div h1, .circle-block-active > div h1 {
    font-size: 44px;
  }
  .circle-block:hover > div h2, .circle-block-active > div h2 {
    font-size: 20px;
  } 
}

@media (max-width: 767px), (max-height: 767px) {
  .circle-block {
    width: 100px;
    height: 100px;
  }
  .circle-block-logo {
    width: 150px;
    height: 150px;
  }
  .circle-block > div h1 {
    font-size: 40px;
    padding-top: 28%;
  }
  .circle-block > div h2 {
    padding-top: 0;
  }
  .circle-block:hover > div h1, .circle-block-active > div h1 {
    font-size: 20px;
  }
  .circle-block:hover > div h2, .circle-block-active > div h2 {
    font-size: 12px;
  }  
}

/*
  star
*/
.star-block {
  position: relative;
  width: 250px;
  height: 250px;
  cursor: default;
}

.star-block svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  transition: opacity 0.5s;
}
.star-block:hover svg, .star-block-active svg {
  opacity: 0.8;
}

.star-block > div {
  position: relative;
}
.star-block > div img {
  width: 70%;
  padding-top: 5%;
  margin-left: 15%;
  margin-top: 15%;
}
.star-block > div h1 {
  color: #ffffff;
  font-size: 100px;
  padding-top: 30%;
  text-align: center;
  transition: font-size 0.3s;
}
.star-block > div h2 {
  font-size: 0;
  padding-top: 5%;
  color: #e96e07;
  text-align: center;
  transition: font-size 0.3s;
}

.star-block:hover > div h1, .star-block-active > div h1 {
  font-size: 50px;
  color: #e96e07;
}
.star-block:hover > div h2, .star-block-active > div h2 {
  font-size: 24px;
}

@media (max-height: 900px) and (min-width: 768px), (max-width: 900px) and (min-height: 768px) {
  .star-block {
    width: 200px;
    height: 200px;
  }
  .star-block > div h1 {
    font-size: 80px;
  }
  .star-block:hover > div h1, .star-block-active > div h1 {
    font-size: 44px;
  }
  .star-block:hover > div h2, .star-block-active > div h2 {
    font-size: 20px;
  } 
}

@media (max-width: 767px), (max-height: 767px) {
  .star-block {
    width: 120px;
    height: 120px;
  }
  .star-block > div h1 {
    font-size: 40px;
    padding-top: 30%;
  }
  .star-block > div h2 {
    padding-top: 0;
  }
  .star-block:hover > div h1, .star-block-active > div h1 {
    font-size: 20px;
  }
  .star-block:hover > div h2, .star-block-active > div h2 {
    font-size: 12px;
  }  
}

/*
 tooltip
*/
.top-tooltip, .bottom-tooltip {
  position: absolute;
  width: 100%;
  text-align: center;
  color: #2bbcb6;
  font-size: 40px;
  opacity: 0.7;
  display: none;
}

.top-tooltip {
  top: 20px;
}

.bottom-tooltip {
  bottom: 50px;
}

.typed-cursor {
  color: #2bbcb6;
  font-size: 40px;
}

@media (max-height: 900px) and (min-width: 768px) {
  .top-tooltip, .bottom-tooltip {
    font-size: 36px;
  }
}
@media (max-height: 767px), (max-width: 767px) {
  .top-tooltip, .bottom-tooltip {
    font-size: 20px;
  }
}
@media (max-height: 500px) {
  .top-tooltip, .bottom-tooltip {
    visibility: hidden;
  }
}

/* 
  common popup 
*/
.common-popup {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, .01);
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}

.common-popup > div {
  position: absolute;
  left: 50%;
  top: 38%;
  min-width: 300px;
  transform: translate(-50%, -50%);
  color: #ffffff;
  background-color: #193d4ae7;
  border: 1px solid #2bbcb6;
  border-radius: 4px;
  padding: 40px 25px 25px 25px;
  font-size: 20px;
}

.common-popup-close {
  position: absolute;
  top: 0px;
  right: 10px;
  color: #ffffff;
  font-size: 24px;
  font-family: sans-serif;
  font-weight: bold;
  transition: color 0.5s;
  cursor: pointer;
}
.common-popup-close:hover {
  color: #2bbcb6;
}

.common-popup h4 {
  margin-bottom: 15px;
}

.common-popup .popup-note {
  color: #aaaaaa;
}

/* 
  center round 
*/
.center-round-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.center-round-container > div {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}

/*
  funchol
*/
.funchol-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;  
}

.funchol-container > div {
  position: absolute;
  left: 50px;
  top: 50px;
}

@media (max-width: 900px), (max-height: 900px) {
  .funchol-container > div {
    left: 30px;
    top: 30px;
  }
}
@media (max-width: 767px), (max-height:767px) {
  .funchol-container > div {
    left: 5px;
    top: 5px;
  }
}

/*
  big dipper
*/
.big-dipper-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.big-dipper-container canvas {
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

.big-dipper-container > div {
  position: absolute;
  top: 50%;
  left: 50px;
}

.big-dipper-container .hexagon-block {
  width: 120px;
  height: 120px;
}
.big-dipper-container .hexagon-block > div h1 {
  font-size: 40px;
  padding-top: 30%;
}
.big-dipper-container .hexagon-block > div h2 {
  padding-top: 0;
  font-size: 0;
}
.big-dipper-container .hexagon-block:hover > div h1, .big-dipper-container .hexagon-block-active > div h1 {
  font-size: 20px;
}
.big-dipper-container .hexagon-block:hover > div h2, .big-dipper-container .hexagon-block-active > div h2 {
  font-size: 12px;
}  

.big-dipper-container .circle-block {
  width: 120px;
  height: 120px;
}

.big-dipper-container .circle-block > div h1 {
  font-size: 40px;
  padding-top: 28%;
}
.big-dipper-container .circle-block > div h2 {
  padding-top: 0;
  font-size: 0;
}
.big-dipper-container .circle-block:hover > div h1, .big-dipper-container .circle-block-active > div h1 {
  font-size: 20px;
}
.big-dipper-container .circle-block:hover > div h2, .big-dipper-container .circle-block-active > div h2 {
  font-size: 12px;
}  

.big-dipper-container .star-block {
  width: 120px;
  height: 120px;
}
.big-dipper-container .star-block > div h1 {
  font-size: 40px;
  padding-top: 30%;
}
.big-dipper-container .star-block > div h2 {
  padding-top: 0;
  font-size: 0;
}
.big-dipper-container .star-block:hover > div h1, .big-dipper-container .star-block-active > div h1 {
  font-size: 20px;
}
.big-dipper-container .star-block:hover > div h2, .big-dipper-container .star-block-active > div h2 {
  font-size: 12px;
}  

.bd-animation .hexagon-fill, .bd-animation .circle-fill, .bd-animation .star-fill {
  fill: #e96e07;
}