@font-face {
    font-family: 'Roboto-Slab';
    src: url('../font/Roboto-Slab.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: Poppins;
    position: relative;
    background: #107d5e;
}

body p {
    font-size: 12px;
    margin-bottom: 0;
}

.page-width {
    width: 800px;
    margin-right: auto;
    margin-left: auto;
}

.navbar-menu {
    display: flex;
    gap: 30px;
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    justify-content: center;
}

#header-site {
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.box-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    position: relative;
}

.landing-page {
    background-image: url(../img/bg/bg.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    padding-top: 0;
    padding-bottom: 30px;
    width: 100%;
}

.img-navbar {
    width: 300px;
}

.header-logo {
    text-align: center;
    position: relative;
    padding-top: 14vh;
    z-index: 0;
}

li>.menu-items,
li>.dropdown>.menu-items {
    color: #fff;
    text-decoration: none;
    font-family: Roboto-Slab;
    text-transform: uppercase;
}

.now-time>span {
    font-family: 'Roboto-Slab';
    font-size: 14px;
    color: #6bf977;
}

.language-icon {
    width: 40px;
}

li.navbar-items {
    display: flex;
    align-items: center;
}

#logo-brand>h3 {
    font-family: 'Roboto-Slab';
    color: #fff;
    margin-bottom: 5px;
}

.result-show {
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
}

.tablet-body {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 50px;
}

.list-winner {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #3be14c;
    color: #fff;
    padding: 15px;
    font-family: 'Roboto-Slab';
    border-radius: 20px;
    position: relative;
    background-image: linear-gradient(to right, #24b555 20%, #08646f 50%);
}

.list-midle {
    bottom: 45px;
}

.list-winner>.label {
    text-align: center;
}

.box-number.label>span {
    text-transform: uppercase;
    font-weight: bold;
}

.circle-prize {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box-number {
    display: flex;
    gap: 5px;
    margin-top: 10px;
    height: 40px;
    align-items: center;
}

.list-winner>.label>span {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: bold;
}

.label-countdown>h3 {
    font-family: 'Roboto-Slab';
    font-weight: bolder;
    font-size: 36px;
    margin-bottom: 0;
    color: #d9ff39;
    text-shadow: 0.000em 0.075em #107d5e, 0.029em 0.069em #107d5e, 0.053em 0.053em #107d5e, 0.069em 0.029em #107d5e, 0.075em 0.000em #107d5e, 0.069em -0.029em #107d5e, 0.053em -0.053em #107d5e, 0.029em -0.069em #107d5e, 0.000em -0.075em #107d5e, -0.029em -0.069em #107d5e, -0.053em -0.053em #107d5e, -0.069em -0.029em #107d5e, -0.075em -0.000em #107d5e, -0.069em 0.029em #107d5e, -0.053em 0.053em #107d5e, -0.029em 0.069em #107d5e;
}

#timer-countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
}

#timer-countdown h1 {
    font-family: 'Roboto-Slab';
    font-size: 64px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0;
    text-shadow: 0.000em 0.075em #107d5e, 0.029em 0.069em #107d5e, 0.053em 0.053em #107d5e, 0.069em 0.029em #107d5e, 0.075em 0.000em #107d5e, 0.069em -0.029em #107d5e, 0.053em -0.053em #107d5e, 0.029em -0.069em #107d5e, 0.000em -0.075em #107d5e, -0.029em -0.069em #107d5e, -0.053em -0.053em #107d5e, -0.069em -0.029em #107d5e, -0.075em -0.000em #107d5e, -0.069em 0.029em #107d5e, -0.053em 0.053em #107d5e, -0.029em 0.069em #107d5e;
}

#timer-countdown .timer {
    width: 85px;
}

#timer-countdown .timer>p {
    font-family: 'Roboto-Slab';
    font-size: 14px;
}

.content-result {
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
}

.title-content>h4 {
    font-family: 'Roboto-Slab';
    font-size: 34px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 20px;
}

.body-content-result {
    position: relative;
}

.body-content-result .table {
    background: #fff;
}

