body,
html {
    height: 100%;
    margin: 0;
}

@media screen and (max-width: 3840px) {
    .box-btn-top a {
        height: 305px;
    }
    .bg-bao-danh {
        min-height: 1200px;
    }
}

@media screen and (max-width: 3500px) {
    .box-btn-top a {
        height: 275px;
    }
}

@media screen and (max-width: 3000px) {
    .box-btn-top a {
        height: 275px;
    }
    .bg-bao-danh {
        min-height: 935px;
    }
}

@media screen and (max-width: 2800px) {
    .box-btn-top a {
        height: 250px;
    }
}

@media screen and (max-width: 2400px) {
    .box-btn-top a {
        height: 200px;
    }
}

@media screen and (max-width: 2100px) {
    .bg-bao-danh {
        min-height: 620px;
    }
    #section3 {
        height: 100vh;
    }
    .box-btn-top a {
        height: 165px;
    }
}

@media screen and (max-width: 1920px) {
    #section3 {
        height: 100vh;
    }
    .bg-bao-danh {
        min-height: 580px;
    }
}

@media screen and (max-width: 1800px) {
    #section3 {
        height: 90vh;
    }
    .bg-bao-danh {
        min-height: 540px;
    }
    .box-btn-top {
        margin-top: -4vw;
    }
}

@media screen and (max-width: 1600px) {
    #section3 {
        height: 80vh;
    }
    .bg-bao-danh {
        min-height: 480px;
    }
    .text-baodanh {
        margin-top: 50px !important;
    }
}

@media screen and (max-width: 1366px) {
    #section3 {
        height: 70vh;
    }
    .bg-bao-danh {
        min-height: 400px;
    }
    .slide {
        width: 65% !important;
        height: 500px !important;
    }
    .carousel-item {
        height: 425px !important;
    }
    .text-baodanh {
        margin-top: 0 !important;
    }
}

@media screen and (max-width: 1100px) {
    #section3 {
        height: 60vh;
    }
    .bg-bao-danh {
        min-height: 350px;
    }
    .text-baodanh {
        margin-top: 10px !important;
    }
}

@media screen and (max-width: 1000px) {
    #section3 {
        height: 55vh;
    }
    .next-slide,
    .prev-slide {
        width: 45px !important;
    }
    .slider-box {
        height: 34vw;
    }
    .bg-bao-danh {
        min-height: 300px;
    }
}

@media screen and (max-width: 768px) {
    #section3 {
        height: 50vh;
    }
    .bg-bao-danh {
        min-height: 270px;
    }
    .slide {
        width: 95% !important;
        height: 500px !important;
    }
    .carousel-item {
        height: 425px !important;
    }
}

