/* root */

:root {
    --heading-color: rgba(90, 170, 195, 1);
}

body {
    font-family: "Inter", sans-serif;
    line-height: 1.5;
}

html,
body {
    overflow-x: hidden;
}

button,
.btn {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 500;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    width: 100%;
}

#main {
    position: relative;
}

#logo {
    max-width:180px;
}
#logo img{
    max-height: 70px;
    object-fit: contain;
}
.a-thong-bao img {
    max-width: 20px;
}

section {
    padding: 30px 0;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1080px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    font-weight: bold;
}

h1 {
    font-size: 28px;
}

h2 {
    font-size: 24px;
}

h3,
h3.is-large {
    font-size: 20px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 16px;
}

h6 {
    font-size: 14px;
}

.dark {
    color: #fff !important;
}

.uppercase {
    text-transform: uppercase;
}

p strong {
    color: var(--heading-color);
}

/*  */
.navbar {
    padding: unset;
    max-height: 80px;
    background: rgba(18, 57, 110, 1);
}

.header-bottom {
    padding: 12px 0;
    background: RGBA(222, 241, 241, 1);
    background: linear-gradient(180deg, rgba(222, 241, 241, 1) 0%, rgba(18, 57, 110, 1) 40%);
    color: rgba(255, 255, 255, 0.9);
}

.header-bottom li.active a {
    color: #fff;
}

.header-bottom .nav-item {
    display: flex;
    gap: 7px;
    align-items: center;
    white-space: nowrap;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1;
}

.header-bottom .nav-item img {
    max-width: 24px;
    height: 24px;
    object-fit: contain;
    margin-bottom: 1px;
}

.header-bottom ul {
    padding: unset;
    justify-content: center;
    align-items: center;
    display: flex;
    margin: unset;
    gap: 20px;
}

.header-button {
    background: #fff !important;
    border: unset;
    color: rgba(18, 57, 110, 1) !important;
    min-width: 109px;
}

/* a-game */
.a-game{
    padding-top: 1rem !important;
    padding-bottom: unset;
}

.a-game img {
    transition: all 0.2s ease-in-out;
}

/* a-content */
.a-content .text {
    padding-left: 10px;
    border-left: 2px solid var(--heading-color);
}

/*  */
.a-gioi-thieu .row {
    border-top: 1px solid rgba(225, 225, 225, 1);
    padding-top: 1rem;
}

.a-ft-tt {
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: bold;
}

.a-ft-tt::after {
    content: '';
    width: 34px;
    height: 4px;
    background: rgba(229, 229, 229, 1);
}

/* a-doi-tac */
.a-doi-tac {
    background: #182E5A;
}

.a-doi-tac h2 {
    color: #fff;
}

.a-group-logo {
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.a-group-logo.last {
    justify-content: flex-start;
    gap: 20px;
}

.a-group-logo img {
    width: auto;
    object-fit: contain;
    height: 41px;
    padding: 0 10px;
    margin-bottom: 12px;
}

.a-logo {
    max-width: 300px;
    margin-bottom: 1rem;
}

footer .a-row {
    padding-top: 20px;
    border-top: 1px solid rgba(225, 225, 225, 1);
}

.abs-footer {
    background: #4382F7;
}

.abs-footer p {
    font-size: 14px;
}

.abs-footer p,
.abs-footer p a {
    color: #fff;
}

footer section {
    color: #fff;
}

.footer-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fff;
}

footer ul {
    padding-left: unset;
}

footer li {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 0;
    padding-left: 24px;
}

footer li:last-child {
    border: unset;
}

footer li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 13px;
    height: 10px;
    background-image: url(/images/Isolation_Mode.webp);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
}

.a-popup {
    padding: unset !important;
    overflow: hidden;
}

.modal-open {
    padding-right: unset !important;
}

.a-popup .modal-body {
    padding: unset;
}

