@media screen and (max-device-width: 480px)
    and (orientation: portrait) {

        * {
            margin: 0;
        }

        header {
            padding: 2rem;
            height: 1rem;
            width: auto;
        }

        main, .container, footer {
            width: auto;
            padding: 1rem;
        }

        .navbar-left {
            display: none;
        }

        .item-nav-1 {
            display: block;
            position: relative;
        }

        .icon-nav-m {
            font-size: 1.7rem;
            position: absolute;
        }

        .logo {
            position: relative;
            top: -1.4rem;
            left: 3.3rem;
            width: 15rem;
        }

        .navbar-right {
            display: block;
            margin-left: 0;
            left: 3rem;
        }

        .navbar-right li {
            margin-bottom: 0.8rem;
            text-align: start;
        }

        .navbar-right a {
            color: var(--color-1);
        }

        .hidden-m {
            display: none;
        }

        .mobile-menu {
            display: block;
        }

        .mobile-menu-bg {
            width: auto;
            height: auto;
            padding: 2rem;
            display: none;
            justify-content: space-between;
            align-items: center;
            color: var(--color-1);
            transition: ease-in-out 1s display;
        }

        .close-menu {
            font-size: 2rem;
            font-weight: bold;
        }

        .ball-lottery {
            margin-top: 0.5rem;
        }

        .card-result-body {
            display: block;
        }

        .card-home {
            width: 75%;
            position: absolute;
            left: 1rem;
        }

        .promotion-container {
            padding: 0;
        }

        .promotion-bg, .promotion-bg-1 {
            height: 18rem;
        }

        .card-result {
            position: relative;
            width: auto;
        }

        .card-result img {
            width: 8.5rem;
            right: 0.5rem;
            top: 1rem;
            position: absolute;
        }

        .jumbotron {
            background-size: auto;
            background-position: -45rem 0.05rem;
        }

        .jumbotron h2 {
            font-size: 1.3rem;
        }

        .jackpot-amount {
            font-size: 2.2rem;
            color: var(--color-1);
        }

        .jumbotron > .container > h2 {
            color: var(--color-1);
        }

        .logo-footer-bottom {
            flex-wrap: nowrap;
            gap: 1rem;
        }

        .logo-footer-bottom img {
            width: 6rem;
        }

        .bank {
            width: 2.5rem !important;
        }

        .logo-footer-bottom li:last-child img.bank {
            width: 1rem !important;
        }

        .promotion-container {
            margin-top: 1.7rem;
        }

        .promotion-container img {
            width: 15rem;

        }

        .view-btn {
            padding: 0;
        }

        .position-prize {
            margin: 1rem 0;
        }

        .card-prize-title {
            font-size: 1.2rem;
            padding: 1rem;
            text-align: start;
        }

        .modal {
            width: 75%;
        }

}

@media screen and (max-device-width: 899px)
    and (orientation: landscape) {

        .card-result {
            padding: 1rem 0.2rem;
        }

        .view-btn {
            justify-content: flex-end;
        }

}