/*==========  Non-Mobile First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {}

/* Medium Devices, Desktops */
@media only screen and (min-width : 850px) {
    .a-logo {
        max-width: 300px;
    }

    .header-main {
        z-index: 999;
    }

    .header-nav-main {
        justify-content: center;
    }

    #logo {
        margin: unset !important;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 850px) {}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 550px) {
    .a-banner p {
        font-size: 16px;
    }

    .a-banner p:first-child {
        font-size: 18px;
    }

    .a-banner p strong {
        font-size: 48px;
    }

    .a-banner p:nth-child(3) {
        font-size: 15px;
    }

    .a-banner .button,
    .a-banner-2 .button {
        margin-bottom: unset;
        margin-top: 10px !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .a-banner .button span,
    .a-banner-2 .button span {
        font-size: 13px;
    }

    .a-banner-2 p:nth-child(2) {
        font-size: 40px;
    }

    .a-banner-2 p:nth-child(1) {
        font-size: 24px;
    }

    .a-banner-2 p:nth-child(3) {
        font-size: 21px;
    }

    .a-banner-bottom p:nth-child(1),
    .a-banner-bottom p:nth-child(2) {
        font-size: 30px;
    }

    .a-copyright {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .a-copyright p {
        text-align: center;
        font-size: 14px;
    }

    .a-copyright p:nth-child(2) {
        display: none;
    }

    .a-order {
        order: -1;
    }

    .a-game .row {
        grid-template-columns: repeat(2, 1fr);
    }

    .a-game .box-text {
        position: unset;
        transform: unset;
        text-align: center;
        width: 100%;
    }

    .a-footer .flexs {
        flex-direction: column;
        gap: 10px;
    }

    .a-kho-game .row {
        grid-template-columns: repeat(2, 1fr);
    }

    .custom-table th,
    .custom-table td{
        font-size: 12px;
        padding: 10px;
        width: 30%;
    }
    .custom-table tr:last-child td a {
        font-size: 12px;
    }
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {}