body {
    foont-family: Microsoft Yahei, SimHei, sans-serif;
    color: #34332f;
}

.transparency {
    opacity: 0.7;
}

.text-gold {
    color: #a47926;
}

/* Header Background */

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

.masthead {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url(../img/home-header-banner1.jpg);
    background-size: cover;
    background-position: bottom;
    margin-top: 94px;
}


.masthead .clouds {
    position: absolute;
    top: 20vh;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding-top: 100px;
}

.masthead .clouds img {
    position: absolute;
    bottom: 0;
    max-width: 100%;
    animation: animate calc(8s * var(--i)) linear infinite;
}

div.slogan {
    margin-top: 5%;
    position: absolute;
    width: 100%;
    text-align: center;
    top: 10vh;
}

@keyframes animate
{
    0%
    {
        transform: translateX(-100%);
    }
    100%
    {
        transform: translateX(100%);
    }
}


/* Transforming Navbar Header */

.navbar-light.fixed-top {
    background-image: linear-gradient(#000, #363f52);
    opacity: 0.9;
}

.nav-menu {
    color: #f6e897 !important;
}

a.nav-link {
    color: #f6e897 !important;
}

.navbar {
    z-index: 99;
    padding-top: 0;
    padding-bottom: 0;;
}

.navbar-light .navbar-toggler-icon {
    background-image: url(../img/toggle-icon2.svg);
}

/* Section */

.scenery-bg {
    position: relative;
    width: 100%;
    height: auto;
    background-image: url(../img/scenery-bg.png);
    background-repeat: round;
    background-size: cover;
    background-position: top;
}

.img-container {
    position: relative;
    width: 100%;
    background-color: #000;
}

.image-btn {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}

.img-container:hover .image-btn {
    opacity: 0.3;
}

.image-btn-text {
    transition: .5s ease;
    opacity: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

.image-btn-text .text{
    color: white;
    font-size: 16px;
    padding: 16px 0;
}

.img-container:hover .image-btn-text {
    opacity: 1;
}

.image-btn-inner {
    transition: .5s ease;
    opacity: 1;
    position: absolute;
    top: 25%;
    right: -5%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

.image-btn-inner .inner-btn-grey{
    width: 135px;
    background-color: #8e8c8d;
    color: white;
    font-size: 16px;
    padding: 16px 0;
    border-radius: 50px;
    opacity: 0.7;
}

.image-btn-inner .inner-btn-purple{
    width: 135px;
    background-color: #caafcf;
    color: white;
    font-size: 16px;
    padding: 12px 0;
    border-radius: 50px;
    opacity: 0.7;
}

.img-container:hover .image-btn-inner {
    opacity: 1;
}

.news {
    /* background-color: #faf3d7;*/
    background: rgb(246,221,146);
    background: linear-gradient(180deg, rgba(246,221,146,.7) 0%, rgba(246,236,190,.7) 50%, rgba(246,221,146,.7) 100%);
    border: 1px solid #c6a584;
    padding: 1.2vw;
    height: 100%;
}

.news th a, .news td a {
    color: #34332f;
    text-decoration: none;
}

.news th {
    border-bottom: 1px solid #c6a584 !important;
}

.news td {
    padding-top: 1vw !important;
}

.news th:last-child {
    text-align: right;
}


.news td:last-child {
    text-align: right;
}

.news-detail {
    background-color: rgba(255,255,255,0.5);
    border: 1px solid #c6a584;
    padding: 1.2vw;
    height: 100%;
}

.news-detail th {
    border-bottom: 1px solid #c6a584 !important;
}

.news-detail th:last-child {
    text-align: right;
    width: 160px;
}

.news-detail td {
    padding-top: 1vw !important;
    text-align: left;
}



/* Parallax Srolling Effect Background */
.parallax {
    position: fixed;
    bottom:0;
    z-index: -1;
    background: url(../img/parallax.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    height: 100vh;
    width: 100%;
}

.home-categories {
    background-color: #FFF;
    opacity: 0.9;
    padding: 20px;
    border: 1px solid #c6a584;
}

.home-categories .icon {
    text-align: center;
}

.home-categories li {
    list-style-image: url(../img/arrow-left.png);
    margin-right: 35px;
}


.home-categories a.nav-link {
   color: #575757 !important;
}

.home-categories .separator {
    width: 95%;
    border-bottom:  1px solid #c6a584 !important;
    margin: 0 auto;
}

/* Tab Slider Carousel*/
.home-tab-slider .btn-more {
    background-image: linear-gradient(#f6e19d, #f6ebbb, #f6e19d);
    color: #a47926;
    border: 1px solid #a47926;
    border-radius:0;
    padding: 0.5rem 2.25rem;
}

.home-tab-slider a {
    color: #212121;
    text-decoration: none;
}

.carousel-caption {
    position: absolute;
    right: auto;
    bottom: 2.25rem;
    left: 8%;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    color: #fff;
}

.carousel-control {
  color: #0284b8;
  text-align: center;
  text-shadow: none;
  font-size: 30px;
  width: 30px;
  height: 30px;
  line-height: 20px;
  top: 23%;
}

.carousel-control:hover,
.carousel-control:focus,
.carousel-control:active {
  color: #333;
}

.carousel-caption,
.carousel-control .fa {
  font: normal normal normal 30px/26px FontAwesome;
}

.carousel-control {
  background-color: rgba(0, 0, 0, 0);
  bottom: auto;
  font-size: 20px;
  left: 0;
  position: absolute;
  top: 30%;
  width: auto;
}

.carousel-control.right,
.carousel-control.left {
  background-color: rgba(0, 0, 0, 0);
  background-image: none;
}

#myCarousel .nav a small {
    display:block;
}

#myCarousel .nav {
	background:#eee;
}

#myCarousel .nav a {
    border-radius:0px;

}

#myCarousel .carousel-indicators {
    position: relative;
    background-color: white;
    border-top: 1px solid #cba675;
    padding: 10px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

#myCarousel .carousel-indicators [data-bs-target] {
    display: flex;
    text-indent: 0;
    width: auto;
    height: auto;
    border: 2px;
    padding: 10px;
}
#myCarousel .carousel-indicators [data-bs-target].active {
    border-top: 2px solid #cba675;
}
#myCarousel .carousel-indicators [data-bs-target].active a {
    color: #cba675;
}


