/* reset */
a,b,body,div,h2,html,i,img,li,span,ul,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}body{line-height:1}ul{list-style:none}
/* reset end*/


@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto-bold.eot');
    src: url('../fonts/roboto-bold.eot') format('embedded-opentype'),
        url('../fonts/roboto-bold.woff2') format('woff2'),
        url('../fonts/roboto-bold.woff') format('woff'),
        url('../fonts/roboto-bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
  :root {
	--background: #005;
	--primary: #88D5BF;
	--secondary: #5D6BF8;
	--third: #e27fcb;
}
  .home-con {
    width: 100vw;
    height: 100vh;
    background-size: cover;
    position: fixed;

  }
  .video-con {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    line-height: 0px;
    background: url(../images/7ballbg.jpg) no-repeat center 85%;
    background-size: cover;
    
  }
  #register_video {
     background-size: contain;
  background-position: center center;
  background-color: black;
  position: fixed;
  width: 100%;
  height: 100%;
  object-fit: cover;
  }


@supports (-ms-ime-align:auto) {

   #register_video {   position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;}
   
}
  .btn-con {
    width: 100vw;
    height: 100vh;
    position: fixed;
  }
  .btn-container {
     /* width: 600px; */
    width: 740px;
    height: 400px;
    top: 45%;
    position: absolute;
    margin-top: -200px;
    /* margin-left: -300px; */
    margin-left: -370px;
    left: 50%;
    border-radius: 10px;
    text-align: center;
    z-index: 3;
  }
  a.btn {
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    display: block;
    height: 65px;
    color: #fff;
    /* font-size: 14px;
    width: 190px; */
    font-size: 14px;
    width: 159px;
    font-family: 'Roboto';
    border-radius: 70px;
    border: 1px solid #ffffff;
    margin: 33px auto 0px auto;
    text-align: center; /* 水平居中文本 */
    display: inline-flex; /* 用 flex 让内容居中 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    /* padding-left: 60px; */
    /* padding-right: 10px; */
    /* text-align: left; */
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
    margin-right: 5px;
}

a.btn.vnflag div {
    position: relative;
    top: 16px;
}
a.btn.inflag div {
    position: relative;
    top: 16px;
}
a.btn.thflag  div {
  position: relative;
  top: 16px;
}
 /* 
a.btn.vnflag { 
  background: rgb(25 26 39 / 0.3) url(../images/xingkong.png) no-repeat 6px 5px;
  background-size: 60px 50px;
  margin-right: 10px;
  text-align: center;
}
a.btn.inflag {
    background: rgb(25 26 39 / 0.3) url(../images/9game.png) no-repeat 6px 5px;
  background-size: 60px 50px;
    text-align: center;
}
a.btn.thflag {
  background: rgb(25 26 39 / 0.3) url(../images/aiyouxi.png) no-repeat 6px 5px;
  background-size: 60px 50px;
  text-align: center;
}
 */
a.btn.inflag.mobiledisplay {
  display: none;
}
a.btn.vnflag.mobiledisplay {
  display: none;
}
a.btn.thflag.mobiledisplay {
  display: none;
}
.logo-con {
     /* opacity: .7; */
    margin-bottom: 20px;
    margin-top: 0px;
}
 
.shape {
background: linear-gradient(45deg, var(--primary) 0%, var(--secondary) 100%);
animation: morph 8s ease-in-out infinite;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  height: 500px;
  transition: all 1s ease-in-out;
  width: 575px;
      z-index: 2;
    opacity: .7;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -285px;
    margin-top: -250px; 
    display:none;  
}
a.btn.vnflag:hover, a.btn.thflag:hover {
background-color: rgba(255 255 255 / 0.5);
    text-align: center;
   
}
a.btn span { font-size: 12px; font-style: normal; text-transform: capitalize; line-height: 12px; }

a.btn span i{ position: relative;
    top: 2px;
    left: 5px; }