.body-content-result thead.table-madrid {
    background-image: linear-gradient(to right, #24b555 20%, #08646f 50%);
    color: #d9ff39;
}

.btn-madrid {
    background: #24b555 !important;
    box-shadow: 0 4px #08646f;
    border: 0 !important;
    font-size: 14px !important;
}

.footer-content {
    font-size: 14px;
    font-family: 'Roboto-Slab';
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
}

.footer-text {
    font-size: 14px;
    font-family: 'Roboto-Slab';
    color: #fff;
    padding: 10px 0;
}

.paginate-madrid {
    display: flex;
    justify-content: center;
}

.table td {
    vertical-align: middle;
}

.paginate-madrid .page-item>.page-link {
    color: #fff;
    background: #24b555;
    border: 0;
    margin-right: 5px;
    box-shadow: 0 4px #08646f;
}

.paginate-madrid .page-item.disabled>.page-link {
    background: #50ba74;
    box-shadow: 0 4px #29919d;
}

.paginate-madrid .page-item.active>.page-link {
    background: #50ba74;
    box-shadow: 0 0 #29919d;
    margin-top: 3px;
}

.about-content {
    background: #107d5e;
    padding: 30px 15px;
    color: #d9ff39;
}

.btn-close-modal {
    position: absolute;
    right: 10px;
    top: 10px;
}

.img-about-selective {
    width: 100px;
}

.about-selective {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.about-selective>h5 {
    font-family: 'Roboto-Slab';
    font-weight: bold;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 0;
}

.about-selective>p {
    color: #fff;
    text-align: center;
}

.madrid-hr {
    background-image: linear-gradient(to right, #24b555 20%, #08646f 50%);
    height: 2px;
}

.modal-footer-text {
    font-family: 'Roboto-Slab';
}

.content-result-modal {
    padding: 40px;
    background: #107d5e;
}

.tablet-title {
    font-family: 'Roboto-Slab';
    text-align: center;
    margin-top: 20px;
    color: #fff;
}

.modal-content .tablet-body {
    padding-top: 15px;
}

.modal-content .box-number {
    margin-top: 0;
}

.modal-result-text {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 3px;
}

#logo-brand:after {
    content: '';
    width: 117px;
    height: 100px;
    display: block;
    background: url(../img/bola/33.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    right: -100px;
    bottom: -35px;
}

.landing-page .result-show:after {
    content: '';
    width: 140px;
    height: 140px;
    display: block;
    background: url(../img/bola/77.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    left: -135px;
    top: 60px;
}

.box-countdown:after {
    content: '';
    width: 74px;
    height: 70px;
    display: block;
    background: url(../img/bola/88.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    right: 40px;
    bottom: 0;
}

.content-result:before {
    content: '';
    width: 70px;
    height: 70px;
    display: block;
    background: url(../img/bola/90.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    left: -135px;
    top: 80px;
}

.content-result:after {
    content: '';
    width: 100px;
    height: 100px;
    display: block;
    background: url(../img/bola/55.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    right: -170px;
    bottom: 130px;
}

.body-content-result:before {
    content: '';
    width: 50px;
    height: 50px;
    display: block;
    background: url(../img/bola/44.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    left: -80px;
    bottom: 100px;
}

#body-madrid {
    overflow: hidden;
    width: 100%;
}

.loader,
.loader:before,
.loader:after {
    width: 5px;
    aspect-ratio: .5;
    display: grid;
    background: radial-gradient(#fff 68%, #0000 72%) center/100% 50% no-repeat;
    animation: load 1.2s infinite linear calc(var(--_s, 0)*.4s);
    transform: translate(calc(var(--_s, 0)*150%));
}

.loader:before,
.loader:after {
    content: "";
    grid-area: 1/1;
}

.loader:before {
    --_s: -1
}

.loader:after {
    --_s: 1
}

@keyframes load {
    20% {
        background-position: top
    }

    40% {
        background-position: bottom
    }

    60% {
        background-position: center
    }
}

.navbar-mobile {
    display: none;
}

@media (max-width: 768px) {
    .navbar-dekstop {
        display: none;
    }
    .navbar-brunei {
        width: 100%;
        padding: 0;
    }
    .navbar-custom {
        padding: 10px 0;
        width: 100%;
    }
    .navbar-custom.active {
        background: #107d5e;
        height: 100vh;
        position: fixed;
    }
    .navbar-brunei.active {
        width: 100%;
        background: #107d5e;
        padding-top: 50px;
    }
    .navbar-mobile {
        display: flex;
        justify-content: space-between;
        padding: 0 15px;
    }
    .navbar-mobile.deactive {
        display: none;
    }
    .navbar-mobile.active {
        display: flex;
    }
    .navbar-mobile>.navbar-menu {
        display: none;
        flex-direction: column;
    }
    .navbar-menu.navbar-mobile.deactive.active {
        flex-direction: column;
        align-items: center;
        margin-top: 50px;
    }
    .bi-list {
        font-size: 28px;
        color: #fff;
    }
    .lang-button {
        display: flex;
    }
    .lang-button>.dropdown {
        display: flex;
        align-items: center;
    }
    .dropdown-toggle::after {
        display: none;
    }

    #logo-brand:after {
        display: none;
    }

    .landing-page .result-show:after {
        display: none;
    }

    .box-countdown:after {
        display: none;
    }

    .content-result:before {
        display: none;
    }

    .content-result:after {
        display: none;
    }

    .body-content-result:before {
        display: none;
    }

    .page-width {
        width: 100%;
    }

    .tablet-body {
        flex-direction: column;
        padding-top: 0;
    }

    .list-midle {
        bottom: 0;
    }

    .navbar-menu {
        gap: 15px;
    }

    li>.menu-items,
    li>.dropdown>.menu-items {
        font-size: 14px;
    }

    .header-logo {
        padding-top: 100px;
    }

    .dropdown-menu[data-bs-popper] {
        left: -115px;
    }

    .dekstop-only {
        display: none;
    }

    .title-content>h4 {
        font-size: 24px;
    }

    .about-content {
        padding: 40px 15px;
    }

    .gap-3-mobile {
        gap: 1rem;
    }

    .body-content-result td {
        font-size: 12px;
    }

    .img-navbar {
        width: 250px;
    }

    .label-countdown>h3 {
        font-size: 28px;
    }
}