.a-popup .btn-close {
    position: absolute;
    right: -10px;
    top: 0;
    transform: translate(100%, 0);
    z-index: 9;
    /* filter: invert(1); */
    background: #fff;
    opacity: 1;
}
.a-popup .btn-close::after{
    content: '×';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-55%);
    font-size: 20px;
    line-height: 1;
}
.a-banner-bottom {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
}
.a-banner-bottom {
    margin: unset !important;
}
.a-banner-bottom .d-flex{
    gap: 8px;
    padding: unset !important;
}
.a-banner-bottom .btn-close {
    position: absolute;
    right: 0;
    top: 0;
    transform: translate(50%, -50%);
    z-index: 9;
    background: #fff;
    opacity: 1;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.a-banner-bottom .btn-close::after{
    content: '×';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-55%);
    font-size: 20px;
    line-height: 1;
}

.a-banner-bottom .col-12 {
    padding: 0 !important;
}

.a-banner-bottom {
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.a-banner-bottom.show {
    opacity: 1;
    pointer-events: auto;
}

.a-banner-left,
.a-banner-right {
    position: absolute;
    width: 130px;
    top: 10px;
}

.a-banner-left img,
.a-banner-right img {
    position: sticky;
    top: 0;
}
.a-banner-left {
    left: calc((100% - 1080px)/4);
    transform: translateX(-50%);
}

.a-banner-right {
    right: calc((100% - 1080px)/4);
    transform: translateX(50%);
}

.a-dmca {
    max-width: 120px;
}
figure {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
}

.btn {
    padding: 8px 1rem;
    min-width: 116px
}

.a-header-button {
    gap: 15px;
    display: flex;
}
.text{
    text-align: justify;
}
.a-popup img{
    border: 1px solid #656565;
    border-radius: 6px;
}
@media (min-width: 576px) {
    .a-footer .col-12 {
        padding: 0 40px;
        padding-bottom: 20px;
    }
    .a-game .row{
        padding: 0 1rem;
    }
    .on-mb{
        visibility: hidden;
   }
   .hide-mb{
    visibility: visible;
   }
}

@media (max-width: 1300px) {

    .a-banner-left,
    .a-banner-right {
        display: none;
    }
}
@media (max-height: 660px) and (orientation: landscape) {
    .modal-dialog{
        max-width: 40% !important;
    }
    .a-footer .col-12 {
        padding: 0 10px;
    }
    .a-banner-bottom .btn-close{
        transform: translate(0, -100%);
        right: 0;
        top: -5px;;
    }
    .a-footer .col-lienhe{
        width: 30% !important;
    }
    .a-footer .col-chude{
        width: 20% !important;
    }
    .a-gap{
        height: 60px !important;
    }
}
@media (max-width: 850px) {
    .header-bottom {
        display: none;
    }
}

@media (max-width: 576px) {
    #logo {
        max-width: 140px;
    }

    .header-button {
        font-size: 12px;
    }

    .a-gioi-thieu .col-2 {
        display: none;
    }

    .a-logo {
        max-width: 100%;
    }

    .a-group-logo img {
        padding: 0;
        height: 20px;
        margin-bottom: unset;
    }

    .a-popup .btn-close {
        transform: translate(0, -100%);
        z-index: 9;
        right: 0;
        top: -7px;
    }

    .a-gap {
        height: 260px !important;
    }

    .a-header-button {
        gap: 12px;
    }

    .header-button {
        min-width: 92px;
        padding: 8px 10px;
    }
    .a-banner-bottom .d-flex{
        flex-direction: column;
        padding: 0 12px 10px 12px !important;
        gap: 4px;
    }
    .a-banner-bottom .btn-close{
        transform: translate(0, -100%);
        top: -5px;
        right: 12px;
    }
   .on-mb{
        visibility: visible;
   }
   .hide-mb{
    visibility: hidden;
   }
   .a-footer{
    padding-bottom: 1rem;
   }
   
}