@media screen and (max-width: 540px) {
    .box-s3-desktop {
        display: none;
    }
    .box-s3-mobile {
        display: block;
        margin-top: 30px;
    }
    .next-slide,
    .prev-slide {
        width: 30px !important;
    }
    .slider-box {
        height: 50vw !important;
    }
    .slider-wrapper {
        margin: 15px auto !important;
    }
    .top-mobile {
        display: block;
        background-color: #144b68;
        padding: 10px 10px;
        height: 95px;
    }
    .app-icon {
        width: 20%;
        display: inline-block;
        vertical-align: top;
    }
    .app-icon img {
        width: 100%;
        display: inline-block;
        vertical-align: top;
    }
    .btn-top-mobile {
        display: inline-block;
        width: 78%;
        vertical-align: top;
        margin-left: 1%;
    }
    .nav-btn-top-mobile {
        margin-top: 5px;
    }
    .nav-btn-top-mobile li {
        width: calc(90% / 3);
        display: inline-block;
        margin-right: 1%;
    }
    .nav-btn-top-mobile li a {
        display: block;
    }
    .nav-btn-top-mobile ul li a img {}
    .img-top {
        display: none;
    }
    .bg-top-mobile {
        display: block;
    }
    .box-btn-top {
        width: 100vw !important;
        margin-top: -30px;
    }
    .box-btn-top a:nth-child(1) img {
        width: 85% !important;
    }
    .box-btn-top a:nth-child(2) img {
        width: 100% !important;
    }
    .box-btn-top a:nth-child(3) img {
        width: 85% !important;
    }
    .box-bao-danh {
        width: 100vw;
        margin: 0 auto;
    }
    .bg-bao-danh {
        min-height: 160px;
        margin-left: 10px;
    }
    .wrapper #section3 .h2title img {
        width: 65% !important;
        margin: 20px auto;
    }
    .wrapper #section4 .h2title img {
        margin: 20px auto !important;
    }
    .wrapper #section4 .h2title img {
        width: 65% !important;
    }
    .slider-box {
        width: 98%;
    }
    .slider-wrapper {
        width: 90vw !important;
        height: 40vw !important;
    }
    .prev-slide {
        left: 0% !important;
    }
    .next-slide {
        right: 0 !important;
    }
    .pegi18 {
        top: 95px !important;
        width: 15vw !important;
    }
    .box-s3-mobile {}
    .box-s3-mobile ul {
        border: 0;
        padding: 0;
        height: 45px;
        width: 95%;
        margin: 0 auto;
    }
    .wrapper #section3 .block-2 .tab-content {
        opacity: 1 !important;
        height: auto !important;
        visibility: initial !important;
        transition: 1s !important;
    }
    .box-s3-mobile ul li {
        width: 24%;
        margin-right: 1%;
    }
    .box-s3-mobile ul li:last-child {
        width: calc(100% / 4);
        margin-right: 0;
    }
    .box-s3-mobile ul li a img {
        height: 50px;
    }
    .box-s3-mobile ul li:nth-child(1) a {
        background: url(../img/btn-langtieu-mobile.png) no-repeat;
        height: 45px;
        background-size: contain;
    }
    .box-s3-mobile ul li:nth-child(1) a.active,
    .box-s3-mobile ul li:nth-child(1) a:hover {
        background: url(../img/btn-langtieu-mobile-active.png) no-repeat;
        height: 45px;
        background-size: contain;
    }
    .box-s3-mobile ul li:nth-child(2) a {
        background: url(../img/btn-dinhthien-mobile.png) no-repeat;
        height: 45px;
        background-size: contain;
    }
    .box-s3-mobile ul li:nth-child(2) a.active,
    .box-s3-mobile ul li:nth-child(2) a:hover {
        background: url(../img/btn-dinhthien-mobile-active.png) no-repeat;
        height: 45px;
        background-size: contain;
    }
    .box-s3-mobile ul li:nth-child(3) a {
        background: url(../img/btn-ngamy-mobile.png) no-repeat;
        height: 45px;
        background-size: contain;
    }
    .box-s3-mobile ul li:nth-child(3) a.active,
    .box-s3-mobile ul li:nth-child(3) a:hover {
        background: url(../img/btn-ngamy-mobile-active.png) no-repeat;
        height: 45px;
        background-size: contain;
    }
    .box-s3-mobile ul li:nth-child(4) a {
        background: url(../img/btn-ngudoc-mobile.png) no-repeat;
        height: 45px;
        background-size: contain;
    }
    .box-s3-mobile ul li:nth-child(4) a.active,
    .box-s3-mobile ul li:nth-child(4) a:hover {
        background: url(../img/btn-ngudoc-mobile-active.png) no-repeat;
        height: 45px;
        background-size: contain;
    }
    .tab-nv-mobile div img {
        width: 70%;
        margin: 0 auto;
    }
    #section3 {
        height: 60vh;
    }
    .contact li span {
        color: #ffffff;
        font-size: 9pt !important;
    }
    .box-btn-top a {
        height: 60px !important;
    }
    .text-baodanh {
        margin-top: 30px !important;
        width: 65% !important;
    }
    .slide {
        width: 95% !important;
        height: 350px !important;
    }
    .carousel-item {
        height: 270px !important;
    }
    .taigame {
        width: 45% !important;
    }
    .taigame a {
        height: 85px !important;
    }
    .box-btn-top a:nth-child(1) img {
        width: 100% !important;
    }
}

.bg_taigame {
    background: url("../img/bg_taigame.png") center 0 no-repeat;
    background-size: 100% 100%;
    text-align: center;
    height: 100%;
}