.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1040;
}

.modal h1,
h2,
h3,
h4,
h5 {
    text-align: center;
    color: #fff;
}

.modal-content {
    background-color: #5c0201;
    border: 3px solid #f8e008;
    position: relative;
    margin-left: 25px;
    margin-right: 25px;
}

.modal-header,
.modal-footer {
    padding: 2px 16px;
    background-color: #000000;
    color: rgb(233, 199, 9);
    border: 1px solid red;
    border-radius: 8px;
    justify-content: center;
    text-align: center;
}

.modal-body {
    padding: 10px 0;
}

.grid-container {
    display: grid;
    grid-template-columns: 3, auto;
    grid-gap: 10px;
    background-color: #5c0201;
    margin-bottom: 10px;
}

.grid-container>div {
    text-align: center;
    padding: 5px 0;
    font-size: 1.5rem;
}

.logo-pasaran {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    display: block;
}

.grid-result-header {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    color: white;
    border: 1px solid red;
    border-radius: 8px;
    justify-content: center;
    text-align: center;
    background-color: black;
    margin-left: 5px;
    margin-right: 5px;
}

.grid-toto-header {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    color: white;
    border: 1px solid red;
    border-radius: 8px;
    justify-content: center;
    text-align: center;
    background-color: black;
}

.grid-toto-header-wrapper {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
}

.grid-result-header-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.grid-container-result {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    color: white;
    border: 1px solid red;
    border-radius: 8px;
    justify-content: center;
    text-align: center;
    background-color: black;
}

.grid-container-result-toto {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    color: white;
    border: 1px solid red;
    border-radius: 8px;
    justify-content: center;
    text-align: center;
    background-color: black;
}

.grid-container-result-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-left: 5px;
    margin-right: 5px;
}

.grid-container-result-wrapper-toto {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
    margin-left: 10px;
    margin-right: 10px;
}

.toto-number {
    margin-right: 20px;
    margin-left: 20px;
}

.result-title {
    color: white;
    font-weight: 400;
    grid-column: 1 / span 3;
    border-bottom: 1px solid #bbb;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 20pt;
    font-style: italic;
}


.result-title-toto {
    color: white;
    font-weight: 400;
    grid-column: 1 / span 8;
    border-bottom: 1px solid #bbb;
    margin-left: 5px;
    margin-right: 5px;
    font-size: 20pt;
    font-style: italic;
}

.prize1,
.prize1_toto {
    color: #fcdd06;
    font-weight: bold;
    font-size: 18pt;
    min-height: 30px;
}

.prize2,
.prize3 {
    color: white;
    font-weight: bold;
    font-size: 18pt;
    min-height: 30px;
}

.toto {
    color: white;
    font-size: 15pt;
    min-height: 30px;
}

.logo-d {
    width: 190px;
    margin-left: 5px;
}


.pasaran {
    font-size: 25px;
    text-align: center;
    color: #fff;
}

.logo-notif {
    width: 80%;
    margin: 0 auto;
    display: block;
}


.ls-special_1,
.ls-special_2,
.ls-special_3,
.ls-special_4,
.ls-special_5,
.ls-special_6,
.ls-special_7,
.ls-special_8,
.ls-special_9,
.ls-special_10,
.ls-consolation_1,
.ls-consolation_2,
.ls-consolation_3,
.ls-consolation_4,
.ls-consolation_5,
.ls-consolation_6,
.ls-consolation_7,
.ls-consolation_8,
.ls-consolation_9,
.ls-consolation_10 {
    min-height: 30px;
}

.close-button-ld {
    color: #f8e008;
    right: 1px;
    top: -15px;
    position: absolute;
    font-size: 50px;
    cursor: pointer;
    z-index: 1051;
    display: none;
}

.colorw {
    color: white;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 9pt;
}

.notif {
    color: yellow;
    text-align: center;
}



@media (max-width: 992px) {


    .logo-ld {
        display: none;
    }

}

@media (max-width: 768px) {


    .logo-ld {
        display: none;
    }

    .close-button-ld {
        display: block;
    }

    .grid-container>div {
        font-size: 1.2rem;
    }

    .result-title {
        font-size: 15pt;
    }

}

@media (max-width: 480px) {

    .result-title {
        font-size: 12pt;
    }

    .prize1, .prize1_toto, .prize2, .prize3 {
        font-size: 1.2rem;
    }

    .grid-container>div {
        font-size: 0.8rem;
    }

    .logo-pasaran {
        width: 40px;
        height: 40px;
    }

    .toto-number {
        margin-right: 10px;
        margin-left: 10px;
    }

    .toto {
        font-size: 13pt;
    }

    .modal-content {
        margin-left: 0px;
        margin-right: 0px;
    }

    .pasaran {
        font-size: 20px;
    }

    .tanggal {
        font-size: 15px;
    }

}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 70px;
    height: 25px;
    margin: auto;
}

.lds-ellipsis div {
    position: absolute;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}

.lds-ellipsis-cust {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 16px;
}

.lds-ellipsis-cust div {
    position: absolute;
    top: 8px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis-cust div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis-cust div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis-cust div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis-cust div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}