/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  color: #5a5a5a;
  margin:0px;padding:0px;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

main{margin-top:50px; }
.box{
    background: #f34c87;
    display: inline-block;
    border-radius: 5px;
    overflow: hidden;
    color: #fff;
    text-align:center;
    font-weight:bold;
}
button:focus{    outline: 5px auto #f34c87!important;
}
.box:hover{ color:#333;}
.boxc{    width: 25%;
    margin: 5px 0px;
    text-align: center; }
.boxes{     justify-content: space-between;}
.boxes:after{    flex: auto;
    content: "";}
/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
  background:#000;
}
.footer{
	    margin-top: 50px;
    background: #343a40;
    bottom: 0px;
    margin-bottom: 0px;
    padding-bottom: 40px;
    padding-top: 20px;
    color:#fff;
    text-align:center;
}
.center{text-align:center;}
h4.pink{ color:#ff75a5;  margin-bottom:20px;}
.btn.demoplay{ font-weight:bold; }
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 28rem;
  background-color: #777;
}
.carousel-item > img {
  position: absolute;
  top: 0;
  min-width: 100%;
  height: 28rem;
}

.first-slid{
background-image: url(/img/bansoft.webp);
}

.first-slide{
background-image: url(/img/ban1.webp);
}
.second-slide{
background-image: url(/img/ban2.webp);
}
.third-slide{
background-image: url(/img/ban3.webp);
}
.fourth-slide{
background-image: url(/img/ban4.webp);
}
.fifth-slide{
background-image: url(/img/ban5.webp);
}
.sixth-slide{
background-image: url(/img/ban6.webp);
}
.seven-slide{
background-image: url(/img/ban7.webp);
}
.eight-slide{
background-image: url(/img/ban8.webp);
}
.s9{
background-image: url(/img/ban9.webp);
}
.s10{
background-image: url(/img/ban10.webp);
}
.s11{
background-image: url(/img/bancchili.webp);
}
.s12{
background-image: url(/img/bancaishen.webp);
}
.s13{
background-image: url(/img/banwukong.webp);
}







.carousel-item > div{
  width: 100%;
    height: 28rem;
    background-size: cover;
    background-position: 50% 100%;
    margin-top: 20px;
}

/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h2 {
  font-weight: 400;
}
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.05rem;
}


.flexit{display:flex!important; }
.gamecontainer{position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0px;
    z-index: 2000;
/*    backdrop-filter: blur(10px);*/
            align-items: center;
    justify-content: center;
}
            .gamec{
                    height: 90%;
    background: #fff;
    aspect-ratio: 16/9;
                border: 1px solid #060606;
    background: #000;
            display:flex;
                        flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
                border-radius: 5px;
                        overflow:hidden;

            }
            .gameframe{flex:1;}
            .close{color:#fff!important; margin:2px;
            font-size: 1.2rem;
    padding: 5px;
            }


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (max-width: 992px){
	.carousel-item, .carousel-item >div {height: 14rem;}
	.boxc{width:auto; margin:5px 2px;}
	.gamec{width:100%; height:100%; border-radius:0px;}



}
@media (min-width: 992px){
 .gamecontainer{position: fixed;
            backdrop-filter: blur(10px);
        }
}


@media (max-width: 405px){
	.game{width:100%; aspect-ratio:200/302; height:auto;}
	 .boxc{width:45%;}

}

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}
