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

body {
    background-color: #406d10;
    color: #fff;
    font-family: serif;
}

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

.logo-navbar {
    width: 200px;
}

.navbar-expand-lg.navbar-italy .navbar-nav .nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    padding-left: 30px;
    padding-right: 30px;
    height: 85px;
    display: flex;
    align-items: center;
    border-right: 1.5px solid #406d10;
}

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

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

.navbar-italy {
    background: #69a924;
    padding: 0;
}

#localitazion-menu {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    font-family: math;
}

.date-time-now {
    font-size: 14px;
    font-weight: bold;
    font-family: math;
}

.date-time-now {
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dekstop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.footer {
    background: #69a924;
    padding-top: 20px;
    padding-bottom: 20px;
}

.logo-footer {
    width: 150px;
}

.logo-footer:last-child {
    width: 200px;
}

.footer-text {
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-menu>.link-null {
    color: #fff;
    padding-bottom: 0;
    border-bottom: 1px solid #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: end;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-menu {
    gap: 20px;
}

.head-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #69a924;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: 7px solid #2b490b;
}

.head-bar h3 {
    font-size: 24px;
    font-weight: bold;
    font-family: math;
    line-height: 1;
    padding-top: 5px;
    padding-bottom: 5px;
}

.result-date {
    font-weight: bold;
    font-family: math;
}

.result-date>.bi-calendar-fill {
    margin-right: 5px;
}

.result-number {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
#body:before {
    content: '';
    background: url(../img/currency2.png);
    background-size: cover;
    background-position: center;
    width: 60px;
    height: 60px;
    position: absolute;
    top: 35vh;
    left: 280px;
}
#body::after {
    content: '';
    background: url(../img/currency2.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 60px;
    height: 60px;
    position: absolute;
    top: 30vh;
    right: 250px;
    transform: rotate(255deg);
}
#body-page:before {
    content: '';
    background: url(../img/currency1.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 110px;
    height: 120px;
    position: absolute;
    top: 50vh;
    left: 200px;
}
#body-page:before, #draw-history:before {
    content: '';
    background: url(../img/currency1.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 110px;
    height: 120px;
    position: absolute;
    top: 62vh;
    left: 200px;
    transform: rotate(180deg);
}
#body-page:after, #draw-history:after {
    content: '';
    background: url(../img/currency1.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 110px;
    height: 120px;
    position: absolute;
    top: 55vh;
    right: 200px;
}
.bullet {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
    width: 70px;
    border: 6px solid #0000;
    border-radius: 100%;
    background: linear-gradient(#131219, #131219) padding-box, linear-gradient(var(--angle), #69a924, #182d02) border-box;
    animation: 4s rotate linear infinite;
}

.bullet.yellow {
    background: linear-gradient(#131219, #131219) padding-box, linear-gradient(var(--angle), #fff000, #141000) border-box;
}

.bullet>span {
    background: #2b490b;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    border-radius: 100%;
}

.bullet.yellow>span {
    color: #fff000;
}

.body-result {
    text-align: center;
    background: #406d10;
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
}
.body-result:before {
    content: '';
    background: url(../img/bglive.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    left: 0;
}

.btn-italy,
.btn-italy:hover,
.btn-italy:focus {
    background: #ffce00;
    border-radius: 10px;
    color: #2d470b;
    font-weight: bold;
    box-shadow: 0 5px #8e8500;
    margin-bottom: 5px;
    margin-top: 30px;
}

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

#timer-countdown .timer h1 {
    width: 70px;
    height: 70px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2b490b;
    font-weight: bold;
    border: 6px solid #0000;
    background: linear-gradient(#fff, #fff) padding-box, #ffce00 border-box;
    box-shadow: 0 0 5px 2px #2b490b;
    font-size: 2.5rem;
    font-family: serif;
    margin-bottom: 0;
}

.left-card-italy>.body-card {
    background: url(../img/timer.webp);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    min-height: 350px;
    height: 350px;
    padding: 20px;
    color: #2b490b;
}

main#body {
    background: url(../img/bg.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.footer-card {
    background: #ffce00;
    color: #2b490b;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#timer-countdown .timer>p {
    font-size: 14px;
    font-weight: bold;
}

.footer-card h4 {
    font-family: math;
    font-weight: bold;
    margin-top: 5px;
}

.left-card-italy span {
    font-weight: bold;
    font-size: 18px;
}

.left-card-italy h1 {
    font-size: 68px;
    font-weight: bold;
    font-family: math;
    line-height: 1;
    margin-bottom: -6px;
    margin-top: 6px;
}

.left-card-italy h3 {
    font-size: 38px;
    font-weight: bold;
    font-family: math;
    line-height: 1;
}

.right-card-italy {
    background: #406d10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    align-items: center;
}

.lottery-app-content {
    width: 100%;
    position: relative;
}

.right-card-italy ul.list {
    list-style: none;
    padding-left: 5px;
}

.right-card-italy ul li.menu {
    display: flex;
    align-items: center;
    position: relative;
    font-weight: bold;
}

.right-card-italy ul li.menu::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    background-image: url(../img/dt.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.btn-lottery-app,
.btn-lottery-app:hover,
.btn-lottery-app:focus {
    background: #ea2121;
    color: #fff;
    box-shadow: 0 5px #ac1010;
    margin-bottom: 5px;
}

.right-card-italy h3,
#about-modal .about-content h3 {
    color: #ffce00;
    font-weight: bold;
    font-family: math;
}

.utility-section {
    margin-top: 25px;
    padding-bottom: 25px;
}

.lottery-app-content:before {
    content: '';
    background: url(../img/download.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 185px;
    height: 200px;
    display: block;
    position: absolute;
    right: 15px;
    top: -50px;
}

.row-history {
    display: flex;
    justify-content: space-between;
    padding-left: 30px;
    padding-right: 30px;
    align-items: center;
    height: 50px;
}

.row-history:nth-child(even) {
    background: #e9e9e9;
}

.row-ball {
    display: flex;
    align-items: center;
    gap: 5px;
}

.result-history .ball {
    width: 40px;
    height: 40px;
    background: #29450b;
    border: 3px solid #69a924;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.result-history .ball.yellow {
    border: 3px solid #ffc700;
    color: #ffc700;
}

.date-history .bi-calendar-fill {
    margin-right: 5px;
}

.date-history {
    font-size: 18px;
    font-weight: bold;
}

#draw-history {
    padding-top: 20px;
    padding-bottom: 20px;
}

.section-history {
    background: #406d10;
    padding-top: 20px;
    padding-bottom: 20px;
}

.paginate-italy .pagination {
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.table-section {
    background: #dcdcdc;
    color: #2f2f2f;
    width: 700px;
    margin: auto;
}

.head-history {
    background: #69a924;
    border-bottom: 5px solid #305409;
    padding-top: 10px;
    padding-bottom: 10px;
}

h3.header-table {
    font-family: math;
    font-weight: bold;
    color: #fff;
}

.page-item>.page-link {
    background: #29450b;
    color: #fff;
    border: 0;
    font-size: 18px;
    font-weight: bold;
}

.page-item.active .page-link {
    background: #69a924;
}

.page-item.disabled .page-link {
    background: #5da312;
    color: #fff;
}

.section-generate {
    background: #406d10;
    padding: 20px 80px;
    text-align: center;
}

.section-generate .result-number {
    margin-top: 30px;
}

h3.header-generate {
    color: #ffce00;
    font-family: math;
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 10px;
}

.body-page {
    min-height: calc(100vh - (15rem + 10px));
}

#about-modal .modal-content {
    background: #406d10;
    position: relative;
    padding: 20px;
}

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

#about-modal .about-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.carousel-control-next,
.carousel-control-prev,
.carousel-control-next:hover,
.carousel-control-prev:hover {
    color: #000000;
    font-size: 36px;
}

.carousel-control-next {
    justify-content: flex-end;
    margin-right: 15px;
}

.carousel-control-prev {
    justify-content: flex-start;
    margin-left: 15px;
}

@keyframes rotate {
    to {
        --angle: 360deg;
    }
}

@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@media (max-width: 768px) {
    .container-italy {
        max-width: 100%;
    }

    #body-page .container-italy {
        padding: 0;
    }

    .dekstop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .navbar-expand-lg.navbar-italy .navbar-nav .nav-link {
        font-size: 16px;
        padding-left: unset;
        padding-right: unset;
        height: unset;
        display: flex;
        align-items: center;
        border-right: 0;
        border-bottom: 1.5px solid #406d10;
        justify-content: center;
        text-align: center;
    }

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

    .navbar-expand-lg.navbar-italy .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-italy .navbar-nav {
        align-items: center;
    }

    .navbar-toggler {
        border: 2px solid #406d10;
        color: #406d10;
        font-size: 30px;
    }

    .footer {
        padding-top: 15px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-right {
        align-items: center;
        order: 1;
    }

    .footer-left {
        order: 2;
        margin-top: 20px;
        gap: 10px;
    }

    .result-date {
        font-size: 14px;
    }

    .head-bar h3 {
        font-size: 18px;
    }

    .footer-menu {
        gap: 10px;
    }

    .utility-section .row {
        --bs-gutter-x: 0;
        gap: 25px;
    }

    .right-card-italy {
        height: 487px;
    }

    .lottery-app-content:before {
        right: 0;
    }

    .table-section {
        width: 100%;
    }

    .bullet {
        height: 60px;
        width: 60px;
    }

    .bullet>span {
        width: 50px;
        height: 50px;
        font-size: 34px;
    }

    .row-history {
        height: fit-content;
        flex-direction: column;
        padding-top: 10px;
        padding-bottom: 10px;
        gap: 10px;
    }

    .section-generate {
        padding: 20px;
    }
    #body::after {
        display: none;
    }
    #body-page:before {
        display: none;
    }
    #body-page:before, #draw-history:before {
        display: none;
    }
    #body-page:after, #draw-history:after {
        display: none;
    }
}