/* =========================
   RESET
========================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
body {
    background: #fff;

}

div {
    box-sizing: border-box;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    color: #d6080d;
}

p {
    margin-bottom: 15px;
}


/* =========================
   CONTAINER
========================= */
.container {
    width: 65%;
    margin: auto;
}

.space {
    width: 100%;
    height: 150px;
}


/* =========================
   HEADER
========================= */
.head {
    width: 100%;
    padding: 15px 0;
    margin-bottom: 15px;
    background: #FFF;
    border: 1px solid #fff;
    border-top: 10px solid #d6080d;
    border-bottom: 10px solid #d6080d;
    border-radius: 8px;
}

.logo {
    display: block;
    width: 728px;
    height: 200px;
    margin: auto;
    background: url("/Live-Draw-HK-Pools.png") center / 100% 100% no-repeat;
}


/* =========================
   BANNER
========================= */
.banner1 {
    display: block;
    width: 100%;
    text-align: center;
}

.banner1 img {
    display: inline-block;
    width: 49.5%;
    padding: 1px;

}

.headerbanner {
    text-align: center;
}

.headerbanner img {
    display: inline-block;
    width: 49.5%;
    padding: 2px;

}

.banner-top {
    text-align: center;
}

.banner-top img {
    width: 728px;
    max-width: 100%;
}

.banner {
    width: 100%;
    text-align: center;
    background: #3a3a3a;
}

.banner img {
    display: block;
    width: 100%;
    margin: 0;
}


/* =========================
   MENU
========================= */
.menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 20px;
    padding: 10px 0;
    overflow: hidden;
    line-height: 1.2;
    white-space: nowrap;
    background: #d6080d;
    border: 1px solid #d6080d;
    border-radius: 8px;
}

.menu a {
    display: inline-block;
    padding: 10px 20px;
    margin: 0;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
}

.menu a:hover {
    color: #FFF;
}


/* =========================
   CONTENT
========================= */
.content {
    margin-bottom: 20px;
    padding: 10px;
    background: #FFF;
    border: 1px solid #FFF;
    border-top: 5px solid #d6080d;
    border-bottom: 5px solid #d6080d;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.content p {
    margin: 10px;
    padding: 5px;
    color: #000;
    font-size: 16px;
    text-align: justify;
}


/* =========================
   HEADING
========================= */
h1,
h2,
h3,
h4 {
    color: #000;
}

h1 {
    margin-bottom: 30px;
    padding-bottom: 12px;
    font-size: 1.7rem;
    line-height: 1;
    text-align: center;
    border-bottom: 3px solid #d6080d;
}

h2 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    text-align: center;
}

h3 {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 1.4rem;
    text-align: center;
}

h4 {
    font-size: 1.3rem;
}

p {
    padding: 5px;
    color: #000;
    font-size: 1.1rem;
    line-height: 1.7;
}


/* =========================
   TITLE
========================= */
.title-head {
    color: #000;
    font-size: 26px;
}

.title-footer {
    color: #000;
    font-size: 24px;
}


/* =========================
   RESULT
========================= */
.lassres {
    width: 100%;
    margin: auto;
}

.lassres table {
    width: 100%;
}

.lassres img {
    width: 100%;
    height: auto;
    padding: 1px 0 0;
}

.lassres tableresult {
    width: 100%;
    padding: 0;
    border: 1px solid #fff;
}


/* =========================
   FLOATING BANNER
========================= */
.banner-float {
    position: fixed;
    bottom: 0;
    z-index: 9999;
    width: 100%;
    text-align: center;
}

.banner-float img {
    width: 100%;
}

.floating-top,
.floating-bottom {
    position: fixed;
    left: 0;
    z-index: 1001;
    width: 100%;
    height: auto;
    padding: 0;
    background: transparent;
    text-align: center;
}

.floating-top {
    top: 0;
}

.floating-bottom {
    bottom: 0;
}

.floating-top img,
.floating-bottom img {
    width: 33%;
    padding: 1px;

}

.floating-top img {
    height: 100px;
}

.floating-bottom img {
    height: 90px;
}


/* =========================
   RELATED KEYWORDS
========================= */
.related-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.related-keywords span {
    display: inline-block;
    padding: 6px 12px;
    background-color: #f1f1f1;
    color: #333;
    border-radius: 20px;
    font-size: 13px;
    cursor: default;
    transition: all 0.3s ease;
}

.related-keywords span:hover {
    background-color: #d6080d;
    color: #fff;
    transform: scale(1.05);
}


/* =========================
   ANCHOR
========================= */
#Data-Keluaran-Hongkong {
    scroll-margin-top: 70px;
}


/* =========================
   TABLET / MOBILE
========================= */
@media only screen and (max-width: 1000px) {

    .container,
    .footer,
    .headerbanner img,
    .banner-float,
    .banner-float img,
    .banner-top,
    .banner-top img {
        width: 100%;
    }

    .banner1,
    .banner2,
    .menu a {
        display: block;
    }

    .banner1 img,
    .banner2 img {
        display: block;
        width: 100%;
    }

    .logo {
        width: 280px;
        height: 80px;
        margin: auto;
    }

    .menu a {
        font-size: 16px;
    }

    .floating-top img,
    .floating-bottom img {
        width: 96%;
        height: 43px;
        padding: 1px;
        border: 1px solid #000;
    }

    .lassres {
        width: 100%;
        margin: auto;
    }

    .banner {
        width: 100%;
        text-align: center;
        background: #3a3a3a;
    }

    .banner img {
        display: inline-block;
        width: 48%;
        margin: 5px;
    }

    .banner-float {
        position: fixed;
        bottom: 1px;
        z-index: 9999;
        text-align: center;
    }

    .title-footer,
    h3 {
        font-size: 14px;
    }
}


/* =========================
   MOBILE
========================= */
@media only screen and (max-width: 768px) {

    .container,
    .footer,
    .headerbanner img,
    .banner-float,
    .banner-float img,
    .banner-top,
    .banner-top img,
    .floating-top img,
    .floating-bottom img {
        width: 100%;
    }

    .banner1,
    .banner2,
    .menu a {
        display: block;
    }

    .logo {
        width: 280px;
        height: 80px;
        margin: auto;
    }

    .menu a {
        font-size: 16px;
    }

    .banner1 img,
    .banner2 img {
        display: block;
        width: 100%;
    }

    .lassres {
        width: 100%;
        margin: auto;
    }

    .banner {
        width: 100%;
        text-align: center;
        background: #3a3a3a;
    }

    .banner img {
        display: inline-block;
        width: 48%;
        margin: 0;
    }

    .banner-float {
        position: fixed;
        bottom: 0;
        z-index: 9999;
        text-align: center;
    }

    .title-footer,
    h3 {
        font-size: 14px;
    }
}


/* =========================
   SMALL MOBILE
========================= */
@media only screen and (max-width: 550px) {

    .logo {
        width: 300px;
        height: 80px;
        margin: auto;
    }

    .banner1 img {
        display: block;
        width: 100%;
    }
}