/* -- typography -- */
body {
    font-family: helvetica,'Varela Round', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    color: #868F9B;
	background-color:#000;
}

a {
    color: #6195FF;
    text-decoration: none;
    -webkit-transition: 0.2s opacity;
    transition: 0.2s opacity;
}

a:hover, a:focus {
    text-decoration: none;
    outline: none;
    color: #6195FF;
}

::-moz-selection {
    background-color: #6195FF;
    color: #FFF;
}

::selection {
    background-color: #6195FF;
    color: #FFF;
}

/* --  background image section  -- */
.bg-wrap {
	position: absolute;
	bottom: 0;
	height: 100vh;
	min-height: 680px;
	width: 100%;
}

.bg-wrap-1 {
	position: relative;
	height: 100vh;
	min-height: 680px;
	overflow: hidden;
	width: 100%;
}

.bg-wrap-2 {
	position: absolute;
	left: 50%;
	margin-left: -960px;
	width: 1920px;
	bottom: -60px;
}

.video-background{
	width:100%;
	height: 100%;
}

/*------------------------------------*\
	Header
\*------------------------------------*/

header {
    position: relative;
}

#home {
    height: 100vh;
    min-height: 680px;
}

#home .home-wrapper {
    position: absolute;
    text-align: center;
    width: 100%;
    display: none;
    bottom: 10px;
}
.home-content .logo {
	text-align: center;
	margin-bottom: 15px;
}
.home-content .logo>img {
	max-height: 156px;
}
.home-content .country {
	text-align: center;
	margin-bottom: 20px;
	margin-top:-50px;
	white-space:nowrap;
}
.home-content .country>a {
	display: inline-block;
	width: 200px;
	height: 210px;
	background-repeat:no-repeat;
    background-position: center;
    transition: .4s ease-in-out;
	margin-left: -20px;
}
.home-content .country>a:hover {
	transform: scale(1.1);
}
.home-content .country>a:hover:after {
	content: '';
	-webkit-box-shadow: 0px 0px 12px 0px rgba(255,255,255,1);
	-moz-box-shadow: 0px 0px 12px 0px rgba(255,255,255,1);
	box-shadow: 0px 0px 30px 0px rgba(255,255,255,1);
	width: 80px;
    height: 80px;
    top: 65px;
	border-radius: 100%;
	margin: 0 auto;
	left: 0;
	right: 0;
	position: absolute;
}
.home-content .country>a>label {
	margin-top:165px;
	font-size:13px;
	color:#fff;
	opacity: 0.8;
	vertical-align: top;
}

.home-content .country>a.malaysia {
	background-image: url('../image/regional-my.png');
	background-size: 200%;
}
.home-content .country>a.singapore {
	background-image: url('../image/regional-sg.png');
	background-size: 200%;
}
.home-content .country>a.international {
	background-image: url('../image/regional-international.png');
	background-size: 200%;
}
.home-content .country>a.thailand {
	background-image: url('../image/regional-th.png?v1');
	background-size: 200%;
}
.home-content .country>a.vietnam {
	background-image: url('../image/regional-vn.png?v1');
	background-size: 42%;
}
.home-content .league {
	text-align: center;
    margin-bottom: 10px;
}

.img_vendor {
	max-width:1200px;
	width:100%;
	content:url("../image/wc-desktop-vendor-b&w.svg");
}

.mobile {
    display: none;
}

.desktop {
    display: block;
}

.swiper-container{
    z-index: 1;
    height: 100vh;
    opacity: .4;
}

.swiper-container img {
    width: 100%;
}

.swiper-container .img-cover{
    z-index: 1;
}

.swiper-container .swiper-pagination-bullet {
    background-color: white;
}

.content {
	width: 100%;
}

.country {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.country a {
    flex: 1 1 20%; /* Each item takes up 20% of the width on desktop */
    text-align: center;
    margin: 5px;
}

@media (max-width: 768px) {
    .country a {
        flex: 1 1 30%; /* Each item takes up 30% of the width on mobile (3 items per row) */
    }

    .country a:nth-child(4),
    .country a:nth-child(5) {
        flex: 1 1 30%; /* The last two items take up 45% of the width on mobile (2 items in the second row) */
    }

	.home-content .country>a.thailand {
		background-image: url('../image/regional-th.png?v1');
		background-size: 134%;
	}
	.home-content .country>a.vietnam {
		background-image: url('../image/regional-vn.png?v1');
		background-size: 30%;
	}
}


/*------------------------------------*\
	Responsive
\*------------------------------------*/
@media only screen and (max-width: 1199px) {
	.img_vendor {
		max-width:1000px;
	}
}

@media only screen and (max-width: 991px) {
	.home-content .logo>img {
		max-height: 140px;
	}
	.home-content .country {
		text-align: center;
		margin-bottom: 20px;
		/* margin-top:-30px; */
		margin-top: 8px;
		white-space:nowrap;
	}
	.home-content .country>a {
		width: 200px;
		height: 150px;
		background-size: 120%;
	}
	.home-content .country>a>label {
		margin-top:120px;
		font-size:13px;
	}
	.home-content .country>a:hover:after {
		width: 50px;
		height: 50px;
		top: 50px;
	}
	.img_vendor {
		max-width:700px;
	}
	.video-background{
		width:100%;
		height: 100%;
	}
	.bg-wrap-2 {
		bottom: 0px;
		top: -24%;
	}
	#home .home-wrapper {
		bottom: 0px;
		top: 68%;
	}
}

