@font-face {
    font-family: 'MochiyPopOne';
    src: url('../fonts/MochiyPopOne-Regular.ttf');
}
body {
    background-color: #000;
    background-repeat: no-repeat;
    background-size: contain;
    color: #2b6abc;
    text-shadow: 1px 1px #aaa;
    font-weight: 600;
    font-size: 20px;
    font-family: 'MochiyPopOne';
}
.home_header {
    text-align: center;
}
.home_header_border, .home_header_logo {
    max-height: 200px;
    border-top: 1px solid gold;
    border-bottom: 1px solid gold;
}
.menu li {
    display: inline-block;
    list-style-type: none;
}
.nav-link {
    color: #2b6abc!important;
    background-color: #002F63;
    margin: 0 15px;
    border-radius: 15px;
}
.nav-link.active {
    box-shadow: none;
    border: 3px solid gold;
    animation : borderblink 4s infinite linear;
}
.next_ld {
    text-align: center;
    margin: 25px auto;
    background-color: #028CB8;
    padding: 15px 35px;
    border-radius: 25px;
    border: 2px solid #000;
}

/* Index Page */
.home_pack .row {
    margin-top: 25px;
    margin-bottom: 25px;
}
.next_ld_box {
    text-align: center;
}
#hour, #minute, #second {
    background-color: #aaa;
    padding: 10px;
    border-radius: 50%;
    line-height: 40px;
}
.next_ld_info {
    padding: 10px 0;
    margin: 15px 0;
}
.left_box {
    width: 40%;
    display: inline-block;
    text-align: center;
    margin-bottom: 15px;
}
.prize_box {
    margin: 25px auto;
}
.tog {
    margin-bottom: 15px;
}

.livedraw-info {
    width: 50%;
    display: inline-block;
    vertical-align: baseline;
    color: #000;
    border: 2px solid #fff;
    margin: 0 4%;
    border-radius: 25px;
    padding: 20px 0;
}
.livedraw-info .prize_box:nth-child(3)  {
    width: 80%;
    background-color: #db182c;
    padding: 10px 0;
}
.livedraw-info .prize_box:nth-child(4)  {
    width: 80%;
    background-color: #aa109f;
    padding: 10px 0;
}
.livedraw-info .prize_box:nth-child(5)  {
    width: 80%;
    background-color: #0d8c10;
    padding: 10px 0;
}
.left_box {
    background-color: #000;
    border-radius: 9%;
    vertical-align: bottom;
}
.right_border {
    width: 100%;
    height: 600px;
    border-radius: 10%;
    animation : blink 5s linear infinite;
}
.livedraw_page .content .top_text {
    opacity: 0;
    margin-top: -450px;
    margin-bottom: 150px;
    margin-left: 30px;
    margin-right: 30px;
    text-shadow: 1px 1px #fff;
    animation: topblink 6s linear infinite;
}
.livedraw_page .content .bot_text {
    opacity: 0;
    margin-top: -100px;
    margin-bottom: 150px;
    margin-left: 30px;
    margin-right: 30px;
    text-shadow: 1px 1px #fff;
    animation: botblink 6s linear infinite;
}
.left_box h3 {
    text-align: center;
    color: #fff;
    overflow: hidden; /* Ensures the content is not revealed until the animation */
    border-right: .15em solid #fff; /* The typwriter cursor */
    white-space: nowrap; /* Keeps the content on a single line */
    margin: 0 auto; /* Gives that scrolling effect as the typing happens */
    letter-spacing: .15em; /* Adjust as needed */
    animation: 
      typing 5s steps(75, end) infinite,
      blink-caret .75s step-end infinite;
}
.livedraw-info {
    text-align: center;
}
.img_result {
    width: 60px;
}
.question_box {
    text-align: center;
    margin: 45px auto;
}
.btn_custom {
    background-color: #2B6ABC;
    margin: 15px auto;
    width: 50%;
    color: yellow;
}
.myaccordion {
    margin: 50px auto;
    box-shadow: 0 0 1px rgba(0,0,0,0.1);
}
  
.myaccordion .card,
.myaccordion .card:last-child .card-header {
    border: none;
}
  
.myaccordion .card-header {
    border-bottom-color: #EDEFF0;
    background: #000;
}
  
.myaccordion .fa-stack {
    font-size: 18px;
}
  
.myaccordion .btn {
    width: 100%;
    font-weight: bold;
    padding: 0;
}
  
.myaccordion .btn-link:hover,
.myaccordion .btn-link:focus {
    text-decoration: none;
}
  
.myaccordion li + li {
    margin-top: 10px;
}
#accordion .card {
    background-color: transparent;
}
#accordion .card-body {
    text-align: left;
    text-shadow: none;
}

.table {
    border: 2px solid yellow;
}
.table thead th {
    border: none;
    border-bottom: 2px solid yellow;
}
thead th {
    background-color: #002F63;
}
.table {
    color: #2b6abc;
    font-size: larger;
    background: linear-gradient(90deg, #000000 20%, #003D82 50%);
}
.table td {
    vertical-align: middle;
    border: none;
}

/* Last Result */
.section {
    overflow-x: scroll;
    text-align: center;
    padding: 25px 0;
}
.section::-webkit-scrollbar {
    display: none;
}
tr.odd td, tr.even td {
    background-color: transparent;
}
.last_result_table, .livedraw_table {
    min-width: 600px;
}
.page-link {
    color: #2b6abc;
    background-color: transparent;
}
/* Live Draw */
.conso_table, .start_table {
    width: 46%;
    display: inline-block;
}
.conso_table table, .start_table table{
    background: none;
    background-color: #000!important;
    margin: 25px 0;
}
/* About Us */
.about_page { 
    text-align: left;
}
.about_page h1 {
    margin-bottom: 25px;
}
.navbar-toggler {
    background-color: #fff;
}
.navbar-collapse {
    margin-bottom: 10px;
}
.navbar-menutext {
    padding: 10px 25px;
    margin: 0;
}

.support_box {
    background-color: rgba(0, 0, 0, 0.5);
}
.support_img {
    width: 24%;
    max-height: 200px;
}
footer {
    margin-top: 35px;
    text-align: center;
}
.footer-text {
    margin-top: 20px;
}

@media screen and (max-width : 991px) {
    .nav-link {
        border-radius: 0;
        padding-left: 10px!important;
    }
    .nav-link.active {
        border : 2px solid rgb(203, 255, 13);
        animation: none;
    }
    .left_box {
        vertical-align: top;
        margin-bottom: 35px;
    }
    .img_result {
        width: 45px;
    }
}
@media screen and (max-width : 767px) {
    .home_header_border, .home_header_logo {
        max-height: 100px;
    }
    .left_box, .livedraw-info {
        width: 100%;
    }
}
@media screen and (max-width : 550px) {
    .index_border {
        display: none;
    }
    .left_box {
        overflow-x: scroll;
    }
    .conso_table, .start_table {
        width: 100%;
    }
}

/* The typing effect */
@keyframes typing {
    0% { width: 0 }
    50% { width: 100% }
}
  
  /* The typewriter cursor effect */
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #fff; }
}

@keyframes borderblink {
    20% {border: 3px solid gold;}
    80% {border: 3px solid yellow;}
}

@keyframes topblink {
    0% {opacity: 0;}
    50% {opacity: 1;}
}

@keyframes botblink {
    50% {opacity: 0;}
    100% {opacity: 1;}
}

@keyframes blink {
    20% {
        opacity: 0;
    }
    80% {
        opacity: 1;
    }
}