h1,
h2,
h3,
h4,
h5,
p {
    margin-bottom: 0;
}

.container-custom {
    max-width: 1000px;
}

.logo-navbar {
    width: 200px;
}

.icon-4x {
    font-size: 38px;
}

.dekstop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.navbar-expand-lg.navbar-custom .navbar-nav .nav-link {
    color: #fff;
    text-decoration: underline;
    font-size: 18px;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 5px;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
}

.navbar-expand-lg.navbar-custom .navbar-nav .nav-item:last-child>.nav-link {
    border-right: 0;
    padding-right: 0;
}

.navbar-custom .nav-item.dropdown .nav-link {
    padding-right: 0;
    border-right: 0;
}

.navbar-custom {
    background: #6c060a;
    padding: 0;
}

.dropdown.localitazion-dropdown {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    height: fit-content;
    margin: auto;
}

.localization-flag {
    width: 40px;
}

#localitazion-menu {
    color: #fff;
    text-decoration: none;
    display: flex;
    gap: 5px;
    align-items: center;
}

#localitazion-menu>span {
    line-height: 0;
}

.dropdown-toggle::after {
    display: none;
}

.dropdown-menu[data-bs-popper] {
    left: unset;
    right: 0;
}

.nav-link>.bi-house-fill {
    margin-right: 5px;
}

.footer {
    background: #6c060a;
    padding-top: 15px;
    padding-bottom: 15px;
}

.footer-text {
    color: #fff;
    font-weight: bold;
    margin-top: 10px;
}

.logo-footer {
    width: 500px;
}

.img-banner {
    height: calc(100vh - 37px);
    width: 100%;
    object-fit: cover;
}

#body-page {
    background: url(../img/bg2.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
}

.section-timer {
    display: flex;
    background-image: linear-gradient(90deg, #ffeb87, #ffffda, #ffeb87);
    padding: 30px;
    width: 100%;
}

#timer-countdown {
    display: flex;
    gap: 10px;
}

.nextdraw-box {
    width: 50%;
    border-right: 2px solid #c6c6aa;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer-box {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nextdraw-box>h1 {
    font-size: 48px;
    font-weight: bold;
}

.nextdraw-box>h4 {
    font-size: 18px;
    font-style: italic;
}

.timer-box>h2 {
    font-size: 28px;
    font-style: italic;
}

#timer-countdown h1 {
    font-size: 54px;
    color: #78090e;
    font-weight: bold;
}

.livedraw-box {
    width: 900px;
    height: 600px;
    position: relative;
    background: url(../img/winners.webp);
    background-repeat: no-repeat;
    background-position: top;
    background-size: contain;
}

.result-date {
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    top: 90px;
    left: 200px;
}

.result-id {
    position: absolute;
    top: 140px;
    font-size: 30px;
    left: 180px;
    color: yellow;
}

.result-number {
    display: flex;
    gap: 10px;
    position: absolute;
    top: 255px;
    left: 93px;
}

.bullet {
    width: 90px;
    height: 90px;
    border-radius: 100%;
    background-image: radial-gradient(#b61100, #800400);
    border: 3px solid #c11200;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 6px 15px -5px #333;
}

.bullet>span {
    width: 60px;
    height: 60px;
    border-radius: 100%;
    background-image: radial-gradient(#fff, #f7f1ee);
    font-size: 50px;
    font-weight: bold;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 5px;
}

.button-group {
    position: absolute;
    bottom: 110px;
    left: 85px;
    display: flex;
    gap: 30px;
}

.btn-history {
    background-image: linear-gradient(90deg, #a60000, #d7322e, #a60000);
    border: 3px solid #a10000;
    width: 250px;
    padding: 12px;
    font-size: 18px;
    color: #fff;
    font-weight: bold;
}

.btn-pastdraw {
    background-image: linear-gradient(90deg, #9b9984, #fefbf0, #9b9984);
    border: 3px solid #dcdecf;
    width: 250px;
    padding: 12px;
    font-size: 18px;
    font-weight: bold;
}

.table-custom {
    background-image: linear-gradient(#daaf2c, #fce296, #daaf2c);
}

.table>:not(:last-child)>:last-child>* {
    border: none;
}

.table-custom th {
    font-size: 20px;
}

.history-section .content-result {
    padding: 20px;
    padding-bottom: 50px;
}

.title-content h4 {
    font-size: 36px;
    margin-bottom: 15px;
}

.history-section .pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
}

.history-page .history-section {
    margin-top: 50px;
}

#pastdraw .page-link {
    background-image: linear-gradient(#e3bc46, #fbe093, #e3bc46);
    color: #000;
    border: none;
}

#pastdraw .active>.page-link {
    background-image: linear-gradient(#f2f2f2, #ffffff, #f2f2f2);
}

#pastdraw .disabled>.page-link {
    background-image: linear-gradient(#ffec8c, #fff3b8, #ffec8c);
}

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

.about-content {
    padding: 20px;
}

.about-content h3 {
    margin-bottom: 10px;
}

.about-content p:last-child {
    margin-top: 5px;
}

@media (max-width: 768px) {
    .img-banner {
        height: 210px;
        width: 100%;
        object-fit: cover;
    }

    .livedraw-box {
        width: 370px;
        height: 250px;
    }

    .btn-history,
    .btn-pastdraw {
        width: 125px;
        display: flex;
        min-height: 0;
        height: fit-content;
        padding: 5px;
        font-size: 12px;
        align-items: center;
        justify-content: center;
        border-width: 2px;
    }

    .result-date {
        font-size: 12px;
        top: 36px;
        left: 55px;
    }

    .result-id {
        position: absolute;
        top: 55px;
        font-size: 16px;
        left: 63px;
        color: yellow;
    }

    .result-number {
        gap: 5px;
        top: 110px;
        left: 50px;
    }

    .bullet {
        width: 30px;
        height: 30px;
        border-width: 1px;
        box-shadow: 0px 6px 7px -5px #333;
    }

    .bullet>span {
        width: 20px;
        height: 20px;
        font-size: 18px;
        padding-bottom: 1px;
    }

    .button-group {
        bottom: 30px;
        left: 14px;
        gap: 15px;
    }

    .section-timer {
        padding: 15px;
    }

    .nextdraw-box>h1 {
        font-size: 24px;
    }

    .nextdraw-box>h4 {
        font-size: 10px;
    }

    .timer-box>h2 {
        font-size: 14px;
    }

    #timer-countdown {
        gap: 5px;
    }

    #timer-countdown h1 {
        font-size: 24px;
    }

    .dropdown.localitazion-dropdown {
        right: 10px;
        top: 4px;
        bottom: inherit;
    }

    .history-section .content-result {
        padding: 20px 0;
    }

    .history-page .history-section {
        margin-top: 10px;
    }

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

    .table-custom th {
        font-size: 16px;
    }

    .footer-text {
        font-size: 12px;
    }

    .navbar-toggler {
        color: #fff;
        border: 1px solid;
    }

    .navbar-custom .nav-link {
        border-bottom: 1px solid;
        text-decoration: none !important;
        height: 60px;
    }

    .navbar-custom .nav-item:last-child>.nav-link {
        border-bottom: 0;
    }

    .navbar-custom {
        padding: 10px 0;
    }
}