@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,700;0,800;0,900;1,200;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

h1,
h2 {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

button:focus {
    outline: none !important;
}

a,
a:hover {
    text-decoration: none !important;
    color: #fff !important;
}

a:hover {
    color: #fff !important;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    max-width: 100%;
}

body {
    color: #fff !important;
    font-family: 'Poppins', sans-serif !important;
}

.MainSec {
    overflow: hidden;
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: #30095f;
}

.fullscreen-bg {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: -100;
    background-color: #1e1e1e;
}

.background-video,.fallbackImg {
    position: absolute;
    opacity: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.fallbackImg {
    background-image: url('img/section1BG.png');
    background-size: cover;
    background-position: center;
    display: none;
}

@media (min-aspect-ratio: 16/9){
    .background-video {
        width: 100%;
        height: auto;
    }
}

@media (max-aspect-ratio: 16/9){
    .background-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media(max-aspect-ratio:9/16) {
    .background-video {
        width: 400%;
        left: -150%;
    }
}

.MainSec::after {
    content: "";
    width: 100%;
    height: 100%;
    background-image: url("img/Blur.png");
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

@media (max-width: 767px) {
    footer {
        padding: 70px 0 60px;
        text-align: center;
    }

    .logoWrap {
        justify-content: center;
    }
}

.home {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    text-align: center;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 2;
}

.mainLogo img {
    max-width: 210px;
    width: 100%;
}

.mainMiddleText {
    max-width: 625px;
    width: 100%;
}

.mainCntent {
    margin: 40px 0px 40px;
}

.mainCntent p {
    font-size: 1rem;
    max-width: 900px;
    margin: 20px auto 1rem;
}

.countrySelectWrap {
    margin-bottom: 60px;
}

.countrySelectBox {
    display: inline-block;
    max-width: 160px;
    width: 100%;
    transition: .4s ease-in-out;
}

.countrySelectBox a {
    font-weight: 400;
}

.countrySelectBox a img:hover {
    transition: .2s ease-in-out;
    transform: scale(1.1);
    border-radius: 100%;
    -webkit-filter: drop-shadow(0px 5px 20px #8d00ff);
    filter: drop-shadow(0px 5px 20px #8d00ff);
}

.countrySelectBox img {
    margin-bottom: 10px;
    max-width: 80px;
}

.main_divider {
    width: 220px;
}

.arrow a img {
    width: 50px;
}

.arrow {
    -webkit-animation: downarrow 0.6s infinite alternate ease-in-out;
}

@-webkit-keyframes downarrow {
    0% {
        -webkit-transform: translateY(0);
        opacity: 0.4
    }

    100% {
        -webkit-transform: translateY(0.4em);
        opacity: 0.9
    }
}


@media (max-width: 991px) {
    .middleSec{
        height:auto!important;
    }

    .midCont{
        left: auto!important;;
        right: auto!important;;
        top: auto!important;
        transform: none!important;
    }

    .mainMiddleText {
        max-width: 500px;
    }

    .countrySelectBox {
        max-width: 98px;
    }

    .countrySelectBox img {
        max-width: 60px;
    }

    .mainCntent p {
        margin: 15px 0;
    }

    .mainCntent {
        margin: 35px 0px 35px;
    }

}

@media (max-width: 576px) {

    .home{
        top: 48%;
    }

    .mainLogo img {
        max-width: 165px;
    }

    .mainMiddleText {
        max-width: 400px;
    }

    .main_divider {
        width: 150px;
    }

    .countrySelectWrap {
        margin-bottom: 40px;
    }

    .countrySelectBox {
        max-width: 100px;
    }

    .countrySelectBox img {
        max-width: 60px;
    }

    .countrySelectBox p {
        font-size: .8rem;
    }

    .mainCntent p {
        margin: 20px auto 15px;
        font-size: .8rem;
    }
}

@media (max-width: 400px) {
    .mainLogo img {
        max-width: 150px;
    }

    .mainCntent {
        margin: 30px 0px 30px;
    }

    .countrySelectBox img {
        margin-bottom: 10px;
        max-width: 50px;
    }

    .arrow a img {
        width: 40px;
    }
}

@media (max-width: 300px) {
    .countrySelectBox {
        max-width: 80px;
    }

    .countrySelectWrap {
        margin-bottom: 10px;
    }
}

/* PAGE2 */

.middleSec {
    position: relative;
    /* padding: 5rem 0 5rem; */
    background-image: url("img/middlebg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    box-shadow: 0px 5px 20px #fff;
    z-index: 2;
    height: 100vh;
}

.midCont {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.latest_text {
    font-size: 32px;
    color: #8d00ff;
    font-weight: bold;
    margin-bottom:2.5rem;
}

.play_text {
    font-size: 32px;
    color: #8d00ff;
    font-weight: bold;
    margin-bottom: 25px;
}

.videoWrapper {
    display: grid;
    grid-template-columns: 59% 39%;
    grid-gap: 2%;
}

.video-section {
    height: 100%;
}

.videoCont {
    width: 100%;
    height: 100%;
}

.video {
    height: 100%;
}

.button {
    border: none;
    background-color: transparent;
    height: 25%;
    margin-bottom: 10px;
    filter: grayscale(1) opacity(.8);
}

.button:last-child {
    margin-bottom: 0;
}

.button.active,
.button:hover {
    filter: none;
}

.b-nav-tab1 {
    border: none;
    background-color: transparent;
    height: 25%;
    margin-bottom: 10px;
    filter: grayscale(1);
}

.b-nav-tab1.chcolor {
    filter: none;
}


.videoTab {
    display: flex;
    flex-direction: column;
}

.bd-m {
    display: none;
}

.videoSection {
    width: 100%;
}

.playTextWrap {
    margin: 50px 0 10px;
}

.gameTypeBox {
    position: relative;
    display: flex;
    align-items: flex-start;
    color: #30095f;
    height: 75px;
}

.border-r:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    height: 75px;
    top: 0%;
    width: 1px;
    background-color: #30095f;
}

.gameTypeBox p {
    font-weight: bold;
    margin-bottom: 0;
    text-align: left;
}

.gameTypeBox span {
    font-weight: 400;
    text-align: left;
    font-size: .7rem;
}

.gameTypeBoxImg {
    flex: 1;
    padding-top: 8px;
}

.gameTypeBoxDesc {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 3;
    padding-left: 12px;
    height: 100%;
    justify-content: center;
}

@media (max-width: 1366px) {
    .latest_text{
        margin: 1.5rem 0rem;
    }
}

@media (max-width: 1280px) {

    .latest_text,
    .play_text {
        font-size: 28px;
    }

    .gameTypeBox span {
        font-size: 10px;
    }
}

@media (max-width: 991px) {

    .middleSec {
        padding: 3rem 0;
    }

    .border-r::after {
        content: none !important;
    }

    .gameTypeBox {
        align-items: center;
        padding: 1rem 0px;
    }

    .gameTypeBoxDesc {
        flex: 6;
    }

    .latest_text,
    .play_text {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .video-section {
        height: 220px;
    }

    .videoWrapper {
        display: flex;
        flex-direction: column;
    }

    .bd-desk {
        display: none;
    }

    .videoTab {
        overflow: auto;
        display: flex;
        flex-direction: row;
    }

    .bd-m {
        display: flex;
        border-radius: 10px;
    }

    .videoTab::-webkit-scrollbar {
        display: none;
    }

    .button {
        -webkit-flex: 0 0 auto;
        flex: 0 0 auto;
        cursor: pointer;
        width: 30%;
        margin-right: 6px;
        padding-top: 5px;
    }

    .gameTypeBoxImg img {
        width: 60%;
    }

}

@media (max-width: 576px) {
    .middleSec {
        padding: 2.5rem 0;
    }

    .latest_text {
        margin-top: auto;
        margin-bottom: 10px;
    }

    .gameTypeBoxDesc {
        flex: 4;
    }
}

/* PAGE3 */
.subSec {
    position: relative;
    background-image: url("img/Group3.png");
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    overflow: hidden;
    padding: 7rem 0px 3rem;
}

.mb-darkbg {
    top: 0;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, .2);
}

.subTopTitle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem
}

.whyChoose {
    max-width: 325px;
}

.whyChoose_logo {
    max-width: 190px;
    margin-left: 20px;
}

.choose_us_box_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.choose_us_title {
    text-align: center;
    height: 45px;
}

.title-wd {
    width: 100%;
}

.chooseUs {
    max-width: 400px;
    position: relative;
    color: #30095f;
    font-weight: 700;
    margin: 0 auto 25px;
}

.chooseUs p {
    background-color: rgba(255, 255, 255, .6);
    border-radius: 15px;
    padding: 15px 20px;
    font-size: .8rem;
    font-weight: 500;
    line-height: 18px;
    min-height: 180px;
}

.person {
    position: absolute;
    background-image: url("img/mspuiyi.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 90%;
    left: 0;
    bottom: 0;
}

/* Responsive */
@media (min-width: 1367px) {
    .person {
        left: 2%;
    }
}

@media (max-width: 1366px) {
    .subSec {
        height: auto;
    }

    .playTextWrap {
        margin: 35px 0 0px;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {

    /* CSS */

    .choose_us_title {
        height: 35px;
    }

    .chooseUs p {
        min-height: 175px;
    }
}

@media (max-width: 1280px) {
    .mainLogo {
        padding-top: 30px;
    }
 
    .countrySelectWrap {
        margin-bottom: 40px;
    }

    .chooseUs p {
        font-size: .7rem;
    }

    .whyChoose {
        max-width: 280px;
    }

    .whyChoose_logo {
        max-width: 130px;
    }

}

@media (max-width: 1024px) {

    .person {
        display: none;
    }

}

@media (max-width: 991px) {

    .mb-wc {
        margin: 0 !important;
    }

    .subSec {
        padding: 5rem 0px 3rem;
    }

    .choose_us_title {
        height: 35px
    }

    .chooseUs p {
        min-height: 210px;
    }
    
}

@media (max-width: 576px) {

    .whyChoose {
        max-width: 250px;
    }

    .whyChoose_logo {
        max-width: 145px;
        margin-top: 1rem;
        margin-left: 0;
    }

    .chooseUs p {
        min-height: 160px;
        line-height: normal;
        font-size: .7rem;
    }

    .subSec {
        padding: 3.2rem 0px 3rem;
    }

    .subTopTitle {
        flex-direction: column;
        margin-bottom: 2rem
    }

    .title-wd {
        width: 95%;
    }

    .playTextWrap {
        margin: 20px 0 10px;
    }

    .latest_text,
    .play_text {
        font-size: 18px;
    }

    .play_text {
        margin: 0;
    }

    .gameTypeBox p {
        font-size: 14px;
    }

    .gameTypeBox span {
        font-size: .6rem;
    }
}

@media (max-width: 400px) {
    .title-wd {
        width: auto;
    }

    .chooseUs p {
        min-height: 150px;
    }
}