/* Home Bottom */
.bg-bottom {
    position: relative;
    width: 100%;
    height: auto;
    padding-top: 70px;
    background-image: url(../img/bg-bottom.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
}

.bg-bottom .list-group-item {
    border: 0;
    background-color: transparent;
}

/* Side Panel */
.sidepanel  {
    width: 0;
    position: fixed;
    z-index: 99;
    height: 500px;
    top: 30vh;
    right: 0;
    background-color: #FFF;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 1.5vw;
  }

  .sidepanel a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  
  .sidepanel a:hover {
    color: #f1f1f1;
  }
  
  .sidepanel .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
  }
  
  .openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: #d70000;
    color: white;
    padding: 10px 15px;
    border: none;
    position: fixed;
    top: 30vh;
    right: 0;
  }

  .text-orientation {
      writing-mode: vertical-rl;
      text-orientation: upright;
      letter-spacing: 5;
  }

  .openbtn:hover {
    background-color:#444;
  }

  .signup form { 
    padding: 25px;
  }

  .signup .form-control {
      border-color: #cba675;
  }

  .signup label {
    text-align: right;
}

#slideout {
    display: block;
    position: fixed;
    top: 25vh;
    right: 0;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
    z-index: 1899;
}

#slideout_inner {
    width: 320px;
    position: fixed;
    top: 25vh;
    right: -320px;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
    z-index: 99;
    background-color: #FFF;
}

#slideout:hover {
    right: 320px;
}

#slideout:hover #slideout_inner {
    right: 0;
}

.btn-red {
    background: #d70000;
    color: #ffffff;
    border-bottom: 4px solid #811b1b;
    border-radius:0;
}
.btn-red:hover {
    color: #ffffff;
    background: #bf1616;
}