a.btn span i img { height: 12px; }
a.btn.inflag:hover {
    padding-top:  0px;
   background-color: rgba(255 255 255 / 0.5);
    text-align: center;
}
@keyframes morph {
  0% {
			border-radius:  60% 40% 30% 70% / 60% 30% 70% 40%;
			background: linear-gradient(45deg, var(--primary) 0%, var(--secondary) 100%);
	} 
	
	50% {
			border-radius:  30% 60% 70% 40% / 50% 60% 30% 60%;
			background: linear-gradient(45deg, var(--third) 0%, var(--secondary) 100%);
	}
  
	100% {
		border-radius:  60% 40% 30% 70% / 60% 30% 70% 40%;
		background: linear-gradient(45deg, var(--primary) 0%, var(--secondary) 100%);
	} 
}

@media screen and (max-width: 767px) {
  .shape {
    display: none;
  }
  .logo-con {
    margin-top: 0px;
}
 a.btn { margin: 0px auto; margin-bottom: 20px; display: block; } 
a.btn.vnflag {  margin-top: 0px; margin-right: auto;}

.video-con {
    background: url(../images/7ballbgportrait.jpg) no-repeat center 85%;
    background-size: cover;
    
  }
}
@media screen and (max-width: 768px) {
  .btn-container {
    width: 96%;
    margin-left: -48%;
  }

}
@media screen and (max-width:767px) {
  .btn-container {
    top:30%;
  }
  a.btn {
    font-size: 18px;
    width: 190px;
  }
  a.btn.inflag.webdisplay {
    display: none;
  }
  a.btn.inflag.mobiledisplay { display: block;}
  a.btn.vnflag.webdisplay {
    display: none;
  }
  a.btn.vnflag.mobiledisplay { display: block;}
  a.btn.thflag.webdisplay {
    display: none;
  }
  a.btn.thflag.mobiledisplay { display: block;}
}

@media screen and (max-width: 374px) {
  /* .btn-container {
    width: 300px;
    margin-left: -150px;
  } */
.logo-con {
    margin-top: 0px;
  }
  .logo-con img {width: 150px !important; }
}


/* Landscape */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 
    /* .btn-container {
      width: 96%;
      margin-left: -48%;
    } */
      .logo-con {
    margin-top: 30px;
  }
  .logo-con img {width: 180px !important; }
  .video-con {
    background: url(../images/7ballbglandscape.jpg) no-repeat center bottom;
    background-size: cover;
  }
   a.btn {
    margin: 33px auto 0px auto;
    margin-left: 5px;
    margin-right: 5px;
    display: inline-block;
}
  a.btn.vnflag {
    margin-right: 10px;
  }

}
/* Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 
    .shape  {
      display: none;
    }
    .logo-con {
    margin-top: 40px;
  }
  .logo-con img {width: 180px !important; }
    .video-con {
    background: url(../images/7ballbglandscape.jpg) no-repeat center bottom;
    
  }
  a.btn {
    margin: 33px auto 0px auto;
    margin-left: 5px;
    margin-right: 5px;
    display: inline-block;
}
  a.btn.vnflag {
    margin-right: 10px;
  }

}
/* Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) { 
  .logo-con {
    margin-top: 40px;
  }
  .logo-con img {width: 180px !important; }
  .video-con {
    background: url(../images/7ballbglandscape.jpg) no-repeat center bottom;
    background-size: cover;
  }
   a.btn {
    margin: 33px auto 0px auto;
    margin-left: 5px;
    margin-right: 5px;
    display: inline-block;
}
  a.btn.vnflag {
    margin-right: 10px;
  }

}
/* Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {
.logo-con {
    margin-top: 45px;
  }
  .logo-con img {width: 170px !important; }
  .video-con {
    background: url(../images/7ballbglandscape.jpg) no-repeat center bottom;
    background-size: cover;
    
  }
    a.btn {
    margin: 33px auto 0px auto;
    margin-left: 5px;
    margin-right: 5px;
}
  a.btn.vnflag {
    margin-right: auto;
  }
 
.linklist ul li a {
  font-size: 12px;
}
}
.btn-container h2 {
    line-height: 20px;
}
.linklist {
  width: 100%;
  margin-top: 20px;
}

.linklist ul {
  padding: 0px;
  margin: 0px;
}

.linklist ul li {
  display: inline-block;
  margin: 5px;
}

.linklist ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  text-shadow: 1px 4px 3px #000000;
  text-transform: uppercase;
}
.linklist ul li:hover a {
color: #2495f1;
text-shadow: 1px 4px 3px #464545;
}
