.khmer-font{
    font-family: "Battambang", system-ui;
    font-style: normal;
}
#numberA, #numberB, #numberC, #numberD{
    font-family: Arial, Helvetica, sans-serif;
}
.overlay {
    display: flex;
    position: fixed;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 1040px;
    color: #051787; /* Gold color for text */
    background-image: url('../images/bg-cover.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover; /* better than auto */
    background-color: rgba(0,0,0,0.5);
    z-index: 99999!important;
    background-size: auto;
    top: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgba(0, 0, 0, 0.5);
}
body{
    /* background-color: hsla(0, 0%, 0%, 0.9); */
}

.overlay h1 {
    padding-top: 5px;
    font-size: 6.5rem;
    margin-bottom: 0;
    margin-top: 0;
    line-height: 9rem;
    text-shadow: 3px 3px 5px #000;
    color: #37f415;
    -webkit-text-stroke: 2px #125b17;
}

.overlay .numbers {
    font-size: 6rem;
    font-weight: 700;
    margin-left: 180px;
    font-family: Arial, Helvetica, sans-serif;
}

.overlay .numbers div {
    /* animation: bounce 1s infinite; */
    font-family: Arial, Helvetica, sans-serif;
}

.overlay .random-number {
    font-weight: bold;
    color: #0f38f1;
}

.overlay .font-khmer{
    font-family: 'Khmer OS Battambang';
    line-height: 120px;
    color: rgb(215 163 19);
    text-shadow: 0px 0px 3px #000;
    font-size: 70px;
}

.overlay .pos{
    color: rgb(255 0 0 / 73%);
    text-shadow: 3px 4px 2px #ff1d1d, 0 0 0 #000, 1px 4px 2px #ff0000;
    font-family: Arial, Helvetica, sans-serif;
}

.overlay .green{
    color: #daed67;
    text-shadow: 3px 4px 6px #543c10, 0 0 0 #000, 1px 4px 6px #000000;
    font-family: Arial, Helvetica, sans-serif;
}
#numberA, #numberB, #numberC, #numberD{
    font-family: Arial, Helvetica, sans-serif;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}
.dnw_header, .dnw-nav, .dnw-content-layout, .dnw-footer{
    /* background-image: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)); */
}
.hidden{
    display: none;
}
.winning_number{
    width: 300px;
    height: 195px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #051787; /* Gold color for text */
    background: url('../images/bg-cover-small.jpg');
    background-size: auto;
    font-family: Arial, Helvetica, sans-serif;
    border: 2px solid #7AAE2E;
    border-radius: 5px;
}

.winning_number h1 {
    padding-top: 10px;
    font-size: 2rem;
    margin-bottom: 0;
    margin-top: 0;
    line-height: 2rem;
    text-shadow: 3px 3px 5px #000;
    color: #37f415;
    -webkit-text-stroke: 1px #125b17;
}

.winning_number .numbers {
    font-size: 1.53rem;
    font-weight: 600;
    margin-left: 60px;
    margin-top: 2px;
    font-family: Arial, Helvetica, sans-serif;
}

.winning_number .numbers div {
    animation: bounce 1s infinite;
    font-family: Arial, Helvetica, sans-serif;
}
#winningA, #winningB, #winningC, #winningD{
    font-family: Arial, Helvetica, sans-serif;
}

.winning_number .random-number {
    font-weight: bold;
    color: #0f38f1;
}

.winning_number .font-khmer{
    font-family: 'Khmer OS Battambang';
    line-height: 30px;
    color: rgb(215 163 19);
    text-shadow: 0px 0px 3px #000;
}

.winning_number .pos{
    color: rgb(255 0 0 / 73%);
    text-shadow: 1px 2px 1px #ff1d1d, 0 0 0 #000, 1px 4px 2px #ff0000;
    font-family: Arial, Helvetica, sans-serif;
}

.winning_number .green{
    color: #daed67;
    text-shadow: 3px 4px 6px #543c10, 0 0 0 #000, 1px 4px 6px #000000;
    font-family: Arial, Helvetica, sans-serif;
}

.equal{
    color: #121264;
}