@media only screen and (max-width: 767px) {
	.landscape {
		display: none!important;
	}
	.portrait {
		display: block!important;
	}

	.bg-img {
		/*background-image: url('../image/mbg.jpg');*/
	}
	.home-content .logo>img {
		 max-height: 127px;
	}
	.img_vendor {
		content:url("../image/wc-mobile-vendor-b&w.svg");
	}
	.mobile {
		display: block;
	}	
	
	.desktop {
		display: none;
	}
	.video-background{
		width: 60%;
		margin-left: 20%;
		height: 100%;
	}
	.bg-wrap-2 {
		bottom: 0px;
		top: -24%;
	}
	#home .home-wrapper {
		bottom: 0px;
		top: 58%;
	}
}

@media only screen and (max-width: 480px) {
	.home-content .logo>img {
		max-height:25vw;
	}

	.home-content .country>a {
		display: inline-block;
		width: 28vw;
		height: 30vw;
		background-repeat:no-repeat;
		background-position: center;
		background-size: 250%;
	}
	.home-content .country>a>label {
		margin-top:25vw;
		font-size:2.5vw;
	}
	.home-content .country>a:hover:after {
		width: 11.4vw;
		height: 11.4vw;
		top: 9.2vw;
	}
	.video-background{
		width: 42%;
		margin-left: 29%;
		height: 42%;
		/* margin-top: 12%; */
		margin-top: 9%;
	}
	.bg-wrap-2 {
		bottom: 0px;
		top: -24%;
	}
	#home .home-wrapper {
		bottom: 0px;
		top: 40%;
	}
}

@media only screen and (max-width: 410px) {
	#home .home-wrapper {
		width: 105%;
		top: 47%;
	}
}

@media only screen and (max-width: 370px) {
	.video-background{
		width: 40%;
		margin-left: 30%;
		height: 40%;
		margin-top: 12%;
	}

	.bg-wrap-1 {
		width: 105%;
	}

	.bg-wrap-2 {
		bottom: 0px;
		top: -24%;
	}

	#home .home-wrapper {
		width: 105%;
		top: 47%;
	}
}

@media (min-aspect-ratio: 16/9) and (max-width: 767px) {
    .landscape {
        display: block!important;
    }

    .portrait {
        display: none!important;
    }

    #home .home-wrapper {
        top: 50%;
    }

    .home-content .logo>img {
        max-height: 100px;
    }

    .home-content .country>a {
        width: 220px;
        height: 110px;
    }

    .home-content .country>a:hover:after {
        width: 56px;
        height: 56px;
        top: 27px;
    }

    .home-content .country>a>label {
        margin-top: 96px;
    }

    .img_vendor {
        max-width: 76vw;
        margin: 0 auto;
    }
}

@media only screen and (max-height: 420px) {
	#home {
		min-height: 420px;
	}
	.video-background{
		width: 50%;
		margin-left: 25%;
		height: 150%;
		margin-top: 0%;
	}
	.bg-wrap-2 {
		bottom: 0px;
		top: -24%;
	}
	#home .home-wrapper {
		bottom: 0px;
		top: 78%;
	}
}

@media only screen and (min-height: 1040px) {
  /* .video-background{
    width: 56%;
    margin-left: 23%;
    height: 72%;
    margin-top: 12%;
  } */
	.bg-wrap-2 {
		bottom: 0px;
		top: -24%;
	}
	#home .home-wrapper {
		bottom: 0px;
		top: 58%;
	}
}

@media only screen and (max-width: 800px) and (min-height: 1024px) {
	.video-background{
		width: 60%;
		margin-left: 20%;
		height: 60%;
		margin-top: 12%;
	}
	.bg-wrap-2 {
		bottom: 0px;
		top: -24%;
	}
	#home .home-wrapper {
		bottom: 0px;
		top: 55%;
	}
}

@media only screen and (min-width: 992px) and (max-height: 420px) {
	#home {
		min-height: 680px;
	}
	.video-background{
		width:100%;
		height: 100%;
		margin-left: unset;
		margin-top: unset;
	}
	.bg-wrap-2 {
		bottom: -70px;
		top: unset;
	}
	#home .home-wrapper {
		bottom: 10px;
		top: unset;
	}
}

/*------------------------------------*\
	Preloader
\*------------------------------------*/


#preloader {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: #000;
    z-index: 99999;
}

.preloader {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}
.preloader span {
    display: inline-block;
    background-color: #6195FF;
    width: 25px;
    height: 25px;
    -webkit-animation: 1s preload ease-in-out infinite;
            animation: preload 1s ease-in-out infinite;
    -webkit-transform: scale(0);
        -ms-transform: scale(0);
            transform: scale(0);
    border-radius:50%;
}

.preloader span:nth-child(1) {
    -webkit-animation-delay: 0s;
            animation-delay: 0s;
}

.preloader span:nth-child(2) {
    -webkit-animation-delay: 0.1s;
            animation-delay: 0.1s;
}

.preloader span:nth-child(3) {
    -webkit-animation-delay: 0.15s;
            animation-delay: 0.15s;
}

.preloader span:nth-child(4) {
    -webkit-animation-delay: 0.2s;
            animation-delay: 0.2s;
}

@-webkit-keyframes preload {
	0% {
	   -webkit-transform:scale(0);
	           transform:scale(0);
	}
  50% {
    -webkit-transform:scale(1);
            transform:scale(1);
  }
  100% {
    -webkit-transform:scale(0);
            transform:scale(0);
  }
}

@keyframes preload {
	0% {
	   -webkit-transform:scale(0);
	           transform:scale(0);
	}
  50% {
    -webkit-transform:scale(1);
            transform:scale(1);
  }
  100% {
    -webkit-transform:scale(0);
            transform:scale(0);
  }
}

label {
    font-weight:700;
}