/* News */
.blue-pattern-bg {
    position: relative;
    width: 100%;
    height: auto;
    background-image: url(../img/blue-pattern-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    padding: 30px 15px;
}

.btn-blue {
    width: 200px;
    background-image: linear-gradient(#395691, #6888c9);
    padding: 15px 35px;
    color: #FFF;
    border-radius: 50px;
    opacity: 0.8;
}

a.btn-blue {
    text-decoration: none !important;
}

a.btn-blue:hover {
    color:#FFF;
}

.btn-border-blue {
    background-image: url(../img/btn-border-blue.png);
    background-repeat: no-repeat;
    width: 100%;
    height: auto;
    padding: 8px 30px;
    color: #202020;
    text-align: center;
    background-position: center;
}

a.btn-border-blue {
    text-decoration: none !important;
}

.btn-border-blue.words-five {
    padding: 8px 23px;
}

.page-link {
    position: relative;
    display: block;
    color: #cba675;
    text-decoration: none;
    background-color: transparent;
    border: 1px solid #cba675;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.page-item.active .page-link  {
    background-color: #cba675 !important;
    color: #FFF !important;
    border-color: transparent;
}

a.page-link:hover {
    background-color: #cba675 !important;
    color: #FFF !important;
}

/* Subpage Footer */

.bg-footer {
    position: relative;
    width: 100%;
    height: auto;
    background-image: url(../img/footer-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
}

.bg-footer .list-group-item {
    border: 0;
    background-color: transparent;
}

/* Game Guide */
.game-topnav {
    background-color: rgba(255,255,255,0.5);
    border: 1px solid #577aa9;
    padding: 30px 2vw;
}

.game-topnav h3 {
    font-size: 24px;
}

.game-topnav nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 25px;
}

.game-topnav nav ul li {
    display: inline-flex;
}

.game-topnav nav ul li a {
    padding: 7px 30px;
    width: 130px;
    font-size: 14px;
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 8px;
}

.game-topnav nav ul li a.active, .game-topnav nav ul li a:hover {
    background: url(../img/btn-border-blue.png), #e3edfa;
    background-repeat: no-repeat;
    background-position: center;
    background-blend-mode: multiply;
    color: #34332f;
}

.guide-content {
    background: rgb(246,221,146);
    background: linear-gradient(180deg, rgba(246,221,146,.7) 0%, rgba(246,236,190,.7) 50%, rgba(246,221,146,.7) 100%);
    border: 1px solid #c6a584;
    padding: 30px 2vw;
    min-height: 70vh;
}

.guide-content {
    display: flex;
    justify-content: center; /* Căn giữa theo chiều ngang */
    align-items: center; /* Căn giữa theo chiều dọc nếu cần */
}

.guide-content img {
    margin-bottom: 1.5em;
}

.guide-content h3 {
    font-size: 25px;
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: bold;
    color:#000;
}
.guide-content h4 {
    font-size: 21px;
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: bold;
    color:#B62727;
}
.guide-content h5 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    color:#ED8000;
}

.download-table{
    border-bottom: 1px solid #a3a3a3;
}

.table.setting-table tr th{
    background-color: #424242;
    border: 1px solid #192233;
    color: #FFFFFF;

}

.floating{
	animation-name: floating;
	animation-duration: 3s;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
	margin-left: 30px;
	margin-top: 5px;
}

@keyframes floating{
	from {
		transform: translate(0, 0px);
	}
	65% {
		transform: translate(0, 15px);
	}
	to {
		transform: translate(0, -0px);
	}
}

.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
  }
  
  .embed-responsive::before {
    display: block;
    content: "";
  }
  
  .embed-responsive .embed-responsive-item,
  .embed-responsive iframe,
  .embed-responsive embed,
  .embed-responsive object,
  .embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
  
  .embed-responsive-21by9::before {
    padding-top: 42.857143%;
  }
  
  .embed-responsive-16by9::before {
    padding-top: 56.25%;
  }

.wallpaper-btn {
    background: #514d3f;
    color: #b59c75;
    border: 2px solid #b59c75;
    border-radius:0;
    margin:2px;
}
.wallpaper-btn:hover {
    color: #ffffff;
    background: #514d3f;
    border: 2px solid #ffffff;
}

.slick-dots li a {
	color: #b59c75;
    border: 1px solid #b59c75;
	background-color: #ffffff;
    margin: 0px;
	text-decoration: none;
	font-family: yahei;
	font-weight: bold;
	padding: 3px 8px 3px 8px;
}

.slick-dots li.slick-active a{
	color: rgb(255, 255, 255);
    border: 1px solid #b59c75;
	background-color: #b59c75;
    margin: 0px;
}

.slick-dots
{
    position: relative;
}

.slick-slide {
	margin: 0 26px;
}

.slick-list {
	margin: 0 -26px;
}

@media (max-width: 767px) {
    #myCarousel .carousel-indicators {
        flex-wrap: wrap;
    }
    .navbar-toggler {
        padding: 0;
    }
    .home-categories li {
        margin-right: 30px;
    }
    .home-categories .nav-link {
        padding-left: 5px;
    }
    .signup label {
        text-align: left;
    }
    .masthead .clouds {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        padding-top: 100px;
    }
    .carousel-caption {
        bottom: 12px;
        left: 2%;
    }
    .home-tab-slider .btn-more {
        padding: 8px 16px;
        font-size: 12px;
    }
	.vao-game {
        position: relative;
		width: 100%;
		background-color: #000;
    }
}